Thread
:
How can I hook DllMain ?
View Single Post
#
4
01-19-2015, 01:14
Archer
retired
Join Date: Aug 2005
Posts: 239
Rept. Given: 1
Rept. Rcvd 46 Times in 19 Posts
Thanks Given: 3
Thanks Rcvd at 387 Times in 57 Posts
Load your own DLL. At EP of your DLL get the return address from stack. C code can use MSVC intrinsics for this. It'll be address in the system DLL from which all DLL EPs are called. Hook it. Profit?!
Archer
View Public Profile
Find all posts by Archer