Skip to content

Commit 608b7cb

Browse files
adding rule tuning
1 parent af9f9e2 commit 608b7cb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

rules/windows/defense_evasion_process_termination_followed_by_deletion.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2020/11/04"
33
integration = ["endpoint"]
44
maturity = "production"
5-
updated_date = "2024/05/21"
5+
updated_date = "2024/10/18"
66

77
[transform]
88
[[transform.osquery]]
@@ -112,19 +112,22 @@ sequence by host.id with maxspan=5s
112112
not process.executable : ("C:\\Windows\\SoftwareDistribution\\*.exe", "C:\\Windows\\WinSxS\\*.exe")
113113
] by process.executable
114114
[file where host.os.type == "windows" and event.type == "deletion" and file.extension : ("exe", "scr", "com") and
115+
and process.code_signature.trusted != true and
115116
not process.executable :
116117
("?:\\Program Files\\*.exe",
117118
"?:\\Program Files (x86)\\*.exe",
118119
"?:\\Windows\\System32\\svchost.exe",
119-
"?:\\Windows\\System32\\drvinst.exe") and
120+
"?:\\Windows\\System32\\drvinst.exe"
121+
"?:\\Windows\\Postillion\\Office\\*.exe) and
120122
not file.path : (
121123
"?:\\Program Files\\*.exe",
122124
"?:\\Program Files (x86)\\*.exe",
123125
"?:\\Windows\\Temp\\*\\DismHost.exe",
124126
"?:\\$WINDOWS.~BT\\Work\\*\\DismHost.exe",
125127
"?:\\$WinREAgent\\Scratch\\*\\DismHost.exe",
126128
"?:\\Windows\\tenable_mw_scan_*.exe",
127-
"?:\\Users\\*\\AppData\\Local\\Temp\\LogiUI\\Pak\\uninstall.exe"
129+
"?:\\Users\\*\\AppData\\Local\\Temp\\LogiUI\\Pak\\uninstall.exe",
130+
"?:\\ProgramData\\chocolatey\\*.exe
128131
)
129132
] by file.path
130133
'''

0 commit comments

Comments
 (0)