Skip to main content

How to defend against GET and POST attacks?

Comments

2 comments

  • qwerty
    enable modsec and get the atomic (paid) rules installed. Also enable ipset and all the CSF blocklists ..as they block 10's of thousands of known attackers (with IPSET enabled in CSF it's not a problem blocking 10s or hundred of thousands of IPs)
    0
  • rousseau
    Thanks for your response qwerty. Yes, of course you can get paid atomic rules or free Comodo WAF to defend against these types of attacks. Unfortunately, these IP's were not in a known blacklist/bogon, so conventional blocklists were quite useless. My dirty fix seems to work better and without the overhead of massive ModSec rules.
    77.19.65.35 - - [05/Dec/2014:12:25:51 +1100] "GET /?gynqBT=UM7QkyDVXHsEc2ceS&Jwod1oCrH=qQlnGT1wp&L1r8a0=tqOa5W5qoYVGQhdh&ajGU4oU=06NeOO6b2H2FSbyrXnJT HTTP/1.1" 301 195 "-" "Mozilla/5.0 (Windows; U; MSIE 6.1; Windows NT 6.3; .NET CLR 2.3.17605; WOW64)" 77.19.65.36 - - [05/Dec/2014:12:25:51 +1100] "GET /?pArXJOGnYs=ttdbDRRTkGH&Uxjy=d0XIBQujmPjJ8up HTTP/1.1" 301 195 "http://www.yandex.com/tyM6d?M7KAn8tL=ck24XlpA8XQt&K270qe=yfuX2YtYu3sdToJd7nd" "Mozilla/5.0 (Windows; U; MSIE 9.0; Linux i386; .NET CLR 2.0.5113; X11)" 77.19.65.37 - - [05/Dec/2014:12:25:51 +1100] "GET /?cFP7lHLxC=8UPl4yyUVJCPsxlYi&xvs2YQ4kPu=vJOsra&y6k2MujvNy=SA8eVdFgB5mBngW&FRpm=AtOAsn5C HTTP/1.1" 301 195 "http://www.google.com/DnylnB" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_2) AppleWebKit/537.20 (KHTML, like Gecko) Chrome/10.0.1522.27 Safari/535.1" 77.19.65.38 - - [05/Dec/2014:12:25:51 +1100] "GET /?C2c3Clssjj=gUep0J4W7jleFlxjpf&Y4Vn=vjedaA2PrH5fhUIM2dVy HTTP/1.1" 301 195 "http://www.baidu.com/Nkpl3?OkCa1J=2iuth&exnhyYEb5=5nPCKK7U4s1IcBXOFm&SM8myEnmq=k7APeETd5oBeUSLUJ&SwYDmD33=MliFgJk1Nxr3d4KKmQ&17bSdB=NdDBFNb8lrdt" "Mozilla/5.0 (Windows; U; MSIE 10.0; Windows NT 6.3; .NET CLR 3.5.24615; Win64; x64)" 77.19.65.39 - - [05/Dec/2014:12:25:51 +1100] "GET /?arxbROdDhH=FAbe3VlWhqcUnVIC&Xbi7G=txKEd3L3rRuw6LuO80T&T2oymH0=ovt HTTP/1.1" 301 195 "-" "Mozilla/5.0 (Windows; U; MSIE 9.0; Linux i386; .NET CLR 1.4.24122; X11)" 77.19.65.40 - - [05/Dec/2014:12:25:51 +1100] "GET /?44C=pa0U0ISSO4h0fciOyBN&DlRcJI6I=2U1O7DWgof&dcv=83PxLbKH&RbA=6goFw6JWBuH2VMfr&AbgL=5u4jsp70 HTTP/1.1" 301 195 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_8_0) Gecko/20021008 Firefox/11.0" 77.19.65.41 - - [05/Dec/2014:12:25:51 +1100] "GET /?K6HfewjI=KFwfklm8ORE&OGaCQXWmh=mK0by5Ei1g&D2KjAA=MeDst77J&YEBfaBR=BrYRUAq341b HTTP/1.1" 301 195 "http://www.google.com/JPjcN?807=XehfHOAmoSy&FxABniE6qn=Jsl4VhKsHDeYI" "Mozilla/5.0 (Windows; U; MSIE 10.0; Windows NT 6.3; .NET CLR 3.5.24615; Win64; x64)"
    0

Please sign in to leave a comment.