AD-SPN-09 - User SPN unknown service class count should be retrievable
Overviewβ
Unknown SPN service classes on user accounts require immediate attention because:
- High risk: User accounts with SPNs are Kerberoasting targets
- Shadow IT: Unknown services may bypass security controls
- Misconfigurations: Could indicate improper SPN registration
- Compliance issues: Unauthorized services violate security policies
User accounts are preferred targets for Kerberoasting, making unknown SPNs on these accounts particularly concerning.
Security Recommendationβ
Investigate all unknown SPNs on user accounts:
- Determine the service owner and business justification
- Verify if the service requires a user account or can use gMSA
- Check for misconfigurations or typos
- Remove unauthorized SPNs immediately
- Document approved custom SPNs
How the Test Worksβ
This test compares discovered user SPN service classes against a database of known SPNs and flags any unrecognized service classes for investigation.
Related Testsβ
Test-MtAdUserSpnUnknownDetails- Detailed information about unknown user SPNsTest-MtAdComputerSpnUnknownCount- Unknown SPNs on computer accountsTest-MtAdUserSpnServiceClassCount- All user SPN service classes
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | AD-SPN-09 |
| Severity | Info |
| Suite | Active Directory |
| Category | AD.SPN |
| PowerShell test | Test-MtAdUserSpnUnknownCount |
| Tags | AD, AD-SPN-09, AD.SPN |
Sourceβ
- Pester test:
tests/ad/spn/Test-MtAdUserSpnUnknownCount.Tests.ps1 - PowerShell source:
powershell/public/ad/spn/Test-MtAdUserSpnUnknownCount.ps1

