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
NTDLL-reconstruction — A technique that mixes NTDLL unhooking and hellsgate gate varients | Kitploit
Tools/GitHubGitHub/sk4r4b/ntdll-reconstruction
Defensive ToolsIDS/IPS EvasionReverse EngineeringShellcodePost-ExploitationMalware AnalysisRed TeamingPayload DevelopmentBinary Exploitation
GitHubsk4r4b/ntdll-reconstruction

NTDLL-reconstruction

A technique that mixes NTDLL unhooking and hellsgate gate varients

134314 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
View RepositoryWebsite
Share

NTDLL-reconstruction

A userland EDR bypass technique that allows you to flip between unhooked and hooked ntdll.dll at will. How I built this can be found here.

Usage

You can just drag and drop the .h and .c file into your project make sure you edit the header file definition for CRT functions that should either be reimplemented by you or using whatever you want. You will also need to edit the switch_memory_protection function inside of the .c file since you need to implement this yourself for the project to work correctly.

Here is a snippet on how to use the lib:

struct hook_cache	*cache = 0;

cache = ntdll_reconstruction_init();
if (cache == 0)
	// Throw Error!
while (1) {
	// Do whatever
	cache = ntdll_reconstruction_flip(cache); // Back to hooked stub
	if (cache == 0)
		// Throw Error!
	Sleep(1234);
	cache = ntdll_reconstruction_flip(cache); // Back to clean stub
	if (cache == 0)
		// Throw Error!
}
Download Tool