Making CAPTCHAs Even Harder With 3-D Models 326
Michael G. Kaplan writes "CAPTCHA (Completely Automated Public Turing Test to Tell Computers and Humans Apart) are commonly used to prevent computers from filling out web forms. Computer vision experts have been able to design programs to foil CAPTCHA with a high degree of success. I have designed a CAPTCHA that is based on the identification of attributes contained in an image generated by the grouping of easily recognized 3-D objects. I call this the Virtual Photographic CAPTCHA and it is likely to remain invulnerable to automated attack for many years to come. A novel anti-spam system necessitated its development."
Famous last words. (Score:5, Funny)
Like so many, he obviously doesnt think anyone can (Score:3, Funny)
spare us the modesty!
Re:This is a good thing! Not!! (Score:5, Funny)
Re:This is a good thing! Not!! (Score:2, Interesting)
How depressing.
Re:This is a good thing! Not!! (Score:3, Funny)
Re: (Score:2, Insightful)
Re:This is a good thing! Not!! (Score:2)
This is a bad thing for the blind. (Score:3, Interesting)
Re:This is a bad thing for the blind. (Score:3, Insightful)
Re:This is a bad thing for the blind. (Score:4, Insightful)
Implementing CAPTCHAs with PHP (Score:5, Informative)
PHP developers might find this article useful:
http://phpsec.org/articles/2005/text-captcha.html [phpsec.org]
Captcha's have already been cracked (Score:5, Interesting)
Vision-recognition systems be dammed, all a spammer needs to do is use the inherent need of apparently most of the male race to look at pictures of naked women to get what he needs. I don't know if a counter was ever found to this method either...
Re:Captcha's have already been cracked (Score:4, Insightful)
Yes, I first heard this from an engineer at Yahoo. They were, as far as I know, the first site to have to deal with this technique on a major scale. Fortunately, this attack requires that the attacker's system communicate with your server, playing the role of a typical user.
So, although the "answer" to the CAPTCHA is provided an actual human, you can still pinpoint mass registrations and the like to a single group of IP addresses in most cases, because the users are not the ones interacting with your application. This becomes a network problem rather than an application problem.
Re:Captcha's have already been cracked (Score:2)
Though if I did this on a small scale and didn't get too greedy I might be able to stay off the radar. Couple that with changing hosts frequently and/or finding hosts with badly enforced TOS's and I can give a headache to any Captcha test.
So the game continues...
Re:Captcha's have already been cracked (Score:2)
Yes, you can always get away with such things on a small scale. In the case of Yahoo, the biggest problem (at the time I learned of this technique, which was about two years ago) was massive registrations. If you register less than a thousand users for an email account or something, they probably didn't care.
I think CAPTCHAs are just another example of a technology that can be effective if used appropriately. Don't depend on it to protect you from anything absolutely, but you can help to prevent automation
*blows whistle* Five-minute major... (Score:4, Informative)
Although it's tangential to the topic, you can't "ban by MAC addresses". Not unless you're on the same ethernet segment as the attacker. Try it the next time you've got access to a few machines separated by at least one router. Ping from two different machines to a third on another network and run tcpdump to inspect the MAC addresses on the packets. Let me know how it turns out. (hint: they'll have the MAC address of the router)
Heh... (Score:2)
Re:Heh... (Score:3, Informative)
Re:Heh... (Score:3, Insightful)
Re:Heh... (Score:3, Insightful)
Re:Captcha's have already been cracked (Score:2)
Excellent point, but if they're already setting up a porn site and marshalling captchas back and forth, piping the results through zombies shouldn't be a very big leap.
What kind of problem is it then?
Re:Captcha's have already been cracked (Score:2)
Which isn't to say that no-one is u
Counter to this method (Score:3, Funny)
Re:Captcha's have already been cracked (Score:2, Interesting)
I guess something that would help could be to include, in the picture, some little notice like "If you see this picture on a non-yahoo webpage, please report to blah@blah".
Could perhaps be countered by removing that notice before presenting it to the eager-to-see-porn target. Though it would at least make the entire procedure more trickier.
Re:Captcha's have already been cracked (Score:2)
I don't like it already (Score:5, Informative)
"Patents pending."
Tyvm, but no.
Re:I don't like it already (Score:2, Insightful)
D'you really expect the man not to take credit for his work?
Just because its patented doesn't mean it cannot be open sourced
Whether it will be, of course is another issue. Great work by Michael all the same. Hope this works.
Here's another test... (Score:5, Funny)
Re:Here's another test... (Score:3, Funny)
Of course that's not the way it currently is done. Glitzy marketing folks tend to generate the acronym first, and then come up with humongous phrases that retrofits into the acronym.
Popular CAPTCHA implementation beaten (Score:5, Interesting)
Kinda scary... (Score:5, Funny)
The logical conclusion is that I'm not actually human. My girlfriend will be very upset when I tell her.
Re:Kinda scary... (Score:2, Funny)
Re:Kinda scary... (Score:2)
"Making CAPTCHAs Even Harder" For Humans to Read "With 3-D Models" should have been the title.
Seems like a pretty horrid plan. And then that it's patent pending (as mentioned earlier) -- that seals the deal.
Re:Kinda scary... (Score:2)
Re:Kinda scary... (Score:2)
Because then somehow you have travled half way around the world, and back in time to Soviet Russia.
Re:Kinda scary... (Score:2)
She already knows.
Took a long time (Score:5, Insightful)
It seems a very good idea, but all that flicking back-and-forth of the eyes is to compute-intensive for my grey matter.
Not to mention three phrases is too many (Score:2)
I would say from looking at the "hacked" examples it seemed to me that the only thing required to really confound detectors was sufficient skew in the letters. In every case letters with a heavy skew were not recognized correctly.
Re:Took a long time (Score:3, Informative)
I need a program to identify them (Score:2, Interesting)
Anti-spam system (Score:2)
And thus you have effectively blocked that email adress permanently for the 70% of the population who doesn't understand the above, and who - more importantly - doesn't have the time or interest to make the effort to understand (and that would include people like my mother), or who don't read English well enough to understand it, interest or
Besides that, this system breaks normal use (Score:2)
Someone already cracked it... (Score:2, Redundant)
In the end, it is only a deterrent. But it is definately not close to foolproof
(note that this technique
Does it scale? (Score:3, Insightful)
Just some hypotheticals.
Let me be the first to say it (Score:2, Insightful)
Re:Let me be the first to say it (Score:2, Insightful)
Just theoretically, what if the picture would present clearly readable text, but with different parameters, like size, boldness, etc. Then the page would ask you to input the "text on the bottom, on the top, the green text, the bold one" or something like this or the combination of this. It would be more simple than the 3D-wizardry. I guess someone would try to identify the keywords, but it would b
Why graphics? (Score:5, Insightful)
Solomon Chang
Re:Why graphics? (Score:3, Interesting)
Multiple guess isn't (as) useful. (Score:2)
Because a random guess has a probability of 1/n of succeeding where n is the number of options offered. So you give me six choices, and instead of sending 20 million spams, I only send 3.3 million. It helps, but not as much as something with a high answer space, like five random letters.
You could ask several such questions in a row, I suppose, but who wants to take the SAT every time they send an email?
Re:Why graphics? (Score:2, Insightful)
already been done (Score:5, Funny)
Rachael: Is this testing whether I'm a replicant or a lesbian Mr Deckard?
Deckard: Just answer the questions please.
Prediction... (Score:3, Insightful)
CAPTCHAs are useless with cheap labor now (Score:3, Insightful)
I had a conversation with a senior executive at a former employer.
He told me that, just as companies were outsourcing tech support to India/China/etc, companies which handled mass-emailing were also outsourcing work to have people sit there and recognize CAPTCHAs as well as respond to those stupid validation things some people try with their email (ie, you have to respond back to some silly email from their server saying "yes, I do ACTUALLY want to email you"). The mass-emailing companies would forward all the responses they got to a mailing to the company, and rooms of people would go through them all.
Very little training was required for the CAPTCHAs, and only rudimentary English for the email-response things.
bullshit (Score:2)
aaaaand how many people use CAPTCHAs for email? (Score:2)
...and not even remotely close to 1%(I'd guess less than .1%) of all email addresses use that stupid auto-responder "reply back to t
Don't invest time in these things yet. (Score:3, Interesting)
I work at a school for the deaf and blind, and captcha's make it impossible for the blind or many of the vision impaired to do many things on the Internet without having help from someone with good vision. Even I, with my cheap LCD monitor and 73 year-old eyes, have trouble reading the Yahoo ones.
Re:Don't invest time in these things yet. (Score:2)
I suppose we could register certain IP addresses as belonging to a handicapped user and require sites to forgo the captcha when they hear from one of those IPs... but then we have all the problems of centralization, privacy invasion, and verification.
Re:Don't invest time in these things yet. (Score:4, Insightful)
To allow governments to actually control the content of websites on such a fine level seems rather draconian to me. Also, while they're typically buried, some websites provide an audio-based alternative; I know that Hotmail offers this. It seems to me that you should rather lobby websites which offer no alternative for blind or vision-impaired users to change their policies.
Finally, I'd like to note that with relatively young eyes and a surplus CAD-workstation monitor, I also find the Yahoo CAPTCHAs difficult to see. The problem is not your eyes, it is rather that in trying to make graphics illegible to computers the algorithm has managed to make the graphics illegible to humans as well.
Re:Don't invest time in these things yet. (Score:2)
Nonsense. Maybe they can dictate that on government web sites but your independent web developer or company can do this all they want. Maybe if we made an effort to fix or replace SMTP rather than keep finding more clever ways to treat the symptoms we'd all be better off. I think that spam is a big enough problem now that if something better than SMTP came along most administrators wouldn't hesitate to start making the switch.
why not do 'auditory' CAPTCHAs for... (Score:2)
I Cannot believe (Score:3, Funny)
Re:Don't invest time in these things yet. (Score:3, Insightful)
A Simple Improvement? (Score:2, Interesting)
Now, I'm not suggesting that it is easy for a computer the read these words; but, wouldn't this darker text colour make it easier for a learning algorithm to "dissect" two letters that intersect slightly?
I can't imagine that re
solving the handwriting problem (Score:4, Interesting)
Re:solving the handwriting problem (Score:2)
impossible for humans to read!
If it can be read, it's NOT human.
Use something other than vision! (Score:2)
Quite simply vision is too simple, or at least the easily automated part of vision that is being used in these type of tests. What needs to be tested is ability to reason and detect patterns in data.
Basically we need to give people reading interpratation tests like they ha
Re:Use something other than vision! (Score:2)
Make them write code! (Score:2)
Basically this is the same effect that it is very easy for humans to prove a great many simple theorems but we can't write a good computer theorem prover. I teach logic and it is clear that even the worst student can be made to do better at proofs than computer based theorem pro
Self esteem problems for people who fail (Score:2)
Re: (Score:2)
Bayesian filtering? (Score:2)
In all seriousness. (Score:2)
A lot of them do stupid things like start with a serif font, distort the hell out of it, and expect me to be able to tell which is a 1 and which is a 7.
Also, while we're on the subject.. I didn't know these things (CAPTCHAs) had a name... a really stupid name.
About time? (Score:2, Funny)
Obligatory checklist (Score:4, Funny)
(X) technical ( ) legislative ( ) market-based ( ) vigilante
approach to fighting spam. Your idea will not work. Here is why it won't work. (One or more of the following may apply to your particular idea, and it may have other flaws which used to vary from state to state before a bad federal law was passed.)
( ) Spammers can easily use it to harvest email addresses
(X) Mailing lists and other legitimate email uses would be affected
( ) No one will be able to find the guy or collect the money
( ) It is defenseless against brute force attacks
( ) It will stop spam for two weeks and then we'll be stuck with it
(X) Users of email will not put up with it
( ) Microsoft will not put up with it
( ) The police will not put up with it
( ) Requires too much cooperation from spammers
( ) Requires immediate total cooperation from everybody at once
(X) Many email users cannot afford to lose business or alienate potential employers
( ) Spammers don't care about invalid addresses in their lists
( ) Anyone could anonymously destroy anyone else's career or business
Specifically, your plan fails to account for
( ) Laws expressly prohibiting it
( ) Lack of centrally controlling authority for email
( ) Open relays in foreign countries
( ) Ease of searching tiny alphanumeric address space of all email addresses
( ) Asshats
( ) Jurisdictional problems
( ) Unpopularity of weird new taxes
( ) Public reluctance to accept weird new forms of money
( ) Huge existing software investment in SMTP
( ) Susceptibility of protocols other than SMTP to attack
( ) Willingness of users to install OS patches received by email
( ) Armies of worm riddled broadband-connected Windows boxes
( ) Eternal arms race involved in all filtering approaches
( ) Extreme profitability of spam
( ) Joe jobs and/or identity theft
( ) Technically illiterate politicians
( ) Extreme stupidity on the part of people who do business with spammers
( ) Dishonesty on the part of spammers themselves
( ) Bandwidth costs that are unaffected by client filtering
( ) Outlook
and the following philosophical objections may also apply:
(X) Ideas similar to yours are easy to come up with, yet none have ever
been shown practical
( ) Any scheme based on opt-out is unacceptable
( ) SMTP headers should not be the subject of legislation
( ) Blacklists suck
(X) Whitelists suck
( ) We should be able to talk about Viagra without being censored
( ) Countermeasures should not involve wire fraud or credit card fraud
( ) Countermeasures should not involve sabotage of public networks
( ) Countermeasures must work if phased in gradually
( ) Sending email should be free
( ) Why should we have to trust you and your servers?
( ) Incompatiblity with open source or open source licenses
( ) Feel-good measures do nothing to solve the problem
(X) Temporary/one-time email addresses are cumbersome
( ) I don't want the government reading my email
( ) Killing them that way is not slow and painful enough
Furthermore, this is what I think about you:
(X) Sorry dude, but I don't think it would work.
( ) This is a stupid idea, and you're a stupid person for suggesting it.
( ) Nice try, assh0le! I'm going to find out where you live and burn your
house down!
(From http://www.craphound.com/spamsolutions.txt)
Re:Obligatory checklist (Score:2)
Re:Obligatory checklist (Score:3, Interesting)
(X) Mailing lists and other legitimate email uses would be affected
You shouldn't sign up for the mailing list with your non-subaddress account.
(X) Users of email will not put up with it
Why? It should be automatic. If done on a massive scale (de-facto industry standard), people can believe that it'll take two weeks to convert, and then spam will be gone. They will put up with
It won't work. (Score:2)
First, you're dealing with a very small set of 3d models that can be easily duplicated. (Lets face it, the stock set is all that's ever going to be used. If you think that folks have forever to constantly create and install new models, you're mistaken. Also, what's to stop spammers from simply buying the same model's you're using? Nothing.
The *lighting* of the original is a red herring, the fact that the background is fairly plain and offers a notica
This is irrelevant (Score:2)
Sadly theres no real way to stop this.
one thing... (Score:2)
Take the recognition out of the loop (Score:2, Interesting)
This sucks. (Score:4, Insightful)
US govt contractors won't be able to use it (Score:4, Insightful)
Many companies that do business in the United States of America are subject to regulations [ada.gov] that forbid them from discriminating against people with disabilities; companies that have significant contracts with the United States Government are subject to the stricter guidelines of Section 508 of the Rehabilitation Act [section508.gov]. Anything that discriminates so flagrantly against people with vision or cognitive disabilities may get companies in trouble with the law.
Not much novel and useful here (Score:2)
But the anti-spam system isn't very novel. A number of systems have tried custom subtags to generate unique addresses for other folks to use, they tend to cause more problems than they solve. This is really just a challenge/response system which is harder to use, and worst of all, forces the sender to cut and paste their mail to send it again. No thanks, you p
Anything's better than "Type in the word." (Score:2)
Much like aggressive spam filtering, any ARE YOU A POOTER? [ Y ] { N } [ ______ } is going to turn up false positives.
why? (Score:3, Insightful)
Spam is a problem, but for me at least, this ain't the solution! I'm not about to jump through these hoops. If you want to exchange e-mails with me, fine. This system tells me you don't.
A lot of people won't understand it, and a lot of people who do are going to ignore it and move on to the next message in the inbox.
Make them write code! (Score:2)
Basically this is the same effect that it is very easy for humans to prove a great many simple theorems but we can't write a good computer theorem prover. I teach logic and it is clear that even the worst student can be made to do better at proofs than computer based theorem prov
I won't jump through hoops! (Score:2)
If an ISP can't be bothered to set up a decent virus and spam filter, and relies on bouncing EVERYTHING back to the sender to check for signs of life, it creates two problems for the rest of us:
Problems with This System (Score:5, Insightful)
Re:Problems with This System (Score:3, Interesting)
1. If you emailed an employer your resume, he would automatically be whitelisted. His reply would go through to your inbox, and he would be sent a valid subaddress in plaintext that could be automa
Famous Last Words (Score:2)
'Nuf Said.
wow (Score:2, Funny)
Here we go again. (Score:2)
CAPTCHA problems resolved (Score:3, Interesting)
I find the classification of these measures as "abusive" to be flawed at best, and misleading at worst. CAPTCHAS are a desperate response to an immoral group of people who will stop at nothing to make money with absolutely no regard for the problems, cost, and distress they cause their targets, who hide behind the first amendment when possible, or using illegal techniques when not. I hate having to deal with them myself, but I understand the necessity of their existence, however unpleasant, and will continue to deal with them as long as is necessary, as such.
Below are several problems mentioned with CAPTCHAs, as well as some possible solutions:
1] Accessibility
Problem: Blind/visually impaired users cannot reliably read the altered text.
Solution: Audio file accompanies every graphic, to be read on command. (However, still crackable with speech recognition.)
2] Referring test to 3rd parties
Problem: Spammers have other membership-based site users (i.e. porn sites) do the test.
Solution 1: Image is generated randomly, based on a user session, requiring an actual visit to your site; copying will be less effective unless the images are compared later... which may be quite some time if there are a large number of images and/or if the images are generated live on the server, rather than being stored files.
Solution 2: Include text imbedded in the image (and audio file) specifically referencing the site it is to be utilized with exclusively, requesting that the user report violations of duplication/unauthorized usage, and possibly offering a small reward for information leading to the arrest/conviction/judgment against the violator.
3] AI text processing
Problem: AI can be complex enough to identity letters, no matter how obfuscated, until such characters must be so distorted that even a human cannot decipher them.
Solution: Ask a logic question, present a photograph, or require another means of challenge/response than simple text recognition.
Example 1: Present a photograph of an apple or otherwise easily-spelled object, and ask the user to type the name into a field, or allow the user to select from a group of mildly distorted text, to avoid spelling issues. (However, this issue raises the accessibility issue again.)
Example 2: Present a short list of slightly distorted words (with audio files available for each word), and ask a short logic/history/other question. (One | Two | Three | Four | Orange - Of these words, one does not match. Please type the number of letters in this word, in numeric format. (Example: Apple = 5) This test is to be used exclusively by abc123.org. Please let us know if you see this elsewhere, as this means it was stolen.)
Until it is financially infeasible for a spammer to continue to do business, we will all be forced to deal with the messes they make. This is a challenge/response system, not an attempt to abuse the users of the internet. If there was a better way to solve this problem than hitting "delete" (which must happen hundreds if not thousands of times per day, for some of use), or using filters (which ALL give false positives, eventually), you can be sure that millions of semi-knowledgeable or better computer users would have chosen this path. To claim that such measures, which attempt to HELP people are abuse... perhaps you would like to re-evaluate your claim.
Simple replacement for CAPTCHAs (Score:2)
Eg: for photos:
What colour is the carpet?
How many men are in the picture?
What colour is the lamp?
What is the largest shape?
How many sides does the smallest shape have?
Short story or article: (can select article/answers for language)
Who is the name of the protagonist?
What is his favorite rock?
What street does Bob
Won't be cracked in ten years? Ha! (Score:5, Insightful)
Let's look at his "LUCKY" example to see why. So he has a picture of the standing man, the flower, and the sitting man, and all over the picture, he has a series of glyphs. As these glyphs are not distorted, they are easily extracted -- the whole point of this system is that distortion based CAPTCHAs are relatively easy to defeat, so he doesn't bother. In his example, he has 26 glyphs, corresponding to A-Z, but in practice, it isn't important what the set is -- only that it is small and finite.
Once this set is extracted, we know that the "password" is some permutation of this set. Because the set of possible characters in an e-mail address is much smaller than the set of possible characters in an actual password (in particular, e-mail addresses are case insensitive), brute-force cracking of this password is much simpler than brute force cracking of a UNIX password, for example. But luckily for us, it's even easier than that.
In the e-mail, he includes this "decoder" list.
Of course, it should be clear at this point that this list would be relatively easy to extract from the e-mail, and further, that it tells you the exact length of the password, reducing the number of permutations to check to (in this case) 11,881,376.
Furthermore, a little bit of extra logic could reduce this number still further by noticing repetitive patterns in the list. So if "The Leaf of the Flower" appears twice, we know that the letters in those two slots are the same. And if the glyph set is unique (ie, no glyph appears twice), then we can reduce the number of permutations to at most 7,893,600.
Now, that's still a fairly large number of permutations to check, and at one point, it probably would have been enough. However, computational power is free now, at least for spammers. And it doesn't take much. Here's a sample perl (!) program I ran on my Debian GNU/Linux laptop (1.2GHz Pentium M).
This just prints out all the permutations; of course they still would need to be checked.
Not very long on a modern computer, eh? And written in perl, too, not exactly the fastest programming language in the world. Now consider that spammers have access to just about infinite CPU and bandwidth, thanks to their army of zombie bots, and that both CPU power and bandwidth are likely to increase at a rather rapid rate in the next decade. Furthermore, this is a worst case scenario -- success in a brute force attack tends to occur somewhere in the middle, not towards the end, reducing the necessity to actually go through all the permutations.
You don't think they'd try to crack it?
Plus, by his own admission, e-mail addresses can be shared. What does this mean in this context? I don't even need to get the e-mail address encoded in the CAPTCHA! If I can get any working e-mail address, even one, I get through! So the more active he is, e-mail wise, the more likely I can randomly strike a hit in the first hundred or so tries.
On top of
Honestly! (Score:2, Interesting)
That's what I thought this was going to be about. Imagine my disappointment at more of the same. What about a Q/A based upon an image?
I.e.
The boy has how many apples in his left hand?
Animals, Left to right (cat, dog, bird)
With enough style these could be much more difficult than those damn words, which even I with my above average visual acuity, have difficulty decyphering (imagi
Re:Honestly! (Score:2)
And on a more serious note, what are they going to do about blind people?
Re:Honestly! (Score:2)
Re:Honestly! (Score:2)
Simple natural language parsing would handle the responses.
Yes, we still need another option for those with low vision, but maybe even a textual description would be possible.
Re:3d captchas (Score:2)