Hayabusa high stable sigma
Suspicious Eventlog Clearing or Configuration Change Activity
Detects the clearing or configuration tampering of EventLog using utilities such as "wevtutil", "powershell" and "wmic". This technique were seen used by threat actors and ransomware strains in order to evade defenses.
Detection Logic
{
"process_creation": {
"EventID": 4688,
"Channel": "Security"
},
"selection_wevtutil_img": [
{
"NewProcessName
| endswith": "\\wevtutil.exe"
},
{
"OriginalFileName": "wevtutil.exe"
}
],
"selection_wevtutil_cmd": {
"CommandLine
| contains": [
"clear-log ",
" cl ",
"set-log ",
" sl ",
"lfn:"
]
},
"selection_other_ps_img": {
"NewProcessName
| endswith": [
"\\powershell.exe",
"\\powershell_ise.exe",
"\\pwsh.exe"
]
},
"selection_other_ps_cmd": [
{
"CommandLine
| contains": [
"Clear-EventLog ",
"Remove-EventLog ",
"Limit-EventLog ",
"Clear-WinEvent "
]
},
{
"CommandLine
| contains
| all": [
"Eventing.Reader.EventLogSession",
"ClearLog"
]
},
{
"CommandLine
| contains
| all": [
"Diagnostics.EventLog",
"Clear"
]
}
],
"selection_other_wmi": {
"CommandLine
| contains": "ClearEventLog",
"NewProcessName
| endswith": [
"\\powershell.exe",
"\\powershell_ise.exe",
"\\pwsh.exe",
"\\wmic.exe"
]
},
"filter_main_msiexec": {
"CommandLine
| contains": " sl ",
"ParentProcessName": [
"C:\\Windows\\SysWOW64\\msiexec.exe",
"C:\\Windows\\System32\\msiexec.exe"
]
},
"condition": "process_creation and (((all of selection_wevtutil_*) or (all of selection_other_ps_*) or selection_other_wmi) and not 1 of filter_main_*)"
} False Positives
- ⚠ Admin activity
- ⚠ Scripts and administrative tools used in the monitored environment
- ⚠ Maintenance activity
Field Validations
Loading…
Comments (0)
Loading comments...