Hi all,
I have used pintool to dump all system call (API) that the program used during running (http://resources.infosecinstitute.com/p ... framework/). The output included system call number likes :
when I try to compile it with VS 2010 Utimate on Windows 7 (SP1 - Home Basic) 32-bit, it done without error when compiling but it doesn't work when running, it just print :
I have tried to debug, everything is ok when opening "ntdll.dll", create file mapping, mapping view file and check header (MZ) file. But (I'm not sure 100%) it seems that the problem occurs when the code goes into :
Anyone could help me take a look about this issue ? Thank you so much.
Best Regards,
I have used pintool to dump all system call (API) that the program used during running (http://resources.infosecinstitute.com/p ... framework/). The output included system call number likes :
Code: Select all
Now I need to traversal the ntdll.dll to get the export name of these API to get the real name for above systemcall id. And I found the article http://www.evilsocket.net/2014/02/11/on ... n-methods/ is exactly what I need. Unfortuantely,[entry] Syscall Number: 249(4294967295, 8, 2553908)
[exit] Return: 0
[entry] Syscall Number: 30(92, 1, 2553972)
[exit] Return: 0
[entry] Syscall Number: 15(2553888, 3, 2001036824)
[exit] Return: 3221225524
[entry] Syscall Number: 15(2553904, 131097, 2001814104)
[exit] Return: 3221225524
when I try to compile it with VS 2010 Utimate on Windows 7 (SP1 - Home Basic) 32-bit, it done without error when compiling but it doesn't work when running, it just print :
Code: Select all
and nothing more.SYSCALL RVA NAME
-----------------------------------------------
I have tried to debug, everything is ok when opening "ntdll.dll", create file mapping, mapping view file and check header (MZ) file. But (I'm not sure 100%) it seems that the problem occurs when the code goes into :
Code: Select all
I have attached my compiled binary in post (rename it to .exe plz) // loop each exported symbol by name
for( DWORD i = 0; i < pExportDirectory->NumberOfNames; ++i )
{
...
}
Anyone could help me take a look about this issue ? Thank you so much.
Best Regards,
Attachments
(17.5 KiB) Downloaded 25 times