dns-rebinding-attacks

Perform client-side DNS rebinding attacks from a victim browser to access internal services.

241|28|Updated May 20, 2026
One-click install
npx skills add https://github.com/ok-helloworld/vibe-pentest --skill dns-rebinding-attacks-ok-helloworld
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dns-rebinding-attacks
Source: https://github.com/ok-helloworld/vibe-pentest/tree/main/references/pentest_skills/dns-rebinding-attacks
Command: npx skills add https://github.com/ok-helloworld/vibe-pentest --skill dns-rebinding-attacks-ok-helloworld

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

DNS rebinding helps security testers bypass overly simplistic origin trust by manipulating how a victim’s browser resolves a hostname, enabling access to internal services from the same-origin context.

Core Features & Use Cases

  • TTL and DNS cache tactics: Guides how to design rebinding behavior that survives browser DNS caching realities (e.g., timing, subdomains, multi-A fallback).
  • Multiple attack variants: Covers classic HTTP rebinding, WebSocket rebinding, and hybrid TOCTOU-style scenarios where server-side DNS behavior is involved.
  • Target-focused exploitation mapping: Provides high-value internal endpoints to prioritize (metadata services, Docker/Kubernetes APIs, admin panels, common data stores) and how to escalate safely in a test context.

Quick Start

Ask the AI to produce a DNS rebinding plan for a chosen internal target by specifying the target hostname/ports, the attacker-controlled domain setup, the browser timing strategy, and the safest validation steps.

Frequently Asked Questions about dns-rebinding-attacks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does DNS rebinding bypass same-origin policy to access internal services?▼

DNS rebinding bypasses same-origin policy by manipulating a victim browser's hostname resolution, allowing client-side access to internal services that rely on DNS resolution rather than fixed IP trust.

How do I handle browser DNS cache timing during a rebinding attack?▼

To handle browser DNS cache timing during a rebinding attack, you must design TTL and cache-aware execution strategies using subdomains, multi-A fallback records, and precise timing to ensure the rebinding behavior survives browser caching realities.

Can I use WebSocket rebinding for internal service testing?▼

Yes, WebSocket rebinding is supported for internal service testing, applying to assessments where origin checks validate WebSocket connections alongside classic HTTP rebinding and hybrid TOCTOU-style scenarios involving server-side DNS behavior.

What internal endpoints should I target when testing DNS rebinding exploitation?▼

When testing DNS rebinding exploitation, prioritize high-value internal endpoints including metadata services, Docker and Kubernetes APIs, admin panels, and common data stores, mapping them to escalate safely within the test context.

Do I need authoritative DNS infrastructure to perform a browser pivot attack?▼

Yes, you need authoritative DNS rebinding infrastructure to perform a browser pivot attack, as it provides the controlled domain setup necessary to execute browser-cache-aware timing and same-origin proof steps for the assessment.

What is a TOCTOU-like hybrid validation case in DNS rebinding?▼

A TOCTOU-like hybrid validation case in DNS rebinding involves scenarios where server-side DNS behavior creates a time-of-check to time-of-use discrepancy, allowing testers to exploit validation timing gaps alongside traditional client-side browser pivoting techniques.