Giter Club home page Giter Club logo

dns_spoofing's Introduction

DNS Spoofing

  • 發起時間:2021/04/10
  • 功能
    • 攻擊內網中的任意終端,阻斷其網路流量
    • 以校內宿網實測,功效如下表:(單位為Mbps)
      攻擊者使用的的網速 受害者的上傳網速 受害者的下載網速
      未攻擊 732.70 932.34
      70 10.06 184.28
      140 0.04 8.85
      > 140 break break
  • 原理
    • 透過raw_socket偽造DNS封包,並將封包來源設為受害者的ip位置,使DNS server回傳大量的回應封包給受害者,達成堵塞受害者網路的目的
    • 設法使攻擊者的流量放大,亦即使用攻擊者盡量少的流量,阻塞被攻擊者盡量多的流量
      • edns0:擴增UDP payload的限制,原本一個封包只允許512 bytes的payload,edns0可擴展到4096 bytes
      • type:在DNS query封包內,將回傳值的type設為any,使得DNS server回傳盡量多的資訊
      • 以上兩個做法,大約可使放大率達到十多倍
  • 使用方式
    • 格式:
      test:~$ sudo .dns_spoofing victim's_ip port dns_server's_ip
      
    • 範例:經8.8.8.8的DNS server跳轉,通過111端口攻擊ip為192.168.52.131主機
      test:~$ sudo .dns_spoofing 192.168.52.131 111 8.8.8.8
      

dns_spoofing's People

Contributors

1am9trash avatar

Stargazers

th30c0der avatar Patrick Star 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.