Security operations

What Is Kerberoasting? How the Active Directory Attack Works and How to Stop It

Kerberoasting turns a normal Kerberos ticket request into a stolen service account password. Here is the attack step by step, how to spot it, and how to shut it down.

Cysoro Security TeamPublished · 8 min read
TGTTGS CRACKED gMSA SECURITY OPERATIONS Kerberoasting explained One ticket. One cracked password.
Quick answer

Kerberoasting is a credential attack against Active Directory in which any authenticated domain user requests Kerberos service tickets for accounts with service principal names, then cracks those tickets offline to recover the service account password. It needs no admin rights to start, only a valid login, and it works because part of each ticket is encrypted with the service account's password hash.

Key takeaways

  • Kerberoasting needs only a valid domain account: any user can request crackable service tickets.
  • Weak, long-lived service account passwords and RC4 encryption are what make the attack succeed.
  • Group Managed Service Accounts, AES encryption, and monitoring Event 4769 are the strongest defenses.

A normal user account, with no admin rights at all, can steal the password of a powerful service account in Active Directory. That is kerberoasting, and it is one of the most reliable ways attackers escalate privileges inside a Windows network. The fix is not a patch. It is how you manage service accounts.

What is kerberoasting?

Kerberoasting is a credential attack in which an attacker with any valid domain account requests Kerberos service tickets for service accounts, then cracks those tickets offline to recover the service accounts' passwords.

It is tracked by MITRE ATT&CK as sub-technique T1558.003: Kerberoasting, under the credential access tactic. MITRE notes that adversaries holding a valid ticket-granting ticket may request service tickets for any service principal name, and that portions of those tickets may be encrypted with RC4, making them vulnerable to offline brute force.

The attack was first described publicly by Tim Medin in 2014, and it still works today because it abuses the design of Kerberos itself, not a software bug. No patch can remove it entirely.

How does Kerberos authentication work?

Kerberos is the default authentication protocol in Active Directory. A trusted Key Distribution Center on the domain controller issues time-limited tickets so passwords never cross the network in plain text.

  1. Authentication Service exchange: the client proves it knows its password and receives a ticket-granting ticket (TGT), encrypted with the key of the krbtgt account. This is logged as Event 4768.
  2. Ticket-Granting Service exchange: the client presents the TGT and names a service by its service principal name (SPN). The domain controller returns a service ticket encrypted with the key of the account that owns that SPN. This is logged as Event 4769.
  3. Application exchange: the service decrypts the ticket with its own key and reads the user's identity and group memberships from the Privilege Attribute Certificate (PAC) inside it.

That second step is the weakness. The domain controller hands out a service ticket to anyone who asks, without checking whether the requester is allowed to use the service. And part of that ticket is encrypted with the service account's password hash, which is the key the attacker needs.

How does a kerberoasting attack work?

The attack has four steps: get any domain login, enumerate service accounts, request their tickets, and crack the tickets offline at the attacker's leisure.

How kerberoasting works 1 Get a login any valid domain user, no admin needed 2 Find SPNs list accounts with service principal names 3 Request tickets domain controller hands them out freely 4 Crack offline hashcat or similar, no time pressure Offline cracking means no lockouts, no alerts, and no deadline for the attacker.
The four stages of a kerberoasting attack. Illustration by Cysoro.

1. Get any domain login

The attacker needs only a low-privilege account, obtained by phishing, password spraying, or an earlier compromise. Kerberoasting is often the second step after an initial foothold, not the first.

2. Enumerate service accounts

Tools such as Impacket's GetUserSPNs query Active Directory for every account with a service principal name. SPNs identify services such as SQL Server, web servers, and scheduled tasks, and each one maps to a service account.

3. Request the tickets

The attacker requests a service ticket for each SPN. The domain controller returns tickets encrypted with each service account's password hash. The request looks like normal Kerberos traffic, which is why it is hard to spot without baselines.

4. Crack offline

The attacker extracts the ticket hash and runs it through hashcat or John the Ripper, using wordlists and rules. Because cracking happens offline, there are no account lockouts and no failed-login alerts. A weak password can fall in minutes; a strong one may never fall.

Why does kerberoasting work so well?

Kerberoasting works because service accounts are often the weakest passwords in a domain, and they frequently belong to highly privileged accounts that never expire.

Service accounts are set up once, often years ago, with a password a human chose and typed into a service configuration. They are rarely rotated because rotating them risks breaking the service. Many have passwords that are short, dictionary-based, or shared across systems.

