MITRE ATT&CK / Techniques / T1558.004

Steal or Forge Kerberos Tickets: AS-REP Roasting

ID
T1558.004
Tactics
TA0006 Credential Access
Sub-technique of
T1558 Steal or Forge Kerberos Tickets
Platforms
Windows
Data sources
Active Directory Credential Request, Process Creation
Source
attack.mitre.org
MITRE last modified
25 Oct 2025

Adversaries may reveal credentials of accounts that have disabled Kerberos preauthentication by Password Cracking Kerberos messages.[4]

Preauthentication offers protection against offline Password Cracking. When enabled, a user requesting access to a resource initiates communication with the Domain Controller (DC) by sending an Authentication Server Request (AS-REQ) message with a timestamp that is encrypted with the hash of their password. If and only if the DC is able to successfully decrypt the timestamp with the hash of the user’s password, it will then send an Authentication Server Response (AS-REP) message that contains the Ticket Granting Ticket (TGT) to the user. Part of the AS-REP message is signed with the user’s password.[5]

For each account found without preauthentication, an adversary may send an AS-REQ message without the encrypted timestamp and receive an AS-REP message with TGT data which may be encrypted with an insecure algorithm such as RC4. The recovered encrypted data may be vulnerable to offline Password Cracking attacks similarly to Kerberoasting and expose plaintext credentials. [4][3]

An account registered to a domain, with or without special privileges, can be abused to list all domain accounts that have preauthentication disabled by utilizing Windows tools like PowerShell with an LDAP filter. Alternatively, the adversary may send an AS-REQ message for each user. If the DC responds without errors, the account does not require preauthentication and the AS-REP message will already contain the encrypted data. [4][3]

Cracked hashes may enable Persistence, Privilege Escalation, and Lateral Movement via access to Valid Accounts.[6]

Detection

Mitigations (3)

M1027 Password Policies

Ensure strong password length (ideally 25+ characters) and complexity for service accounts and that these passwords periodically expire. Also consider using Group Managed Service Accounts or another third party product such as password vaulting. [1]

M1041 Encrypt Sensitive Information

Enable AES Kerberos encryption (or another stronger encryption algorithm), rather than RC4, where possible.[1]

M1047 Audit

Kerberos preauthentication is enabled by default. Older protocols might not support preauthentication therefore it is possible to have this setting disabled. Make sure that all accounts have preauthentication whenever possible and audit changes to setting. Windows tools such as PowerShell may be used to easily find which accounts have preauthentication disabled. [2][3]

Software (1)

References

  1. AdSecurity Cracking Kerberos Dec 2015
  2. Microsoft Preauthentication Jul 2012
  3. Stealthbits Cracking AS-REP Roasting Jun 2019
  4. Harmj0y Roasting AS-REPs Jan 2017
  5. Microsoft Kerberos Preauth 2014
  6. SANS Attacking Kerberos Nov 2014