btbd / modmap

Module extending manual mapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Module Extending Manual Mapper

DLL manual mapper that will forcefully extend the size of a pre-existing module and map itself there.

Procedure

  1. Pick a module.
  2. If there will be no conflicts, forcefully allocate memory immediately after the module's end.
  3. Extend the size of the module in its LDR entry to match.
  4. Map the DLL into this created region.

Usage

  1. Load the driver
  2. modmap <PROCESS> <TARGETMODULE> <DLL>
    • For example: modmap fortniteclient-win64-shipping.exe d3d11.dll example.dll

Note

This was only tested on Windows 10 1803, 1809, 1903, 1909 and is intended for a x64 target process and DLL.

About

Module extending manual mapper


Languages

Language:C 60.1%Language:C++ 39.9%