FM Field Manual smhansen.dev

FM 13-02 Chapter 13 · Windows and Active Directory

userAccountControl flags

Decode and build AD userAccountControl and msDS-SupportedEncryptionTypes, with risky flags and LDAP filters.

Local only Runs in your browser. Nothing you enter leaves this page.

Decimal
66048
Hex
0x00010200
Flags set
NORMAL_ACCOUNT | DONT_EXPIRE_PASSWORD

DONT_EXPIRE_PASSWORD: Common on service accounts. Long-lived passwords are what Kerberoasting cracks offline.

Flags

LDAP filter

Filter
(userAccountControl:1.2.840.113556.1.4.803:=66048)

Filters use the bitwise matching rules: 1.2.840.113556.1.4.803 (AND, all bits set) and .804 (OR, any bit set). Combine them, for example enabled users without pre-authentication: (&(objectCategory=person)(objectClass=user)(userAccountControl:1.2.840.113556.1.4.803:=4194304)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))

Flag names and values follow Microsoft's userAccountControl table and MS-ADTS 2.2.16; encryption types follow MS-KILE 2.2.7.

  • No entry in this manual matches “”.

↑ ↓ move · Enter open · Esc close