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": 4688,
"Channel": "Security"
},
"selection_img": {
"OriginalFileName": [
"PowerShell.EXE",
"pwsh.dll"
],
"NewProcessName
| endswith": [
"\\powershell.exe",
"\\pwsh.exe"
]
},
"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...