Detectionhighexperimental
Shell Execution via Rsync - Linux
Detects the use of the "rsync" utility to execute a shell. Such behavior may be associated with privilege escalation, unauthorized command execution, or to break out from restricted environments.
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Li Ling, Andy Parkidomo, Robert Rakowski, Blake Hartstein (Bloomberg L.P.), Florian Roth (Nextron Systems)Created Mon Sep 02Updated Sat Jan 18e2326866-609f-4015-aea9-7ec634e8aa04linux
Log Source
LinuxProcess Creation
ProductLinux← raw: linux
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic2 selectors
detection:
selection_img:
Image|endswith:
- '/rsync'
- '/rsyncd'
CommandLine|contains: ' -e '
selection_cli:
CommandLine|contains:
- '/ash '
- '/bash '
- '/dash '
- '/csh '
- '/sh '
- '/zsh '
- '/tcsh '
- '/ksh '
- "'ash "
- "'bash "
- "'dash "
- "'csh "
- "'sh "
- "'zsh "
- "'tcsh "
- "'ksh "
condition: all of selection_*False Positives
Legitimate cases in which "rsync" is used to execute a shell
References
MITRE ATT&CK
Tactics
Rule Metadata
Rule ID
e2326866-609f-4015-aea9-7ec634e8aa04
Status
experimental
Level
high
Type
Detection
Created
Mon Sep 02
Modified
Sat Jan 18
Author
Path
rules/linux/process_creation/proc_creation_lnx_rsync_shell_execution.yml
Raw Tags
attack.executionattack.t1059