CAPTCHA Integration (Image Verification)

The 2.0.x discussion forum has been locked; this will remain read-only. The 3.0.x discussion forum has been renamed phpBB Discussion.

CAPTCHA Integration (Image Verification)

Postby Atari » Fri Nov 04, 2005 4:22 pm

The PhpBB team should *strongly* consider using the FreeCAP CAPTCHA lib. It's the best I've seen, GPL'd, and looks like it will easily stand up to the anti-CAPTCH efforts at PWNtcha.

FreeCAP is available here:
http://www.puremango.co.uk/cm_captcha_113.php


PWNTCHA is here:
http://sam.zoy.org/pwntcha


Notice that the VBulletin CAPTCHA method has been cracked (easily).


In my opinion any serious forum software should have (good) CAPTCHA integration (at least as an on/off option) for registration, contact, and search functions.


I really am looking forward to the PhpBB team integrating this... it seems like its a very well thought out CAPTCHA module.
Last edited by Atari on Fri Nov 04, 2005 4:36 pm, edited 1 time in total.
Atari
Registered User
 
Posts: 20
Joined: Mon Dec 01, 2003 10:31 pm

Postby Atari » Fri Nov 04, 2005 4:27 pm

You'll also notice on the PWNTCHA site that the current CAPTCHA method used by PhpBB has been cracked as well.

It was cracked by PWNTCHA a looong time ago IIRC.

Anyway, now you guys now and have been shown a free/gpl alternative...

I hope it will be included ASAP.

I'm sure I'm not the only one who views PHPBB's CAPTCHA method being cracked as a security issue.

The FreeCAP library would take care of that.
Atari
Registered User
 
Posts: 20
Joined: Mon Dec 01, 2003 10:31 pm

Postby bonelifer » Fri Nov 04, 2005 4:39 pm

If you feel the current phpBB CAPTCHA system has been cracked then post it to the SECURITY TRACKER. http://www.phpbb.com/security/
Knowledge Base | phpBB Board Rules | Search All Mods

Image bonelifer - phpBBModders Moderator Team Leader - http://www.phpbbmodders.net

Please refrain from making PM's to me unless you are genuinely asking for help or I have asked you to do so.
User avatar
bonelifer
Registered User
 
Posts: 1912
Joined: Wed Oct 27, 2004 11:35 pm

Postby Atari » Fri Nov 04, 2005 5:16 pm

Atari
Registered User
 
Posts: 20
Joined: Mon Dec 01, 2003 10:31 pm

Postby Atari » Fri Nov 04, 2005 5:18 pm

bonelifer wrote:If you feel the current phpBB CAPTCHA system has been cracked



Anyway.. it's not that I feel it has been cracked, it HAS been cracked.

You can see for yourself here:

http://www.pwntcha.net/test.html

