SigmaHQ/rules/windows/process_creation/win_susp_eventlog_clear.yml

41 lines
1.6 KiB
YAML
Raw Normal View History

2020-01-30 16:26:09 +00:00
title: Suspicious Eventlog Clear or Configuration Using Wevtutil
2019-11-12 22:12:27 +00:00
id: cc36992a-4671-4f21-a91d-6c2b72a2edf5
description: Detects clearing or configuration of eventlogs using wevtutil, powershell and wmic. Might be used by ransomwares during the attack (seen by NotPetya and others).
2019-11-13 21:23:16 +00:00
author: Ecco, Daniil Yugoslavskiy, oscd.community
references:
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1070.001/T1070.001.md
2019-11-13 21:23:16 +00:00
- https://eqllib.readthedocs.io/en/latest/analytics/5b223758-07d6-4100-9e11-238cfdd0fe97.html
date: 2019/09/26
2019-11-13 21:23:16 +00:00
modified: 2019/11/11
tags:
2019-11-13 21:23:16 +00:00
- attack.defense_evasion
- attack.t1070.001
- attack.t1070 # an old one
2019-11-13 21:23:16 +00:00
- car.2016-04-002
level: high
logsource:
category: process_creation
product: windows
detection:
2020-02-03 22:13:16 +00:00
selection_wevtutil_binary:
2019-11-13 21:23:16 +00:00
Image|endswith: '\wevtutil.exe'
2020-02-03 22:13:16 +00:00
selection_wevtutil_command:
2020-06-16 20:46:08 +00:00
CommandLine|contains:
- '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
- ' sl ' # short version of 'set-log'
2020-02-03 22:13:16 +00:00
selection_other_ps:
2019-11-13 21:23:16 +00:00
Image|endswith: '\powershell.exe'
2020-06-16 20:46:08 +00:00
CommandLine|contains:
- 'Clear-EventLog'
- 'Remove-EventLog'
- 'Limit-EventLog'
2020-02-03 22:13:16 +00:00
selection_other_wmic:
2019-11-13 21:23:16 +00:00
Image|endswith: '\wmic.exe'
CommandLine|contains: ' ClearEventLog '
2020-02-03 22:13:16 +00:00
condition: 1 of selection_other_* or (selection_wevtutil_binary and selection_wevtutil_command)
falsepositives:
- Admin activity
- Scripts and administrative tools used in the monitored environment