Skip to content

AD-SPN-02: Computer SPN service class usage should be retrievable

ID AD-SPN-02
Severity Info
Suite Active Directory (on-premises)
Product Active Directory
Feature Service principal names
Security area Infrastructure hardening
Resource type Computer
Reads from On-premises Active Directory

Understanding the distribution of SPN service classes across your computer infrastructure provides valuable security insights:

  • Service inventory: See what services are deployed across your environment
  • Risk assessment: Identify high-value targets (like database services with SPNs)
  • Compliance tracking: Ensure only approved services are configured
  • Anomaly detection: Spot unusual service classes that may indicate shadow IT or misconfigurations

Services with SPNs are targets for Kerberoasting attacks, so knowing which services exist helps prioritize security efforts.

Operational

Review the service class breakdown regularly:

  • Validate that all services with SPNs are authorized
  • Ensure sensitive services (MSSQLSvc, etc.) have additional protections
  • Remove SPNs for decommissioned services
  • Consider implementing SPN attribution monitoring for critical services

This test analyzes all computer SPNs, groups them by service class, and provides a count and percentage for each service class. This gives you a clear view of your Kerberos-authenticated service landscape.

  • Test-MtAdComputerSpnServiceClassCount - Counts distinct service classes
  • Test-MtAdComputerSpnUnknownCount - Identifies unrecognized service classes
  • Test-MtAdUserSpnServiceClassUsage - Shows user account SPN service class usage

Mito check. Author: soulemike. Open-source licences.

Open-source licences. CIS Benchmark material © Center for Internet Security, Inc.; CISA SCuBA baselines are public domain (CC0).

© 2026 Virtual Petals. Mito is a Virtual Petals service, hosted in Microsoft Azure UAE North.