# MichaelGrafnetter/DSInternals

Directory Services Internals (DSInternals) PowerShell Module and Framework

Repository: https://github.com/MichaelGrafnetter/DSInternals
Canonical: https://ross.abutalabs.com/products/dsinternals
Homepage: https://www.dsinternals.com
Language: C#
License: MIT
License Family: permissive
Topics: security-audit, penetration-testing, active-directory, nuget-packages, ntds, powershell, dpapi, sam, lsa, passwords, fido2, bitlocker, dns, laps
Last push: 2026-07-04T19:28:39+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 91, longevity 100
- inputs: {"age_days": 3904, "days_push": 60, "days_rel": 60, "gap_med": 27.0, "n_releases_24m": 17}
- flags: no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1967, forks 278 (observed 2026-08-28T04:05:59.997911+00:00)

## What it is
DSInternals is a PowerShell module and .NET framework for working with Active Directory internals, including offline NTDS.DIT database parsing, DPAPI, SAM/LSA secrets, and password auditing. It provides cmdlets for extracting and analyzing directory service data for security assessment purposes.

## Use cases
- audit active directory password hashes from ntds.dit
- extract dpapi backup keys from a domain controller
- dump sam and lsa secrets offline
- test ad passwords against a dictionary
- recover bitlocker recovery keys from active directory
- inspect laps passwords in a domain

## When to choose
- you need low-level access to Active Directory database internals
- you are performing AD security audits or red team engagements
- you want a PowerShell-native tool for directory services forensics

## When to avoid
- you need a general-purpose AD administration tool rather than security analysis
- you are not comfortable with PowerShell or Windows internals
- you need a GUI-based auditing solution

## Facets
- artifact type: library
- maturity: active
- function: security, penetration-testing, cryptography, cli
- domain: security, penetration-testing, developer-tools
- platform: windows, cross-platform, dotnet, cli
- tags: active-directory, powershell-module, ntds, dpapi, password-audit, directory-services

## Member repositories
- MichaelGrafnetter/DSInternals (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:59.997911+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:05:13.234769+00:00, confidence not recorded.
  - homepage: https://www.dsinternals.com (fetched 2026-08-29T10:44:50.050801+00:00, sha 13d04ca15538)
- Data as of 2026-08-30T08:39:29.467469+00:00.
