Skip to main content

Overview

SeBackupPrivilege lets a process read any file regardless of its DACL (backup semantics bypass the access check). Everything becomes readable: SAM/SYSTEM/SECURITY hives, NTDS.dit, SSH keys, KeePass DBs. Default on BUILTIN\Administrators and BUILTIN\Backup Operators. On a DC, Backup Operators is domain-level → any member can dump the whole AD database.

Check If Enabled

Shows Disabled? Still usable — the privilege only needs to be present in the token; enable it at runtime (Set-SeBackupPrivilege or AdjustTokenPrivileges).

Dump SAM & SYSTEM (Local Hashes)

Transfer and extract:
Pass the hash:

Read Any File — robocopy /B

/B = backup mode, ignores ACLs.
High-value targets:

Read via PowerShell (Backup Semantics)

When robocopy is unavailable. DLLs: SeBackupPrivilege.

Dump NTDS.dit (Domain Controller)

NTDS.dit is locked by AD — copy it from a Volume Shadow Copy.

1. diskshadow script

2. Run + copy + clean up

diskshadow.exe only ships on Windows Server, not 10/11. Run it from C:\Windows\System32 if you hit errors.

Alternative — wbadmin

If diskshadow is blocked (needs Windows Server Backup feature):

Extract + use


Combine with SeRestorePrivilege

Backup Operators usually hold both → read AND write any file. With write access (overwrite utilman.exe, service binaries, DLL hijack) you get SYSTEM. See SeRestorePrivilege.

Quick Reference