high6 Posted February 8, 2009 Posted February 8, 2009 Sorry don't know the technical term. How do you register a dll to be loaded into every process? (Also how do you get the list of all the dlls loaded into every process?)On a side note, is this documentation on writing a driver still good (it is 4-5 years old)? Is there something I should know/worry about when making a driver?
0xFF Posted February 10, 2009 Posted February 10, 2009 (edited) Developing a device driver isn't a children playground, the most important thing i know about it is ALWAYS use Try/Except to avoid BSOD's.example:{Try // Code that fails hereExcept DbgPrint( .. );} Edited February 10, 2009 by Rot1
Loki Posted February 10, 2009 Posted February 10, 2009 You can do it via registry if you want to but the process must already at minumum import user32.dllDLLs listed under the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs will be loaded into every process so add yours there.Will probably need a restart to get it going.....
high6 Posted February 10, 2009 Author Posted February 10, 2009 You can do it via registry if you want to but the process must already at minumum import user32.dllDLLs listed under the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs will be loaded into every process so add yours there. Will probably need a restart to get it going..... Thanks .
high6 Posted February 10, 2009 Author Posted February 10, 2009 You can do it via registry if you want to but the process must already at minumum import user32.dllDLLs listed under the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs will be loaded into every process so add yours there.Will probably need a restart to get it going.....How do the other programs do it though? Cause Kernel Detective picks up lots of registered dlls, yet none are in there.
GamingMasteR Posted February 10, 2009 Posted February 10, 2009 Kernel Detective picks up lots of registered dlls, yet none are in there.Did not understand you clearly !!
Unbekannt1 Posted February 10, 2009 Posted February 10, 2009 Kernel Detective picks up lots of registered dlls, yet none are in there.Did not understand you clearly !!He is asking how it is possible that there are other registered dlls running (which he picked up with Kernel Detective) which are not registered in that specified registry entry.
GamingMasteR Posted February 10, 2009 Posted February 10, 2009 Some DLLs load other DLLs for some reasons
Killboy Posted February 10, 2009 Posted February 10, 2009 I once had a funny app that loaded a driver which hid all the entries of its dll in all sorts of places, even hid all its files and folders so explorer couldnt see it.KernelDetective came to rescue, killed the task and removed all the entries and files.Working fine ever since.Thanks to GamingMaster and his wonderful tool <3 hehe
GamingMasteR Posted February 10, 2009 Posted February 10, 2009 Thanks Killboy It must hide it's components by kernel level hooks, Kernel Detective can bypass kernel level hooks generically . But if a DLL unlinks ifself from the process PEB then Kernel Detective can't see it because i don't rely on "MZ" signature scanning or any other method for DLLs detection, actually DLLs is the most neglected part in Kernel Detective
high6 Posted February 10, 2009 Author Posted February 10, 2009 But like for example where is the AVG dll registered?I have a ton of dlls that are loaded before olly even hooks the process, where are those registered?
GamingMasteR Posted February 11, 2009 Posted February 11, 2009 (edited) A good reference is to open Autoruns tool and look for these DLLs location in registry Edited February 11, 2009 by GamingMasteR
high6 Posted February 11, 2009 Author Posted February 11, 2009 A good reference is to open Autoruns tool and look for these DLLs location in registry Cool tool, thanks .
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now