Go Back   SitePoint Forums > Forum Index > Content for Your Site > Social Networking and Communities
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
Reply
 
Thread Tools Display Modes
Old Oct 5, 2006, 13:25   #1
I, Brian
SEO Link Building Master
 
I, Brian's Avatar
 
Join Date: Apr 2003
Posts: 1,285
10 tips on fighting forum spam

Okay, reading through this board, it's obvious that spam has become a really serious spam for a lot of admins.

If you're a phpbb owner you'll see far more of it. It's a walking security vulnerbaility. Not only is phpbb commonly targeted by kiddie hackers, there are a huge number of bots and even worms on the net whose sole remit is to spam phpbb forums.

SMF and vbulletin are less targeted, but do see issues if you don't take basic precautions.

Here are some generic tips on stopping forum spam:

1. Use human validation

Default capchas have long since been cracked, so look out for mods that will set up random or customised questions.

2. Email verification

Ensure members must activate an email before they can post anything. That includes a profile link. A lot of spambots use random addresses.

3. Prevent new users posting links

Look for mods or apply usergroup permissions to prevent a new member posting a link until they have x posts and been a member y days.

4. Limit post edit time

Some crafty human spammers will edit old posts and either post blatant advertising links, or else hide them in punctuation and invisible images.

5. Limit signature links

Some people think cheap links by volume are good, and signature links are one way to get them. Ensure you dissuade them from spamming your forums with one-liners for signature links by applying restrictions.

6. Use conditionals

Memberlist spamming is a very old game - member registration for profile page link benefits. Either remove the link from the profile, or use conditionals so that any attempts will be worthless.

7. Block common sources

If you notice the same email domains or IP's being used in spamming attempts, block them either in your admin panel, or using .htaccess

8. Censor common offenders

Sometimes you'll get multiple spammers promoting the same service or website. Simply add it to your censored words list, and watch those spam viral marketing campaigns wither.

9. Have a moderator team

Nothing beats lots of different human eyes watching out for your forums. Moderators in different timezones who are frequently active in your community are ideal.

10. Remain vigilant

Keeping aware is as important as anything else. Many admins still don't know what memberlist spamming is, even though I raised the issue years ago. Also, as forums evolve, so do the spamming methods. So kee a general eye on what's happening, not just to your own forum(s) but also to other people's forums.


Here's a few resources for more information:

1. How to fight forum spamming - a detailed view of the above, but especially focused on vbulletin admins.

2. 5 Quick and Easy Ways To Stop Blog Spam Before It Hits Your Blog - sure, it's focused on blogs, but there are some great tips for forum owners in general if you don't mind getting your hands dirty with .htaccess

3. IncrediBILLs Random Rants - general reports on bot scrapers and spam nets in general, and IP ranges to block

4. SpamHuntress - General anti-spam crusader, with blog, forum, and general spam issues coverage.


Hope that helps fight the spam - enjoy!
__________________
Internet Business Forums - free business help & advice

Last edited by I, Brian; Oct 6, 2006 at 01:54.. Reason: typo
I, Brian is offline   Reply With Quote
Old Oct 5, 2006, 14:22   #2
stymiee
He's No Good To Me Dead
silver trophybronze trophy
 
stymiee's Avatar
 
Join Date: Feb 2003
Location: Slave I
Posts: 23,589
Stickied.
stymiee is offline   Reply With Quote
Old Oct 5, 2006, 14:27   #3
mikexx2020
Non-Member
 
Join Date: Apr 2006
Location: Scotland
Posts: 325
Thanks! very helpful tips im sure everyone will appreciate!
mikexx2020 is offline   Reply With Quote
Old Oct 5, 2006, 14:52   #4
LazyP
SitePoint Member
 
Join Date: Mar 2005
Posts: 21
Install a spam filter for phpbb, available at:
http://www.phpbb.com/phpBB/viewtopic.php?t=275662
works wonderfully, I even can have guests allowed to post with almost no spam whatsoever.
__________________
HepTown // HepCat Store // Cyclones
LazyP is offline   Reply With Quote
Old Oct 5, 2006, 14:57   #5
iTechno
The I's for intelligent
silver trophy
 
iTechno's Avatar
 
Join Date: Jan 2006
Location: Yorkshire, UK
Posts: 1,782
Heard them all before but they are the ultimate 10.
iTechno is offline   Reply With Quote
Old Oct 5, 2006, 15:03   #6
bwdow
SitePoint Addict
 
bwdow's Avatar
 
Join Date: Feb 2006
Posts: 347
Nice article. All forum founders have to read this
bwdow is offline   Reply With Quote
Old Oct 5, 2006, 15:04   #7
Sorccu
SitePoint Guru
 
Join Date: Jun 2004
Location: Finland
Posts: 704
You can also give your form fields obscure names. While it won't stop the bots that are smart enough to read the field labels it will prevent most of the random spam. If your site gets targeted it's not gonna help much, though.
Sorccu is offline   Reply With Quote
Old Oct 5, 2006, 15:34   #8
x-termin8or
SitePoint Zealot
 
