AS-REP Roasting: How One Kerberos Setting Moves Password Cracking Outside the Domain
In Active Directory, a single user account with Kerberos pre-authentication disabled is enough for a penetration tester to obtain material that can be used to crack the account password outside the domain. The domain controller does not reveal the password or grant immediate access. Instead, it returns an AS-REP response suitable for offline password guessing. Therefore, AS-REP Roasting should be viewed as a chain: locating the dangerous setting, querying the KDC, cracking the password, and verifying the user’s actual rights.
Similar logic can be practiced in Active Directory penetration testing materials that include theory, a worked example on a test domain, and five hands-on lab tasks.
Why Kerberos Requires Pre-authentication
Normal Kerberos authentication begins with an AS-REQ sent to the Key Distribution Center (KDC). The client requests a Ticket Granting Ticket (TGT) that will later be used to obtain service tickets. Before issuing a response, the domain controller must verify that the client knows the account’s secret.
Pre-authentication solves this requirement. The client proves possession of a key derived from the user password. Only after this check does the KDC generate an AS-REP containing the data needed for further Kerberos operations.
For an individual account, this check can be disabled. Once disabled, the KDC no longer requires proof of key knowledge before returning a response. This creates the condition for AS-REP Roasting. An attacker does not need to know the target user’s password in advance. It is sufficient to know the username and request a TGT. When pre-authentication is disabled, the controller returns an AS-REP without the usual verification step.
It is important to define the exact risk boundary. Disabled pre-authentication does not mean the password is already exposed. It merely creates an opportunity to obtain data for offline verification. The final outcome depends on password strength and the attacker’s available resources.
The Attack Begins Before Hashcat
The first practical question is not which tool to use for cracking, but which accounts meet the attack conditions. In Active Directory, user properties are stored in the directory. Some of these properties appear as flags in the userAccountControl attribute.
If a tester already possesses a standard domain account, an LDAP query can locate active users that have the ADS_UF_DONT_REQUIRE_PREAUTH flag set. It is useful to exclude computer accounts and disabled accounts. The result is a focused list rather than a full directory dump.
The process is automated by GetNPUsers from the Impacket suite. The tool is convenient, yet it performs two distinct operations: searching for suitable users via LDAP and requesting an AS-REP for each discovered account.
If the tool fails, the problematic stage must be identified: LDAP may have been unreachable, the target account may have lacked the required flag, or the KDC may have enforced pre-authentication. Understanding the request allows more precise work and reduces unnecessary traffic.
An initial domain account is not always required. If usernames are already known or suspected, they can be supplied to GetNPUsers as a list and checked directly via Kerberos.
What Happens Between AS-REQ and AS-REP
After locating a suitable account, the tester sends an AS-REQ. For the chosen account the KDC does not require pre-authentication. The resulting AS-REP contains an encrypted portion protected by a key derived from the user password. A penetration tester can compute keys for candidate passwords and test them against the captured AS-REP offline.
The domain controller is no longer involved in each guess. After issuing the AS-REP, password verification moves entirely to the tester’s system.
Why Offline Cracking Changes the Risk Level
During normal login attempts every password guess is sent to the target system and may be logged or trigger account lockout. After obtaining an AS-REP, all guesses occur locally. The domain controller never sees the attempts, and account lockout policies do not apply.
The captured data can be saved to a file and passed to Hashcat together with a wordlist. If the password exists in the list, the tool recovers it. A strong password absent from the tested dictionary will not be revealed.
Three possible outcomes exist: no suitable accounts found, an AS-REP obtained but password not recovered, or password recovered and access rights confirmed.
One Recovered Password Does Not Equal Domain Compromise
Successful use of Hashcat only completes the credential-recovery stage. The tester must still determine where the account can authenticate, which hosts it can reach, and which operations it is permitted to perform. Recovered credentials can be tested with Evil-WinRM when WinRM is enabled and the account possesses the necessary rights.
Verification should proceed sequentially: confirm the password matches the account, map accessible hosts and services, select an allowed verification method, establish the access context, record the actual permitted actions, and only then evaluate lateral movement or privilege escalation potential.
AS-REP Roasting and Kerberoasting Solve Different Problems
Both techniques end with offline password verification, yet their targets differ. AS-REP Roasting targets user accounts that have pre-authentication disabled. Kerberoasting targets service accounts that possess Service Principal Names (SPNs). Reconnaissance therefore differs: the former searches for the pre-authentication flag, while the latter searches for SPNs.
What a Penetration Test Report Should Contain
A report must reproduce the attack logic rather than consist of screenshots. Evidence should document the account with disabled pre-authentication, the method used to discover the setting, the fact that an AS-REP was obtained without pre-authentication, the format of data passed to offline cracking, the cracking result and wordlist type, the system on which verification occurred, and the actual rights obtained after authentication.
The primary takeaway is that AS-REP Roasting succeeds because of predictable Kerberos behavior triggered by a specific account configuration, not because of any secret tool.
Related articles
Misconfiguration in Azure API Management Exposes Corporate Credentials in Classic Tiers
Microsoft identified a security flaw in Azure API Management on November 18 that allowed unauthorized access to management functions when instances were not configured according to documented best practices. The issue affected only classic tiers, leaving v2 instances unaffected, and was closed the following day. Exposed data included Named Values secrets, client secrets for identity providers and OpenID Connect, signing keys, and direct management API tokens. Norway’s NSM reported active targeting of these credentials and notified affected Norwegian energy companies including Equinor and Skagerak Energi. Researcher Anders Kristiansen noted that stolen credentials could be used directly against protected backend services depending on their permissions. On November 21 Microsoft published guidance urging customers to rotate all exposed secrets and review configurations against best practices.
Attackers Exploit Critical Fail2Install Vulnerability in Drupal Core
Cybercriminals have begun actively exploiting the critical Fail2Install vulnerability (CVE-2026-132165) in the Drupal content management system core. The flaw carries a CVSS score of 9.8 and can allow attackers to seize control of live websites or execute arbitrary code remotely without authentication under certain conditions. CISA has added the issue to its Known Exploited Vulnerabilities catalog, mandating that U.S. federal agencies apply patches by November 27, 2026. Researchers at Searchlight Cyber determined that the problem arises from error handling during database connection failures, which can cause Drupal to incorrectly treat an operational site as uninstalled and restart the installation process. This bypasses security boundaries between public components and administrative functions, potentially enabling arbitrary PHP code execution. The vulnerability impacts Drupal versions 8.9, 9, 10, and 11 when paired with Apache or PHP-FPM and MySQL or PostgreSQL databases. It marks the third actively exploited Drupal flaw in 2026, following CVE-2026-9082 and CVE-2026-118539.
Critical Drupal Vulnerabilities Enable Unauthenticated Site Takeover and Remote Code Execution
Drupal has disclosed two severe vulnerabilities that allow attackers to hijack websites without authentication. The issues, tracked as CVE-2026-132165 and CVE-2026-132166, were addressed in security updates released on November 18, 2026. CVE-2026-132165 was discovered by Anthropic's open-source vulnerability detection tool and rated Highly critical. Exploitation attempts were reported the following day. The flaws originate in the installer component, permitting remote code execution and full site compromise under specific conditions. While certain server configurations can partially mitigate some attack paths, they do not block all vectors.
macOS Recovery Mode Keyboard Layout Bug Locks Out User After Failed Password Attempts
A macOS user attempting to free disk space encountered repeated password failures in Recovery Mode that triggered temporary account lockouts. The root cause was an unexpected switch to British keyboard layout, which remapped one password character to the pound symbol £. FileVault-protected APFS volumes required manual unlocking via diskutil after the system blocked standard login. Multiple lockout timers of 339 and 900 seconds appeared during attempts to reset the password or unlock volumes. The user eventually copied the correct password from the terminal and used stdinpassphrase to mount the volume. Apple’s throttling mechanism provided no visible countdown outside the terminal and did not release after twelve hours. The incident highlighted design choices in emergency recovery flows, keyboard handling, and progressive lockout policies on macOS.