-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added 32 bit support + half of readme
- Loading branch information
1 parent
161d224
commit c837869
Showing
4 changed files
with
376 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# NTDLL Integrity Checker | ||
|
||
This project is designed to inspect and compare the NTDLL memory sections of running processes against the disk version of `ntdll.dll` in Windows systems. Its primary goal is to detect potential modifications indicative of usermode rootkits. Since the only way for usermode rootkit to exist is hooking NtResumeThread, or its neighbouring functions during thread creation to achieve persistence, checking ntdll's integrity is a viable way of observing rootkit's presence. Other methods of persistence include patching import table, however it is not reliable, since ntdll does not have an import table, thus leaving the .text section the only candidate for usermode hooks. | ||
|
||
## Features | ||
|
||
- Parses `ntdll.dll` directly from disk to retrieve the `.text` section. | ||
- Parses the `.text` section of `ntdll.dll` loaded in each running process's memory. | ||
- Compares these sections to identify discrepancies. | ||
- Provides a summary of potentially patched processes, aiding in the detection of usermode rootkits. | ||
|
||
## Requirements | ||
|
||
- Windows operating system. | ||
- Administrator privileges for process memory inspection. | ||
|
||
## Building | ||
|
||
1. Clone this repository to your local machine using Git: | ||
|
||
```git clone https://github.com/yourusername/ntdll-integrity-checker.git``` | ||
|
||
2. Compile either via a provided make.bat (gcc toolchain) or on your own with msvc or something. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,6 @@ | |
#include <stdio.h> | ||
#include <windows.h> | ||
|
||
#include <psapi.h> | ||
#include <tlhelp32.h> | ||
#endif |
Oops, something went wrong.