refactor: rewrite re rule to contains
This commit is contained in:
@@ -16,7 +16,10 @@ logsource:
|
||||
product: windows
|
||||
detection:
|
||||
selection:
|
||||
CommandLine|re: '.*(?i)winget install (--m|-m).*'
|
||||
CommandLine|contains|all: 'winget install'
|
||||
CommandLine|contains:
|
||||
- ' -m '
|
||||
- ' --manifest '
|
||||
condition: selection
|
||||
falsepositives:
|
||||
- Admin activity installing packages not in the official Microsoft repo. Winget probably won't be used by most users.
|
||||
|
||||
Reference in New Issue
Block a user