0

i am trying to write a program that detects a UDP DoS attack using C++ and WinPcap. What criteria can i use to identify such an attack? I have noticed many UDP DoS generator programs send the same payload over and over again so i can probably detect that but generating random payload is exceedingly simple. Any ideas on what to do?

yohannist
  • 4,166
  • 3
  • 35
  • 58
  • Why not detect for quantity and rapidity? If you get more than _N_ amount of requests in less than _T_ amount of time then block the connection for a given/unlimited amount of time? – TheZ Aug 15 '12 at 19:29

1 Answers1

0

I'm assuming that the UDP packets will have spoofed IP addresses. If you're not going to whitelist the requests so that you can test them for validity, then you may as well come up with a threshold above which you've decided it's "probably" a DoS attack.

Marcus Adams
  • 53,009
  • 9
  • 91
  • 143