Interactive Bash Suspicious Children (via process_creation)
This rule detects anomalous interactive bash as a parent to rather uncommon child processes
SigmamediumLinuxv1
sigma
interactive-bash-suspicious-children-via-process-creation
title: Interactive Bash Suspicious Children (via process_creation)
id: aafaa2ab-5115-5ef3-97cd-0ca4f0d2887a
status: stable
description: This rule detects anomalous interactive bash as a parent to rather uncommon child processes
references:
- https://attack.mitre.org/techniques/T1036/
- https://attack.mitre.org/techniques/T1059/004/
- Internal Research
author: Huntrule Team
date: 2026-04-04
tags:
- attack.execution
- attack.stealth
- attack.t1059.004
- attack.t1036
logsource:
product: linux
category: process_creation
detection:
selection:
ParentCommandLine: 'bash -i'
anomaly1:
CommandLine|contains:
- '-c import '
- 'base64'
- 'pty.spawn'
anomaly2:
Image|endswith:
- 'whoami'
- 'iptables'
- '/ncat'
- '/nc'
- '/netcat'
condition: selection and 1 of anomaly*
falsepositives:
- Unknown
level: medium
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.