No pre-authentication user count should be retrievable
AD-USER-07InfoActive DirectoryUsers
Part of Active Directory · Active Directory · Users · All checks
Invoke-Maester -TestId AD-USER-07Overview
Section titled “Overview”Accounts that do not require Kerberos pre-authentication are directly exposed to AS-REP roasting. Attackers can request offline-crackable material without first proving knowledge of the password.
Control Type
Section titled “Control Type”Detective
Security Recommendation
Section titled “Security Recommendation”Require pre-authentication for all accounts unless there is a justified exception. Review and remove legacy settings that disable this protection.
How the Test Works
Section titled “How the Test Works”This test retrieves Active Directory user data from Get-MtADDomainState and counts users where DoesNotRequirePreAuth = $true or the corresponding userAccountControl bit is set.
Related Tests
Section titled “Related Tests”Test-MtAdUserDelegationAllowedCountTest-MtAdUserKerberosDesOnlyCountTest-MtAdUserPasswordNotRequiredCount
Related links
Section titled “Related links”- Microsoft Defender for Identity: Unsecure account attributes
- ANSSI Active Directory checkpoints: Kerberos preauthentication disabled
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AD-USER-07 |
| Severity | Info |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Users |
| Area | Authentication |
| Resource type | User |
| MITRE ATT&CK | T1558.004 AS-REP Roasting |
| PowerShell test | Test-MtAdUserNoPreAuthCount |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:user:ReadProperty |
Source
Section titled “Source”- Test:
tests/ad/user/Test.AD-USER-07.ps1 - Documentation:
tests/ad/user/Test.AD-USER-07.md
About this check
- Severity
- Info
- Product
- Active Directory
- Feature
- Users
- Area
- Authentication
- Suite
- Active Directory