View Single Post
  #6  
Old 01-20-2015, 03:01
deroko's Avatar
deroko deroko is offline
cr4zyserb
 
Join Date: Nov 2005
Posts: 217
Rept. Given: 13
Rept. Rcvd 30 Times in 14 Posts
Thanks Given: 7
Thanks Rcvd at 33 Times in 16 Posts
deroko Reputation: 30
You can do it also by hooking NtMapViewOfSection and getting name of mapped section, if it matches wanted dll, look in pe header of mapped dll for entrypoint and hook it That's the simplest way.

Somebody in the past also asked how to know when dlls are loaded, and I will also point to same code : http://deroko.phearless.org/itracer.zip <--- look for hook of NtMapViewOfSection. There is detailed code how to find dll name too

As you may see from previous answers, there are many ways to do it
__________________
http://accessroot.com
Reply With Quote
The Following 2 Users Gave Reputation+1 to deroko For This Useful Post:
b30wulf (01-22-2015), sh3dow (01-23-2015)