Linux JexBoss Suspicious Bash Command Launch with /dev/tcp
Flags Linux executions containing bash -c /bin/bash paired with /dev/tcp/ indicative of a reverse-shell command sequence.
- Product
- linux
- Author
- Florian Roth (Nextron Systems) (SigmaHQ), DRL 1.1
- Published
- 2017-08-24
- Updated
- 2026-07-31
ATT&CK techniques
ExecutionRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule matches a suspicious Linux command sequence where a bash instance is invoked via "bash -c /bin/bash" and includes a redirect to a network-capable "&/dev/tcp/" path. Such behavior is relevant because it aligns with common attacker tradecraft for establishing network communications or payload staging from shell commands. Telemetry relies on Linux command text/logs that capture the executed command line containing both keywords.
Reporting behind it
Changelog
v3- v3Candidate ingested via manual entry.2026-07-31
- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: Linux JexBoss Suspicious Bash Command Launch with /dev/tcp
id: 3801e19b-4dcb-46c2-99b1-730915c3d172
status: test
description: This rule matches a suspicious Linux command sequence where a bash instance is invoked via "bash -c /bin/bash" and includes a redirect to a network-capable "&/dev/tcp/" path. Such behavior is relevant because it aligns with common attacker tradecraft for establishing network communications or payload staging from shell commands. Telemetry relies on Linux command text/logs that capture the executed command line containing both keywords.
references:
- https://www.us-cert.gov/ncas/analysis-reports/AR18-312A
- https://github.com/SigmaHQ/sigma/blob/master/rules/linux/builtin/lnx_susp_jexboss.yml
author: Florian Roth (Nextron Systems), Huntrule Team
date: 2017-08-24
modified: 2025-11-22
tags:
- attack.execution
- attack.t1059.004
logsource:
product: linux
detection:
keywords:
"|all":
- bash -c /bin/bash
- "&/dev/tcp/"
condition: keywords
falsepositives:
- Unknown
level: high
license: DRL-1.1
related:
- id: 8ec2c8b4-557a-4121-b87c-5dfb3a602fae
type: derived