Short answer: Kerberoasting is an Active Directory attack in which any authenticated domain user requests Kerberos service tickets for accounts that have a service principal name (SPN), then cracks them offline to recover the service account’s password. It is one of our first checks in an internal test, which typically takes 5 to 10 tester-days.
What usually surprises teams is how quiet it is. Asking for a service ticket is what every Windows client does all day, so the domain controller hands it over and logs an ordinary event. The cracking runs on the attacker’s own hardware, with no failed logons and no lockouts. AS-REP roasting is the same idea for accounts that skip Kerberos preauthentication.
What is Kerberoasting, and why can any domain user get a crackable ticket?
Kerberos is still the default authentication protocol in Active Directory. When a user wants a service, the client presents its ticket-granting ticket (TGT) to the domain controller and asks for a service ticket (TGS) for that service’s SPN. The domain controller encrypts part of the service ticket with a key derived from the password of the account that runs the service. It does not check whether the user may use the service: that is the service’s job later.
MITRE ATT&CK tracks this as Kerberoasting, sub-technique T1558.003 of Steal or Forge Kerberos Tickets. The targets are user accounts that run services. Computer accounts also have SPNs, but their passwords are long, random and rotated by the domain. A service account password set by a person during an installation is often none of those things, and that gap is the whole attack.
How does a Kerberoasting attack work?
Five steps, all from an ordinary account:
- Find accounts with an SPN: any domain user can query the directory for user accounts whose servicePrincipalName attribute is set.
- Request service tickets: with their own TGT, the attacker asks the domain controller for a ticket for each of those SPNs.
- Ask for the weakest encryption: where RC4 (encryption type 23) is still allowed for the account, the attacker requests it, because the RC4 key is simply the account’s unsalted NT hash.
- Crack offline: the encrypted part of each ticket goes to a password-cracking tool on the attacker’s hardware, with wordlists and rules. Nothing touches the domain during this step.
- Use the account: a recovered password lets the attacker log on as the service account with its rights, sometimes up to Domain Admins. The account’s key also lets an attacker forge tickets for that service, a so-called silver ticket.
No exploit and no malware are involved at any step. That is why a vulnerability scan rarely reports Kerberoasting: every request is valid Kerberos traffic from a valid user.

