Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Web Security
  3. DNS Rebind Toolkit

DNS Rebind Toolkit

MITJavaScript

A frontend JavaScript framework for developing DNS rebinding exploits against vulnerable LAN devices and IoT products.

Visit WebsiteGitHubGitHub
502 stars84 forks0 contributors

What is DNS Rebind Toolkit?

DNS Rebind Toolkit is a JavaScript framework for creating and executing DNS rebinding attacks. It enables remote attackers to bypass router firewalls by using a victim's web browser as a proxy to access and exploit devices on a local network, such as IoT devices and services that would otherwise be unreachable from the internet.

Target Audience

Security researchers and penetration testers who need to demonstrate DNS rebinding vulnerabilities in controlled environments for educational or testing purposes.

Value Proposition

Developers choose this toolkit because it provides a modular API with pre-built payloads for popular IoT devices, automates IP discovery and payload delivery, and includes a working DNS server (whonow) to facilitate the attack, making it a comprehensive educational resource for understanding this specific vulnerability.

Overview

A front-end JavaScript toolkit for creating DNS rebinding attacks.

Use Cases

Best For

  • Demonstrating DNS rebinding vulnerabilities in IoT devices like Google Home, Roku, and Sonos speakers.
  • Educational labs for security researchers to learn about browser-based network attacks.
  • Penetration testing of local network services that are protected by firewall rules.
  • Automating the discovery and exploitation of devices on a victim's subnet via WebRTC IP leaks.
  • Building custom DNS rebinding payloads for specific network services using the provided modular API.
  • Exfiltrating data from vulnerable local services to a remote server for analysis in a controlled environment.

Not Ideal For

  • Organizations requiring legally compliant penetration testing tools with built-in safeguards.
  • Projects needing broad-spectrum vulnerability scanners that cover multiple attack vectors beyond DNS rebinding.
  • Environments where browser-based attacks are infeasible, such as server-side application security testing.

Pros & Cons

Pros

Pre-built IoT Payloads

Includes ready-to-use attack scripts for popular devices like Google Home and Roku, as shown in the payloads/ directory, saving development time.

Modular Attack API

Provides DNSRebindAttack and DNSRebindNode objects for custom exploit building, detailed in the API section with example code.

Automated IP Discovery

Uses WebRTC to leak the victim's local IP and infer the subnet, automating target selection as described in the attack flow.

Integrated DNS Server

Works with the whonow DNS server to execute rebinding attacks, facilitating the core exploit mechanism mentioned in the README.

Cons

Root Access Required

The server must run with sudo to bind to port 80, which poses security risks and complicates deployment in restricted environments.

Browser Inconsistency

WebRTC IP leaks fail in some browsers, as admitted in the README, reducing the reliability of the initial target discovery.

Slow Attack Execution

DNS rebinding can take over a minute per target due to DNS cache settings, making attacks time-consuming and less efficient.

Ethical and Legal Gray Areas

Primarily for educational use, with disclaimers warning against illegal activity, limiting its application in professional security assessments.

Frequently Asked Questions

Quick Stats

Stars502
Forks84
Contributors0
Open Issues3
Last commit4 years ago
CreatedSince 2018

Tags

#iot#javascript-framework#web-security#dns-rebinding#dns#penetration-testing#iot-security#red-team#hacking#webrtc#ethical-hacking

Built With

J
JavaScript
W
WebRTC
N
Node.js

Links & Resources

Website

Included in

Web Security13.2k
Auto-fetched 18 hours ago

Related Projects

Singularity of OriginSingularity of Origin

A DNS rebinding attack framework.

Stars1,307
Forks160
Last commit3 days ago
Whonow DNS ServerWhonow DNS Server

A "malicious" DNS server for executing DNS Rebinding attacks on the fly (public instance running on rebind.network:53)

Stars661
Forks94
Last commit4 years ago
drefdref

DNS Rebinding Exploitation Framework

Stars493
Forks71
Last commit5 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub