subdomain-takeover

Installation
SKILL.md

子域名接管检测与利用方法论


1. 核心概念

子域名接管发生在:

  1. sub.target.com 有 DNS 记录(CNAME/NS/A)指向外部服务
  2. 该外部资源已被删除/停用(删除的 S3 bucket、移除的 Heroku app 等)
  3. 攻击者可以在该供应商上注册/认领同名资源
  4. 攻击者控制 sub.target.com 下的内容

影响:cookie 窃取(父域 cookie)、OAuth token 拦截、可信域名钓鱼、CORS 绕过、CSP 绕过。


2. 检测方法论

Installs
16
GitHub Stars
1.8K
First Seen
Apr 22, 2026
subdomain-takeover — wgpsec/aboutsecurity