Possible Xterm Reverse Shell (via process_creation)

This rule detects use of "xterm" as a potential reverse shell tunnel

SigmamediumLinuxv1
sigma
title: Possible Xterm Reverse Shell (via process_creation)
id: c6b612fd-e9c1-58f8-b616-ca9cc1dcd893
status: stable
description: This rule detects use of "xterm" as a potential reverse shell tunnel
references:
    - https://attack.mitre.org/techniques/T1059/
    - https://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet
    - https://www.revshells.com/
author: 'Huntrule Team'
date: 2026-05-27
tags:
    - attack.execution
    - attack.t1059
logsource:
    category: process_creation
    product: linux
detection:
    selection:
        Image|contains: 'xterm'
        CommandLine|contains: '-display'
        CommandLine|endswith: ':1'
    condition: selection
falsepositives:
    - Unknown
level: medium

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.