How do Windows rootkits use DLL injection to hide the processes ?

I want to get more info on

1. What's DLL injection?
2. How does it work in context of rootkits?
3. Does it work on user level or kernel rootkits?
4. How does it hide the processes  / listening ports information ?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

There is a very good article on this at Security Focus:
Rich RumbleSecurity SamuraiCommented:
Most rootkit's for windows require admin rights to install (see Sony's CD rootkits: and
A dll injection and or hook is faily simple: (see also PwDump and it's ilk )

basically rootkits work because they are taking advantage of the debugging abilities of your processors interaction between bios and memory. Your able to intercept, modify, and then transmit data because the processor "trusts" the root kit. There are very legitimate uses for debuggers such as soft ice, they do help you to track down bug's and issues in your code as it executes, your able to stop, pause, read, modify anything you want.
The articles linked above can explain better than I. Most DLL injection requires you to have admin rights, especially with XP and 2003's DEP security enhancments, however there is always a way...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.