Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. port scan detector

port scan detector

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    i want to develop a port scan detector... can any1 help me on this... how to do it???

    B A 2 Replies Last reply
    0
    • A Anonymous

      i want to develop a port scan detector... can any1 help me on this... how to do it???

      B Offline
      B Offline
      bmw5002
      wrote on last edited by
      #2

      We wont develop your program for you. I suppose you could monitor the ports for connections, but then when you put nMap portscanner into the picture it might get a little harder. nMap doesnt actually try to connect to the port to see if its open. I think it uses arp requests or something, its been awhile since i used/read about it. So that will require some more programming.

      A 1 Reply Last reply
      0
      • A Anonymous

        i want to develop a port scan detector... can any1 help me on this... how to do it???

        A Offline
        A Offline
        Antony M Kancidrowski
        wrote on last edited by
        #3

        A suppose a solution would be to either write an NDIS driver of your own or use WinPCap[^]. You could then analyse the incoming packets for patterns that would suggest a port scan is happening. Ant. I'm hard, yet soft.
        I'm coloured, yet clear.
        I'm fruity and sweet.
        I'm jelly, what am I? Muse on it further, I shall return!
        - David Williams (Little Britain)

        1 Reply Last reply
        0
        • B bmw5002

          We wont develop your program for you. I suppose you could monitor the ports for connections, but then when you put nMap portscanner into the picture it might get a little harder. nMap doesnt actually try to connect to the port to see if its open. I think it uses arp requests or something, its been awhile since i used/read about it. So that will require some more programming.

          A Offline
          A Offline
          Antony M Kancidrowski
          wrote on last edited by
          #4

          I didn't think that nMap detected port scanning, rather it used various port scanning techniques to Map the network!? Ant. I'm hard, yet soft.
          I'm coloured, yet clear.
          I'm fruity and sweet.
          I'm jelly, what am I? Muse on it further, I shall return!
          - David Williams (Little Britain)

          B 1 Reply Last reply
          0
          • A Antony M Kancidrowski

            I didn't think that nMap detected port scanning, rather it used various port scanning techniques to Map the network!? Ant. I'm hard, yet soft.
            I'm coloured, yet clear.
            I'm fruity and sweet.
            I'm jelly, what am I? Muse on it further, I shall return!
            - David Williams (Little Britain)

            B Offline
            B Offline
            bmw5002
            wrote on last edited by
            #5

            I never said nMap detected portscanning. I meant that trying to detect nMap portscans would be hard.

            A 1 Reply Last reply
            0
            • B bmw5002

              I never said nMap detected portscanning. I meant that trying to detect nMap portscans would be hard.

              A Offline
              A Offline
              Antony M Kancidrowski
              wrote on last edited by
              #6

              Sorry, I misunderstood your post. You are quite right. nMap uses various port scanning techniques most of which would need so sort of packet analysis (pattern matching) in order to detect them. Ant. I'm hard, yet soft.
              I'm coloured, yet clear.
              I'm fruity and sweet.
              I'm jelly, what am I? Muse on it further, I shall return!
              - David Williams (Little Britain)

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups