Hayabusa medium test sigma
Private Keys Reconnaissance Via CommandLine Tools
Adversaries may search for private key certificate files on compromised systems for insecurely stored credential
Detection Logic
{
"process_creation": {
"EventID": 1,
"Channel": "Microsoft-Windows-Sysmon/Operational"
},
"selection_cmd_img": [
{
"Image
| endswith": "\\cmd.exe"
},
{
"OriginalFileName": "Cmd.Exe"
}
],
"selection_cmd_cli": {
"CommandLine
| contains": "dir "
},
"selection_pwsh_img": [
{
"Image
| endswith": [
"\\powershell.exe",
"\\pwsh.exe"
]
},
{
"OriginalFileName": [
"PowerShell.EXE",
"pwsh.dll"
]
}
],
"selection_pwsh_cli": {
"CommandLine
| contains": "Get-ChildItem "
},
"selection_findstr": [
{
"Image
| endswith": "\\findstr.exe"
},
{
"OriginalFileName": "FINDSTR.EXE"
}
],
"selection_ext": {
"CommandLine
| contains": [
".key",
".pgp",
".gpg",
".ppk",
".p12",
".pem",
".pfx",
".cer",
".p7b",
".asc"
]
},
"condition": "process_creation and (selection_ext and (all of selection_cmd_* or all of selection_pwsh_* or selection_findstr))"
} False Positives
- ⚠ Unknown
Field Validations
Loading…
Comments (0)
Loading comments...