Home | About | Help Center | Privacy Policy

Try Our "Facebook App"

March 17th, 2009

Hacking : Remote Threads injection in Windows Vista


Recently astalavista.com present the Win Vista DLL Injection where they showed remote threads injection in Windows Vista.Some snip is simply introduced as

An insight on how to inject a dynamic library (DLL) into a 32 bit process in Windows Vista with the use of Remote Threads and taking into consideration the Address Space Layout Randomization (ASLR). The sample code used is written in assembly language (MASM32) using the WinAsm IDE. It should give you a better understanding on how dynamic libraries can be injected.

vista Hacking : Remote Threads injection in Windows Vista You need various tools to perform this hack on windows Vista.So before going further download HiEditor and WinAsm Studio IDE.

Some of the insights of the hack is described as follows :

Why Remote Thread?
The idea behind using a remote thread to inject a dynamic library is to create a new thread in a remote process that calls the LoadLibrary API and load our DLL inside the address space of that remote thread. The problem with directly parsing the LoadLibrary offset to CreateRemoteThread is that it resolves to the address in your process import table which unfortunately is not the same as the remote process import table. To overcome this problem we need to find the offset of LoadLibrary inside the address space layout of our process.

ASLR and LoadLibrary
Since at each reboot (or two) the address of kernel32.dll (which contains the LoadLibrary procedure) might change we use GetModuleHandle to retrieve the address of LoadLibraryA which will be the same in the remote thread address space.

How to parse an argument to LoadLibrary
The DLL’s pathname cannot be addressed to since it does not reside within the remote process address space. We therefore have to call VirtualAllocEx to allocate memory in the remote process and therefore patch the pathname of the DLL we intent to inject. We can do that by using WriteProcessMemory API.

Download the pdf file
hacking-remote-threads-injection-windows-vista



You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackbackfrom your own site.

Subscribe to our FREE Rss Feed

Hot in Social Media


10 Best Social Media Case Studies

10 Tips To Become Social Without Using Social Media

Top 10 Tips To Enhance Personal Branding

Top 10 Expectations Of Social Media In 2010

What's Hot

Similar Interesting Posts

Tutorials On

5 Responses to “Hacking : Remote Threads injection in Windows Vista”

  1. Hello, I want to say hi everyone.
    test

  2. http://oron.com/images/contest2.jpg

    Super cool prize package!
    1 Sony Vaio VGN-Z41/B
    2 Sony Vaio – VGN-P21Z/R
    3 Samsung Q310
    4 Apple iPhone 3G 16 GB
    5 Apple iPhone 3G 8 GB
    6 Sony Playstation 3 Slim 120GB black
    7 Sony PSP
    8 Apple iPod Nano
    9 Seagate Desktop External Drive 500GB
    10 Logitech Marathon M705

  3. If you are on the Internet, you are at risk of being traced, tracked, and hacked.
    You might think that you are not worth hacking, so you are not at risk.
    You may feel that since you have security software installed that nothing can break through.
    You might feel that your clever passwords have kept others from being able to get into your system.
    You may be very wrong! Try Anonymous Browsing

  4. Generally I don?t make a comment on blogs, but I would like to say that this post really forced me to do so. Really nice post!

  5. hallo,

    ich hoffe hier im Forum kann mir jemand helfen!
    Ich habe versehentlich mehrere Pics von meinem IPod gelöscht. Leider sind die Dateien nicht mehr im meinem Papierkorb.
    Die Dateien waren sehr wichtig für mich! Ich würde die gerne retten.
    Wer kennt ne Seite auf der ich Infos dazu finde, wie ich die Daten retten kann??

    Vielen Dank schonmal für eure Antworten

    danke

Leave a Reply

CommentLuv Enabled

Additional comments powered by BackType

    Follow @honeytech On Twitter

    The insider's guide to mobile social networking: the 10 Ps http://bit.ly/9JhgVo
  • Subscribe For Tips


  • Top Fans Of The Day

Hot Tags

blogging mobile browser Web design Social free Firefox tips ubuntu google open source Linux Windows iphone Social media How to WordPress Plugin mistakes Internet Designs