MITRE ATT&CK
Steal or Forge Kerberos Tickets: AS-REP Roasting (T1558.004)Credential Access classification, general mechanics, mitigations, detection, Event 4768 with Pre-Authentication Type 0, correlation with 4769, RC4 usage (etype 0x17).
Active Directory attack path · Kerberos · MITRE ATT&CK T1558.004
AS-REP Roasting abuses one specific configuration: an Active Directory account that is not required to perform Kerberos pre-authentication. The domain controller can then return a Kerberos response containing data protected by the account secret, without the user having first proven that they know that secret.
An attacker can take that data away and attempt offline password cracking. The real question then becomes: what can this identity reach if the secret falls?
Back to the use case: secure Active Directory and reduce attack pathsTwo different entry points lead to the same exploitable material. What happens next, however, depends entirely on what the identity actually allows inside the directory.
The roast is not the whole path. The danger depends on what the compromised identity controls.
In a standard Kerberos exchange, the client receives nothing exploitable before proving that it holds the account secret.
The point is simple: the KDC does not hand out, to any requester, the material needed for an offline cracking attempt.
With DONT_REQ_PREAUTH, that prior verification step disappears for the account concerned. The server can therefore return an AS-REP response without having obtained that proof first.
Part of the response contains data encrypted with a key derived from the account secret. Offensive security tooling can convert that data into a format suitable for testing password candidates offline.
The exposure does not come from a software vulnerability but from an attribute on the account object in the directory.
Not every occurrence comes from a legacy system. An account can carry this flag because of a duplicated creation template, an administration script or a one-off decision that was never reassessed. The cause must be established account by account.
This is what separates an attack-path reading from a plain misconfiguration finding. An account exempted from pre-authentication can be many different things.
The usual question
How many accounts are roastable?
The right question
What do these accounts allow someone to control?
This is the control-relationship logic described by ANSSI in its security recommendations for Active Directory: an isolated weakness becomes critical when it lets an attacker progress towards trusted resources.
Both techniques aim to recover offline a secret protecting Kerberos data, but they target neither the same accounts nor the same exchange.
| Criterion | AS-REP Roasting | Kerberoasting |
|---|---|---|
| Target | Accounts that do not require Kerberos pre-authentication. | Accounts associated with one or more services identified by an SPN. |
| Kerberos exchange | AS-REQ / AS-REP, at TGT request time. | Service ticket request, TGS exchange. |
| Specific condition | DONT_REQ_PREAUTH flag set on the account. | An exploitable SPN associated with the targeted account. |
| Secret attacked offline | Yes: the attacker tries to recover the secret protecting the Kerberos data. | Yes: same objective, from material tied to the service ticket. |
| Privileges required | A domain account makes enumeration easier, but a plausible user name can be enough to test a request. | An identity already authenticated in the domain is generally required. |
| Impact | Depends on the privileges and paths available to the identity whose secret is recovered. | Same logic: impact is measured by the rights of the compromised account. |
Detection starts with domain controller logs, provided they are collected and interpreted together with the context of the identity involved.
Microsoft changed the information available in event 4768 on Windows Server 2016 and later updated with the January 2025 security updates and beyond. A SIEM rule must therefore not blindly depend on a legacy parsing assumption: the format and available fields have to be verified on the estate actually deployed.
Inventory comes before detection: know which accounts carry the flag, then understand what they would allow someone to reach.
Listing accounts whose DoesNotRequirePreAuth attribute is set is a simple, read-only control available through the Active Directory PowerShell module.
Get-ADUser -Filter 'DoesNotRequirePreAuth -eq $true' -Properties DoesNotRequirePreAuth |
Select-Object SamAccountName, Enabled, DoesNotRequirePreAuthThis command is an example of a point-in-time control, not exhaustive coverage of an Active Directory audit: it covers neither disabled accounts to review, nor other object classes, nor the other domains in the forest.
A script tells you which accounts carry the flag. It does not necessarily tell you which of them create the most critical attack path.
List the accounts concerned and their enabled state.
Qualify each account: real usage, owner, secret strength, dependencies.
Connect these accounts to the groups, delegations, ACLs and resources they can reach.
Start with the accounts whose compromise most shortens a path to Tier 0.
Remediation follows the order of effect: remove the exception where possible, understand why it existed, then reduce what the secret would grant.
Everywhere no technical dependency forbids it. The Microsoft cmdlet Set-ADAccountControl exposes the -DoesNotRequirePreAuth parameter; the defensive target is DoesNotRequirePreAuth = False. A bulk change in production should never be recommended without first qualifying possible legacy dependencies.
Legacy application, migration, old technical account, configuration that became pointless: without that answer, the flag will reappear sooner or later.
MITRE recommends in particular strong passwords and modern Kerberos encryption, AES rather than RC4 where possible. Strengthening the password or moving to AES reduces the cracking risk: it does not make keeping DONT_REQ_PREAUTH desirable.
What the secret would actually grant can be read in the directory.
The fix must not be a one-off: an account created by copy, an operations script or an exception granted under pressure can recreate exactly the same risk.
Removing standing privileges does not fix DONT_REQ_PREAUTH and does not prevent an AS-REP Roasting attempt.
However, if a compromised identity holds no permanent sensitive privilege and must obtain elevated capabilities in a controlled, time-bound way, the operational value of the stolen secret drops sharply.
Kerberos prevention and privilege reduction therefore act at two different points of the same attack path.
Detecting DONT_REQ_PREAUTH is relatively simple. Deciding what to fix first is much less so.
A useful Active Directory assessment connects account configuration with privileges, delegations, groups, reachable assets and paths towards sensitive resources.
The goal is therefore not simply to produce a list of misconfigurations, but to separate isolated weaknesses from genuinely exploitable paths and to build a prioritised remediation plan.
Ariovis helps identify, prioritise, fix and monitor the conditions that make this path exploitable. It is one contribution to your hardening roadmap, alongside your other internal controls.
First-hand sources used for this technical page.
MITRE ATT&CK
Steal or Forge Kerberos Tickets: AS-REP Roasting (T1558.004)Credential Access classification, general mechanics, mitigations, detection, Event 4768 with Pre-Authentication Type 0, correlation with 4769, RC4 usage (etype 0x17).
Microsoft Learn
UserAccountControl property flagsuserAccountControl attribute, DONT_REQ_PREAUTH flag, values 0x400000 and 4194304.
Microsoft Learn
4768(S, F) — A Kerberos authentication ticket (TGT) was requestedEvent meaning, generation on domain controllers, Pre-Authentication Type field, type 0 indicating logon without pre-authentication, format changes from the 2025 updates.
Microsoft Learn
Set-ADAccountControl-DoesNotRequirePreAuth parameter used to restore the pre-authentication requirement.
ANSSI
Security recommendations for Active Directory (French national cybersecurity agency)Directory criticality, tiering, sensitive resources and attacker progression towards trusted resources.
Ariovis content that directly extends this topic.
The parent page: techniques, prioritisation and remediation on the directory side.
The neighbouring technique, on another phase of the Kerberos protocol.
The AD audit offer: delegations, privileged accounts, attack paths, hardening.
The path to control, from assessment to the first remediations.
Check in practice which attack paths are genuinely exploitable.