kickenchicken57
December 8th, 2008, 12:36
This is my first post here so please don't flame me. If this is in the wrong area just let me know. I believe this is more of an advanced question than a newbie question.
I am using the IDA Pro 5.2 debugger to try to set a breakpoint in WinMain and on the first line of the startup routine in an executable, but my breakpoints are never hit and the executable continues to run. After further investigation it looks like the technique in use is a tls callback routine that has an invalid value in the TLS_DIRECTORY that is fixed during loading with base relocation on the executable. I am still having a little bit of trouble determining how to figure out where the real tls callback routine is located. The is a little bit of information on this technique here:
http://hype-free.blogspot.com/2008/10/playing-tricks-with-windows-pe-loader.html
Here is a link to a rar with the executable :
http://wiki.gbatemp.net/wiki/...pdaterTool.rar
Does anyone have any experience with this?
I am using the IDA Pro 5.2 debugger to try to set a breakpoint in WinMain and on the first line of the startup routine in an executable, but my breakpoints are never hit and the executable continues to run. After further investigation it looks like the technique in use is a tls callback routine that has an invalid value in the TLS_DIRECTORY that is fixed during loading with base relocation on the executable. I am still having a little bit of trouble determining how to figure out where the real tls callback routine is located. The is a little bit of information on this technique here:
http://hype-free.blogspot.com/2008/10/playing-tricks-with-windows-pe-loader.html
Here is a link to a rar with the executable :
http://wiki.gbatemp.net/wiki/...pdaterTool.rar
Does anyone have any experience with this?