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
2019-11-13 21:23:16 +00:00
description : Detects clearing or configuration of eventlogs uwing wevtutil, powershell and wmic. Might be used by ransomwares during the attack (seen by NotPetya and others)
author : Ecco, Daniil Yugoslavskiy, oscd.community
references :
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1070/T1070.yaml
- https://eqllib.readthedocs.io/en/latest/analytics/5b223758-07d6-4100-9e11-238cfdd0fe97.html
2019-09-06 14:57:03 +00:00
date : 2019 /09/26
2019-11-13 21:23:16 +00:00
modified : 2019 /11/11
2019-09-06 14:57:03 +00:00
tags :
2019-11-13 21:23:16 +00:00
- attack.defense_evasion
- attack.t1070
- car.2016-04-002
2019-09-06 14:57:03 +00:00
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 :
2020-03-01 22:14:53 +00:00
- 'clear-log' # clears specified log
2020-02-24 13:00:06 +00:00
- ' cl ' # short version of 'clear-log'
2020-03-01 22:14:53 +00:00
- 'set-log' # modifies config of specified log. could be uset to set it to a tiny size
2020-02-24 13:00:06 +00:00
- ' 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 :
2020-03-01 22:14:53 +00:00
- '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'
2020-02-24 13:00:06 +00:00
CommandLine|contains : ' ClearEventLog '
2020-02-03 22:13:16 +00:00
condition : 1 of selection_other_* or (selection_wevtutil_binary and selection_wevtutil_command)
2019-09-06 14:57:03 +00:00
falsepositives :
- Admin activity
- Scripts and administrative tools used in the monitored environment