|
2 | 2 | creation_date = "2023/01/17" |
3 | 3 | integration = ["windows"] |
4 | 4 | maturity = "production" |
5 | | -updated_date = "2025/01/15" |
| 5 | +updated_date = "2025/02/25" |
6 | 6 | min_stack_version = "8.14.0" |
7 | 7 | min_stack_comments = "Breaking change at 8.14.0 for the Windows Integration." |
8 | 8 |
|
@@ -33,27 +33,26 @@ timestamp_override = "event.ingested" |
33 | 33 | type = "eql" |
34 | 34 |
|
35 | 35 | query = ''' |
36 | | -file where host.os.type == "windows" and event.code : "2" and |
37 | | -
|
38 | | - /* Requires Sysmon EventID 2 - File creation time change */ |
39 | | - event.action : "File creation time changed*" and |
40 | | -
|
41 | | - not process.executable : |
42 | | - ("?:\\Program Files\\*", |
43 | | - "?:\\Program Files (x86)\\*", |
44 | | - "?:\\Windows\\system32\\cleanmgr.exe", |
45 | | - "?:\\Windows\\system32\\msiexec.exe", |
46 | | - "?:\\Windows\\syswow64\\msiexec.exe", |
47 | | - "?:\\Windows\\system32\\svchost.exe", |
48 | | - "?:\\WINDOWS\\system32\\backgroundTaskHost.exe", |
49 | | - "?:\\Users\\*\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe", |
50 | | - "?:\\Users\\*\\AppData\\Local\\Mozilla Firefox\\firefox.exe", |
51 | | - "?:\\Users\\*\\AppData\\Local\\slack\\app-*\\slack.exe", |
52 | | - "?:\\Users\\*\\AppData\\Local\\GitHubDesktop\\app-*\\GitHubDesktop.exe", |
53 | | - "?:\\Users\\*\\AppData\\Local\\Microsoft\\Teams\\current\\Teams.exe", |
54 | | - "?:\\Users\\*\\AppData\\Local\\Microsoft\\OneDrive\\OneDrive.exe") and |
55 | | - not file.extension : ("temp", "tmp", "~tmp", "xml", "newcfg") and not user.name : ("SYSTEM", "Local Service", "Network Service") and |
56 | | - not file.name : ("LOG", "temp-index", "license.rtf", "iconcache_*.db") |
| 36 | +file where host.os.type == "windows" and |
| 37 | + event.provider == "Microsoft-Windows-Sysmon" and |
| 38 | + /* File creation time change */ |
| 39 | + event.code == "2" and |
| 40 | + not process.executable : |
| 41 | + ("?:\\Program Files\\*", |
| 42 | + "?:\\Program Files (x86)\\*", |
| 43 | + "?:\\Windows\\system32\\cleanmgr.exe", |
| 44 | + "?:\\Windows\\system32\\msiexec.exe", |
| 45 | + "?:\\Windows\\syswow64\\msiexec.exe", |
| 46 | + "?:\\Windows\\system32\\svchost.exe", |
| 47 | + "?:\\WINDOWS\\system32\\backgroundTaskHost.exe", |
| 48 | + "?:\\Users\\*\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe", |
| 49 | + "?:\\Users\\*\\AppData\\Local\\Mozilla Firefox\\firefox.exe", |
| 50 | + "?:\\Users\\*\\AppData\\Local\\slack\\app-*\\slack.exe", |
| 51 | + "?:\\Users\\*\\AppData\\Local\\GitHubDesktop\\app-*\\GitHubDesktop.exe", |
| 52 | + "?:\\Users\\*\\AppData\\Local\\Microsoft\\Teams\\current\\Teams.exe", |
| 53 | + "?:\\Users\\*\\AppData\\Local\\Microsoft\\OneDrive\\OneDrive.exe") and |
| 54 | + not file.extension : ("temp", "tmp", "~tmp", "xml", "newcfg") and not user.name : ("SYSTEM", "Local Service", "Network Service") and |
| 55 | + not file.name : ("LOG", "temp-index", "license.rtf", "iconcache_*.db") |
57 | 56 | ''' |
58 | 57 | note = """## Triage and analysis |
59 | 58 |
|
|
0 commit comments