Rebuilding an Active Directory forest after full compromise
An Active Directory forest is more than a set of domain controllers. It anchors authentication, authorisation, DNS, Group Policy, application access and trust between organisations. When attackers hold forest-wide privileges, resetting passwords or restoring a backup cannot restore trust. Recovery must treat every reusable credential, signing key, configuration and dependency as potentially hostile.
Australian organisations face parallel recovery obligations. Under the Privacy Act 1988, a suspected personal-information breach must be assessed against the Notifiable Data Breaches framework and reported to affected people and the Office of the Australian Information Commissioner when the threshold applies. The Australian Signals Directorate’s Essential Eight, sector regulators, cyber-insurance terms and contracts may also shape the response.
Operationally, that means coordinating incident responders, identity engineers, legal teams, application owners and infrastructure providers without assuming the attacker left. CARM’s integrated ecosystem can support this coordination by bringing vendor capabilities into a structured remediation process, while each organisation retains responsibility for its recovery decisions and evidence.
Contain the blast radius before rebuilding identity
Begin with containment and evidence preservation, not destructive cleanup. Isolate domain controllers and identity services from production networks, capture volatile data and retain forensic images and logs. Coordinate with the Australian Cyber Security Centre and CERT Australia where appropriate, and preserve legal privilege before involving insurers or external counsel.
Scope the attacker’s access beyond Active Directory. Review domain admin groups, delegation, privileged groups, DCSync rights, AD CS, Group Policy, trusts, PAM, virtualisation hosts, endpoints, backups, SIEM platforms, Entra ID, SaaS applications and non-Microsoft access paths. A golden ticket or malicious certificate can survive a rebuild that never addresses its source.
| Recovery model | What it preserves | Principal risk | Strongest fit |
|---|---|---|---|
| Restore the existing forest in place | Familiar identities and a shorter migration | Reintroduces persistence unless every control plane is proven clean | Limited damage with independently verified backups |
| Create a new domain in the existing forest | Some administrative separation and staged migration | Forest-wide administrators, trusts and configuration still cross the boundary | Partial compromise where shared privilege is demonstrably sound |
| Build a clean forest | The strongest identity and trust boundary | Highest migration effort and operational complexity | Forest-wide compromise, especially where AD CS or hypervisors were abused |
The choice depends on proven attacker access, not convenience. A twice-reset KRBTGT helps within a recoverable forest, but it cannot compensate for stolen AD CS keys, compromised hypervisors or a lingering DCSync path. Where confidence is low, a clean forest reduces inherited risk despite the extra work.
Choose a clean recovery boundary
For a genuinely full compromise, a new, clean forest is usually the safest architectural answer. Existing groups, policies, trusts and automation should not cross the boundary automatically. Establish a separate recovery administrative identity and recovery infrastructure, then give the new environment its own privileged access model, DNS, PKI and support ownership.
Replace informal domain administration with tiered administration, phishing-resistant MFA, privileged access workstations, just-in-time elevation, Local Admin Password Solution, managed service accounts and restricted Group Policy delegation. Limit standing membership of privileged groups and monitor changes to replication rights, delegation and group nesting. This makes the new forest resistant to the shortcuts that made the old one fragile.
Before rebuilding, map every dependency: service principals, machine accounts, certificates, scheduled tasks, scripts, management agents, backup systems, line-of-business applications and hybrid identity flows. Divide the migration into waves based on business tolerance for change, with temporary coexistence governed by narrow, expiring trusts rather than broad two-way connectivity.
Rebuild the forest on trusted foundations
Use a segregated recovery plane with clean hardware or trusted hypervisor images, isolated management credentials, immutable backups and a recovery copy of critical configuration. Keep the new forest’s administration accounts offline until the final validation stage. Production administrators and contractors should not be automatically entitled to rebuild or restore it.
Build the replacement domain controllers in a deliberately minimal state. Configure DNS, accurate time sources, Kerberos policy, replication, auditing and baseline security before adding applications. Restore business data and identities from verified sources; never recycle domain controller disks, virtual machine snapshots, KRBTGT material, service secrets or backup catalogues from the compromised environment.
Treat certificates as a separate recovery workstream. Revoke or block abused AD CS certificate templates, replace signing keys and issue certificates from a trusted hierarchy. Recovery tooling and privileged software can themselves introduce a supply-chain weakness, so verify provenance, patching and deployment controls against supply-chain zero-day guidance before allowing it to rebuild trust.
Migrate workloads and re-establish trust
Migrate identities and services in dependency order, beginning with low-risk users and foundational services, then moving infrastructure, applications and high-value administrators. Recreate accounts with the minimum required group memberships, then validate authentication, authorisation, file shares, print queues, management agents and application entitlements before moving users.
Do not copy permissions wholesale. Review organisational units, ACLs, Group Policy, logon scripts, scheduled tasks, certificates and software deployment. Rotate machine, service, application and database credentials during the move, and invalidate active sessions so old Kerberos tickets or tokens cannot bridge the two forests.
Rebuild trusts only when a specific application needs one, narrow their scope and expire them on a defined date. Hybrid cloud deserves particular scrutiny: review Entra Connect, federation, device registrations, OAuth applications, consent grants, privileged roles and SaaS sessions. Australian customs brokers and freight operators often connect identity to third-party transport, billing and warehouse systems, so include those suppliers and legacy gateways in the migration map.
Cut over without recreating persistence
Validate the new forest as an adversary would. Test privilege escalation, DCSync, AD CS enrolment, delegation abuse, token theft, lateral movement and trust manipulation. Seed it with known-good telemetry and verify that logs reach the SIEM, alerts reach the relevant on-call team, and high-risk actions leave durable evidence.
Use a staged cutover with explicit success criteria for sign-in, application access, service accounts, DNS resolution, time synchronisation and monitoring. Coordinate change windows with business and support teams in Sydney and Melbourne, operational staff in Brisbane, and remote operations in Perth, accounting for Australian time zones and customer-facing service hours.
Retire the old forest only after an agreed observation period, a final hunt and documented evidence retention. Disconnect its controllers, revoke trusts, rotate any remaining shared secrets, block legacy endpoints and securely destroy or archive media according to legal requirements. A disconnected domain controller can still reveal topology and credentials if left accessible.
Operational priorities for Australian defenders
Map the rebuilt environment to the Australian Signals Directorate’s Essential Eight and the controls required by each sector. A recovery checklist should remain concise and operational:
- Immutable offline backups with restore evidence for identities, policies and PKI
- Documented DNS, Entra Connect, PAM and virtualisation recovery dependencies
- Tested cutover, rollback and credential-rotation runbooks
- Exercises involving business owners, suppliers and support teams
The control set should turn the lessons of the breach into durable guardrails:
- Phishing-resistant MFA, privileged access workstations and just-in-time elevation
- Tiered administration, managed service accounts and controlled local administration
- Endpoint detection, identity analytics and centralised logs across trust boundaries
- Patched software, restricted administration tools and monitored certificate changes
Australian managed detection providers have become a mature part of the local market, especially for organisations operating Entra ID alongside on-premises Active Directory. CARM can help coordinate multi-vendor investigation and remediation, while a local provider or internal team owns the 24-hour detection and escalation process. Neither replaces the need for direct control over identity recovery.
Keep recovery continuous and defensible
Continue threat hunting after cutover. Hunt for DCSync activity, unexpected delegation, new certificates, suspicious trust changes, privileged logons, altered Group Policy and anomalous cloud role activity. Compare the new forest’s administrator and service inventory with approved baselines; unexplained differences should trigger isolation, not a quiet cleanup.
Keep recovery artefacts current. Immutable backups protect data, but they do not prove that identity configuration, certificates and recovery procedures can restore service. Schedule periodic forest recovery exercises, test clean-room restoration and include external suppliers in dependency reviews.
The rebuilt environment should then be operated as a new trust anchor, with every privileged path designed to be observable, revocable and reviewable. Remember that recovery is complete only when the rebuilt forest has survived adversarial validation, not merely passed a health check.