Skip to content
yaklang avatar

Subdomain Takeover

Subdomain takeover detection and exploitation playbook covering dangling CNAME, NS, and MX records across major cloud providers.

CCM score
68 of 100
skills.sh installs
4K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers CNAME, NS, and MX takeover paths, with fingerprint matching for AWS S3, GitHub Pages, Heroku, Azure, Shopify, and about a dozen other providers
  • Includes claim procedures for S3, GitHub Pages, and Heroku, plus a decision tree and a wildcard DNS risk check
  • Enforces a verification step where takeover is confirmed only after the claimed resource is shown to be unclaimed and claimable
  • Designed for penetration testers and bug bounty researchers assessing domains with dangling records under a target's trusted origin

Install

$ npx -y skills add yaklang/hack-skills --skill subdomain-takeover -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SKILL: Subdomain Takeover — Detection & Exploitation Playbook

AI LOAD INSTRUCTION: Covers CNAME/NS/MX takeover, per-provider fingerprint matching, claim procedures, and defensive monitoring. Base models often confuse "CNAME exists" with "takeover possible" — the key is whether the resource behind the CNAME is unclaimed and claimable.

0. RELATED ROUTING


1. CORE CONCEPT

Subdomain takeover occurs when:

Details

Repository
github.com/yaklang/hack-skills
Category
Security
First seen
Jun 3, 2026

More from yaklang/hack-skills

All 102

Similar to Subdomain Takeover

More Security