Linux Hardening
Production-grade hardening for Debian/RHEL fleets.
What I deliver
- CIS benchmark automation
- Auditd & eBPF monitoring
- SELinux/AppArmor policies
- SSH, sudo and kernel parameter hardening
Step by step
- 01
Baseline against CIS Benchmarks
- 02
Review users, sudo and SSH
- 03
Patch, services and kernel settings
- 04
Logging with auditd
- 05
Re-scan and document
Top bugs I hunt — and the steps
The recurring weaknesses I see in this domain, with the repeatable workflow I run from discovery to fix.
- STEP 1Enumerate SUID binaries (find / -perm -4000)
- STEP 2Cross-reference GTFOBins for known abuse
- STEP 3Demonstrate root via vulnerable binary
- STEP 4Fix: strip unnecessary SUID, enable AppArmor/SELinux, audit with Lynis