.. / windows-sebackupprivilege-domain-hash-extraction
Star

This guide demonstrates how to enumerate and exploit SeBackupPrivilege on a Windows Domain Controller to extract password hashes. It covers privilege enumeration, using DiskShadow to bypass file locks, copying ntds.dit and SYSTEM hive, and extracting hashes with Impacket. Two methods are shown: using built-in commands and PowerShell modules.

Command: Copy Extra code: Copy References:

https://www.hacktricks.xyz/windows-hardening/windows-local-privilege-escalation/token-privileges

https://github.com/k4sth4/SeBackupPrivilege

https://github.com/giuliano108/SeBackupPrivilege