Coder Social home page Coder Social logo

NTP DDoS support about masscan HOT 5 CLOSED

robertdavidgraham avatar robertdavidgraham commented on July 21, 2024
NTP DDoS support

from masscan.

Comments (5)

kicdu avatar kicdu commented on July 21, 2024

I have most of it already coded, need to test it and do some clean up.

Later I'll push a pull request so you can look at it and test it.
If it's ok with you merge it in mainline.

from masscan.

robertdavidgraham avatar robertdavidgraham commented on July 21, 2024

Lol, I, too, am nearly complete on a solution. Mine is to send a simple packet, then decode the first packet in response.

from masscan.

kicdu avatar kicdu commented on July 21, 2024

Yep, I was doing the same thing. :) Btw. Have you thought about implementing some kind of reception loop to resolve situations where one request gives multiple response packets?

So, never mind, push your NTP solution and I'll add something if I have.

from masscan.

robertdavidgraham avatar robertdavidgraham commented on July 21, 2024

I'm thinking of a solution. If you look at my changes I'm adding "script"/"plugin" logic, whereby the responses are handled by a connection-tracking logic similar to TCP.

For right now, though, I'm just doing just the bare minimum to do the basic detection.

from masscan.

robertdavidgraham avatar robertdavidgraham commented on July 21, 2024

Right now, it looks like:
C:\dev\masscan>bin\masscan 78.46.52.39 -pU:123 --banners

Starting masscan 1.0.2 (http://bit.ly/14GZzcT) at 2014-01-23 00:01:42 GMT
-- forced options: -sS -Pn -n --randomize-hosts -v --send-eth
Initiating SYN Stealth Scan
Scanning 1 hosts [1 port/host]
Banner on port 123/udp on 78.46.52.39: [ntp] XNTPD MON_GETLIST_1 response-size=432-bytes more=true
Discovered open port 123/udp on 78.46.52.39
Banner on port 123/udp on 78.46.52.39: [ntp] XNTPD MON_GETLIST_1 response-size=432-bytes more=true
Discovered open port 123/udp on 78.46.52.39
Banner on port 123/udp on 78.46.52.39: [ntp] XNTPD MON_GETLIST_1 response-size=216-bytes more=false
Discovered open port 123/udp on 78.46.52.39

I'm going to do an entire Internet scan with this and see the results.

from masscan.

Related Issues (20)

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.