Overview of DSInternals PowerShell Module capabilities
masterThe DSInternals PowerShell Module provides access to internal and undocumented Active Directory features. It is primarily used for security auditing, forensic analysis, and advanced directory management.
Key capabilities include:
- Offline ntds.dit manipulation: Perform hash dumping, password resets, group membership changes, SID History injection, and account status management (enabling/disabling) using an offline database file.
- Online password hash dumping: Extract hashes via the Directory Replication Service Remote Protocol (MS-DRSR).
- Password auditing: Discover accounts with shared passwords or those present in public databases (e.g., HaveIBeenPwned) or custom dictionaries.
- Password hash injection: Inject domain or local account hashes via MS-SAMR or direct database manipulation.
- LSA Policy modification: Modify policies through MS-LSAD / LSARPC.
- Credential extraction: Extract credential roaming data and DPAPI domain backup keys (online via MS-DRSR/LSARPC or offline from ntds.dit).
- Bare-metal recovery: Recover domain controllers using Install From Media (IFM) backups (ntds.dit + SYSVOL).
- Hash calculation: Calculate NT, LM, and Kerberos keys.