Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
UnderlayCopy — PowerShell toolkit that extracts locked Windows files (SAM, SYSTEM, NTDS, ...) using MFT parsing and raw disk reads | Kitploit
Tools/GitHubGitHub/kfallahi/underlaycopy
Disk ForensicsPost-ExploitationData RecoveryDigital ForensicsRed TeamingIncident Response
GitHubkfallahi/underlaycopy

UnderlayCopy

PowerShell toolkit that extracts locked Windows files (SAM, SYSTEM, NTDS, ...) using MFT parsing and raw disk reads

View Repository
258263211 months agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

UnderlayCopy

UnderlayCopy is a PowerShell utility for low-level NTFS acquisition and dumping protected, locked system artifacts (for example: SAM, SYSTEM, NTDS.dit, registry hives, and other files that are normally inaccessible while Windows is running). It supports two complementary modes to achieve this without using VSS or standard file I/O:

  • MFT mode: parse $MFT records and reconstructs/copies file data by reading raw volume sectors.
  • Metadata mode: use filesystem metadata (fsutil) to map files to clusters and copy raw sectors.

Purpose: research, red-team exercises, and DFIR acquisition. Not for: unauthorized access or malicious use.

Features

  • Supports local NTFS volumes.
  • Operates without relying on VSS or standard file I/O APIs.

Usage

Prerequisites

  • Administrator privileges

Example

   .\UnderlayCopy.ps1
   Underlay-Copy -Mode MFT -SourceFile C:\Windows\System32\config\SAM -DestinationFile C:\Windows\Temp\sam.dmp
   Underlay-Copy -Mode MFT -SourceFile C:\Windows\NTDS\ntds.dit -DestinationFile C:\Windows\Temp\ntds.dmp
   Underlay-Copy -Mode Metadata -SourceFile C:\Windows\NTDS\ntds.dit -DestinationFile C:\Windows\Temp\ntds.dmp

Auditing and Detection

  • Monitor for raw volume reads (handles opened to \.\PhysicalDriveN or \.\C: with RAW access)
  • Monitor direct access to sensitive system files (for example: C:\Windows\System32\config\SAM, C:\Windows\System32\config\SYSTEM, C:\Windows\NTDS\NTDS.dit) and alert on unexpected reads or copies of these files.
  • Alert on processes reading $MFT or performing large unbuffered reads on physical volumes.
  • Track unusual use of fsutil and suspicious calls to low-level Win32 APIs (CreateFile with volume or physical path).
Download Tool