SCA: Add CIS Benchmark policy for Arch Linux #32780
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
CIS Benchmark for Arch Linux (Wazuh SCA Policy)
Author
Kevin David Muñoz (MrHacker)
Wazuh Ambassador
Overview
This repository introduces the CIS Benchmark for Arch Linux (Rolling Release), implemented as a Security Configuration Assessment (SCA) policy for Wazuh.
Since Arch Linux lacks an official CIS benchmark, this policy aims to bring compliance and security auditing capabilities aligned with CIS Level 1, PCI-DSS, and Linux hardening best practices.
The policy is tailored for rolling-release environments, ensuring it remains functional across constant system updates and compatible with both official Arch and Arch-based distributions.
⚙️ Tested Environments
Validated across multiple kernel and distribution variants:
Environment details:
systemd256+pacman7.0.xOpenSSH9.7p1auditd4.xRequirements
To properly execute the SCA policy:
/etc/arch-releaseor/etc/os-releasemust exist and containID=archpacmanmust be installed and available in/usr/bin/pacmanSummary of Checks
System and Kernel
dccp,sctp,rds,tipc)Package Management and Updates
SigLevel = Required)pacman -Syu)tmpfiles.dCritical File Permissions
/etc/passwdpermissions/etc/shadowpermissions/etc/grouppermissions/etc/gshadowpermissionsNetwork Services
xinetdandinetdare not installedSystemd and Auditing
systemd-coredumpbehaviorjournald.confandauditd.confconfigurationssystemd-tmpfilesCompatibility
✔️ Wazuh 4.x and 5.x
✔️ x86_64 and aarch64 architectures
✔️ Arch-based distributions: Manjaro, Garuda, EndeavourOS, CachyOS, etc.
References