2020-01-30 17:26:09 +01:00
title : Suspicious Eventlog Clear or Configuration Using Wevtutil
2019-11-12 23:12:27 +01:00
id : cc36992a-4671-4f21-a91d-6c2b72a2edf5
2019-11-14 00:23:16 +03: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 10:57:03 -04:00
date : 2019 /09/26
2019-11-14 00:23:16 +03:00
modified : 2019 /11/11
2019-09-06 10:57:03 -04:00
tags :
2019-11-14 00:23:16 +03:00
- attack.defense_evasion
2020-08-30 19:17:38 +03:00
- attack.t1070.001
- attack.t1070 # an old one
2019-11-14 00:23:16 +03:00
- car.2016-04-002
2019-09-06 10:57:03 -04:00
level : high
logsource :
category : process_creation
product : windows
detection :
2020-02-03 23:13:16 +01:00
selection_wevtutil_binary :
2019-11-14 00:23:16 +03:00
Image|endswith : '\wevtutil.exe'
2020-02-03 23:13:16 +01:00
selection_wevtutil_command :
2020-06-16 14:46:08 -06:00
CommandLine|contains :
2020-03-01 23:14:53 +01:00
- 'clear-log' # clears specified log
2020-02-24 08:00:06 -05:00
- ' cl ' # short version of 'clear-log'
2020-03-01 23:14:53 +01:00
- 'set-log' # modifies config of specified log. could be uset to set it to a tiny size
2020-02-24 08:00:06 -05:00
- ' sl ' # short version of 'set-log'
2020-02-03 23:13:16 +01:00
selection_other_ps :
2019-11-14 00:23:16 +03:00
Image|endswith : '\powershell.exe'
2020-06-16 14:46:08 -06:00
CommandLine|contains :
2020-03-01 23:14:53 +01:00
- 'Clear-EventLog'
- 'Remove-EventLog'
- 'Limit-EventLog'
2020-02-03 23:13:16 +01:00
selection_other_wmic :
2019-11-14 00:23:16 +03:00
Image|endswith : '\wmic.exe'
2020-02-24 08:00:06 -05:00
CommandLine|contains : ' ClearEventLog '
2020-02-03 23:13:16 +01:00
condition : 1 of selection_other_* or (selection_wevtutil_binary and selection_wevtutil_command)
2019-09-06 10:57:03 -04:00
falsepositives :
- Admin activity
- Scripts and administrative tools used in the monitored environment