Skip to content

Perfect DLL Proxying using forwards with absolute paths.

License

Notifications You must be signed in to change notification settings

UlyssesWu/perfect-dll-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Usage

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

References

About

Perfect DLL Proxying using forwards with absolute paths.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%