Need help with EhTrace?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

218 Stars 56 Forks 34 Commits 1 Opened issues


ATrace is a tool for tracing execution of binaries on Windows.

Services available


Need anything else?

Contributors list

# 68,621
31 commits

Eh'Trace (pronounced ATrace) is a binary tracing tool for Windows.


Implemented in C but has some interesting properties that may make it suitable for tracing binaries when other methods are not sufficient, in particular EhTrace does not require changes to a binary to enable traces, despite being able to collect the same information as hooker type instrumentation, zero knowledge is needed to inspect complete code coverage and binary execution flow, register state and more.

Upcoming changes for DEFCON24

RANSOM WARRIOR -- Enforced key escrow for defending against or otherwise neutralizing ransom ware =)

RoP Defender -- Simple gadget reduction check to ensure balanced call/ret semantics

And more!!

We maintain high performance using an adaption of some known methods for high performance tracing, yet there is no requirement to use a debugger or enable debug/trace MSR capabilities.

Why is it high perf?

Branch stepping not single stepping. We get for free basic block's and do not have to worry about multipath evaluation or doing complex static analysis. State is automatically maintained temporally due to the nature of VEH. All of this is inproc also which saves context switching that impacts typical debug engines. Next update is to include get_tsc into the current struct to demonstate our event rate more clearly.

In 10 seconds; 428,833,152 (32 byte events) each event is a basic block head

CSW16 demo of notepad generated this trace, no symbols FLAMING/initial no symbols flame gtraph BB graph/with capstone dissassembly BB graph/coverage CSW16 run of notepad.exe

Associated projects

  • EhTrace (exe is just for testing, build as DLL) <-- meat and potatoes injection DLL that will do your blockfighting ;)
  • Acleanout dump's the logs from shared memory that are created by EhTrace
  • Agasm is a Glue/Dissassembly tool that might be better to use from WPFx to generate graphs (just easier to do sym's and capstone in one lib)
  • Aload can load a DLL
  • Aprep is a test case EXE (basically EhTrace.dll setup to build as an EXE)
  • Amerger is probably just garbage not going to use
  • Dia2Sharp is an attempt to not use C++/CLI since I think most people don't know/like it, but maybe not since using C++/CLI seems faster
  • TestDump2 is a test of the Dia2Sharp
  • WPFx is just a lil test thing just using MSAGL Graphing (soon to get GraphMaps) until I bring in a more substantional GUI (probably based on Gemini/AvalonDock/Caliburn/MahApps/MaterialDesign (whew GUI's need a lot of 3rd party ;)


More help/info on how todo whatever soon.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.