Bash Interactive Shell
Detects execution of the bash shell with the interactive flag "-i".
Detection logic
selection
Image|endswith: /bash
CommandLine|contains: " -i "Condition
selectionRaw YAML
title: Bash Interactive Shell
id: 6104e693-a7d6-4891-86cb-49a258523559
status: test
description: Detects execution of the bash shell with the interactive flag "-i".
references:
- https://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet
- https://www.revshells.com/
- https://linux.die.net/man/1/bash
author: '@d4ns4n_'
date: 2023-04-07
tags:
- attack.execution
logsource:
category: process_creation
product: linux
detection:
selection:
Image|endswith: '/bash'
CommandLine|contains: ' -i '
condition: selection
falsepositives:
- Unknown
level: lowFalse positives
- Unknown
References
Similar rules
Atlassian Confluence CVE-2022-26134
highlinux · Same logsource category (process_creation)
Axios NPM Compromise Indicators - Linux
highlinux · Same logsource category (process_creation)
BPFtrace Unsafe Option Usage
mediumlinux · Same logsource category (process_creation)
Capsh Shell Invocation - Linux
highlinux · Same logsource category (process_creation)