x-termin8or's Avatar
 
Join Date: Apr 2006
Location: UK, London
Posts: 135
Very good tips and nice ideas.
__________________
Web Design London - Web design, SEO and web hosting!
x-termin8or is offline   Reply With Quote
Old Oct 5, 2006, 15:41   #9
Dan Schulz
In memoriam
gold trophysilver trophybronze trophy
 
Dan Schulz's Avatar
 
Join Date: May 2006
Location: Aurora, Illinois
Posts: 15,586
A lot of this is just plain common sense. But it is essential that somebody takes the time and tells everyone what to do in situations like this.

Brian, thanks a lot for posting this reminder/public service announcement.
Dan Schulz is offline   Reply With Quote
Old Oct 5, 2006, 16:41   #10
mcsolas
SitePoint Wizard
 
mcsolas's Avatar
 
Join Date: Jul 2004
Location: Hermosa Costa Rica
Posts: 1,669
Quote:
Default capchas have long since been cracked, so look out for mods that will set up random or customised questions.
Are all default capchas cracked or just some? Which forum is doing the best job out of the box?

Was having problems with ad submission spam and using a capcha worked wonders for me. Requiring session variables to be set also helped a lot.
__________________
crsurfcam Daily pics & beach cam from Hermosa Costa Rica
crmercado Costa Rica marketplace & free classifieds
solasproductions.com my sites
mcsolas is offline   Reply With Quote
Old Oct 5, 2006, 18:09   #11
IncrediBILL
SitePoint Member
 
Join Date: Oct 2006
Posts: 9
Brian,

Good list but ShoeMoney's list only stops old school spam.

I normally don't post links to my own site, but since you already mentioned it, here's my additional comments on his 5 points:
http://incredibill.blogspot.com/2006...ng-primer.html

BTW, phpBB isn't just a spam target, the registration pages themselves are being used for SEO value:
http://incredibill.blogspot.com/2006...mming-for.html

Spammers appear to be creating tons of never used membership accounts on phpBB site for the sole purpose of getting any rank for Google, Yahoo, Technorati, etc. The people at phpBB really need to make all the links in their membership pages NOFOLLOW if they haven't already.

FYI, one of the easiest ways to stop spam is using javascript as most bots don't use javascript. You can embed captchas and post forms in obfuscated javascript which makes it hard, if not impossible, for their bots to even locate your forms or captchas.
IncrediBILL is offline   Reply With Quote
Old Oct 5, 2006, 19:38   #12
Contrid
Working on it...
 
Contrid's Avatar
 
Join Date: Apr 2006
Location: Online
Posts: 931
Man...there is nothing I hate more than forum spam. (email spam as well.)

A friend of mine headed off to college, and left his forum for a couple of weeks. After about three weeks, I decided to check on it to see if everything is still fine. I was wildly surprised to see that his entire forum was spammed by ads for viagra, valium, etc...etc...etc... It is SMF Forum 1.1

Thanks for the great tips!
I think the capthca/turing helps alot, since these spammers are bots 90% of the time.
__________________
And so I got lost in code...completely asphyxiated by it...

Premium WordPress plugins - Tribulant Software
Contrid is offline   Reply With Quote
Old Oct 5, 2006, 21:06   #13
IncrediBILL
SitePoint Member
 
Join Date: Oct 2006
Posts: 9
FWIW, this is my favorite forum's response to spammers:
http://www.blackholenews.com/Forum/index.php
IncrediBILL is offline   Reply With Quote
Old Oct 5, 2006, 21:39   #14
Dan Schulz
In memoriam
gold trophysilver trophybronze trophy
 
Dan Schulz's Avatar
 
Join Date: May 2006
Location: Aurora, Illinois
Posts: 15,586
Wow, that's cold . I like it !
Dan Schulz is offline   Reply With Quote
Old Oct 6, 2006, 00:37   #15
john2k
SitePoint Wizard
 
Join Date: Aug 2003
Location: NJ
Posts: 1,235
Brian, these are very useful tips for any forum owner. I publish 9 forums... one of which became targeted by spammers, but I got it under control using many of the methods that you mention.

One thing I might add to the list is to not permit guest posting. Or, if guest posting is permitted then make sure to use image verification and possibly set guest posts to moderated status so that they need to be approved by a mod.

A great team of moderators is probably most helpful in combating the spammers IMO.
__________________
For HTML Help visit: HTML Help Central
For Graphic Design help visit: GFXVoid.com
If you're a GEEK then go where geeks go....
john2k is offline   Reply With Quote
Old Oct 6, 2006, 00:42   #16
webnology
SitePoint Evangelist
 
Join Date: Jun 2004
Posts: 415
Great advice, thanks man. Lately I've been getting spam on my IPB BOard. Very anoying. I'll try to implement some things. However, we can't limit it too much so that it becomes a burden for normal users to use the forum either.

