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) →

Computer SPN unknown service class count should be retrievable

AD-SPN-03InfoActive DirectoryService principal names

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

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

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
Every attribute of this check
FieldValue
Test IDAD-SPN-03
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureService principal names
AreaInfrastructure hardening
Resource typeComputer
MITRE ATT&CKNone
PowerShell testTest-MtAdComputerSpnUnknownCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:computer:ReadProperty