CIS Ubuntu 14.04 LTS - 2.2.16 Ensure rsync service is not enabled

Verify that rsync service is disabled when not required

cyberstrikeus Updated 3.6k repo stars
CyberStrike — Agentic AI Penetration Testing Framework

File contents

2.2.16 Ensure rsync service is not enabled (Scored)

Profile Applicability

  • Level 1 - Server
  • Level 1 - Workstation

Description

The rsyncd service can be used to synchronize files between systems over network links.

Rationale

The rsyncd service presents a security risk as it uses unencrypted protocols for communication.

Audit Procedure

Run the following command to verify that the rsync service is not enabled:

grep ^RSYNC_ENABLE /etc/default/rsync

Expected output:

RSYNC_ENABLE=false

Expected Result

The output should show RSYNC_ENABLE=false.

Remediation

Edit the /etc/default/rsync file and set RSYNC_ENABLE to false:

RSYNC_ENABLE=false

Default Value

rsync service is not enabled by default (RSYNC_ENABLE=false).

References

  • CIS Controls: 9.1 Limit Open Ports, Protocols, and Services

Profile

  • Level 1 - Server
  • Level 1 - Workstation

cyberstrikeus/cyberstrike commit f64eec2334

Frequently asked questions

npx get-skill add cyberstrikeus/cis-ubuntu-14-04-lts-2-2-16-ensure-rsync-service-is-not-enab