AD Attributes
A reference of Active Directory and LDAP schema attributes — what each one stores, how it's defined, and where it shows up in security.
- sAMAccountName — the pre-Windows 2000 logon name
- sAMAccountName is the short, unique logon name of a security principal in a domain. It predates the UPN, is capped at 20 characters, and appears in nearly every authentication event.
- servicePrincipalName (SPN) — Kerberos service identity
- servicePrincipalName maps a Kerberos service to the account that runs it. Any SPN on a user account is a Kerberoasting target: a crackable service ticket can be requested for it by any authenticated user.
- userAccountControl — the account control flags
- userAccountControl is a bitmask of flags that control an account: whether it is disabled, requires pre-authentication, is trusted for delegation, or has a non-expiring password. Several bits are security-critical.