Worse, service accounts often hold more privilege than they need. A SQL Server service account with domain admin rights, or a backup service account that can read every file, turns one cracked password into full domain control. MITRE notes that cracked hashes may enable persistence, privilege escalation, and lateral movement.

RC4 encryption makes the problem worse. Microsoft explains that RC4 uses no salt or iterated hash when converting a password to an encryption key, so attackers can guess passwords far faster than with AES.

Kerberoasting vs AS-REP roasting vs Pass-the-Ticket

These three Kerberos attacks are often confused. They target different parts of the same protocol and need different defenses.

KerberoastingAS-REP roastingPass-the-Ticket
MITRE IDT1558.003T1558.004T1550.003
TargetService accounts with SPNsUsers with pre-auth disabledAny account with a stolen ticket
NeedsAny valid domain loginNo credentials at allA stolen ticket from memory or network
ResultService account passwordUser account passwordAccess as that user, no password needed
Main fixgMSA, AES, long passwordsEnable pre-auth on every accountCredential Guard, short ticket lifetimes

Kerberoasting is the most common of the three in real intrusions, because almost every domain has service accounts, and many of them are weak. AS-REP roasting is rarer because pre-authentication is enabled by default, but a single misconfigured account is enough.

Where has kerberoasting been used in real attacks?

Kerberoasting appears in the playbooks of major threat groups and in one of the most consequential breaches of recent years.

MITRE lists FIN7, a financially motivated group, as using Kerberoasting PowerShell commands for credential access and lateral movement. The Empire post-exploitation framework includes Invoke-Kerberoast, which requests service tickets and returns crackable hashes.

During the SolarWinds compromise, APT29 obtained Ticket Granting Service tickets for Active Directory service principal names to crack offline, according to MITRE's procedure examples for T1558.003. That campaign showed how a ticket attack fits into a long, quiet intrusion: steal tickets, crack the weak ones, and use the resulting accounts to move deeper.

Penetration testers find kerberoasting in most Active Directory assessments. It is a standard check in frameworks such as the small business cybersecurity checklist approach to credential hygiene, because it reliably exposes the gap between how service accounts are managed and how much privilege they hold.

How do you detect kerberoasting?

Detection starts with Event 4769, logged on domain controllers whenever a Kerberos service ticket is requested. A single request is normal; a pattern is not.

Kerberoasting detection signals (Event 4769) High ticket volumeone account requests many servicetickets in minutes, far above baseline RC4 encryption requestedtickets with etype 0x17 (RC4) whenyour domain normally uses AES Unusual service accountstickets for SQL, backup, or adminservices the user never touches Suspicious toolingRubeus, Mimikatz, or Impacketprocesses alongside ticket bursts
Four signals that separate a kerberoasting attempt from normal Kerberos traffic. Illustration by Cysoro.
  • Volume: one account requesting tickets for many different SPNs in a short window, especially outside its normal role.
  • Encryption type: tickets requested with RC4 (etype 0x17) when your environment normally negotiates AES. Attackers downgrade to RC4 because it cracks faster.
  • Ticket lifetime and service: requests for high-value service accounts the user has no business accessing.
  • Process correlation: Rubeus, Mimikatz, or PowerShell invoking LSASS access around the same time as the ticket burst.

MITRE's detection analytic for T1558.003 recommends monitoring for anomalous TGS requests with RC4 encryption, unusual ticket volumes, and suspicious process activity together, not any one signal alone.

Build a baseline first. Record how many tickets each account normally requests per day, and which services it touches. Without that baseline, a kerberoasting burst looks like a busy Monday morning.

How do you prevent kerberoasting?

Microsoft's October 2024 guidance gives a clear priority order: move to managed service accounts first, then enforce long random passwords and AES, then disable RC4. Read the full guidance in Microsoft's Kerberoasting mitigation blog.

  1. Use Group Managed Service Accounts (gMSA) or Delegated Managed Service Accounts (dMSA) wherever possible. gMSA passwords are 120 characters long, complex, randomly generated, and rotated automatically. Microsoft calls them highly resistant to brute force with currently known methods.
  2. If you cannot use a gMSA, set long, randomly generated passwords. Microsoft recommends at least a 14-character minimum for service accounts, and longer where possible. Generate them with a password manager, never by hand.
  3. Configure service accounts for AES 128 and AES 256. Then change the password, so the account actually gets AES keys. Microsoft warns that if you do not change the password after updating the encryption type, the account may still be vulnerable.
  4. Manually disable RC4 on service accounts. RC4 is still enabled by default in many domains, even though Active Directory will not try to use it by default. Microsoft intends to disable it by default in a future Windows 11 24H2 and Windows Server 2025 update.
  5. Remove SPNs from accounts that do not need them. Audit every account with an SPN, delete unused ones, and never give a privileged account an SPN unless the service genuinely needs it.
  6. Limit service account privilege. A service account should have only the permissions its service needs. Remove domain admin rights from service accounts unless there is a documented, reviewed reason.

