Hayabusa medium test sigma
Powershell WMI Persistence
Adversaries may establish persistence and elevate privileges by executing malicious content triggered by a Windows Management Instrumentation (WMI) event subscription.
Detection Logic
{
"ps_script": {
"EventID": 4104,
"Channel": [
"Microsoft-Windows-PowerShell/Operational",
"PowerShellCore/Operational"
]
},
"selection_ioc": [
{
"ScriptBlockText
| contains
| all": [
"New-CimInstance ",
"-Namespace root/subscription ",
"-ClassName __EventFilter ",
"-Property "
]
},
{
"ScriptBlockText
| contains
| all": [
"New-CimInstance ",
"-Namespace root/subscription ",
"-ClassName CommandLineEventConsumer ",
"-Property "
]
}
],
"condition": "ps_script and selection_ioc"
} False Positives
- ⚠ Unknown
Field Validations
Loading…
Comments (0)
Loading comments...