Framework: CIS Arch Linux Benchmark v3.0.0
Project Type: Endpoint Security Engineering & Compliance Hardening
This project documents the systematic hardening of an Arch Linux endpoint from a vulnerable baseline to a production-hardened state. By integrating the Wazuh SIEM/XDR stack and following the CIS (Center for Internet Security) framework, I remediated 100+ misconfigurations.
The result is a "Fortified Sentinel"—a host designed with a minimal attack surface and high-fidelity telemetry, providing real-time visibility into kernel-level events and MITRE ATT&CK-aligned threats.
- Target OS: Arch Linux (Rolling Release)
- SIEM/XDR: Wazuh v4.14.4 (Docker-based Manager)
- Instrumentation: Linux Audit Framework (
auditd),libpwquality - Hardening Controls:
pam_pwquality,systemd,sysctl,visudo,ip6tables - Automation: Fish Shell (Custom remediation scripting)
Wazuh served as the centralized Security Configuration Assessment (SCA) engine. Beyond scoring, it provided real-time alerting for file integrity changes and unauthorized system modifications.
Figure 1: Centralized Security Dashboard showing active telemetry and SCA compliance.
The initial environment represented a "Day Zero" installation. The first SCA scan established a baseline score of 26%, revealing significant gaps in:
- Identity Management: Weak password complexity and unmonitored
sudoactivity. - Kernel Security: Unrestricted module loading and insecure network parameters.
- Logging: Lack of granular audit trails for sensitive file access.
Figure 2: Initial scan results showing 95 failed security checks.
Remediation was executed in logical "Sprints" to ensure system stability while increasing security posture.
- Sudo Hardening: Enforced
use_ptyand directed logs to/var/log/sudo.logfor immutable command tracking. - Privilege Restriction: Limited administrative escalation to the
wheelgroup viapam_wheel.so. - Credential Policy: Implemented password aging and complexity requirements via
login.defsandpam_pwquality.
- Mount Security: Applied
noexec,nosuid, andnodevflags to/tmp,/var/tmp, and/dev/shm. - Module Hardening: Blacklisted legacy/dangerous filesystems (CramFS, JFFS2, HFS) and restricted unauthorized USB storage drivers via
modprobe.d.
Figure 3: Mid-project progress (55%) following kernel and filesystem remediation.
- Service Masking: Physically "masked" legacy services (FTP, Telnet, SNMP, HTTP) to prevent accidental activation.
- Stack Hardening: Configured
sysctlto disable IP forwarding, ignore ICMP redirects, and reject source-routed packets.
To reach the final compliance tier, I expanded host-level visibility using auditd. I deployed 22,000+ rules (Neo23x0 baseline) to monitor:
-k modules: Kernel module tampering (Rootkit detection).-k scope: Any modification tosudoersor administrative boundaries.-k file_creation: Monitoring restricted directories for suspicious drops.
- Compliance Velocity: Successfully increased the SCA score by 57 percentage points.
- Detection Capability: Established a telemetry pipeline that maps raw kernel events to MITRE ATT&CK tactics.
- Reduced Vulnerability: Eliminated common vertical privilege escalation paths.
Figure 5: Final SCA report reflecting 83% compliance.
- Minimalism vs. Security: Arch Linux's lean nature provides a smaller attack surface, but requires manual engineering to meet enterprise compliance standards.
- The Value of SCA: Continuous assessment is critical; remediation is not a one-time event but a cycle of "fix, scan, and validate."
- Deploy Wazuh SIEM
- Agent Instrumentation & Enrollment
- Kernel & Filesystem Hardening
- High-Fidelity Auditd Rule Deployment
- Final CIS Validation (80%+)