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 service class usage should be investigated

AD-SPN-08InfoActive DirectoryService principal names

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

Run this check
Invoke-Maester -TestId AD-SPN-08

A detailed breakdown of SPN service classes on user accounts enables:

  • Risk prioritization: Identify high-value targets like database services
  • Service inventory: Understand what services run under user credentials
  • Compliance assessment: Ensure services meet security standards
  • Migration planning: Prioritize which services to move to gMSAs first

Database and application services on user accounts pose the highest Kerberoasting risk.

Operational

Based on service class usage:

  • Prioritize migrating database services (MSSQLSvc, oracle) to gMSAs
  • Audit HTTP/HTTPS services running under user accounts
  • Investigate custom or unknown service classes
  • Document legitimate service accounts and their purposes

This test analyzes all user SPNs, groups them by service class, and provides a count and percentage for each service class, helping you understand your user service account landscape.

  • Test-MtAdUserSpnServiceClassCount - Counts distinct service classes
  • Test-MtAdUserSpnUnknownCount - Identifies unrecognized service classes
  • Test-MtAdComputerSpnServiceClassUsage - Computer account service class usage
Every attribute of this check
FieldValue
Test IDAD-SPN-08
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureService principal names
AreaAuthentication
Resource typeUser
MITRE ATT&CKT1558.003 Kerberoasting
PowerShell testTest-MtAdUserSpnServiceClassUsage
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:user:ReadProperty