KsDumper: Dumping processes using the power of kernel space
KsDumper
I always had an interest in reverse engineering. A few days ago I wanted to look at some game internals for fun, but it was packed & protected by EAC (EasyAntiCheat). This means its handle was stripped and I was unable to dump the process from Ring3. I decided to try to make a custom driver that would allow me to copy the process memory without using OpenProcess. I knew nothing about Windows kernel, PE file structure, so I spent a lot of time reading articles and forums to make this project.
Features
- Dump any process main module using a kernel driver (both x86 and x64)
- Rebuild PE32/PE64 header and sections
- Works on protected system processes & processes with stripped handles (anti-cheats)
Note: The import table isn’t rebuilt.
Download
Usage
Before using KsDumperClient, the KsDumper driver needs to be loaded.
It is unsigned so you need to load it however you want. I’m using drvmap for Win10. Everything is provided in this release if you want to use it as well.
- Run
Driver/LoadCapcom.bat
as Admin. Don’t press any key or close the window yet ! - Run
Driver/LoadUnsignedDriver.bat
as Admin. - Press enter in the
LoadCapcom
cmd to unload the driver. - Run
KsDumperClient.exe
. - Profit !
Note: The driver stays loaded until you reboot, so if you close KsDumperClient.exe, you can just reopen it !
Note2: Even though it can dump both x86 & x64 processes, this has to run on x64 Windows.
Copyright (c) 2019 Nicolas Tremblay
Source: https://github.com/EquiFox/