BCC/php spam email and a fix

Collapse

Unconfigured Ad Widget

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Manuel_
    Banned
    • May 2005
    • 120

    BCC/php spam email and a fix

    So I am sure if you are running a cPanel server you are having the exact same trouble as we have been having the last week, lots of spam. It appears there is somebody in this world that has decided to write a rather efficient script that searches for webforms then sends spam via php and bcc. The first quick fix was to enable safe_mode but that obviouslly gets a fair amount of webhosting clients pretty bad. I have been working with mod_security and come up with a pretty simple rule that should help:

    SecFilterSelective THE_REQUEST "bcc:|Bcc:|BCc:|BCC:|bCc:|bCC:|bcC:|BcC:"

    What that will do is search first for the bcc, Bcc, etc then look for com, org, or net in a url. I was trying to filter it looking for an @ symbol but I was having trouble with apache picking it up. I figure if they are not spamming to one of those TDLs it is probably not a very big attack. If you want to protect more simply add to the list, remember all it has to do is catch one and it blocks the entire request.

    Enjoy
    Last edited by admin; 08-12-2015, 07:24 AM.
  • photobum
    Junior Member
    • Sep 2006
    • 2

    #2
    hey guys... sorry but how can set a picture in my profile?
    I'm a Doctor Seuss!
    Pimpin' Cosmetic Product Testing On Animal

    Comment

    • Jason
      Administrator
      • Sep 2004
      • 95

      #3
      Hi,

      Sure. Send us the picture by email at jason@accuwebhosting.com / support@accuwebhosting.com . We will do that for you.

      Thanks,
      Jason
      ---------
      Technical Support Group
      AccuWebHosting.Com
      Windows Website Hosting
      Linux Website Hosting

      Comment

      Working...
      X