View Single Post
  #3  
Old 07-06-2020, 18:28
jonwil jonwil is offline
VIP
 
Join Date: Feb 2004
Posts: 399
Rept. Given: 2
Rept. Rcvd 21 Times in 9 Posts
Thanks Given: 2
Thanks Rcvd at 67 Times in 35 Posts
jonwil Reputation: 21
As it happens, my target loads a native code dll file in the app before it makes the API calls I am interested in. So what I have been able to do is to make a dll that has the same exports as the real native dll its loading but forwarded to the real dll and then modify a copy of my target to load that dll instead of the real one.

Now I can add whatever code to the dllmain of my fake dll that I want (hooking via some off-the-shelf hooking library included)
Reply With Quote