Cis Ubuntu1604 V200 2 1 16

Ensure rsync service is not installed

cyberstrikeus Updated

File contents

2.1.16 Ensure rsync service is not installed (Automated)

Description

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

Rationale

The rsync service presents a security risk as it uses unencrypted protocols for communication. The rsync package should be removed to reduce the attack area of the system.

Audit Procedure

Command Line

Run the following command to verify rsync is not installed:

dpkg -s rsync | grep -E '(Status:|not installed)'

Expected Result

dpkg-query: package 'rsync' is not installed and no information is available

Remediation

Command Line

Run the following command to remove rsync:

apt purge rsync

Default Value

rsync is not installed on minimal server installations.

References

  1. CIS Controls v7 - 9.2 Ensure Only Approved Ports, Protocols and Services Are Running

Profile

  • Level 1 - Server
  • Level 1 - Workstation

cyberstrikeus/cyberstrike/tree/main/.cyberstrike/skill/CIS_benchmarks/Operating_Systems/Ubuntu/cis-ubuntu-linux-16-04-lts-benchmark-v2/cis-ubuntu1604-v200-2-1-16 commit 68f67d1415

Frequently asked questions

npx skillmds@latest add cyberstrikeus/cis-ubuntu1604-v200-2-1-16