4 Dec 2026Security news updated around the clock

Kerberoasting

Kerberoasting is an Active Directory attack that requests Kerberos service tickets and cracks them offline to recover service account passwords.

Identity & Zero TrustIntermediateUpdated

What is Kerberoasting?

Kerberoasting is an attack on Active Directory in which any logged-in domain user requests Kerberos service tickets for accounts that run services, takes those tickets offline, and cracks them to recover the service account passwords. No administrator rights are needed, and the cracking happens on the attacker's own hardware, so failed guesses never reach the domain.

The business risk comes from the accounts it targets. Service accounts often run databases, backups, and business applications, they frequently hold broad rights, and their passwords are rarely changed because nobody wants to break a production system. One phished laptop can turn into control of a database server, and sometimes the whole domain, within hours.

Leaders should care because the defense is mostly configuration. Long random passwords, managed service accounts, and removing old encryption types close most of the gap at low cost. A clean result here is also a fair test of how well the identity team manages the accounts that nobody logs into by hand.

How Kerberoasting works

  1. The attacker gets any valid domain account, for example through phishing or a password reused from another breach.
  2. They query Active Directory over LDAP for user accounts that have a Service Principal Name (SPN) set. An SPN tells Kerberos which account runs a given service.
  3. For each SPN, they ask a domain controller for a service ticket. The domain controller issues it to any authenticated user, because deciding who may use the service is the service's job.
  4. Part of every service ticket is encrypted with a key derived from the service account's password. When the old RC4 cipher is allowed, that key is the account's NT hash.
  5. The attacker saves the tickets and runs a password cracker against them offline. Nothing on the network sees the guesses, and account lockout never triggers.
  6. With a cracked password, they log in as the service account and keep moving.
flowchart TD
  A["Any domain user"] --> B["LDAP query for accounts with SPNs"]
  B --> C["Request service ticket from domain controller"]
  C --> D["Ticket encrypted with service account key"]
  D --> E["Offline cracking with Hashcat"]
  E --> F["Service account password recovered"]
  F --> G["Access to servers the account controls"]

Under the hood

The protocol detail it abuses

In the Kerberos TGS exchange, the client sends a TGS-REQ for a service and gets back a TGS-REP. The ticket inside that reply has an encrypted part that only the service can open, because it uses the service account's long-term key. Kerberoasting simply takes that encrypted part home.

The encryption type decides how hard the cracking is. RC4-HMAC (etype 23, shown as 0x17 in Windows logs) uses the NT hash directly, which is fast to attack. AES128 and AES256 (etypes 17 and 18) derive the key through PBKDF2 with a salt and 4,096 iterations, which slows cracking a lot but does not stop it when the password is short or common. Attackers request RC4 on purpose whenever an account's msDS-SupportedEncryptionTypes still allows it.

How testers run it

# Example only, for authorized testing: list SPN accounts and request tickets
GetUserSPNs.py corp.local/jdoe -dc-ip 10.0.0.10 -request

# LDAP filter for user accounts that have an SPN
(&(samAccountType=805306368)(servicePrincipalName=*))

Rubeus and PowerView offer the same function on Windows. Hashcat mode 13100 cracks RC4 tickets, and modes 19600 and 19700 handle AES128 and AES256.

What it leaves behind

Domain controllers log Event ID 4769 ("A Kerberos service ticket was requested") for every ticket. The useful fields are the account that asked, the service name, and the ticket encryption type. Watch for:

  • many 4769 events from one account in a short window, covering SPNs that account has never used
  • encryption type 0x17 for user-based service accounts in a domain that mostly uses AES
  • service names that are user accounts rather than computer accounts, which end in $

On the network, Zeek's kerberos.log records each TGS request with the client, the service, and the cipher, so an NDR sensor on domain controller traffic can spot the same burst of RC4 requests without relying on Windows logging.

Framework mapping

ATT&CK lists this as sub-technique T1558.003 under Steal or Forge Kerberos Tickets, in the Credential Access tactic.

Common attack scenarios

  • A contractor's laptop at a manufacturing firm is infected through a fake invoice. The intruder Kerberoasts the domain and cracks the SQL Server service account in under an hour because its password was set years ago and never changed.
  • A red team on an internal test finds a backup service account with an SPN that is also a member of Domain Admins. Cracking that one ticket gives them the entire domain.
  • A university has disabled RC4 everywhere except for one legacy application account. The attacker requests an RC4 ticket for that account only, and the SOC catches it because that request is the only 0x17 event of the week.

Framework mappings

Latest real-world attacks using this technique

News stories tagged with Kerberoasting. This list updates on its own while the page is open.

    No news stories are tagged with this topic yet.

    Prevention, hardening and detection

    Prevention and hardening

    • Move service accounts to Group Managed Service Accounts (gMSA) wherever the application supports them. Windows sets and rotates a long random password, so there is nothing practical to crack.
    • For service accounts that must stay as normal users, set random passwords of at least 25 characters and rotate them on a schedule.
    • Allow only AES for service accounts by setting msDS-SupportedEncryptionTypes, then work toward removing RC4 across the domain.
    • Remove SPNs that no longer point to a running service, and never set SPNs on privileged accounts.
    • Keep service accounts out of Domain Admins and other high-privilege groups. Give each one only the rights its service needs.
    • Run the attack yourself every quarter in a controlled test and fix every ticket you can crack.

    Detection

    Data sourceWhat to look forExample
    Domain controller Security logEvent 4769 bursts from one account across many SPNs60 service ticket requests in 2 minutes from jdoe
    Domain controller Security logEvent 4769 with encryption type 0x17 for user service accountsRC4 ticket for svc_sql in an AES domain
    Zeek kerberos.log on DC trafficTGS requests with rc4-hmac cipher from a workstationOne host requesting tickets for 40 services
    Decoy accountAny ticket request for a fake SPN account nobody uses4769 for svc_backup_legacy

    The decoy is the cheapest high-value control. Create a user account with an SPN and a long password, use it nowhere, and alert on any 4769 event that names it. Legitimate systems never ask for it, so false positives are close to zero.

    Frequently asked questions

    Does Kerberoasting need admin rights?

    No. Any authenticated domain user can request service tickets. That is why it often appears early in an intrusion, right after the attacker gets a first set of credentials.

    Does disabling RC4 stop Kerberoasting?

    It removes the fastest cracking path and makes any RC4 request stand out. AES tickets can still be cracked when the password is weak, so long random passwords or managed service accounts are the lasting fix.

    How is Kerberoasting different from AS-REP Roasting?

    Kerberoasting targets service tickets for accounts with SPNs and needs a valid login. AS-REP Roasting targets accounts with Kerberos pre-authentication turned off, which can give crackable material without any credentials.

    What is the fastest way for a SOC to detect it?

    Create a decoy service account with an SPN and alert on any service ticket request for it. No real system uses that account, so an alert almost always means someone is enumerating and requesting tickets.

    References and further reading