Microsoft Time Travel Debugging Can Trace and Dump Windows Processes
Attack Tradecraft · 2 sources · Updated 2mo ago · First seen Nov 30, 2022

Elastic Security Labs reverse engineered Microsoft Time Travel Debugging (TTD), a Windows execution-recording framework that logs user-mode instructions and process state to .run trace files for replay in WinDbg. Its analysis mapped the roles of ttdrecord.dll, TTDInject.exe, TTDRecordCPU.dll, undocumented Windows instrumentation callbacks, and the ProcLaunchMon.sys driver in injecting and recording target processes.
Researchers found that TTD can trace processes without activating conventional anti-debugging checks and that its signed CreateDump.exe component can be used to dump process memory. A concealed PplDebuggingToken option can permit access to Protected Process Light targets, including LSASS, but requires a valid Microsoft-signed, device-bound supplemental Code Integrity policy and is therefore not a practical general-purpose PPL bypass. Defenders can monitor or block TTD components and associated trace activity to reduce abuse risk.


