Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a windows server 2008 R2 which is victim of a DoS attack. How can I find out which IP is the source of attack?

I have a anti DoS module on IIS 7.0 which works fine but it seems destination is not port 80 and the attack is blind (Attacker has attacked some IP addresses which are not mine) and just consumes my bandwidth. I have a 1000 Mbps network card which is fully utilized by attacker so he have at least a server with 1000 Mbps. I have unmetered bandwidth on this data center but security support is awful.

I have tried 'TCPView' to find more details but server freezes when the attack is started because of high CPU usage (100%).

Is there any software solution for this problem? how can I distinguish attacker IP address from normal users (connections with high transfer rate)?

share|improve this question
Do you have some kind of firewall in the way (if so, what model?), or just the software firewall? Is it sitting out on the Internet, or NAT'ted? Do you need any other ports open other than 80? – KCotreau Aug 2 '11 at 13:29
up vote 6 down vote accepted

Any DoS attack worth caring about is going to have a lot more than just one IP address behind it. If one IP is causing you trouble, something isn't set up right. Which brings me to part two...

IIS and even the operating system is the wrong place to worry about this kind of attack. You want a firewall or gateway security appliance that can detect and block the traffic at the level, before it ever reaches your server.

share|improve this answer
+1 I was wondering if it was like a lot of these cloud services, where the VM basically has no hardware firewall to drop such connections in the first place. – KCotreau Aug 2 '11 at 13:40
+1 You right. It was a DDoS attack. – Xaqron Aug 2 '11 at 17:04

If you really think it is DoS (and not a DDoS, where the source IPs of the attackers are different), then you can use this command to quickly view the network connections on the server:

netstat -an 
share|improve this answer
And if there are 200 normal users on the server how can I found the bandwidth usage and find the attacker from normal users? – Xaqron Aug 2 '11 at 13:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .