Python BSL-1.0

perfect-dll-proxy

Perfect DLL Proxying using forwards with absolute paths.

M

mrexodia

Dernière activité 3 nov. 2025
mrexodia/perfect-dll-proxy

374

étoiles

41

forks

1

issues ouvertes

dll-hijackingredteam-toolsreverse-engineeringsecuritywindows

Ce README est souvent en anglais.

Perfect DLL Proxy

A while ago I needed a proxy to perform DLL hijacking, but I did not like how existing solutions generated ASM stubs to deal with the forwarding. It turns out that there is a trick to get forwards to work with an absolute path:

#pragma comment(linker,
"/EXPORT:CredPackAuthenticationBufferA=\\\\.\\GLOBALROOT\\SystemRoot\\System32\\credui.dll.CredPackAuthenticationBufferA"
)

See the references for more information.

To automatically generate a DLL that exports everything and loads an arbitrary DLL (without intercepting functions), look at the following project: https://github.com/namazso/dll-proxy-generator

Usage

python -m pip install pefile
python perfect-dll-proxy.py credui.dll

References

Projets similaires

Automated DLL Hijacking Discovery, Validation, and Confirmation. Turning local misconfigurations into weaponized, confirmed attack paths.

C#bug-bountybugbountybugbounty-tool
Pprojectmerai
402 étoiles47

Project for tracking publicly disclosed DLL Hijacking opportunities.

dlldll-hijackingdll-sideloading
Wwietze
942 étoiles122

DLL proxying for lazy people

Rustdlldll-proxyingrust
KKudaes
209 étoiles23