CreatorsOk
oalabs
oalabs

patreon


Tracing The Pain Away Module 3 - Syscalls

Syscall tracing with x64dbg.

References

Lab 2 - Syscalls

In this lab we move our focus lower in the the windows stack and trace syscalls. This is the lowest userland interface with the kernel and impossible to escape regardless of how obfuscated the code is. You are provided with two binaries, the first of which uses the NTDLL API, and the second which uses an indirect syscall.

Debugging Syscalls: NTDLL

The lab2ntdll.exe binary bypasses the higher layer windows APIs and instead uses the NtQueryAttributesFile function in NTDLL. 

Debugging Syscalls: Indirect Syscall

The lab2syscall.exe binary implements that same NtQueryAttributesFile file check as the first binary only instead of calling the function in NTDLL it uses an indirect syscall β€” it jumps though another NTDLL syscall instruction using the NtQueryAttributesFile syscall number. 

Your goal is to locate the indirect syscall, intercept it, and identify the file path that is checked. We recommend using a breakpoint on the heaven’s gate WOW64 transition.

Tracing The Pain Away Module 3 - Syscalls

More Models and Creators