Files
hayabusa/rules/Sigma/win_susp_eventlog_clear.yml
2021-11-14 11:00:56 +09:00

57 lines
1.8 KiB
YAML

title: Suspicious Eventlog Clear or Configuration Using Wevtutil
author: Ecco, Daniil Yugoslavskiy, oscd.community
date: 2019/09/26
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).
detection:
SELECTION_1:
EventID: 1
SELECTION_10:
CommandLine: '*clear-log*'
SELECTION_11:
CommandLine: '* cl *'
SELECTION_12:
CommandLine: '*set-log*'
SELECTION_13:
CommandLine: '* sl *'
SELECTION_2:
Image: '*\powershell.exe'
SELECTION_3:
CommandLine: '*Clear-EventLog*'
SELECTION_4:
CommandLine: '*Remove-EventLog*'
SELECTION_5:
CommandLine: '*Limit-EventLog*'
SELECTION_6:
Image: '*\wmic.exe'
SELECTION_7:
CommandLine: '* ClearEventLog *'
SELECTION_8:
EventID: 1
SELECTION_9:
Image: '*\wevtutil.exe'
condition: (SELECTION_1 and (((SELECTION_2 and (SELECTION_3 or SELECTION_4 or
SELECTION_5)) or (SELECTION_6 and SELECTION_7)) or (SELECTION_8 and SELECTION_9
and (SELECTION_10 or SELECTION_11 or SELECTION_12 or SELECTION_13))))
falsepositives:
- Admin activity
- Scripts and administrative tools used in the monitored environment
id: cc36992a-4671-4f21-a91d-6c2b72a2edf5
level: high
logsource:
category: process_creation
product: windows
modified: 2019/11/11
references:
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1070.001/T1070.001.md
- https://eqllib.readthedocs.io/en/latest/analytics/5b223758-07d6-4100-9e11-238cfdd0fe97.html
tags:
- attack.defense_evasion
- attack.t1070.001
- attack.t1070
- car.2016-04-002
yml_filename: win_susp_eventlog_clear.yml
yml_path: /Users/user/Documents/YamatoSecurity/sigma/rules/windows/process_creation