Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

User SPN count should be retrievable

AD-USER-14InfoActive DirectoryService principal names

Part of Active Directory · Active Directory · Service principal names · All checks

Run this check
Invoke-Maester -TestId AD-USER-14

User accounts with ServicePrincipalName values are typically used as service accounts. These accounts are important because they may be susceptible to Kerberoasting and often have broad or persistent access.

  • Kerberoasting exposure: User SPNs are a common attack target
  • Service account discovery: Helps inventory service identities in the domain
  • Hardening priority: Supports review of password hygiene, delegation, and logon restrictions

Operational

  • Review every user account with an SPN and confirm it is a legitimate service account
  • Prefer managed service account options where possible
  • Ensure service accounts use strong credential and monitoring controls

This test counts user objects where the ServicePrincipalName attribute contains one or more values.

  • Test-MtAdUserKnownServiceAccountCount - Identifies service accounts by naming convention
  • Test-MtAdUserAdminCountCount - Highlights protected user accounts that may need extra scrutiny
Every attribute of this check
FieldValue
Test IDAD-USER-14
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureService principal names
AreaAuthentication
Resource typeUser
MITRE ATT&CKT1558.003 Kerberoasting
PowerShell testTest-MtAdUserSpnSetCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:user:ReadProperty