gdesatria / dns-amplification-attack Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ethanwilloner/dns-amplification-attack
This project forked from ethanwilloner/dns-amplification-attack
This is a proof of concept for a DNS amplification attack. By sending UDP packets to a DNS server with the target spoofed as the source, you can effectively amplify your bandwidth to overload a hosts bandwidth. These attacks are becoming common, and show flaws in the DNS system. This is not a weaponized tool, but the dns.c and dns.h files are independent of and can function without the provided main.c code, just read the comments to figure out what is being passed to the functions. This code must be run as root to be able to access Raw Sockets. Tested and running on Debian Wheezy 7.0, compiles with both GCC and clang. Makefile uses clang. In my Testing, I could not make this work on actual, real world targets. Why? Because most common networks don't allow UDP source spoofing. I am not trying to weaponize it, so I have not put more than a few hours into trying to figure out why, to no avail. Either way, it is still cool to be able to target a machine on your LAN and see endless streams of DNS packets showing up in Wireshark. This WILL saturate your network connection, and will probably render most other networking on the computer slow in the best case, unresponsive in the worst, while the tool is running. This code was written with the help of code found at http://www.binarytides.com/raw-udp-sockets-c-linux/ and http://www.binarytides.com/dns-query-code-in-c-with-linux-sockets/ The code found at these URL's was not released under any license, but I like to give credit where credit it due. With no prior experience with in programming with Raw Sockets or the DNS system, these resources were invaluable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.