Quantcast
Channel: Sysinternals Forums
Viewing all articles
Browse latest Browse all 10386

Development : ZwSetInformationThread - Change Start Address

$
0
0
Author: mxmauro
Subject: ZwSetInformationThread - Change Start Address
Posted: 24 February 2013 at 11:02pm

Hi,

Although if you do a GetThreadContext, eax/rcx should contain the starting address, I recommend to take the value of eip/rip register, change it to point to your code and at the end, from your injected code, jump to the original eip/rip.

This is because dll's initialization like .net's mscoree.dll changes the entrypoint on the fly.

Regards,
Mauro H. Leggieri

Viewing all articles
Browse latest Browse all 10386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>