Skip to content

AD-SPN-03: Computer SPN unknown service class count should be retrievable

ID AD-SPN-03
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

Unidentified SPN service classes can represent security risks:

  • Shadow IT: Unknown services may be running without IT’s knowledge or approval
  • Misconfigurations: Typos or incorrect SPN registrations can cause authentication issues
  • Malicious services: Attackers may register SPNs for rogue services
  • Legacy cleanup: Old application SPNs may remain after decommissioning

Identifying unknown SPNs allows security teams to investigate and validate whether these services are legitimate and properly secured.

Operational

When unknown SPN service classes are identified:

  • Investigate each unknown service class to determine its purpose
  • Verify if the service is authorized and necessary
  • Check if the SPN is registered on the correct account
  • Remove SPNs for unauthorized or decommissioned services
  • Document any custom or third-party SPNs for future reference

This test compares discovered SPN service classes against a database of known SPNs (including standard Windows services, common enterprise applications, and database systems). Service classes not in the known list are flagged as unknown.

  • Test-MtAdComputerSpnUnknownDetails - Provides detailed information about unknown SPNs
  • Test-MtAdComputerSpnServiceClassCount - Counts all distinct service classes
  • Test-MtAdUserSpnUnknownCount - Identifies unknown SPNs on user accounts

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.