Hayabusa high test sigma
Potential Data Exfiltration Activity Via CommandLine Tools
Detects the use of various CLI utilities exfiltrating data via web requests
Detection Logic
{
"process_creation": {
"EventID": 4688,
"Channel": "Security"
},
"selection_iwr": {
"CommandLine
| contains": [
"curl ",
"Invoke-RestMethod",
"Invoke-WebRequest",
"irm ",
"iwr ",
"wget "
],
"CommandLine
| contains
| all": [
" -ur",
" -me",
" -b",
" POST "
],
"NewProcessName
| endswith": [
"\\powershell_ise.exe",
"\\powershell.exe",
"\\pwsh.exe",
"\\cmd.exe"
]
},
"selection_curl": {
"CommandLine
| contains": "--ur",
"NewProcessName
| endswith": "\\curl.exe"
},
"selection_curl_data": {
"CommandLine
| contains": [
" -d ",
" --data "
]
},
"selection_wget": {
"CommandLine
| contains": [
"--post-data",
"--post-file"
],
"NewProcessName
| endswith": "\\wget.exe"
},
"payloads": [
{
"CommandLine
| re": [
"net\\s+view",
"sc\\s+query"
]
},
{
"CommandLine
| contains": [
"Get-Content",
"GetBytes",
"hostname",
"ifconfig",
"ipconfig",
"netstat",
"nltest",
"qprocess",
"systeminfo",
"tasklist",
"ToBase64String",
"whoami"
]
},
{
"CommandLine
| contains
| all": [
"type ",
" > ",
" C:\\"
]
}
],
"condition": "process_creation and ((selection_iwr or all of selection_curl* or selection_wget) and payloads)"
} False Positives
- ⚠ Unlikely
Field Validations
Loading…
Comments (0)
Loading comments...