All Projects → SySS-Research → Dns Mitm

SySS-Research / Dns Mitm

Licence: mit
A minimal DNS service that can provide spoofed replies

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Dns Mitm

Recsech
Recsech is a tool for doing Footprinting and Reconnaissance on the target web. Recsech collects information such as DNS Information, Sub Domains, HoneySpot Detected, Subdomain takeovers, Reconnaissance On Github and much more you can see in Features in tools .
Stars: ✭ 173 (+220.37%)
Mutual labels:  dns, tools
Shuttle
A web proxy in Golang with amazing features.
Stars: ✭ 1,857 (+3338.89%)
Mutual labels:  dns, mitm
Bash Utils
A collection of hand-crafted bash scripts for various common tasks.
Stars: ✭ 124 (+129.63%)
Mutual labels:  dns, tools
Information collection handbook
Handbook of information collection for penetration testing and src
Stars: ✭ 447 (+727.78%)
Mutual labels:  dns, tools
Sslkill
Forced Man-In-The-Middle HTTPs-Avoiding Reverse Proxy
Stars: ✭ 48 (-11.11%)
Mutual labels:  dns
Tools
自用的一些工具集合 更多笔记请查看
Stars: ✭ 42 (-22.22%)
Mutual labels:  tools
Depressurizer
A Steam library categorizing tool.
Stars: ✭ 1,008 (+1766.67%)
Mutual labels:  tools
Vs Code For Node Js Development Pack
🏃 A VS Code Extension Pack to get up and running with Node.js Development
Stars: ✭ 41 (-24.07%)
Mutual labels:  tools
Gotools
create some tools use go lang.
Stars: ✭ 54 (+0%)
Mutual labels:  tools
Xjavafxtool
基于JavaFx搭建的实用小工具集合,方便开发过程中的代码编写与调试,想学习javaFx的同学可以参考参考。其中包括文件复制、Cron表达式生成器、编码转换、加密解密、Time转换、路径转换、二维码生成工具、身份证生成器、正则表达式生成工具、网址缩短、转义字符、字符串转换、Mq调试工具、Http调试工具、json格式化编辑工具、图标生成工具、Redis连接工具、网页源码下载工具、切换Hosts工具、Ftp服务器、Cmd调试工具、Ftp/Ftps/Sftp客户端调试工具、Pdf转换工具、文件列表生成器、图片压缩工具、图片转码工具、Kafka调试工具、Email群发工具、颜色代码转换工具、短信群发工具、脚本引擎调试、文件重命名、Json转换、语音转换、Socket调试、图片解析、微信小程序反编译、Zookeeper操作、Excel拆分合并、文件夹监控、文件编码检测、传输、端口扫描、久坐提醒、随机数生成、剪贴板历史、文件搜索、mp3转换、印章生成等工具
Stars: ✭ 1,063 (+1868.52%)
Mutual labels:  tools
Best Hacking Tools
BEST HACKING TOOLS..For more tools visit our blog for Hackers
Stars: ✭ 46 (-14.81%)
Mutual labels:  tools
Soflow
A ScriptableObject oriented design SDK.
Stars: ✭ 43 (-20.37%)
Mutual labels:  tools
Dns Tool
A set of browser-based DNS tools for DigitalOcean Community.
Stars: ✭ 50 (-7.41%)
Mutual labels:  dns
Dev tools
一些很实用工具或插件(开发或者日常使用)----慢慢更新ing
Stars: ✭ 41 (-24.07%)
Mutual labels:  tools
Gormt
database to golang struct
Stars: ✭ 1,063 (+1868.52%)
Mutual labels:  tools
Aicdm
AICDL collector services and modules
Stars: ✭ 41 (-24.07%)
Mutual labels:  mitm
Lexicon
Manipulate DNS records on various DNS providers in a standardized way.
Stars: ✭ 1,028 (+1803.7%)
Mutual labels:  dns
Utils
Docker image with tools like curl, wget, ping, nslookup, dig, psql etc.
Stars: ✭ 49 (-9.26%)
Mutual labels:  tools
Dnsforwarder
Just a DNS utility.
Stars: ✭ 1,029 (+1805.56%)
Mutual labels:  dns
Commently
😀💬 Easily comment and update comments on GitHub PRs
Stars: ✭ 45 (-16.67%)
Mutual labels:  tools

dns-mitm.py

This is a fake DNS server that answers requests for a domain's A record with a custom IP address. It is intended to be used in an isolated network for pentests. You could also use dnsmasq for that, but sometimes you just want to use a small script.

If you want to put yourself in a MitM position of a given connection, you would usually do so by modifying the network setup: either in software (ARP-spoofing etc.) or in hardware (unplugging network cables). This script is for situations in which you are unable or unwilling to change the network setup but have control over the "victim" device.

Possible use cases could be:

  • You want to analyze traffic of a mobile app you are testing, so you change the DNS server on your mobile device
  • You want to filter ads on your TV, so you set its DNS server to your Raspberry Pi on the same network which is running this script

It makes sense to assign multiple IP addresses to your device, for example with ip address add 192.168.1.16/28 dev eth0.

This way you can spoof multiple domains with an indiviual IP address each. Otherwise, you won't know the original destination of the intercepted traffic arriving at your machine without deep package inspection.

Usage

You can specify IP addresses on the command line or in a separate hosts file, e.g. to answer all requests to .*.example.com to 192.168.1.42:

$ ./dns-mitm.py .*.example.com,192.168.1.42

or

$ ./dns-mitm.py -f hosts.dat

where hosts.dat uses the same syntax as /etc/hosts.

By default, the script tries to determine the DNS server that the system is using. You may want to specify a different DNS server with the -d option.

For more information, type ./dns-mitm.py -h.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].