EXPLORE
← Back to Explore
sigmalowHunting

Bash Interactive Shell

Detects execution of the bash shell with the interactive flag "-i".

Detection Query

selection:
  Image|endswith: /bash
  CommandLine|contains: " -i "
condition: selection

Author

@d4ns4n_

Created

2023-04-07

Data Sources

linuxProcess Creation Events

Platforms

linux

Tags

attack.execution
Raw Content
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: low