IT lexicon › Security › NTDS.dit

NTDS.dit

Security På svenska → Updated: 2026-07-29

The file containing the whole of Active Directory on every domain controller — all objects, all attributes and all password hashes. The most valuable file in a Windows environment.

The database normally sits under C:\Windows\NTDS and is locked while the service runs, which is why attackers obtain it via shadow copies, via built-in administration commands that create a copy for installation media, or by reading the filesystem raw. The hashes inside are further encrypted with a key itself protected by a value in the system registry, so a usable extraction requires both the database file and a copy of that registry portion. With both, everything falls: every account in the domain, krbtgt included, meaning the ability to forge tickets until that account has been rotated twice. Simply changing administrator passwords after such an intrusion accomplishes nothing.

← Back to the lexicon