SamuZai
oalabs
oalabs

patreon


Tracing The Pain Away Module 6 - Introduction to DTrace

An introduction to DTRace and D-generate.

References

Lab 5 - DTrace

In this lab we use DTrace to trace syscalls from the kernel. DTrace can be configured to using multiple different providers including a userland tracing provider PID but for this lab we will solely focus on it’s ability to monitor syscalls from the kernel.

DTrace: Indirect Syscalls 

Run the lab4.exe binary from the previous lab using DTrace and observe the detailed API argument reporting provided by D-Generate. Make sure you have your symbols setup correctly!

⭐ Update - Example D-Generate Script

It can be a bit confusing to know what syscalls to remove when first looking at the whole D-Generate script. To help highlight what parts should be updated I have uploaded a modified D-Generate script db_ntwritevirtualmemory.bat where only NtWriteVirtualMemory is logged. You can compare this modified script with the original to highlight the definitions that can me added/removed.

Tracing The Pain Away Module 6 - Introduction to DTrace

More Creators