DSInternals.Common
6.3.0
Prefix Reserved
dotnet add package DSInternals.Common --version 6.3.0
NuGet\Install-Package DSInternals.Common -Version 6.3.0
<PackageReference Include="DSInternals.Common" Version="6.3.0" />
<PackageVersion Include="DSInternals.Common" Version="6.3.0" />
<PackageReference Include="DSInternals.Common" />
paket add DSInternals.Common --version 6.3.0
#r "nuget: DSInternals.Common, 6.3.0"
#:package DSInternals.Common@6.3.0
#addin nuget:?package=DSInternals.Common&version=6.3.0
#tool nuget:?package=DSInternals.Common&version=6.3.0
DSInternals Common Library
Introduction
The DSInternals.Common package is the foundational library shared between other DSInternals packages. It provides core cryptographic functionality and utilities for working with Active Directory security data.
As this library uses Windows-specific cryptographic APIs (P/Invoke), it is only supported on Windows.
Key Features
- Password Hash Computation: Calculate NT hash, LM hash, and OrgId hash values
- Kerberos Key Derivation: Generate Kerberos keys from passwords
- Key Credential Parsing: Parse and create NGC, FIDO2, and STK key credentials
- Active Directory Credential Extraction: Decrypt password hashes, LAPS passwords, DPAPI certificates, and DNSSEC keys stored in Active Directory
Usage Examples
Computing NT Hash
using DSInternals.Common.Cryptography;
// Compute NT hash from a plain-text password
byte[] ntHash = NTHash.ComputeHash("MyPassword123");
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net9.0-windows7.0 is compatible. net10.0-windows was computed. |
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- System.Buffers (>= 4.6.1)
- System.Formats.Asn1 (>= 9.0.9)
- System.Formats.Cbor (>= 9.0.9)
- System.Memory (>= 4.6.3)
- System.Text.Json (>= 9.0.8)
- System.ValueTuple (>= 4.6.1)
-
net8.0-windows7.0
- System.Formats.Cbor (>= 9.0.9)
-
net9.0-windows7.0
- System.Formats.Cbor (>= 9.0.9)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on DSInternals.Common:
| Package | Downloads |
|---|---|
|
DSInternals.Replication
DSInternals Replication implements a client for the Active Directory Replication Service Remote Protocol (DRS-R). It can be used to remotely extract password hashes from domain controllers. |
|
|
DSInternals.DataStore
DSInternals DataStore is an advanced framework for offline ntds.dit file manipulation. It can be used to extract password hashes from Active Directory backups or to modify the sIDHistory and primaryGroupId attributes. |
|
|
DSInternals.SAM
DSInternals SAM implements a client for the Security Accounts Manager Remote Protocol (SAM-R) and Local Security Authority Remote Protocol(MS-LSAD or LSARPC). It can be used to import password hashes into Active Directory or to query and modify LSA Policy. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on DSInternals.Common:
| Repository | Stars |
|---|---|
|
CICADA8-Research/RemoteKrbRelay
Remote Kerberos Relay made easy! Advanced Kerberos Relay Framework
|
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 6.3.0 | 324 | 2/8/2026 | |
| 6.1.0 | 4,217 | 8/17/2025 | |
| 6.0.0 | 420 | 8/14/2025 | |
| 5.3.0 | 1,579 | 4/11/2025 | |
| 5.2.0 | 586 | 4/9/2025 | |
| 5.0.0 | 698 | 3/3/2025 | |
| 4.14.0 | 3,509 | 4/13/2024 | |
| 4.13.0 | 1,816 | 12/20/2023 | |
| 4.12.0 | 774 | 10/6/2023 | |
| 4.11.0 | 698 | 10/1/2023 | |
| 4.8.0 | 7,014 | 12/6/2022 | |
| 4.7.0 | 52,105 | 10/30/2021 | |
| 4.5.0 | 3,595 | 10/13/2021 | |
| 4.4.0 | 41,554 | 7/3/2020 | |
| 4.3.0 | 2,627 | 4/2/2020 | |
| 4.2.0 | 2,143 | 3/18/2020 | |
| 4.1.0 | 1,778 | 12/12/2019 | |
| 4.0.0 | 2,228 | 12/4/2019 | |
| 3.6.0 | 2,141 | 6/28/2019 | |
| 3.2.0 | 10,209 | 1/3/2019 |
- Improved generation of NGC keys to meet January 2026 Windows validation changes.
- Removed Azure AD Graph API-related code.