New Attack Paths? AS Requested Service Tickets
The researcher found that Active Directory domain controllers accept AS-REQ messages that request a service ticket for an arbitrary service principal name, rather than only a TGT. This allows an attacker to Kerberoast without any credentials if a service account does not require pre-authentication, and to bypass detections that rely on 4769 events.
Published on semperis.com
While helping Andrew Schwartz with his Kerberos FAST post (which has more information about what FAST is and how it works, so have a read), I noticed something interesting. AS-REQs for machine accounts are unarmored.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the domain controller does not restrict the service name in an AS-REQ to krbtgt or kadmin/changepw, so it issues a service ticket for any requested SPN.
Impact
An attacker without any credentials could Kerberoast service accounts that do not require pre-authentication, and requests made this way bypass detections based on 4769 events because they are logged as 4768 events instead.
What the attacker needed
A service account without pre-authentication; network access to the domain controller; a list of candidate usernames
How it was found
- Generate a list of potential usernames, for example via a null session RID cycling or OSINT.
- Send an AS-REQ without pre-authentication for each username to find accounts that do not require pre-authentication.
- For a discovered account, send an AS-REQ with the target service's SPN in the sname field to obtain a service ticket.
- Extract the encrypted part of the service ticket and crack it offline to recover the service account's password or hash.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Kerberos is the system Windows networks use to prove who you are and get access to services. Normally you first get a ticket that proves your identity, then use it to ask for a ticket to a specific service. The researcher found you can skip the first step and ask directly for a service ticket, which lets an attacker grab a crackable piece of that ticket without even logging in, if a service account is set up in a certain weak way.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.