Chuyển đến nội dung
Skillpedia
Kiểm thử35k · #8251

performing-kerberoasting-attack

Skill này làm gì

Công cụ này giúp tìm mật khẩu yếu của các tài khoản dịch vụ trong mạng doanh nghiệp. Nó tìm các tài khoản đang chạy dịch vụ, cố lấy các “ticket” truy cập cho chúng, rồi thử đoán mật khẩu của các ticket này.

Khi nào nên dùng

  • ✓Khi kiểm tra bảo mật mạng doanh nghiệp có sự cho phép.
  • ✓Khi cần kiểm tra xem các tài khoản dịch vụ có thể bị xâm phạm không.
  • ✓Khi thực hiện như một phần của đợt kiểm toán bảo mật theo lịch.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-kerberoasting-attack/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-kerberoasting-attack/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thực hiện tấn công Kerberoasting để tìm mật khẩu tài khoản dịch vụ yếu.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ trước tiên tìm các tài khoản có “Service Principal Names” (SPN). Sau đó nó yêu cầu các “ticket” xác thực cho những tài khoản này và thử bẻ khóa mật khẩu của ticket ngoài mạng.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Performing Kerberoasting Attack

Legal Notice: This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.

Overview

Kerberoasting is a post-exploitation technique that targets service accounts in Active Directory by requesting Kerberos TGS (Ticket Granting Service) tickets for accounts with Service Principal Names (SPNs) set. These tickets are encrypted with the service account's NTLM hash, allowing offline brute-force cracking without generating failed login events. It is one of the most common privilege escalation paths in AD environments because any domain user can request TGS tickets.

When to Use

  • When conducting security assessments that involve performing kerberoasting attack
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Familiarity with red teaming concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

MITRE ATT&CK Mapping

  • T1558.003 - Steal or Forge Kerberos Tickets: Kerberoasting
  • T1087.002 - Account Discovery: Domain Account
  • T1069.002 - Permission Groups Discovery: Domain Groups

Workflow

Phase 1: SPN Enumeration

  1. Enumerate accounts with SPNs using LDAP queries
  2. Filter for user accounts (not computer accounts)
  3. Identify accounts with elevated privileges (adminCount=1)
  4. Prioritize accounts with weak password policies

Phase 2: TGS Ticket Request

  1. Request TGS tickets for identified SPN accounts
  2. Extract ticket data in crackable format (hashcat/john compatible)
  3. Ensure RC4 encryption is requested when possible (easier to crack)
  4. Document all requested tickets

Phase 3: Offline Cracking

  1. Use hashcat mode 13100 (Kerberos 5 TGS-REP etype 23) for RC4 tickets
  2. Use hashcat mode 19700 (Kerberos 5 TGS-REP etype 17) for AES-128
  3. Use hashcat mode 19800 (Kerberos 5 TGS-REP etype 18) for AES-256
  4. Apply targeted wordlists and rules based on password policy

Phase 4: Credential Validation

  1. Validate cracked credentials against domain
  2. Assess access level of compromised accounts
  3. Map accounts to BloodHound attack paths
  4. Document for engagement report

Tools and Resources

Tool Purpose Platform
Rubeus Kerberoasting and ticket manipulation Windows (.NET)
Impacket GetUserSPNs.py Remote Kerberoasting Linux/Python
PowerView SPN enumeration Windows (PowerShell)
hashcat Offline password cracking Cross-platform
John the Ripper Offline password cracking Cross-platform

Detection Indicators

  • Event ID 4769: Kerberos Service Ticket Request with RC4 encryption (0x17)
  • Anomalous TGS requests from a single account in short timeframe
  • TGS requests for services the user normally does not access
  • Honeypot SPN accounts with alerting on ticket requests

Validation Criteria

  • SPN accounts enumerated and documented
  • TGS tickets extracted in crackable format
  • Offline cracking attempted with appropriate wordlists
  • Cracked credentials validated
  • Access level of compromised accounts assessed
Câu hỏi thường gặp

Kerberoasting là gì?

Đó là kỹ thuật dùng trong kiểm thử bảo mật để cố phát hiện mật khẩu của các tài khoản đang chạy dịch vụ trên mạng.

Tôi có cần sự cho phép để dùng không?

Có, bạn chỉ nên dùng công cụ này trên hệ thống mà bạn có sự cho phép rõ ràng để kiểm thử. Dùng khi không được phép là vi phạm pháp luật.

SPN là gì?

SPN (Service Principal Name) là mã định danh duy nhất cho các phiên bản dịch vụ trong mạng. Tài khoản chạy dịch vụ thường được gắn với các SPN.

Chi tiết

Mô tả gốc của tác giả

Perform Kerberoasting, a post-exploitation technique that enumerates Active Directory service accounts with Service Principal Names (SPNs), requests their Kerberos TGS tickets, and cracks the NTLM-encrypted tickets offline to recover service account credentials. Use during authorized red team engagements or penetration tests to assess AD privilege escalation and credential access risk from weak se

repo: mukul975/Anthropic-Cybersecurity-Skills

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8251
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự