payloads-dns-rebinding
БесплатноБез исполняемых скриптовНе проверенDNS rebinding changes the IP address of an attacker controlled machine name to the IP address of a target application, bypassing the and thus allowing the…
от smartworldarafath★ 68 звёзд на GitHubОб этом скилле
DNS Rebinding Payloads
Source: PayloadsAllTheThings/DNS Rebinding Category:
payloads-research| Skill ID:payloads-dns-rebinding
Overview
DNS rebinding attack payloads for bypassing SOP and accessing internal services via browsers.
This skill integrates the full PayloadsAllTheThings (PATT) payload library for the DNS Rebinding Payloads domain into the REA_Skill framework. Use it during authorized penetration testing, bug bounty research, security audits, and CTF challenges.
Workflow
1. Recon & Identification
- Identify the target technology stack and injection points
- Enumerate endpoints, parameters, and input vectors
- Determine applicable payload categories from the reference below
2. Payload Selection
- Browse the PATT payload library for the attack class
- Select encoding-appropriate payloads for the target environment
- Consider WAF bypass variants and obfuscation techniques
3. Exploitation (Authorized Only)
- Test payloads in order: passive → active → escalation
- Document every payload tested and its response
- Capture PoC evidence (screenshots, HTTP logs, curl output)
4. Verification & Reporting
- Confirm the vulnerability with a clean minimal PoC
- Map findings to CVE/CWE where applicable
- Report with remediation recommendations and code fixes
Full PATT Reference
DNS Rebinding
DNS rebinding changes the IP address of an attacker controlled machine name to the IP address of a target application, bypassing the same-origin policy and thus allowing the browser to make arbitrary requests to the target application and read their responses.
Summary
Tools
- nccgroup/singularity - A DNS rebinding attack framework.
- rebind.it - Singularity of Origin Web Client.
- taviso/rbndr - Simple DNS Rebinding Service
- taviso/rebinder - rbndr Tool Helper
Methodology
Setup Phase:
- Register a malicious domain (e.g.,
malicious.com). - Configure a custom DNS server capable of resolving
malicious.comto different IP addresses.
Initial Victim Interaction:
- Create a webpage on
malicious.comcontaining malicious JavaScript or another exploit mechanism. - Entice the victim to visit the malicious webpage (e.g., via phishing, social engineering, or advertisements).
Initial DNS Resolution:
- When the victim's browser accesses
malicious.com, it queries the attacker's DNS server for the IP address. - The DNS server resolves
malicious.comto an initial, legitimate-looking IP address (e.g., 203.0.113.1).
Rebinding to Internal IP:
- After the browser's initial request, the attacker's DNS server updates the resolution for
malicious.comto a private or internal IP address (e.g., 192.168.1.1, corresponding to the victim’s router or other internal devices).
This is often achieved by setting a very short TTL (time-to-live) for the initial DNS response, forcing the browser to re-resolve the domain.
Same-Origin Exploitation:
The browser treats subsequent responses as coming from the same origin (malicious.com).
Malicious JavaScript running in the victim's browser can now make requests to internal IP addresses or local services (e.g., 192.168.1.1 or 127.0.0.1), bypassing same-origin policy restrictions.
Example:
- Register a domain.
- Setup Singularity of Origin.
- Edit the autoattack HTML page for your needs.
- Browse to
http://rebinder.your.domain:8080/autoattack.html. - Wait for the attack to finish (it can take few seconds/minutes).
Protection Bypasses
Most DNS protections are implemented in the form of blocking DNS responses containing unwanted IP addresses at the perimeter, when DNS responses enter the internal network. The most common form of protection is to block private IP addresses as defined in RFC 1918 (i.e. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16). Some tools allow to additionally block localhost (127.0.0.0/8), local (internal) networks, or 0.0.0.0/0 network ranges.
In the case where DNS protection are enabled (generally disabled by default), NCC Group has documented multiple DNS protection bypasses that can be used.
0.0.0.0
We can use the IP address 0.0.0.0 to access the localhost (127.0.0.1) to bypass filters blocking DNS responses containing 127.0.0.1 or 127.0.
Установить payloads-dns-rebinding в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл payloads-dns-rebinding?
DNS rebinding changes the IP address of an attacker controlled machine name to the IP address of a target application, bypassing the and thus allowing the browser to make arbitrary requests to the target application and read their responses. A DNS rebinding attack framework. Singularity of Origin Web Client. Simple DNS Rebinding Service rbndr Tool Helper Setup Phase: Register a malicious domain...
Как установить скилл payloads-dns-rebinding?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл payloads-dns-rebinding запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic