KRBTGT should have standard UAC settings (disabled account)
AD-KRBTGT-03MediumActive DirectoryAccount security
Part of Active Directory · Active Directory · Account security · All checks
Invoke-Maester -TestId AD-KRBTGT-03Overview
Section titled “Overview”-
The KRBTGT account must have specific User Account Control (UAC) settings to maintain security. The standard UAC value for KRBTGT is 514, which represents:
-
NORMAL_ACCOUNT (0x0200 = 512): Standard user account
-
ACCOUNTDISABLE (0x0002 = 2): Account is disabled
-
Combined: 514 (0x0202)
Security Risks of Non-Standard UAC:
- Enabled Account: KRBTGT should never be enabled
- Delegation Flags: Could allow dangerous delegation configurations
- Password Flags: DONT_EXPIRE_PASSWORD could prevent required rotations
- Tampering Indicator: Non-standard UAC may suggest malicious modification
Control Type
Section titled “Control Type”Preventive
Security Recommendation
Section titled “Security Recommendation”-
Maintain standard UAC (514):
- Account must remain disabled
- No additional flags should be set
- Regular audits of UAC settings
-
Investigate non-standard UAC immediately:
- Determine who made changes
- Assess if compromise has occurred
- Reset UAC to standard value (514)
-
Monitor for changes:
- Implement alerts for KRBTGT account modifications
- Include UAC changes in security monitoring
How the Test Works
Section titled “How the Test Works”This test retrieves the KRBTGT account and:
- Compares current UAC against standard value (514)
- Decodes and displays all UAC flags
- Reports any non-standard configurations
Related Tests
Section titled “Related Tests”Test-MtAdKrbtgtPasswordLastSet- Checks KRBTGT password ageTest-MtAdKrbtgtLastLogon- Verifies no interactive logons
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AD-KRBTGT-03 |
| Severity | Medium |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Account security |
| Area | Authentication |
| Resource type | User |
| User impact | Low |
| Implementation cost | Low |
| MITRE ATT&CK | T1098 Account Manipulation |
| Supports controls | nist-800-53-r5:CM-6 |
| PowerShell test | Test-MtAdKrbtgtNonStandardUacCount |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:user:ReadProperty |
Source
Section titled “Source”- Test:
tests/ad/security/Test.AD-KRBTGT-03.ps1 - Documentation:
tests/ad/security/Test.AD-KRBTGT-03.md
About this check
- Severity
- Medium
- Effort to fix
- Low
- Impact on users
- Low
- Product
- Active Directory
- Feature
- Account security
- Area
- Authentication
- Suite
- Active Directory