PDA

View Full Version : Everything You Ever Wanted To Know About CAPTCHAs



Resurrection
07.06.11, 06:36
But Were Afraid To Ask.... :rolling_eyes:


Everything You Ever Wanted To Know About CAPTCHAs But Were Afraid To Ask [Technology Explained] (http://www.makeuseof.com/tag/wanted-captchas-afraid-technology-explained/)

----------


Love them or hate them – CAPTCHAs have become ubiquitous on the Internet. What is CAPTCHA anyway, and where did it come from? Responsible for eye-strain the world over, the humble CAPTCHA has been the centre of much attention as the single most effective weapon in the fight against web spam. But are they effective? Are there any other kinds of CAPTCHA other than the basic “tilt your head, squint and read me”?



You Shall Not Pass (The Turing Test)!

Captcha’s were invented by a team of Carnegie Mellon professors and put into first use around the year 2000 by AltaVista and Yahoo, in an attempt to prevent automated chat bots and URL submissions. It is in fact an acronym for Completely Automated Public Turing test to tell Computer and Humans Apart.

For those of you who don’t know what that means, it may help to explain what the Turing test is. Named after British professor Alan Turing, the Turing test is the standard test of an Artificial Intelligence based machine, whereby if a machine can pass the test, it is considered to exhibit intelligent behaviour. Essentially the test involves conversing with a number of judges through a text interface – if the judges can’t tell they are chatting to a computer, it passes the test. Personally, I’m of the opinion that the Turing test is useless, on the basis that a dolphin couldn’t converse with a human either, yet we attribute them with a higher form of intelligent behaviour. But I digress.

http://www.sb-innovation.de/attachment.php?attachmentid=11018

The CAPTCHA therefore, is an automated Turing test. There are a number of different ways of doing this, but the most common one that we seem to have settled on is to present the user with a scrambled form of text, assuming (often incorrectly) that any normal human will be able to decipher the text.

http://www.sb-innovation.de/attachment.php?attachmentid=11017

The CAPTCHA has evolved over time, but has ultimately been defeated as we’ll find out later.



Text-Based CAPTCHAs & The Re-CAPTCHA Project

The reCAPTCHA project, now owned by Google, decided that instead of inanely deciphering cryptic text for no real good, it presented a fantastic opportunity to correct the shortcomings of computer-based Optical Character Recognition. (http://www.makeuseof.com/tags/ocr) For older books especially, computers find it very hard to recognise the words, whereas a human finds the tasks trivial. Combine the task of digitising old books with spam prevention, and you’re onto an absolute winner.

http://www.sb-innovation.de/attachment.php?attachmentid=11016

However, if the computer had trouble recognising the word in the first place, how can it tell if what you wrote in is nonsense? Simple – present the user with TWO words – one of which is known. The system assumes that if the user correctly types the known word, then the chances are that the unrecognisable word is also correct.

Another ingenious idea is to combine the CAPTCHA with some form of advertising. (http://www.makeuseof.com/dir/solvemedia-earn-money-through-captcha/)



Math Problem

http://www.sb-innovation.de/attachment.php?attachmentid=11015

OK, the picture is a joke, but essentially the user is presented with a basic math problem. We use a similar system on the Answers site right now. It needn’t be difficult, just some basic addition.



Image-Based CAPTCHAs

As difficult as some of the ReCAPTCHA codes can be for you and I sometimes, software has already been developed which can break the code with about a 30% success rate – which for a spam campaign with millions of tries is quite an acceptable rate. Images on the other hand are extremely difficult to process for computers semantically. Think about a simple cat picture – programming a computer to recognise a human face is hard enough, but to distinguish a cat from all the other animals and objects in the world is pretty much impossible at this point in time.

http://www.sb-innovation.de/attachment.php?attachmentid=11014



Logic-Based

These rely on logical and semantic intelligence about the world, or just basic common human sense. Some examples might be:

Identify the food in this list: asphalt, bacon, cloud, dagger.
Identify the weapon in this list: asphalt, bacon, cloud, dagger.
How many doors are on a four-door car?
What is the third word in this sentence?
What’s left if you remove the B from ABC?


A great plugin to integrate these kind of tests into your WordPress comment system is WP-Gatekeeper, by the way.



De-CAPTCHA Services

The sad fact is that while CAPTCHAs are a necessary evil, they are easily overcome by spammers nowadays. While some spammers have indeed developed sophisticated software that can mimic the human eye and brain to decode like a human does, the truth is far more simpler and more horrific. Why develop expensive software when you can pay someone pennies to do the CAPTCHA for you? The current cheapest going rate is $1.39 for 1000 CAPTCHAs, with a 98% accuracy rate, and services such as Death By Captcha have developed elaborate APIs for developers to use. The only person being slowed down by CAPTCHAs nowadays, is you!



The Future Of The Captcha

Like everything else in life, CAPTCHAs are not impenetrable to hacking or spamming. As new and more ingenious tests are devised, ever more sophisticated ways of breaking them will be developed – and the solution of paying someone else to do them for you can never be defeated. Even so, it’s our responsibility as web developers and admins to keep spammers away from our sites without degrading user experience.

Are you shocked to learn how cheaply a CAPTCHA can be defeated for? Have you seen any other kind of CAPTCHAs out in the wild that impressed you? Let us know in the comments! Also, be sure to check all the funny pictures tagged “captcha” over on Geeky Fun.


--------------

According to me,the worst thing about captcha is when you have to fill out a huge form of information with your address and all that, then you get a crappy captcha, you think you got it right so you hit submit. Then bam, you get an error and it clears out all your information and you have to do it again.

:icon_angry[1]:

anon
07.06.11, 21:45
According to me,the worst thing about captcha is when you have to fill out a huge form of information with your address and all that, then you get a crappy captcha, you think you got it right so you hit submit. Then bam, you get an error and it clears out all your information and you have to do it again.

:icon_angry[1]:

One thing I like about Opera and that I've never seen on another browser - "submit in background tab" (Ctrl+Shift+click).

lemongreentea
08.06.11, 11:47
According to me,the worst thing about captcha is when you have to fill out a huge form of information with your address and all that, then you get a crappy captcha, you think you got it right so you hit submit. Then bam, you get an error and it clears out all your information and you have to do it again.

:icon_angry[1]:

That is why I use Roboform. All I have to do is type in captcha.