Hayabusa high test sigma
PowerShell Execution With Potential Decryption Capabilities
Detects PowerShell commands that decrypt an ".LNK" "file to drop the next stage of the malware.
Detection Logic
{
"process_creation": {
"EventID": 1,
"Channel": "Microsoft-Windows-Sysmon/Operational"
},
"selection_img": {
"Image
| endswith": [
"\\powershell.exe",
"\\pwsh.exe"
],
"OriginalFileName": [
"PowerShell.EXE",
"pwsh.dll"
]
},
"selection_cli_dir": {
"CommandLine
| contains": [
"Get-ChildItem ",
"dir ",
"gci ",
"ls "
]
},
"selection_cli_gc": {
"CommandLine
| contains": [
"Get-Content ",
"gc ",
"cat ",
"type ",
"ReadAllBytes"
]
},
"selection_cli_specific": [
{
"CommandLine
| contains
| all": [
" ^
| ",
"\\*.lnk",
"-Recurse",
"-Skip "
]
},
{
"CommandLine
| contains
| all": [
" -ExpandProperty ",
"\\*.lnk",
"WriteAllBytes",
" .length "
]
}
],
"condition": "process_creation and (all of selection_*)"
} False Positives
- ⚠ Unlikely
Field Validations
Loading…
Comments (0)
Loading comments...