Jump to content

SYN Attach – 6 Months – Thousands Of Request A Second – Maybe Hacked – Help!


phpfreek2007

Recommended Posts

Hi All,

 

For the last 6 months our site has been under severe brute force, syn flood attack. They keep bombarding a single URL of the server and it is xml file. They are not attacking any other URL.

 

e.g. http://www.example.com/rss123/attackedfilename.xml

 

We have removed the xml page from our site but still they keep on sending requests, this is for the last 6 months non stop.

 

The IP has been changed just to see and they are sending several thousand requests per second. The requests come from different IPS and different ranges, so you can not even block the IP’s.  They seem to be coming from a legitimate IP’s.

 

Due to this I have had to pay for an extremely expensive server which holds 8 GB of RAM and quad core processor etc, however, even with this the server still reaches critical level, just because these requests are eating up my resources.

 

Our technical team has been working on all aspects of apache server security, external modules, firewall, hardware firewall from beginning but still we are not able to stop them.

 

We have installed following modules.

 

1) mod_security

2) mod_evasive

3) Firewall

 

We have worked with the hosting company and their technical team leader, he installed the best CISCO hardware firewall and tried to stop them, but in vain.

 

We have checked our server to see if anything from our site is causing the request, no extra file uploaded on to the server. For example if some file has been upload or some text has been added to the file (checked if we’ve been hacked). Even though we checked for any hacks, I am still wondering if there is something we do not know about.  Can a hack lead to huge amounts of traffic?

 

We need some help to stop these attacks.  We have searched a lot and have found that sites that get attacked like this have only one option is to shut down till it stops.  I really hope that will not be the case for us.  Please let us know if any one has any ideas to deal with this.

 

We are willing to try any small suggestion which might help from coding to scripting to modules to firewall. So please provide suggestion/solutions and way to get us out of this.

 

Also could it be our own part of php code which can do this? We are ready to check every php file to make sure it does not have any line of code which can be dangerous?

 

Thank you for your help in advance!  Help!

 

Regards,

 

Sam

Link to comment
Share on other sites

I find it entertaining when ppl try to hack my site, for me its chess

 

Theres lots of things you can do, first use http referer to check what address the bot is coming from

 

  $ip_address = $_SERVER['REMOTE_ADDR'];
  $referer = $_SERVER['HTTP_REFERER'];

 

This will give you some info of whats happening, store this in a database so you can review the most evil ips. Then use one of the many tricks to play with them, send them to a hackers site to get there server infected or wherever you feel like

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.