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 details should be investigated

AD-SPN-04InfoActive DirectoryService principal names

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

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

Detailed information about unknown SPNs enables security teams to:

  • Investigate effectively: Know exactly which computers have unknown SPNs
  • Assess scope: Understand how widespread an unknown service is
  • Track down owners: Identify the computers to contact administrators
  • Document exceptions: Build a list of authorized custom SPNs

This granular visibility is essential for maintaining SPN hygiene and security.

Operational

For each unknown SPN service class discovered:

  1. Identify the service owner or application team
  2. Determine if the service is legitimate and necessary
  3. Verify the SPN is registered on the correct account (not a user account for a computer service)
  4. Document approved custom SPNs in your security baseline
  5. Remove or correct unauthorized SPNs

This test analyzes all computer SPNs, compares service classes against a known database, and provides a detailed breakdown of unknown service classes including which computers have them and how many instances exist.

  • Test-MtAdComputerSpnUnknownCount - Counts unknown service classes
  • Test-MtAdUserSpnUnknownDetails - Details of unknown user account SPNs
  • Test-MtAdComputerSpnServiceClassUsage - All service class usage breakdown
Every attribute of this check
FieldValue
Test IDAD-SPN-04
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureService principal names
AreaInfrastructure hardening
Resource typeComputer
MITRE ATT&CKNone
PowerShell testTest-MtAdComputerSpnUnknownDetails
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:computer:ReadProperty