They even list phpBB on that page as suggested source to find a vulnerable image to test with! :(
Atari
Registered User
 
Posts: 20
Joined: Mon Dec 01, 2003 10:31 pm

Postby Atari » Fri Nov 04, 2005 5:20 pm

Vbulletins captcha routine was cracked by them (long ago) as well, unfortunately they aren't as lucky as PhpBB who can simply dump the current method & incorporate that GPL'd FreeCAP library.
Atari
Registered User
 
Posts: 20
Joined: Mon Dec 01, 2003 10:31 pm

Postby Techie-Micheal » Fri Nov 04, 2005 7:25 pm

Last I checked on Sam's site, phpBB's image had a less probabilty of being broken than vB or some of the others ...
Need a server admin? Want phpBB installed? Contact me for a quote.
User avatar
Techie-Micheal
Support Team Member
Support Team Member
 
Posts: 19311
Joined: Sun Oct 14, 2001 12:11 am
Location: Silicon Valley

Postby starfoxtj » Fri Nov 04, 2005 7:54 pm

Wow, it correctly guessed all the image verification files I sent to it.

How does that work? (Especially the squiggly ones)
Admin ToolKit v2.1a - An Admins most helpful tool for user management. Now Supports Mass User Deletion!
Change User's: names, passwords, emails, active status and avatar/pm permissions.
Ban/Unban Users, change Post and Resync Counts, and promote/demote users to admin.
Completely independent from your phpbb user account settings. No installation required, just upload one file.
User Upload ToolKit Beta - A quick and easy, 30 second-install, attachment mod. Now Supports Dynamic Thumbnails!
User avatar
starfoxtj
Registered User
 
Posts: 3714
Joined: Tue Jul 29, 2003 2:01 am

Postby Daz » Fri Nov 04, 2005 9:24 pm

Hi,

starfoxtj go and play with some OCR software and you will see how it works.

It didn't guess any of the easy ones I sent it — no prizes for working out it guessing phpBB one by its (big and easy to OCR) dimensions.

OCR fails/does badly with;

small size/low resolution
poor contrast
short angled strings — long ones it will de-skew automatically.
Sans-serif (and obviously graffiti type) fonts.
patterned backgrounds that confuse it into thinking it might be text — a pattern made up of letters would be good to use.
Mixed line art and text.

As well as using colour to present a low contrast (for those programs converting images to grayscale) you could also use multiple images.
Please and Thank You works wonders...
I reserve the right to post illogical (and totally wrong) replies.
...It's the subtle perfection in attention to detail that makes your work rock the way it does - cdkrg
Think simple - it's not necessarily what you draw that matters, it's what you perceive - Daz

Note: ForumImages<dot>com is no longer anything to do with me.
User avatar
Daz
Registered User
 
Posts: 5218
Joined: Fri Dec 07, 2001 2:39 pm
Location: Yorkshire, UK

Postby NeoThermic » Fri Nov 04, 2005 10:27 pm

A few days ago there was a question asked on editing the secuirty image; In the topic I also gave a copy of the code I'm using:
http://www.phpbb.com/phpBB/viewtopic.php?t=337628

You might find it helpful..

NeoThermic
NeoThermic.com... a well of information. Ask me for the bit bucket so you can drink its goodness. ||新熱です
User avatar
NeoThermic
Styles Team Member
Styles Team Member
 
Posts: 2141
Joined: Thu Dec 25, 2003 1:33 am
Location: United Kingdom

Postby Techie-Micheal » Fri Nov 04, 2005 10:58 pm

Need a server admin? Want phpBB installed? Contact me for a quote.
User avatar
Techie-Micheal
Support Team Member
Support Team Member
 
Posts: 19311
Joined: Sun Oct 14, 2001 12:11 am
Location: Silicon Valley

Postby Atari » Fri Nov 04, 2005 11:00 pm

NeoThermic wrote:A few days ago there was a question asked on editing the secuirty image; In the topic I also gave a copy of the code I'm using:
http://www.phpbb.com/phpBB/viewtopic.php?t=337628

You might find it helpful..

NeoThermic



Nice!

Yours is a little hard to read at times, but it's better than something that is so easily cracked with OCR.

Did you check out that FreeCAP lib? I guess it has routines for anti-brute force attempts, 3 different background image routines, multiple fonts etc.

Any chance that you could integrate that into phpbb?
Atari
Registered User
 
Posts: 20
Joined: Mon Dec 01, 2003 10:31 pm

Postby Atari » Fri Nov 04, 2005 11:32 pm




Are these tweaks that you are playing with now?

Keep in mind, just because it doesn't crack them right now doesn't mean that they aren't easily crackable by him after he (or someone malicious) has written a routine to deal with that (new) type of captcha.

Example: http://www.pwntcha.net/test.html?file=2 ... qieTi.jpeg

Upside down and backwards from the easily crackable original isn't going to cut it. It would be just as easy to crack as the original method.
Atari
Registered User
 
Posts: 20
Joined: Mon Dec 01, 2003 10:31 pm

Postby Techie-Micheal » Sat Nov 05, 2005 2:12 am

Atari wrote:



Are these tweaks that you are playing with now?

Keep in mind, just because it doesn't crack them right now doesn't mean that they aren't easily crackable by him after he (or someone malicious) has written a routine to deal with that (new) type of captcha.

Example: http://www.pwntcha.net/test.html?file=2 ... qieTi.jpeg

Upside down and backwards from the easily crackable original isn't going to cut it. It would be just as easy to crack as the original method.
Not mine, no. I'll play around with some code later.
Need a server admin? Want phpBB installed? Contact me for a quote.
User avatar
Techie-Micheal
Support Team Member
Support Team Member
 
Posts: 19311
Joined: Sun Oct 14, 2001 12:11 am
Location: Silicon Valley

Postby Graham » Sat Nov 05, 2005 1:31 pm

It is worth noting that the current image verification code is designed to work without requiring additional modules (such as GD) to be available on the server which anything to do any form of rotation and so on will do so.

This will not be changing for the 2.0.x line of the software without a very good reason.
"So Long, and Thanks for All the Fish"

phpBB Useful Links: Knowledge Base | Userguide | Forum Search | MOD Database | Styles Database
My Links: Blog!
Graham
Former Team Member
 
Posts: 8462
Joined: Tue Mar 19, 2002 7:11 pm
Location: UK

Next

Return to 2.0.x Discussion

Who is online

Users browsing this forum: No registered users and 3 guests