Cyber resilience

Active Directory recovery: Planning backup access

If directory services are down, nobody can authenticate to the backup system. How to plan access for an AD recovery.

5 min read
Glowing directory tree of connected nodes above a locked server cabinet in violet light

Directory services sit underneath almost everything else in a corporate environment, which makes their loss unusually disruptive and their recovery unusually awkward. The awkwardness is specific: the backup system that holds the directory backups typically authenticates against the directory. When it is gone, the credentials needed to start the restore no longer resolve, and a recovery that should take hours waits on a problem nobody planned for.

This is a dependency question rather than a backup product question. The backups usually exist and are usually valid. What is missing is a way to reach them that does not require the thing being restored, and that path has to be built before it is needed because it cannot be built afterwards.

Why directory recovery is different from other restores

Most systems can be restored in any order once the foundation is available. Directory services are part of that foundation, so their restore happens while the environment is at its least functional. Administrators cannot log in to the tools they would normally use. Management consoles reject credentials. Multi-factor systems that depend on directory identities may be unavailable. Even physically reaching a server may require a card system that authenticates against the directory.

The restore itself also carries risks that ordinary restores do not. Bringing back a directory database involves careful handling of replication state, and restoring the wrong way can propagate stale data or reintroduce objects that were deliberately removed. In a compromise, an attacker's changes may be present in recent backups, so the restore point has to be chosen with the intrusion timeline in mind rather than simply taking the newest copy.

That last point connects directly to how far back retention needs to reach. If the only available restore points fall inside the period an attacker had access, the directory can be restored but not trusted.

The access problem, stated plainly

To restore directory services, an administrator needs to reach the backup repository, authenticate to the backup software, locate the right restore point and write it to a target system. Each of those four steps has a dependency that is usually satisfied by the directory itself.

StepUsual dependencyIndependent alternative
Reach the network and the consoleDirectory-integrated jump hosts and VPNOut-of-band management and a documented local path
Log in to the backup softwareDirectory-integrated administrator accountsLocal accounts on the backup server, held in escrow
Read the backup repositoryShared credentials or integrated authenticationRepository credentials stored outside the environment
Decrypt the backupA key management system that may be affectedKeys escrowed offline with a tested retrieval procedure
Complete multi-factor authenticationDirectory-linked identity providerDocumented break-glass accounts with a separate factor
Restore onto a targetProvisioning that requires directory servicesPre-staged or manually buildable recovery host

The pattern in the right column is consistent. Every step needs one alternative that is deliberately kept outside the environment, and each alternative has to be tested, because an untested break-glass credential is a hypothesis rather than a control.

Break-glass accounts that actually work

A break-glass account is only useful if it can be used. That means the credential is stored somewhere reachable when the network is down, more than one person can retrieve it, its use is monitored so it is not a quiet backdoor, and it is validated on a schedule so that a password expiry policy has not silently disabled it.

The storage location deserves thought. A password manager that authenticates against the directory is not an independent store. Neither is a document on a file share inside the affected environment. Options that hold up include a sealed physical copy in a safe, an offline manager on dedicated hardware, or a cloud service with independent authentication, each with a documented procedure for who may open it and under what circumstances.

Multi-factor requirements need the same treatment. If the second factor is delivered through a system that depends on the directory, the break-glass credential is incomplete. An alternative factor bound to the account, held with it, is what closes that gap.

Protecting the directory backups themselves

Directory backups are a high value target precisely because of what they contain, and an attacker who can delete them removes the recovery path entirely. They deserve the strongest protection in the estate: immutable storage so the copies cannot be altered or removed within their retention period, a retention window long enough to reach back before a likely intrusion, and controls over who can delete them that do not rest on the directory's own permission model.

It is also worth holding an offline or logically isolated copy of the directory state specifically for recovery, kept separate from the general backup rotation. Its retrieval procedure can be simple and manual, which is an advantage when the automated path is unavailable.

Finally, keep the recovery documentation with the credentials rather than in the environment. A procedure that exists only on an internal wiki is inaccessible at the moment it is needed, and reconstructing it from memory during an incident is how mistakes enter a directory restore.

Where Scality fits in protecting directory backups

Backup software writing directory backups to S3 object storage on Scality RING or ARTESCA can apply S3 Object Lock so those copies cannot be deleted or altered for a defined retention period, including by an administrator whose credentials have been compromised. Because the repository authenticates through its own S3 credentials rather than through the corporate directory, it remains reachable while directory services are still being rebuilt.

That separation is the property worth verifying rather than assuming. As part of planning, confirm exactly which credentials the backup software uses to reach the repository, where those credentials are held, and whether an administrator could retrieve them with the directory unavailable. If the answer involves a system inside the affected environment, the independence is nominal.

Test it with the directory switched off

The exercise that proves the plan is a restore performed in an isolated environment with no access to production directory services, using only the credentials and documentation held in the break-glass store. It is uncomfortable the first time and it reliably finds two or three gaps.

Record how long it took and what was missing, then repeat it annually and after any change to authentication. Identity infrastructure changes more often than recovery documentation does, and a break-glass path that worked two years ago may quietly have been integrated into the very system it was meant to bypass.

See Scality in action

Exabyte-scale object storage for AI data and cyber resilience. Talk to our team about what it can do for yours.

Request a demo