Shell Execution via Rsync - Linux
Description
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.
Query · sigma
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_*
Known false positives
- Legitimate cases in which "rsync" is used to execute a shell