User SPN unknown service class details should be investigated
AD-SPN-10InfoActive DirectoryService principal names
Part of Active Directory · Active Directory · Service principal names · All checks
Invoke-Maester -TestId AD-SPN-10Overview
Section titled “Overview”Detailed information about unknown user SPNs is critical for security:
- Immediate action required: User SPNs are prime Kerberoasting targets
- Accountability: Know exactly which users have unknown SPNs
- Investigation: Track down service owners quickly
- Risk assessment: Determine if high-privilege users have unknown SPNs
Unknown SPNs on privileged user accounts represent the highest risk.
Control Type
Section titled “Control Type”Operational
Security Recommendation
Section titled “Security Recommendation”For each unknown user SPN:
- Contact the user or their manager to understand the service
- Verify if the service is legitimate and necessary
- If legitimate, document it and consider migrating to gMSA
- If unauthorized, remove the SPN immediately
- Check if the account has been compromised
How the Test Works
Section titled “How the Test Works”This test analyzes all user SPNs, identifies unknown service classes, and provides detailed information about which users have these SPNs.
Related Tests
Section titled “Related Tests”Test-MtAdUserSpnUnknownCount- Counts unknown service classes on usersTest-MtAdUserSpnDomainAdminDetails- Checks domain admin SPNs specificallyTest-MtAdComputerSpnUnknownDetails- Unknown computer SPN details
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AD-SPN-10 |
| Severity | Info |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Service principal names |
| Area | Authentication |
| Resource type | User |
| MITRE ATT&CK | T1558.003 Kerberoasting |
| PowerShell test | Test-MtAdUserSpnUnknownDetails |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:user:ReadProperty |
Source
Section titled “Source”- Test:
tests/ad/spn/Test.AD-SPN-10.ps1 - Documentation:
tests/ad/spn/Test.AD-SPN-10.md
About this check
- Severity
- Info
- Product
- Active Directory
- Feature
- Service principal names
- Area
- Authentication
- Suite
- Active Directory