Active Directory Hardening Guidebook

Welcome to the Active Directory Hardening Guidebook. This repository houses a production-grade, offensive-aligned set of hardening requirements and guidelines specifically designed for securing modern Active Directory (AD) environments in air-gapped (offline) settings.


Core Philosophy & Design

In high-security, isolated environments, traditional cloud-based security feeds and agent-based telemetry may be unavailable or restricted. This guidebook addresses this challenge by providing a self-contained, deterministic hardening framework that:

  • Enforces Administrative Tiering: Strictly isolates administrative identities, credentials, and systems to prevent privilege escalation.
  • Restricts Attack Surface: Systematically disables legacy protocols, name resolution mechanisms, and vulnerable default options.
  • Ensures Deterministic Configuration: Standardizes system baselines using Group Policy Objects (GPOs) and Desired State Configuration (DSC).

Scope & Target Systems

The guidebook covers the following scopes:

Component Target Operating System Placement / Tier
Domain Controllers Windows Server 2016 and above Tier 0 (Core Identity)
Privileged Access Workstations (PAWs) Windows 10 Enterprise and above Tier 0/1 (Management Plane)
Tier 2 Client Workstations Windows 10 Enterprise and above Tier 2 (Standard Clients)

Target environment characteristics:

  • Air-Gapped / Isolated: No active internet connectivity or external DNS dependencies.
  • On-Premises Focused: No Azure AD / Entra ID hybrid integrations, relying purely on native AD DS.
  • Standard OS Baseline: Built and tested against native Windows enterprise releases, with no dependence on third-party security agents for core functions.

Administrative Tiering Model

To prevent credential theft and lateral movement, the guidebook structures all policies around the 3-Tier administrative tiering model:

Tier 0

Identity & Control Plane

Direct or indirect administrative control over the Active Directory forest, identity systems, and key management infrastructure.

Domain Controllers PKI & Active Directory Certificate Services (ADCS) Privileged Access Workstations (PAWs) Domain/Forest Admins
Tier 1

Enterprise Servers & Services

Corporate application servers, database systems, and management infrastructure. High business value but no direct identity fabric control.

Enterprise Member Servers Application Service Accounts Server Administrators WSUS & Configuration Managers
Tier 2

Endpoints & Standard Users

Standard corporate client workstations, laptops, mobile devices, and normal business users.

Client Workstations / Laptops Standard Corporate Users Local Workstation Administrators

Guidebook Structure & Modules

The hardening guidelines are organized into eight functional modules:

Module Target Scope Focus Areas
Module 1: Architecture & Administrative Tiering Infrastructure Layout Tier logons, administrative protocols, privileged group audits, forest functional levels, GPO management.
Module 2: Domain Controller Hardening Domain Controllers (Tier 0) SMBv1/NTLMv1 deprecation, LDAP signing/channel binding, Print Spooler disablement, LSA/Credential Guard.
Module 3: Identities & Services Hardening Directory Identities Password policies, LAPS, gMSAs, delegation restrictions, Protected Users, ADCS/PKI security.
Module 4: Network Configuration & Firewalling Network Boundaries Port matrices, RPC dynamic port restrictions, IPsec domain isolation, SMBv3 security, WinRM.
Module 5: Logging, Monitoring & SIEM Directory Auditing Security audit policies, PowerShell/CLI auditing, Sysmon deployment, secure log shipping.
Module 6: Secure Operations & Maintenance Directory Operations KRBTGT password rotation, AD Recycle Bin, ADMX Central Store management, Tier 0 WSUS baseline.
Module 7: Privileged Access Workstations Hardening Management Devices (Tier 0/1) BitLocker with TPM/PIN, UEFI security, DMA protection, AppLocker, WDAC, kernel shadow stacks.
Module 8: Endpoint Hardening Client Workstations (Tier 2) UAC policies, LOLBins blocklists, Application Control (WDAC), system service disabling, Windows Defender.

Continuous Auditing & Compliance Framework

To ensure that the security controls documented in this guidebook remain enforced and do not experience configuration drift, this repository includes a two-pronged automated auditing framework:

1. PowerShell DSC Audit Baseline

A native PowerShell DSC Audit Framework that operates in ApplyAndMonitor mode, continuously checking target systems against the security baseline and logging details of any failing controls or drift. It is organized around targeting profiles for Common Controls, Domain Controllers, PAWs, and Endpoints.

For details on configuration and compilation, refer to the DSC Audit Framework Documentation.

2. Automated SCAP Benchmarks (XCCDF & OVAL)

A standardized, declarative security checking mechanism using SCAP XML Benchmarks:

  • XCCDF Benchmark (audit/scap/ad-hardening-xccdf.xml): Defines the checklist groups, severities, and target profiles.
  • OVAL Definitions (audit/scap/ad-hardening-oval.xml): Implements automated native checks (registry, services, privileges, account limits, and audit policies) to evaluate compliance without manual tasks.

For execution instructions using tools like oscap or enterprise compliance agents, refer to the SCAP Compliance Documentation.


Standards & Compliance Mapping

All controls are mapped to international security standards to simplify audits and verify posture. For compliance mappings, see the dedicated matrices:


results matching ""

    No results matching ""