Skip to content

Commit

Permalink
Fixed rules that likely will cause false negatives by fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspatzke committed Mar 1, 2020
1 parent 01bd5cf commit b63889a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ detection:
- Image|endswith: '\cmd.exe'
CommandLine|contains|all:
- '/c'
- 'dir'
- 'dir '
- '\Users\'
filter_1:
CommandLine|contains:
Expand Down
10 changes: 5 additions & 5 deletions rules/windows/process_creation/win_susp_eventlog_clear.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ detection:
Image|endswith: '\wevtutil.exe'
selection_wevtutil_command:
CommandLine|contains:
- ' clear-log ' # clears specified log
- 'clear-log' # clears specified log
- ' cl ' # short version of 'clear-log'
- ' set-log ' # modifies config of specified log. could be uset to set it to a tiny size
- 'set-log' # modifies config of specified log. could be uset to set it to a tiny size
- ' sl ' # short version of 'set-log'
selection_other_ps:
Image|endswith: '\powershell.exe'
CommandLine|contains:
- ' Clear-EventLog '
- ' Remove-EventLog '
- ' Limit-EventLog '
- 'Clear-EventLog'
- 'Remove-EventLog'
- 'Limit-EventLog'
selection_other_wmic:
Image|endswith: '\wmic.exe'
CommandLine|contains: ' ClearEventLog '
Expand Down
4 changes: 2 additions & 2 deletions rules/windows/process_creation/win_susp_fsutil_usage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ detection:
OriginalFileName: 'fsutil.exe'
selection:
CommandLine|contains:
- ' deletejournal ' # usn deletejournal ==> generally ransomware or attacker
- ' createjournal ' # usn createjournal ==> can modify config to set it to a tiny size
- 'deletejournal' # usn deletejournal ==> generally ransomware or attacker
- 'createjournal' # usn createjournal ==> can modify config to set it to a tiny size
condition: (1 of binary_*) and selection
falsepositives:
- Admin activity
Expand Down

0 comments on commit b63889a

Please sign in to comment.