Skip to content

Repository files navigation

Burp suite Extension FakeDnsServerExtension

Language/Japanese

This tool is an extension of PortSwigger product, Burp Suite. Supports Burp suite Professional/Community.

Overview

This extension is a tool that provides a DNS spoofing server.

About the latest version

The main repository (main) may contain code under development. Please download the stable release version from the following.

Please use the following versions

  • Burp suite v2024.2.1.3 or above

How to Use

The Burp Suite Extension can be loaded by following the steps below.

  1. Click [add] on the [Extensions] tab
  2. Click [Select file ...] and select FakeDnsServerExtension.jar
  3. Click [Next], confirm that no error is occurring, and close the dialog with [Close].

Fake Dns Tab

FakeDnsServerExtension tab will be added to Burp Suite.

FakeDnsServerExtension Tab Scan

[Start] Button:
Press this button to start DNS spoofing. Press it again to stop.
Bind Intarface:
Specify the bind interface.
Fake IP:
Specify the IP(IPv4 and IPv6) address to spoof
Name servers:
Specify the name server
(ex) 8.8.8.8,8.8.8.4
[resolv burp hosts] Check box:
If you enable this setting, hostname resolution will be based on the hosts configuration in Burp Suite. By default, this setting is enabled.
[resolv system hosts] Check box:
If you enable this setting, hostname resolution will be based on the OS hosts file. By default, this setting is enabled.
Fake domains:
Specify the domain to spoof.
[Paste domains] Button:
Add domains from the clipboard, separated by commas or line breaks.
[Add All] Button:
Add multiple domain names.
[Add] Button:
Add a domain.
[Edit] Button:
Edit the selected domain.
[Remove] Button:
Remove the selected domain.
[Remove] Button:
Remove all domains.

Log

[Extensions] -> [Output]:
Outputs status messages, including DNS resolution logs.
[Extensions] -> [Error]:
Outputs error message, including logs of exceptions.

CLI Option

There is a CLI mode that can be launched from the command line.

java -jar FakeDnsServerExtension.jar -h

Usage: java -jar FakeDnsServerExtension.jar [option] [-i, --interface <interface>] [--fakeip <fakeip>] [--fakeipv6 <fakeip>] [--fakedomains <FakeDomains>] [--nameservers <NameServers>] [-p, --port <dnPport>]
[option]
        -h, --help - help show
        -v, --version - version show
        -gui - GUI Mode
[command]
        -i, --interface <interface> - Specify the interface IP address.
        --fakeip <fakeip> - Specify the IPv4 address to spoof
        --fakeipv6 <fakeip> - Specify the IPv6 address to spoof
        --fakedomains <FakeDomains> - Specify the domain to spoof
        --nameservers <NameServers>  - Specify the name server
        --p, -port <dnsPort> - Specify the DNS port
        --disable-system-hosts - Disable DNS name resolution using the system hosts file

[command (ex)]

java -jar FakeDnsServerExtension.jar -i 192.168.137.1 --fakeip  192.168.137.1 --fakedomains www.example.com,www.example.jp

CAUTION:

In command-line mode, resolv burp hosts is always disabled.

GUI Option

There is a standalone GUI mode that does not require Burp Suite.

java -jar FakeDnsServerExtension.jar -gui

buid

gradlew release

Runtime environment

.Java

.Burp suite

Development environment

Required Library

Building requires a BurpExtensionCommons library.

  • BurpExtensionCommons v3.2.17 or higher

Use Library

Operation is confirmed with the following versions.

  • Burp suite v2026.3.3

important

This tool developed by my own personal use, PortSwigger company is not related at all. Please do not ask PortSwigger about problems, etc. caused by using this tool.

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages