mail.unchk
November 22nd, 2009, 21:26
Hello,
I have started reversing a piece of malware. The binary was packed, and I have managed to unpack it. In addition to this, I have found it's original entry point. However the binary seems to be statically linked, and I'm having some difficulties managing to find it's "main" function. I am going through what appears to be library code, and I have been debugging it for quite some time now without any real "productivity".
I know that besides kernel32.dll and ntdll.dll an additional library is loaded: ws2_32.dll, and I thought that it was loaded for a reason, so if I could backtrack some of it's function calls, eventually I should reach "main". This, however has proven not to be as linear as I had expected.
On this subject I read "Locating main" from the Ida Pro Book, but in all honesty I am having some difficulty applying what is said in the book to this particular instance of the problem. Besides this I tried searching the web but to no avail.
I am therefore asking for any pointers on how to tackle this problem.
Thank you in advance.
I have started reversing a piece of malware. The binary was packed, and I have managed to unpack it. In addition to this, I have found it's original entry point. However the binary seems to be statically linked, and I'm having some difficulties managing to find it's "main" function. I am going through what appears to be library code, and I have been debugging it for quite some time now without any real "productivity".
I know that besides kernel32.dll and ntdll.dll an additional library is loaded: ws2_32.dll, and I thought that it was loaded for a reason, so if I could backtrack some of it's function calls, eventually I should reach "main". This, however has proven not to be as linear as I had expected.
On this subject I read "Locating main" from the Ida Pro Book, but in all honesty I am having some difficulty applying what is said in the book to this particular instance of the problem. Besides this I tried searching the web but to no avail.
I am therefore asking for any pointers on how to tackle this problem.
Thank you in advance.