NtAccessCheckByTypeResultList
Performs a typed access check returning a per-object-type result list, without writing audit events.
Prototype
NTSTATUS NtAccessCheckByTypeResultList( PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, HANDLE ClientToken, ACCESS_MASK DesiredAccess, POBJECT_TYPE_LIST ObjectTypeList, ULONG ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, PPRIVILEGE_SET PrivilegeSet, PULONG PrivilegeSetLength, PACCESS_MASK GrantedAccessList, PNTSTATUS AccessStatusList );
Arguments
| Name | Type | Dir | Description |
|---|---|---|---|
| SecurityDescriptor | PSECURITY_DESCRIPTOR | in | Security descriptor of the composite object whose property sets are being checked. |
| PrincipalSelfSid | PSID | in | Optional SID substituted for PRINCIPAL_SELF in ACEs (used on Active Directory principal objects). |
| ClientToken | HANDLE | in | Impersonation token of the client whose access is being evaluated. |
| DesiredAccess | ACCESS_MASK | in | Access rights to evaluate against each entry in ObjectTypeList. |
| ObjectTypeList | POBJECT_TYPE_LIST | in | Tree-flattened list of object types (object + property sets + properties) — the check runs once per entry. |
| ObjectTypeListLength | ULONG | in | Number of entries in ObjectTypeList. Also sizes GrantedAccessList and AccessStatusList. |
| GenericMapping | PGENERIC_MAPPING | in | Per-object-type mapping of GENERIC_* to specific rights. |
| PrivilegeSet | PPRIVILEGE_SET | in/out | Receives the privileges the check used (e.g. SE_SECURITY_NAME for SACL access). |
| PrivilegeSetLength | PULONG | in/out | On entry, size of PrivilegeSet buffer; on exit, bytes required / used. |
| GrantedAccessList | PACCESS_MASK | out | Array of ObjectTypeListLength access masks, one per object-type-list entry, holding the rights granted at each level. |
| AccessStatusList | PNTSTATUS | out | Array of ObjectTypeListLength NTSTATUS values — STATUS_SUCCESS or STATUS_ACCESS_DENIED per entry. |
Syscall IDs by Windows version
| Windows version | Syscall ID | Build |
|---|---|---|
| Win10 1507 | 0x64 | win10-1507 |
| Win10 1607 | 0x64 | win10-1607 |
| Win10 1703 | 0x64 | win10-1703 |
| Win10 1709 | 0x64 | win10-1709 |
| Win10 1803 | 0x64 | win10-1803 |
| Win10 1809 | 0x64 | win10-1809 |
| Win10 1903 | 0x64 | win10-1903 |
| Win10 1909 | 0x64 | win10-1909 |
| Win10 2004 | 0x64 | win10-2004 |
| Win10 20H2 | 0x64 | win10-20h2 |
| Win10 21H1 | 0x64 | win10-21h1 |
| Win10 21H2 | 0x64 | win10-21h2 |
| Win10 22H2 | 0x64 | win10-22h2 |
| Win11 21H2 | 0x64 | win11-21h2 |
| Win11 22H2 | 0x64 | win11-22h2 |
| Win11 23H2 | 0x64 | win11-23h2 |
| Win11 24H2 | 0x64 | win11-24h2 |
| Server 2016 | 0x64 | winserver-2016 |
| Server 2019 | 0x64 | winserver-2019 |
| Server 2022 | 0x64 | winserver-2022 |
| Server 2025 | 0x64 | winserver-2025 |
Kernel module
Related APIs
Syscall stub
4C 8B D1 mov r10, rcx B8 64 00 00 00 mov eax, 0x64 F6 04 25 08 03 FE 7F 01 test byte ptr [0x7FFE0308], 1 75 03 jne short +3 0F 05 syscall C3 ret CD 2E int 2Eh C3 ret
Undocumented notes
Like NtAccessCheckByType but returns a *vector* of access decisions — one entry per ObjectTypeList element — instead of a single composite verdict. The canonical use case is Active Directory: a single attempt to read a user object can simultaneously require evaluation of the object itself plus several property-set ACEs (e.g. Personal-Information, Public-Information, Account-Restrictions). The result list lets the caller report exactly which property set was denied. SSN `0x64` has been stable across every supported Windows build since 1507. There is no audit-emission side effect — pair with NtAccessCheckByTypeResultListAndAuditAlarm when the SACL demands logging.
Common malware usage
Effectively none. The function is consumed by LSASS, NTDS, and the SAM/AD-aware components; commodity malware has no reason to perform structured AD-style ACL checks. The malware angle is inverse: attackers query AD ACLs (BloodHound, PowerView) to *avoid* operations that would trip audit-alarm checks elsewhere.
Detection opportunities
On a domain controller the call rate is dominated by ntdsa.dll inside lsass.exe. Anomalous callers (anything not in {lsass.exe, services.exe, an MS-signed AD service}) are worth flagging via ETW Microsoft-Windows-Kernel-Audit-API-Calls. On a workstation the call is rare outside of LSASS-side credential validation paths; uncommon images calling it warrants investigation.
Direct syscall examples
asmx64 direct stub
; Direct syscall stub for NtAccessCheckByTypeResultList (SSN 0x64, Win10 1507+)
NtAccessCheckByTypeResultList PROC
mov r10, rcx ; syscall convention
mov eax, 64h ; SSN
syscall
ret
NtAccessCheckByTypeResultList ENDPcPer-property-set decision (AD-style)
// Evaluate read access against an AD user object plus two property sets.
OBJECT_TYPE_LIST otl[3] = {
{ ACCESS_OBJECT_GUID, 0, &GUID_USER_OBJECT }, // level 0
{ ACCESS_PROPERTY_SET_GUID, 0, &GUID_PERSONAL_INFO }, // level 1
{ ACCESS_PROPERTY_SET_GUID, 0, &GUID_PUBLIC_INFO }, // level 1
};
ACCESS_MASK granted[3] = {0};
NTSTATUS statuses[3] = {0};
PRIVILEGE_SET privs;
ULONG privs_len = sizeof privs;
NTSTATUS rc = NtAccessCheckByTypeResultList(
pSd, NULL, hClientToken,
READ_CONTROL | ADS_RIGHT_DS_READ_PROP,
otl, ARRAYSIZE(otl),
&g_DsGenericMapping,
&privs, &privs_len,
granted, statuses);
// Inspect statuses[0..2] to report which property set was denied.MITRE ATT&CK mappings
Last verified: 2026-05-20