Possible Bash Interactive Shell (via process_creation)

This rule detects execution of the bash shell with the interactive flag "-i".

SigmalowLinuxv1
sigma
title: Possible Bash Interactive Shell (via process_creation)
id: 465b0051-d7b9-5ac5-849c-56659e739ad7
status: stable
description: This rule 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: 'Huntrule Team'
date: 2026-07-20
tags:
    - attack.execution
    - attack.t1059.004
logsource:
    category: process_creation
    product: linux
detection:
    selection:
        Image|endswith: '/bash'
        CommandLine|contains: ' -i '
    condition: selection
falsepositives:
    - Unknown
level: low

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.