refactor: simplified and extended expression in CVE-2020-1048 rule
This commit is contained in:
@@ -15,17 +15,17 @@ logsource:
|
||||
product: windows
|
||||
detection:
|
||||
selection1:
|
||||
CommandLine|contains|all:
|
||||
CommandLine|contains:
|
||||
- 'Add-PrinterPort -Name'
|
||||
- '.dll'
|
||||
selection2:
|
||||
CommandLine|contains|all:
|
||||
- 'Add-PrinterPort -Name'
|
||||
CommandLine|contains:
|
||||
- '.exe'
|
||||
- '.dll'
|
||||
- '.bat'
|
||||
selection3:
|
||||
CommandLine|contains:
|
||||
- 'Generic / Text Only'
|
||||
condition: 1 of them
|
||||
condition: ( selection1 and selection2 ) or selection3
|
||||
falsepositives:
|
||||
- New printer port install on host
|
||||
level: high
|
||||
|
||||
@@ -26,6 +26,7 @@ detection:
|
||||
TargetObject|contains:
|
||||
- '.dll'
|
||||
- '.exe'
|
||||
- '.bat'
|
||||
- 'C:'
|
||||
condition: selection
|
||||
falsepositives:
|
||||
|
||||
Reference in New Issue
Block a user