Skip to main content

Kerberoasting and AS-REP Roasting Detection

Detect and investigate the two attacks that ask Kerberos for a crackable password hash, and get one.

Task 1: Introduction

Task 2: Kerberoasting and AS-REP Roasting from an Adversary Perspective

Task 3: Audit Settings and Log Visibility

Task 4: Kerberoasting Detection

Task 5: AS-REP Roasting Detection

Task 6: Hands-On Investigation

Task 7: Containment, Prevention and Mitigation

Task 8: Conclusion

Back to all walkthroughs
Room Icon

Kerberoasting and AS-REP Roasting Detection

Max room.

Detect and investigate the two attacks that ask Kerberos for a crackable password hash, and get one.

hard

90 min

30

User profile photo.
User profile photo.

To access material, start machines and answer questions login.

Kerberoasting asks for a service ticket for an account whose password a person chose. AS-REP Roasting asks for a login reply for an account that has its password check switched off. In both cases the reply is locked with that account's password, so the attacker can take it away and guess the password offline. Neither is an exploit. Both are answering a question it was designed to answer.

You will investigate an intrusion at LunarBank, a fictional financial institution, starting from an alert on an unusual service ticket request. Everything here is defensive. You will read domain controller logs, work through an Active Directory export, and investigate a second incident from domain controller and workstation evidence, but you will not run either attack.

Learning objectives

After completing this room, you will be able to:

  • Explain how Kerberoasting and AS-REP Roasting extract crackable credentials from Kerberos, and what each one requires of the attacker beforehand.
  • Verify whether a domain records this evidence at all, including the audit subcategories and the domain controller patch level that Kerberoasting detection depends on.
  • Build a roastable account baseline, and use it to separate a Kerberoasting encryption downgrade from a legacy service that only ever spoke .
  • Detect AS-REP Roasting from a single field in Event 4768, and recognize the account enumeration that runs ahead of it.
  • Investigate a quiet roasting incident from domain controller and workstation evidence to establish which credentials were exposed, which one was cracked, and what allowed it.
  • Contain and remediate roasted service accounts, and apply controls that shrink the target set rather than chase the attacker.

Prerequisites

Before starting, you should be comfortable with:

  • Kerberos authentication and ticket structure (Kerberos Tickets room)
  • Active Directory fundamentals, particularly user objects and their attributes
  • Windows event log analysis

Optional supporting material, not required for this room: to watch these techniques performed hands-on from the attacker's side, see the Kerberoasting and AS-REP Roasting room.

Answer the questions below

Read the above and click Check.