Potential Xterm Reverse Shell
Detects usage of "xterm" as a potential reverse shell tunnel
Detection logic
selection
Image|contains: xterm
CommandLine|contains: -display
CommandLine|endswith: :1Condition
selectionRaw YAML
title: Potential Xterm Reverse Shell
id: 4e25af4b-246d-44ea-8563-e42aacab006b
status: test
description: Detects usage of "xterm" as a potential reverse shell tunnel
references:
- https://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet
- https://www.revshells.com/
author: '@d4ns4n_'
date: 2023-04-24
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: mediumFalse positives
- Unknown
References
Similar rules
Atlassian Confluence CVE-2022-26134
highlinux · Shares T1059
Capsh Shell Invocation - Linux
highlinux · Shares T1059
CVE-2023-22518 Exploitation Attempt - Suspicious Confluence Child Process (Linux)
highlinux · Shares T1059
Inline Python Execution - Spawn Shell Via OS System Library
highlinux · Shares T1059