Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

General Discussions


You are currently viewing our General Discussions as a guest. Please register to participate.
Login



Reply
Why do people use Captchas? They're broken
Old 02-22-2008, 02:56 PM Why do people use Captchas? They're broken
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
PWNtcha stands for "Pretend We’re Not a Turing Computer but a Human Antagonist". The site has code that will defeat many common Captcha systems, but will not release it. For obvious reasons. This is academic research, but spammers would be in heaven. Here's a quote from a link on the site

Quote:
this article is about writing a comment spam bot. it ended up posting 94 comment messages to CAPTCHA protected blog pages in 10 minutes. all it does is visit a blog post and download the associated CAPTCHA image. then it uses some image processing techniques to parse out the characters in the image. each character is then run through some AI processing to figure out what letter the character image represents. finally, with the result, it posts the comment spam to the blog engine. i wrote it for a couple of reasons ... mainly to show that rel= 'nofollow' and CAPTCHA are false protection from comment spam.


That's not the only way to do it, and it sounds like this is the hard way. I think that AI spam bot has to be programmed for every type of Captcha it can break. But there's an easy way even I could do.

Create Table CaptchaBuster ( ImageUrl varChar(400), ImageHash varChar(400), FormData Text, CaptchaAnswer varChar(100) )

Now if you have a naughty robot, when it gets challenged, it has an easy process. Download the image, hash the file, and go look up the answer in the database. If that file doesn't exist, add it to the database, and alert a human to answer it. That human can go to the comment page (or wiki add a "relevant" external link or whatever) and hit refresh a few times in case any more new ones show up. You just cache the answers in your database.

Learning Newbie Is A Spammer??!?


There's a process.
  1. Spam.
  2. Good guys make captchas to stop spam.
  3. Spammers laugh at captchas. I'm playing the role of a bad guy to point out the weakness.
  4. We address that flaw and come up with something more secure.
So what makes this stuff weak and easy to break, then? What needs to be fixed?
  • They're easy to read. OCR software knows how to make text out of text that's in a gif file or a fax or whatever. Problem is, the harder you make it for a computer to break, the worse it looks and the harder for a real person. Don't want to drive humans away with the robots, so this is a last resort. But anything that's too easy, someone already made software to break it.
  • Not enough variation. Lots of sites have like 3 differnet captchas, and a spammer can fill his database in minutes. It takes time to make new captcha images, so nobody really wants to, but this makes a spammer's job easy.
  • One system. We've seen lots of different kinds of captchas, each one has its own style with fonts and colors and stuff in the background - but most sites pick one and go with it. Since people might do AI or they might do a database or even some other approach I didn't think of, you're safer if you change the locks sometimes.
But even making these kinds of changes, Captchas are still broken. Maybe instead of throwing rocks at the end user, what web systems programmers really need to do is make things more secure on the server.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-22-2008, 03:07 PM Re: Why do people use Captchas? They're broken
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Here's another quote from something the article links to

regardless of whether the attack went smooth or not, i think its my responsibility to explain how the CAPTCHA could be improved. these are some of the ways that would make it much more difficult for my comment spam bot to work against. not that i dont think i could extend my current spam bot to handle alot of these cases too. e.g. here are some articles where they have beaten much harder CAPTCHAs than what i did : Breaking a Visual CAPTCHA and PWNtcha - captcha decoder. a harder CAPTCHA would take more time to write a program to beat. i only spent about 24 coding hours to put this one together. it would also be a harder problem to solve, so less people would be able to write that bot.
  • render the characters with different colors
  • make some characters darker than the background, and some lighter
  • use gradient colors for the backgrounds and the characters
  • dont align all the characters vertically
  • dont make the answers words, so that a dictionary could be used
  • use more characters and symbols
  • use uppercase and lowercase characters
  • use a different number of characters each time
  • rotate some of the characters more drastically (i.e. upside down)
  • do more overlapping of characters
  • make some pixels of a single character not touching
  • have grid lines that cross over the characters with their same color
  • consider asking natural language questions
  • etc ...
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Why do people use Captchas? They're broken
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14563 seconds with 12 queries