x64 / ntdllntoskrnl /

_TOKEN

← 10.0.28000.3231 22 builds latest →
struct _TOKEN {
/* ── cacheline 1 boundary (64 bytes) ── */
unsigned long SessionId;/* 0x78 4 */
unsigned long UserAndGroupCount;/* 0x7c 4 */
/* ── cacheline 2 boundary (128 bytes) ── */
unsigned long RestrictedSidCount;/* 0x80 4 */
unsigned long VariableLength;/* 0x84 4 */
unsigned long DynamicCharged;/* 0x88 4 */
unsigned long DynamicAvailable;/* 0x8c 4 */
unsigned long DefaultOwnerIndex;/* 0x90 4 */
/* 4 bytes padding */
void* PrimaryGroup;/* 0xa8 8 */
unsigned long* DynamicPart;/* 0xb0 8 */
/* ── cacheline 3 boundary (192 bytes) ── */
unsigned long TokenFlags;/* 0xc8 4 */
unsigned char TokenInUse;/* 0xcc 1 */
/* 3 bytes padding */
unsigned long IntegrityLevelIndex;/* 0xd0 4 */
unsigned long MandatoryPolicy;/* 0xd4 4 */
/* ── cacheline 7 boundary (448 bytes) ── */
/* ── cacheline 12 boundary (768 bytes) ── */
void* Package;/* 0x310 8 */
unsigned long CapabilityCount;/* 0x320 4 */
/* 4 bytes padding */
/* ── cacheline 16 boundary (1024 bytes) ── */
/* ── cacheline 17 boundary (1088 bytes) ── */
void* TrustLevelSid;/* 0x450 8 */
void* IntegrityLevelSidValue;/* 0x460 8 */
/* ── cacheline 18 boundary (1152 bytes) ── */
void* SessionObject;/* 0x488 8 */
union {
unsigned __int64 TokenFlags2;/* 0x490 8 */
struct {
unsigned long IsInstaller : 1;/* 0x490:0 4 */
unsigned long IsAgentic : 1;/* 0x490:1 4 */
};/* 0x490 4 */
};/* 0x490 8 */
unsigned long AntiTamperSidCount;/* 0x4a0 4 */
/* 4 bytes padding */
/* ── cacheline 22 boundary (1408 bytes) ── */
/* ── cacheline 23 boundary (1472 bytes) ── */
unsigned __int64 VariablePart;/* 0x5f8 8 */
};
size 1536 (0x600)57 members4 holes (15 bytes)padding 024 cachelines