Module Extending Manual Mapper
DLL manual mapper that will forcefully extend the size of a pre-existing module and map itself there.
Procedure
- Pick a module.
- If there will be no conflicts, forcefully allocate memory immediately after the module's end.
- Extend the size of the module in its LDR entry to match.
- Map the DLL into this created region.
Usage
- Load the driver
modmap <PROCESS> <TARGETMODULE> <DLL>
- For example:
modmap fortniteclient-win64-shipping.exe d3d11.dll example.dll
- For example:
Note
This was only tested on Windows 10 1803, 1809, 1903, 1909 and is intended for a x64 target process and DLL.