exploiting-kerberoasting-with-impacket
Audited by Socket on Apr 6, 2026
3 alerts found:
AnomalySecurityx2This document is an instructional guide describing Kerberoasting techniques and commands for extracting Kerberos TGS hashes and cracking them offline. It contains dual-use offensive guidance: not malicious code itself, but it facilitates credential theft and unauthorized access when executed by an attacker. Use of the described commands and passing credentials on the command line pose operational security risks. Defenders should monitor EventID 4769 and apply recommended mitigations (gMSA, strong passwords, disable RC4) to reduce risk.
This module is an attack-enabling Kerberoasting automation CLI: it enumerates SPNs, requests Kerberos TGS tickets using Impacket (GetUserSPNs.py), and can optionally crack the resulting hashes with hashcat, outputting results to JSON. While there is no clear stealth or network exfiltration code in the snippet, it uses plaintext credentials in subprocess arguments (credential leakage via process listings/logs) and executes external tools by name from the environment (execution-integrity risk). Treat as high security risk for inclusion in production or as a dependency unless tightly controlled for authorized testing only.
SUSPICIOUS: the skill’s capabilities are coherent with its stated red-team purpose, but that purpose is to automate offensive credential-access and post-exploitation techniques. Install trust is mostly normal, yet the overall skill is high risk because it equips an AI agent to steal/crack credentials and perform lateral movement in Active Directory.