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
Invoke-Maester -TestId AD-SPN-04Overview
Section titled “Overview”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.
Control Type
Section titled “Control Type”Operational
Security Recommendation
Section titled “Security Recommendation”For each unknown SPN service class discovered:
- Identify the service owner or application team
- Determine if the service is legitimate and necessary
- Verify the SPN is registered on the correct account (not a user account for a computer service)
- Document approved custom SPNs in your security baseline
- Remove or correct unauthorized SPNs
How the Test Works
Section titled “How the Test Works”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.
Related Tests
Section titled “Related Tests”Test-MtAdComputerSpnUnknownCount- Counts unknown service classesTest-MtAdUserSpnUnknownDetails- Details of unknown user account SPNsTest-MtAdComputerSpnServiceClassUsage- All service class usage breakdown
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AD-SPN-04 |
| Severity | Info |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Service principal names |
| Area | Infrastructure hardening |
| Resource type | Computer |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdComputerSpnUnknownDetails |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:computer:ReadProperty |
Source
Section titled “Source”- Test:
tests/ad/spn/Test.AD-SPN-04.ps1 - Documentation:
tests/ad/spn/Test.AD-SPN-04.md
About this check
- Severity
- Info
- Product
- Active Directory
- Feature
- Service principal names
- Area
- Infrastructure hardening
- Suite
- Active Directory