A beginner-friendly guide to performing Security Gap Analysis (Configuration Compliance Assessment) using official tools and baselines.
Purpose: Compare current system configuration against recommended security baselines to identify gaps and vulnerabilities.
Also called hardening audit or compliance check. It compares:
Intended/Recommended configuration → from official baselines (Microsoft SCT, CIS, STIG, NIST)
Actual/Effective configuration → what the live system really has right now
Differences = security gaps (weak passwords, no lockouts, insecure services, etc.)
- Detect configuration drift
- Prioritize fixes
- Harden systems
- Meet compliance requirements (CIS, NIST, DoD STIG, etc.)
- Always use the baseline that matches your exact OS version and build
- Security baselines are general best practices — tailor them to your organization
- After applying fixes → re-scan to confirm compliance
- This is a fundamental skill for security audits, system hardening, and regulatory compliance
✅ Your own systems · ✅ Authorized company systems · ✅ Lab/test environments
❌ Unauthorized systems · ❌ Production without change management approval
Found a mistake or want to add a tool? Open a PR!
MIT License — feel free to use and share.