M
webnology is offline   Reply With Quote
Old Oct 6, 2006, 00:52   #17
Slava75
SitePoint Enthusiast
 
Join Date: May 2005
Posts: 80
Thanks. I have a few forums with low activity and these steps are likely to save me tons of time i spend on deleting spam posts.
__________________
iPhone Dropshipper
Slava75 is offline   Reply With Quote
Old Oct 6, 2006, 01:52   #18
I, Brian
SEO Link Building Master
 
I, Brian's Avatar
 
Join Date: Apr 2003
Posts: 1,285
Oh, lordy - guest posting - this is where common sense really needs to be involved.

Yes, there's a lot of common sense above, but so many admins are fresh - or simply clueless - at what they're doing that it's easy to fall prey to the simplest spam methods. Check out the forum at Forbes if you want to see a huge corporate failure to address forum spam. Sometimes it simply takes experience of a problem to seek a solution reactively, rather than proactively as is best.

Quote:
Are all default capchas cracked or just some?
The more commonly used a captcha is, the more likely it's either cracked or being cracked. Custom solutions work best because the coders who write spambots are looking to hit volume, and don't want to fanny about with every obscure possibility.

The ones with random validation only a human can respond to are best - there's a great plugin for Wordpress that requires a simple sum to be answered before posting, but I'm not yet aware of similar for forums - as yet.

Also nice to see you posting, Bill - I think a point you made about having security in layers is another key common-sense approach - ie, never rely on a single barrier to stop the spammers, because if that becomes breached you're open to a flood of attacks. So have multiple barriers to stop different levels of attacks, and be aware that whatever you set up against spam bots, will not be a deterrent to human spammers.

2c, and thanks for the sticky, stymiee.
__________________
Internet Business Forums - free business help & advice
I, Brian is offline   Reply With Quote
Old Oct 6, 2006, 04:23   #19
webnoob
SitePoint Wizard
 
webnoob's Avatar
 
Join Date: Dec 2004
Location: At My Desk!!
Posts: 1,641
Thanks very much for taking the tim to post this on here for us
__________________
"Am I the only one doing ASP.NET in Delphi(Pascal)?"
webnoob is offline   Reply With Quote
Old Oct 6, 2006, 05:25   #20
DanPatchett
SitePoint Member
 
Join Date: Aug 2006
Posts: 18
A Very useful thread

I own a popular IPB forum, and somedays the admins have to delete as many as 15 Bot posts!

The above measures will soon be added to my site, and hopefully, this will help

THanks!
DanPatchett is offline   Reply With Quote
Old Oct 6, 2006, 05:41   #21
Hostpitable
HAHA!
 
Join Date: Mar 2006
Posts: 642
Very good list! I´m planning to start a phpbb forum and was wondering what mods you would need to have a fairly SPAM-proof forum straight away.

A list of those mods would be nice. I´m especially intersted in how you can prevent memberlist spamming (don´t quite get you post on it )
Hostpitable is offline   Reply With Quote
Old Oct 6, 2006, 06:52   #22
ozfreejobs
Non-Member
 
Join Date: Oct 2006
Posts: 1
very helpful tips indeed! I will be applying these tips in my own forum!... If ever I get the time for this
ozfreejobs is offline   Reply With Quote
Old Oct 6, 2006, 07:14   #23
xhtmlcoder
Robert Wellock
bronze trophy
 
xhtmlcoder's Avatar
 
Join Date: Apr 2002
Location: A Maze of Twisty Little Passages
Posts: 2,384
They [the kiddies] have evolved quiet a lot over the last six months I've covered all 10 but still they are persistent (but obviously they fail to post or leave signatures).

They now seem to be getting rather good at working around antispam mods though it's still a good list.
__________________
};-) http://www.xhtmlcoder.com/
xhtmlcoder is offline   Reply With Quote
Old Oct 6, 2006, 07:52   #24
paulsjv
SitePoint Addict
 
Join Date: Sep 2002
Posts: 225
Quote:
Originally Posted by IncrediBILL
Spammers appear to be creating tons of never used membership accounts on phpBB site for the sole purpose of getting any rank for Google, Yahoo, Technorati, etc. The people at phpBB really need to make all the links in their membership pages NOFOLLOW if they haven't already.
I have a cron job that runs twice a day to delete any users that register, have zero posts, and a link in their profile. That seems to work fairly well.

Quote:
FYI, one of the easiest ways to stop spam is using javascript as most bots don't use javascript. You can embed captchas and post forms in obfuscated javascript which makes it hard, if not impossible, for their bots to even locate your forms or captchas.
I'd be very interested in seeing your code for this!
paulsjv is offline   Reply With Quote
Old Oct 6, 2006, 08:43   #25
Hostpitable
HAHA!
 
Join Date: Mar 2006
Posts: 642
Quote:
I have a cron job that runs twice a day to delete any users that register, have zero posts, and a link in their profile. That seems to work fairly well.
and I´d be very interested to know how that cron works
Hostpitable is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

 
Forum Jump


All times are GMT -7. The time now is 19:28.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved