Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
AS-REP roasting extracts crackable password material from Active Directory accounts that have Kerberos pre-authentication disabled, without the attacker needing any domain credentials at all.

What Is AS-REP Roasting?
AS-REP roasting is an Active Directory attack against accounts configured without Kerberos pre-authentication. For those accounts, a domain controller will hand out an authentication service reply containing data encrypted with a key derived from the account’s password — to anyone who asks. The attacker takes that reply away and cracks it offline. MITRE ATT&CK records the technique as T1558.004.
Its distinguishing feature is the entry requirement: unlike Kerberoasting, which needs a valid domain account first, AS-REP roasting can be performed by an unauthenticated attacker who only knows the domain name, a domain controller address, and a list of candidate user names. A foothold on a guest Wi-Fi network with line of sight to a DC is enough.
In a normal Kerberos exchange, the client sends an AS-REQ containing a timestamp encrypted with the key derived from the user’s password. The Key Distribution Centre decrypts it, confirms the timestamp is recent, and only then issues a ticket-granting ticket. This step exists specifically to stop anyone requesting encrypted material for an arbitrary user.
When the DONT_REQ_PREAUTH flag is set in an account’s userAccountControl attribute, the KDC skips that check. It answers any AS-REQ for that account with an AS-REP whose encrypted part is protected by the account’s own key. The attacker never has to guess online, never triggers a lockout, and never generates a failed logon.
With no credentials, the attacker supplies a user list, often compiled from LinkedIn, email address formats, or an earlier enumeration:
GetNPUsers.py corp.example/ -usersfile users.txt -format hashcat -no-pass -dc-ip 10.0.0.10
With a low-privileged domain account, the list can instead be queried from LDAP directly, filtering on the pre-authentication flag, which is what Rubeus does with Rubeus.exe asreproast. The output is fed to Hashcat in mode 18200 or to John the Ripper. Cracking speed depends entirely on password quality: a passphrase of four random words will not fall, while a service account named after a project and a year will.
Nobody enables this deliberately as a security decision. In practice it shows up because:
Because the flag persists quietly in the directory, the affected accounts are frequently old service or integration identities with passwords that have not changed in years — the worst possible combination.
A single PowerShell query returns the full list:
Get-ADUser -Filter {DoesNotRequirePreAuth -eq $true} -Properties DoesNotRequirePreAuth,PasswordLastSet
Run it as a scheduled check, not once. BloodHound also surfaces these accounts, and most penetration tests report them in the first hour.
For detection, watch Windows event ID 4768 on domain controllers. The attack produces a ticket-granting ticket request with pre-authentication type 0 — the field is empty rather than showing type 2 or 15. A burst of 4768 events with pre-authentication type 0 from one source address, especially covering several accounts, is a precise indicator with very few false positives. Pair it with event 4625 patterns to catch enumeration against accounts that do not exist.
Our penetration test services include a full Kerberos configuration review, so these accounts are found before someone else finds them.
Yes, provided the attacker can reach a domain controller on the network and has a list of candidate user names. The domain controller answers the request for any account with pre-authentication disabled, regardless of who asked. Supplying a user list is the only real obstacle, and name formats are usually easy to derive from public sources or from email addresses.
Kerberoasting requests service tickets for accounts that have a service principal name, and requires an authenticated domain user to do so. AS-REP roasting targets accounts with pre-authentication disabled and needs no credentials. The cracking step is similar in both cases, but the preconditions, the Hashcat modes, and the directory attributes you audit are different.
It makes offline cracking impractical, which removes most of the risk, but the weakness remains visible and exploitable in other ways. An attacker can still confirm that the account exists and is reachable. The correct fix is to clear the pre-authentication flag; a strong password is a compensating control for the rare legacy system that genuinely cannot work without it.
Alert on Windows security event 4768 with a pre-authentication type of 0, particularly several such events from one source address within a short window. Baseline first, because a small number of legitimate accounts may generate these routinely. Combine the alert with the directory list of accounts that have pre-authentication disabled, so analysts can triage quickly.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.