Sigma rule: Bash Interactive Shell
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-22250b18013b, updated 2023-04-07T00:00:00.000Z.
Rule
- Title
- Bash Interactive Shell
- Status
- test
- Level
- low
- Author
- @d4ns4n_
- Date
- 2023-04-07
- File
- rules/linux/process_creation/proc_creation_lnx_bash_interactive_shell.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects execution of the bash shell with the interactive flag "-i".
Log source
- product
- linux
- category
- process_creation
Detection
selection:
Image|endswith: '/bash'
CommandLine|contains: ' -i '
condition: selectionFalse positives (as the rule lists them)
- Unknown
Tags
- attack.execution
References
- https://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet
- https://www.revshells.com/
- https://linux.die.net/man/1/bash
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_bash_interactive_shell.yml
Sources and licences
SigmaHQ
"Bash Interactive Shell" by @d4ns4n_ (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_bash_interactive_shell.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Bash Interactive Shell",
entity page, dataset version ref-22250b18013b, updated 2023-04-07T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/6104e693-a7d6-4891-86cb-49a258523559 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 6104e693-a7d6-4891-86cb-49a258523559, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.