Skip to content

Commit cdf7f5f

Browse files
committed
chore(rules): Reduce Unsigned DLL injection via remote thread false positives
Keep the false positive rate lower by excluding remote thread creations by some known processes.
1 parent ca70858 commit cdf7f5f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

rules/defense_evasion_unsigned_dll_injection_via_remote_thread.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,18 @@ references:
2222
condition: >
2323
sequence
2424
maxspan 1m
25-
|create_remote_thread| by thread.pid
25+
|create_remote_thread
26+
and
27+
not
28+
(ps.exe imatches
29+
(
30+
'?:\\Program Files\\*',
31+
'?:\\Program Files (x86)\\*'
32+
)
33+
or
34+
(ps.exe imatches 'C:\\Windows\\System32\\svchost.exe' and ps.args iin ('-k', 'DcomLaunch'))
35+
)
36+
| by thread.pid
2637
|(load_unsigned_or_untrusted_dll)
2738
and
2839
not

0 commit comments

Comments
 (0)