Generate the replacement passwords with our free password generator.

Test their strength with the password strength checker before you deploy them.

What should you do if you find kerberoasting in your network?

Treat a confirmed kerberoasting attempt as an active intrusion, not a single bad password. The attacker already has a foothold, and the cracked password is only one step in their plan.

  1. Isolate and investigate the source account. Find how the attacker got the initial login, and reset that account's password.
  2. Reset every service account password that was targeted. Assume any ticket the attacker requested is already being cracked. Rotate the passwords, and move the accounts to gMSAs where possible.
  3. Check what the cracked accounts touched. Review logons, new accounts, group membership changes, and mail rules made by those accounts.
  4. Review Event 4769 history. Look back at least 30 days for earlier ticket bursts from the same account or others.
  5. Harden before you close the incident. Enforce AES, disable RC4, and set up the Event 4769 alerting described above so the next attempt is caught in minutes, not months.
Resetting one password is not enoughIf an attacker cracked a service account password, they may have used it to create persistence, such as a new scheduled task or a shadow admin account. Hunt for those before you declare the incident over.

The bottom line

Kerberoasting succeeds because service accounts are set up once and forgotten, with weak passwords and RC4 encryption, while holding far more privilege than they need. Any domain user can exploit that gap.

Inventory every account with an SPN, move services to Group Managed Service Accounts, enforce AES and long random passwords, and watch Event 4769 for ticket bursts. Start by generating strong replacements with the free password generator.

Frequently asked questions

What is kerberoasting in simple terms?

Kerberoasting is a way to steal a service account password in Active Directory. An attacker with any normal domain login asks the domain controller for a service ticket, takes the ticket away, and cracks it offline to reveal the password, because part of the ticket is encrypted with that password.

Does kerberoasting need admin rights?

No. That is what makes it dangerous. Any authenticated domain user can request a service ticket for any account with a service principal name. The domain controller does not check whether the user is allowed to use the service before issuing the ticket.

What is the difference between kerberoasting and AS-REP roasting?

Kerberoasting targets service accounts by requesting service tickets for accounts with SPNs. AS-REP roasting targets user accounts that have Kerberos pre-authentication disabled, letting an attacker request an authentication reply and crack it offline without any password. Both end in an offline password crack.

Can kerberoasting be detected?

Yes. Watch for Event 4769 on domain controllers: one account requesting many service tickets in a short time, tickets requested with RC4 encryption, or tickets requested for service accounts the user never normally uses. Tools such as Rubeus and Impacket's GetUserSPNs leave these patterns behind.

Does AES stop kerberoasting?

AES makes cracking much harder and slower than RC4, but it does not stop the attack on its own. A weak password can still be cracked from an AES-encrypted ticket. Microsoft recommends AES combined with long random passwords, or better, Group Managed Service Accounts.

What is a Group Managed Service Account?

A Group Managed Service Account, or gMSA, is an Active Directory account type whose password is 120 characters long, randomly generated, and rotated automatically by the domain. Because no human knows the password and it is far too long to crack, gMSA-backed services are effectively immune to kerberoasting.

Is kerberoasting still a threat in 2026?

Yes. It remains one of the most common Active Directory attacks because many organizations still run service accounts with weak, non-expiring passwords and RC4 encryption. MITRE ATT&CK still tracks it as T1558.003, and Microsoft published fresh mitigation guidance in October 2024.

What tools are used for kerberoasting?

Common tools include Impacket's GetUserSPNs, Rubeus, PowerSploit's Invoke-Kerberoast, and hashcat for the offline cracking step. Security teams use the same tools in authorized penetration tests to find weak service accounts before attackers do.

Sources

  1. MITRE ATT&CK — Steal or Forge Kerberos Tickets: Kerberoasting (T1558.003)
  2. Microsoft Security Blog — Microsoft's guidance to help mitigate Kerberoasting
  3. NCC Group — Defending Your Directory: An Expert Guide to Combating Kerberoasting in Active Directory
  4. CyberDefenders — What Is Kerberoasting?
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against MITRE ATT&CK T1558.003, Microsoft's October 2024 Kerberoasting mitigation guidance, and NCC Group's Active Directory defense research.

How we write and fact-check →

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free