Securitylab•November 25, 2026•🇷🇺Translated from Russian

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

BoletimSec•Vulnerabilities & Exploits

Cybercriminals Exploit Drupal Installer Flaw CVE-2026-136716 to Hijack Sites Without Authentication

Cybercriminals are actively exploiting a critical flaw in the Drupal core installer that allows unauthenticated attackers to fully compromise websites. The Drupal security team confirmed the attacks on November 25, 2026, and released patches for all supported core branches. The vulnerability, tracked as CVE-2026-136716, affects sites where the installer remains publicly accessible, including production instances that had applied earlier fixes. Successful exploitation grants complete control over the site, exposing private data and enabling modification or deletion of content. The issue follows a related November 18 advisory covering CVE-2026-132165, which was added to the CISA Known Exploited Vulnerabilities catalog. Administrators must run update.php after applying the new patches, review access logs for signs of prior compromise on user account 1, and ensure install.php is properly restricted.

BoletimSec•Vulnerabilities & Exploits

Palo Alto Patches Kernel Flaw CVE-2026-46300 Chained with PHP2Shell for Root Access on Firewalls

Palo Alto Networks has released a fix for a Linux kernel vulnerability tracked as CVE-2026-46300, known as Fragnesia, that allows attackers with limited access to escalate to root on PAN-OS firewalls. The flaw was observed being exploited in attacks targeting internet-exposed management interfaces, often after first compromising the device via the PHP2Shell pair of PHP vulnerabilities disclosed in October. Palo Alto states that Fragnesia alone cannot open the firewall from the outside and requires prior exploitation of CVE-2026-109618 to reach root privileges. The company observed a suspected China-linked actor using the chain to compromise 24 firewalls and one internal management server. Unit 42 confirmed the findings and noted that only 0.02 percent of customer devices worldwide had exposed management interfaces, yet those devices control critical network traffic. Patches are available for PAN-OS versions 10.2, 11.1, 11.2, 12.1, and 12.2, while newer releases ship with the fix included.

安全客•Vulnerabilities & Exploits

AI Uncovers Critical Java Zero-Day CVE-2026-114938 in 3 Hours for Under $200

CISA issued an urgent advisory on November 24 directing agencies to immediately scan Java environments, prioritizing internet-facing systems, after the disclosure of CVE-2026-114938, nicknamed Java4Shell. The vulnerability is a memory corruption flaw in the OpenJDK Base64 decoder that can lead to JVM crashes, heap memory disclosure, and remote code execution under specific conditions. A security firm named Calif reported discovering the flaw and building the first working exploit in just three hours using AI, with token costs below $200. The issue affects systems with AVX-512 VBMI and BW instruction set support and has already been validated for pre-auth RCE on Keycloak, Atlassian Jira, Confluence, JFrog Artifactory, Jenkins, and PingFederate. Oracle included a fix in its November patch cycle, though exploitation requires heap layout manipulation and ASLR bypass. The discovery highlights how AI is dramatically lowering the cost and time required for vulnerability research across core infrastructure components.

Habr•Vulnerabilities & Exploits

Fake Radio Station Exposes Race Conditions and Insecure Design in Open-Source Flat-File PHP CMS

A developer released the first version of PIG-CMS, a decentralized flat-file CMS written in pure PHP that uses JSON files instead of databases and implements P2P messaging via cURL. An anonymous tester registered a station named Mukhomor SPb on a non-existent domain, triggering errors that revealed the registry accepted unverified nodes without DNS checks or handshakes. The incident prompted a full architectural review that uncovered five critical design flaws, including unprotected JSON write races, plaintext passwords in config.php, disabled SSL verification in cURL, raw IP storage in metrics, and IP-based brute-force bans that fail under NAT. Fixes involved atomic flock-protected read-modify-write functions, salted SHA-256 hashes stored outside executable files, strict certificate verification with graceful fallback, hashed visitor identifiers, and dynamic math captchas. The entire refactoring touched 15 core files and was released as v2026.2.