Why does Kerberoasting still work in most domains?
Kerberoasting abuses expected Kerberos behavior, so there is no patch for it. The reasons it still works are organizational, not technical:
- Passwords set once by a person: service account passwords are often years old, set to never expire and short enough to type during an install, because changing them means touching the application.
- Too many rights: installers asked for admin rights and nobody took them back. MITRE’s mitigation M1026 calls for minimum privileges and keeping service accounts out of groups such as Domain Admins.
- RC4 still allowed: Microsoft notes that RC4 uses no salt or iterated hash when it turns a password into a key, so guesses run faster. In its October 2024 guidance, Microsoft said RC4 was still enabled by default and announced plans to disable it in a future update to Windows 11 24H2 and Windows Server 2025. Do not rely on defaults: check which encryption types your domain controllers still issue.
- Forgotten SPNs: an SPN left on an account after its service was retired still makes the account roastable.
What most guides miss: moving an account to AES does not fix a weak password. AES tickets take longer to crack, not forever, and Microsoft warns that the account can stay exposed until its password is changed after the encryption type changes. A pattern we keep running into is AES enforced on an account whose password predates the switch: the same weak secret behind a slower lock.
What is AS-REP roasting, and how is it different?
AS-REP roasting (MITRE ATT&CK T1558.004) targets accounts with “Do not require Kerberos preauthentication” enabled. Normally a user’s first request, the AS-REQ, carries a timestamp encrypted with a key from their password, and the domain controller answers only if it can decrypt it. Without preauthentication, anyone can send the request without that proof and receive an AS-REP whose encrypted part depends on the user’s password, so it can be cracked offline just like a service ticket.
Two differences matter. First, the condition is a single checkbox on one account, which in our tests is usually a leftover from an old application or an interoperability workaround that nobody documented. Second, MITRE notes that such accounts can be found by sending an AS-REQ per user name and seeing which return no error. The fix is small: turn preauthentication back on, and if an application truly needs it off, give that account a long random password and no privileges.
Which condition makes each roasting technique work, and what fixes it?
| Technique | Condition in your domain | How it shows up | Fix |
|---|---|---|---|
| Kerberoasting (T1558.003) | A user account with an SPN and a password a person chose | Event 4769 on domain controllers; one account requesting tickets for many SPNs in a short time | gMSA or dMSA; otherwise a long random password, least privilege, and no unneeded SPNs |
| Kerberoasting with RC4 | RC4 still allowed for the account or the domain | 4769 with Ticket Encryption Type 0x17 where clients normally get AES | Allow only AES 128/256 for the account, then change its password; plan RC4 removal |
| AS-REP roasting (T1558.004) | “Do not require Kerberos preauthentication” set on an account | Event 4768 with Pre-Auth Type 0, often with RC4 | Re-enable preauthentication; audit every change to the setting |
| Targeted Kerberoasting | An attacker controls an account with write rights over another user and adds an SPN to it | A change to the servicePrincipalName attribute of a user account, then 4769 for the new SPN | Remove excessive write permissions and delegations; alert on SPN changes to user accounts |
Rows one to three follow MITRE ATT&CK and Microsoft. The last row comes from our testing practice: an account with write rights over other users can create a roastable account on demand.
How do you detect Kerberoasting and AS-REP roasting?
- Make sure the events exist: 4769 (service ticket requested) and 4768 (TGT requested) are useful only if Kerberos auditing stays enabled on every domain controller and the events reach your log platform.
- Alert on encryption type, not on volume alone: a 4769 with Ticket Encryption Type 0x17 in a domain where clients get AES is the clearest single signal, and it is the core of MITRE’s detection strategy for T1558.003.
- Watch for bursts: one account requesting tickets for many service accounts in a short window, as both MITRE and Microsoft describe.
- For AS-REP roasting: 4768 with Pre-Auth Type 0, especially with encryption type 0x17, correlated with the service ticket requests that follow, as in MITRE’s analytic for T1558.004.
- Add a decoy: a user account with an SPN that no real service uses. Any ticket request for it deserves a look.
We advise against alerting on every 4769. A busy domain controller writes them constantly, and an alert that fires on all of them gets muted. A pentest finding also has a limit worth stating: it proves roasting is possible, not whether your team would notice. To test detection, run the same steps with your defenders in a purple teaming exercise.
How do you prevent Kerberoasting?
In order of impact, the fix list we put in reports:
- Move service accounts to gMSA, or dMSA on Windows Server 2025: Microsoft describes gMSA passwords as 120 characters long and randomly generated, and the domain changes them automatically, which makes offline cracking impractical.
- Use long random passwords where a managed account is not possible: Microsoft recommends at least 14 characters and MITRE suggests 25 or more. Our recommendation is the MITRE end of that range, generated, stored in a vault and never typed by a person.
- Allow only AES for the account, then change its password: the order matters, as Microsoft points out.
- Remove SPNs nobody uses and strip rights nobody needs: no service account belongs in Domain Admins.
- Keep preauthentication on for every account and audit changes to the setting, as MITRE’s mitigation M1047 recommends.
- Plan RC4 removal for the whole domain: inventory which systems still request RC4 tickets before you turn it off, because old appliances and applications are the usual blockers.
How we test for Kerberoasting in an internal penetration test
Our internal penetration testing usually starts grey box, from a standard domain account: the access a new employee gets. Roasting checks come early because they need nothing more. A typical run, inside the 5 to 10 tester-days of an internal test, and how it ends up in the report:
- We list user accounts with SPNs and accounts without preauthentication, and record each account’s group memberships, admin rights and allowed encryption types.
- We request tickets in a controlled way within the agreed testing window, at a pace set in the rules of engagement.
- If password cracking is in scope, we test the tickets offline and handle any recovered password as sensitive client data. If it is excluded, as it was in our Active Directory case study, the finding rests on the exposure itself: which accounts can be roasted, what they can reach and whether RC4 is allowed.
- We follow the path: what a recovered service account could open sets the severity.
- Critical findings are reported during the test, not held for the final report.
- The report lists each roastable account with its rights, its encryption types and the fix, and a retest is available after fixes.
| Test parameter | What it looks like |
|---|---|
| Starting position | Standard domain account, grey box |
| Typical effort | 5 to 10 tester-days for an internal test |
| Price | Quoted individually in tester-days, fixed for the agreed scope (how tester-days translate into a price) |
| Report | Executive summary plus technical findings with evidence and fixes, as in our sample penetration test report |
| Retest | Available after fixes; whether it is included depends on the engagement |
For segmentation, Wi-Fi and the wider estate, see network and infrastructure penetration testing.
From our testing: an Active Directory test where no password was cracked
In a grey box internal test for an industrial distributor, we started from a standard domain account and examined Active Directory and Active Directory Certificate Services. The scope excluded large-scale password cracking. The path to administrative rights did not run through a service account password at all. A certificate template left behind by a retired access solution was still published, a broad user group could enroll, and it accepted requester-supplied identity information for authentication certificates. A controlled test in an isolated copy of the environment confirmed authentication as a prepared account with administrative privileges. As the case study puts it, “No password was cracked and no encryption was broken.” The template was removed from publication, and two weeks later the retest confirmed the demonstrated path was closed. Effort: 8 tester-days, plus 2 tester-days for retesting. The full write-up is in our Active Directory penetration testing case study.
The lesson for this topic: a domain that has fixed Kerberoasting can still hand out admin rights through certificates, delegations or reused credentials. Ask for a test of attack paths, not a checklist of techniques.
When do you need an Active Directory test, and which one?
- Choose an internal penetration test from a standard domain account when your Active Directory has never been tested: it covers roasting, delegations, certificate services and credential reuse in one engagement.
- Choose a retest after moving service accounts to gMSA and AES, to prove the old paths are closed.
- Choose purple teaming when the question is whether your monitoring catches 4769 and 4768 anomalies, not whether roasting is possible.
- Choose red teaming when you want to know whether a full attack chain reaches a business objective, with your defenders unaware.
- We advise against rotating a service account password before you restrict the account to AES: change the encryption type first, then the password.
- We advise against treating a clean Kerberoasting result as a clean domain: in our case study, the path ran through certificates.
- Skip an external test if Kerberos is your concern: it never logs in to the domain. Our guide to internal vs external penetration testing explains which to buy first.
Our verdict: fix Kerberoasting with managed service accounts and AES plus a password change, then have an internal penetration test prove what one domain account can still reach, and use purple teaming to check that your monitoring sees the attempt.
Fixed-price quote
Want to know what one domain account can reach?
Tell us your domains, the starting position and any systems to exclude, and we’ll send a fixed-price quote in tester-days for the agreed scope.
Sources: MITRE ATT&CK T1558.003 Kerberoasting (mitigations M1041, M1027, M1026 and detection strategy DET0157); MITRE ATT&CK T1558.004 AS-REP Roasting (mitigation M1047 and analytic for event 4768); Microsoft’s guidance to help mitigate Kerberoasting, Microsoft Security Blog, October 2024; checked November 2026.

The Pentestica penetration testing team: 25 certified senior pentesters (OSCP, OSCE, CISSP) with 10+ years of offensive security operations and 500+ penetration tests behind them. Our testing is aligned with OWASP, PTES and NIST SP 800-115.
