Definition of NTDS.dit
NTDS.dit is a database used to store Active Directory data. This data includes;
- User information
- Group information
- Security descriptors
- Password hashes
NTDS.dit
NTDS.dit stands for “New Technology Directory Service Directory Information Tree”
Dumping the NTDS.dit
DC hashes
Remember that you can dump the Domain Controller (DC) hashes by using the secretsdump of a compromised user in the “Domain Admin (DA)” group and pointing the IP address to the DC.
- Dump the hashes of the DC (the following command is the same command used in Token Impersonation Attack, but the added flag only dumps the NTDS.dit)
- Filter out the data using Excel. Paste the hashes
->
Data, Text to Columns->
Set a delimiter of ”:”->
Deleted the RID and the LM part of the hash - Crack the hashes
- Paste the results in a new tab (the results are Hash : Cracked Hash)
- Now make a VLOOKUP function and most importantly change the passwords column to text