0099-rsync-uninstalled-rsync Installed or rsyncd Service Not Masked
Rule ID
Category
Level
Compatible Versions
Description
- Unless necessary, the rsync package should be removed to reduce the attack surface of this system. The rsyncd service poses a security risk because it uses an unencrypted protocol for communication. Note: If the rsync package is a required dependency, but the rsyncd service is not essential, the service should be masked.
Scan Frequency
Theoretical Basis
- The rsyncd service can be used to synchronize files between systems over a network link.
Risk Items
- Hacker penetration
- Data leakage
- Network security
- Mining risk
- Botnet risk
Audit Method
- Execute the following command to verify if rsync is installed.
# rpm -q rsync
package rsync is not installed
- Run the command to remove rsync.
Impact
Default Value
References
CIS Controls
- Version 7
9.2 Ensure only approved ports, protocols, and services are running
Ensure that only network ports, protocols, and services that listen on each system are validated by business requirements and are running on each system.