Skip to content

Commit c0f7c69

Browse files
committed
Update windows_driver_load_non_standard_path.yml
1 parent a529bb7 commit c0f7c69

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

detections/endpoint/windows_driver_load_non_standard_path.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,8 @@ search: >-
1919
`wineventlog_system`
2020
EventCode = 7045
2121
ServiceType = "kernel mode driver"
22-
| regex ImagePath != "(?i)^(
23-
\w:\\\\Program Files\\\\|
24-
\w:\\\\Program Files (x86)\\\\|
25-
\w:\\\\Windows\\\\System32\\\\|
26-
\w:\\\\Windows\\\\SysWOW64\\\\|
27-
\w:\\\\ProgramData\\\\Microsoft\\\\Windows Defender\\\\Definition Updates\\\\|
28-
\w:\\\\ProgramData\\\\Microsoft\\\\Windows Defender\\\\Platform\\\\|
29-
%SystemRoot%|
30-
)"
31-
| stats count min(_time) as firstTime max(_time) as lastTime by
22+
| regex ImagePath != "(?i)^(\w:\\\\Program Files\\\\|\w:\\\\Program Files \(x86\)\\\\|\w:\\\\Windows\\\\System32\\\\|\w:\\\\Windows\\\\SysWOW64\\\\|\w:\\\\ProgramData\\\\Microsoft\\\\Windows Defender\\\\Definition Updates\\\\|\w:\\\\ProgramData\\\\Microsoft\\\\Windows Defender\\\\Platform\\\\|%SystemRoot%|\\\\SystemRoot\\\\|SystemRoot\\\\)"
23+
| stats count min(_time) as firstTime max(_time) as lastTime by
3224
Computer EventCode ImagePath ServiceName ServiceType
3325
| rename Computer as dest
3426
| `security_content_ctime(firstTime)`

0 commit comments

Comments
 (0)