Sigma medium test sigma
Linux Shell Pipe to Shell
Detects suspicious process command line that starts with a shell that executes something and finally gets piped into another shell
Detection Logic
{
"selection": {
"CommandLine
| startswith": [
"sh -c ",
"bash -c "
]
},
"selection_exec": [
{
"CommandLine
| contains": [
"
| bash ",
"
| sh ",
"
| bash ",
"
| sh "
]
},
{
"CommandLine
| endswith": [
"
| bash",
"
| sh",
"
| bash",
"
| sh"
]
}
],
"condition": "all of selection*"
} False Positives
- ⚠ Legitimate software that uses these patterns
Field Validations
Loading…
Comments (0)
Loading comments...