GithubHelp home page GithubHelp logo

5l1v3r1 / ddptr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nullhypothesis/ddptr

0.0 1.0 0.0 23 KB

DNS delegation path traceroute

Home Page: https://nymity.ch/dns-traffic-correlation/

License: GNU General Public License v3.0

Python 100.00%

ddptr's Introduction

DNS delegation path traceroute

ddptr runs (i) UDP traceroutes to all DNS servers that are in the DNS delegation path for a fully qualified domain name (FQDN), and (ii) TCP traceroutes to port 80 of the same FQDN. Then, the tool maps the IP addresses of all intermediate hops to autonomous system numbers and determines the set intersections.

ddptr is useful for traffic analysis experiments, i.e., quantifying the threat of AS-level adversaries.

Requirements

You will need the Python modules scapy and pyasn.

Example

The tool takes as input a FQDN and an ASN database. Instructions on how to build such a database are online.

Here is a simple example:

$ sudo ./ddptr www.google.com /path/to/asn/database

In my case, the tool tells me:

8 ASNs in DNS hops: 15169,88,36616,2828,7029,174,27064,3356
3 ASNs in web hops: 15169,88,174
3 intersections between web and DNS ASNs: 15169,88,174
5 ASNs in DNS but not in web ASNs: 27064,7029,36616,2828,3356
0 ASNs in web but not in DNS ASNs:

You can also use the parameter --graph-output to generate traceroute visualisations such as the following:

visualisation

Contact

Contact: Philipp Winter [email protected]
OpenPGP fingerprint: B369 E7A2 18FE CEAD EB96 8C73 CF70 89E3 D7FD C0D0

ddptr's People

Contributors

nullhypothesis avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.