Post · 1 min read· p. 1665

DebugActive

For Thread objects, a boolean DebugActive is defined at offset 0x03 in the DISPATCHER_HEADER from as far back as Windows Server 2003, having previously been deeper into the KTHREAD. Windows 7 made bit fields of it, though later versions have kept them only for the x64 builds:

MaskDefinitionVersions (x86)Versions (x64)
0x01BOOLEAN ActiveDR7 : 1;6.1 only6.1 and higher
0x02BOOLEAN Instrumented : 1;6.1 only6.1 and higher
0x04BOOLEAN Minimal : 1;6.3 and higher
0x08BOOLEAN AltSysCall : 1;2004 and higher
BOOLEAN Reserved2 : 4;6.1 only6.1 to 6.2
BOOLEAN Reserved : 3;6.3 only
BOOLEAN Reserved4 : 3;10.0 to 1903
BOOLEAN Reserved4 : 2;2004 and higher
0x40BOOLEAN UmsScheduled : 1;6.1 only6.1 and higher
0x80BOOLEAN UmsPrimary : 1;6.1 only6.1 and higher