Skip to main content

Detecting AD Credential Attacks

Detect Kerberoasting, AS-REP Roasting, LSASS dumping, DCSync, and NTDS.dit extraction in Splunk.

Task 1: Introduction

Task 2: Detecting Kerberoasting

Task 3: Detecting AS-REP Roasting

Task 4: Detecting LSASS Credential Dumping

Task 5: Detecting DCSync

Task 6: Detecting NTDS.dit Extraction

Task 7: Investigation Challenge

Task 8: Conclusion

Back to all walkthroughs
Room Icon

Detecting AD Credential Attacks

Max room.

Detect Kerberoasting, AS-REP Roasting, LSASS dumping, DCSync, and NTDS.dit extraction in Splunk.

medium

90 min

2,891

User profile photo.
User profile photo.

To access material, start machines and answer questions login.

In August 2024, The Report documented a BlackSuit ransomware intrusion where the attackers used to Kerberoast service accounts, ran AS-REP Roasting, and dumped credentials from memory, all within a single intrusion. In a separate BlackSuit case investigated by ReliaQuest in April 2024, the attackers compromised over 20 accounts through Kerberoasting, including a domain administrator. The techniques they used were not exotic or novel. They are the same credential attacks that show up in incident after incident, and they are detectable if you know what to look for.

This room covers five techniques that bridge the gap between "attacker has a foothold" and "attacker owns the domain."

  • Kerberoasting abuses service tickets to crack service account passwords offline.
  • AS-REP Roasting abuses accounts with preauthentication disabled to crack their passwords offline.
  • LSASS dumping extracts credentials directly from memory.
  • impersonates a domain controller to pull every password hash in the directory.
  • extraction copies the database file directly from the domain controller's disk.

These aren't the only ways attackers get credentials (a passwords.xlsx sitting on a network share is still a real attack vector), but they're the five that abuse AD's authentication and replication infrastructure directly. Each targets a different part of that infrastructure, requires a different level of privilege, and leaves distinct artifacts in different log sources.

Learning Objectives

  • Detect Kerberoasting through anomalous requests with encryption
  • Identify AS-REP Roasting by recognizing requests for accounts with preauthentication disabled
  • Detect LSASS credential dumping through suspicious process access patterns
  • Identify DCSync attacks through unauthorized AD replication requests
  • Detect NTDS.dit extraction through process creation and file write events on domain controllers
  • Correlate credential access artifacts across host and domain controller logs to trace an attacker's escalation path

Prerequisites

  • Active Directory basics: Core AD concepts like domains, users, groups, OUs, and how Kerberos/ authentication works (Active Directory Basics room)
  • Windows logging: Windows Event Log structure, Security log channels, and key Event (Windows Logging for room)
  • Active Directory monitoring: Kerberos authentication flows, TGT/TGS ticket concepts, Event IDs 4768 and 4769 (Monitoring Active Directory room)
  • basics: queries, filtering, stats commands (Splunk: Exploring SPL room)

Start the machine by clicking the Start Lab Machine button below. Give the Splunk instance about 4-5 minutes to launch, then access it using the link below. Feel free to continue reading the next tasks while it boots:

Note: Each task uses its own Splunk index: index=task2 for Task 2, index=task3 for Task 3, and so on. Use the index that matches the task you're working on. The logs in this lab are from March 2026, so set the time picker (to the right of the search bar) to All time. The link above opens Splunk with All time already set, but if you open Splunk another way, it starts on Last 24 hours and every search returns 0 results.

Set up your virtual environment

To successfully complete this room, you'll need to set up your virtual environment. This involves starting the Lab Machine, ensuring you're equipped with the necessary tools and access to tackle the challenges ahead.
Lab machine
Status:Off
Answer the questions below

I have successfully started my Splunk instance.