ReCAPTCHA explained

reCAPTCHA Inc.
Logo Size:130px
Author:
Developer:Google
Genre:Classic version: CAPTCHA
New version: Behavioral analysis

reCAPTCHA Inc.[1] is a CAPTCHA system owned by Google. It enables web hosts to distinguish between human and automated access to websites. The original version asked users to decipher hard-to-read text or match images. Version 2 also asked users to decipher text or match images if the analysis of cookies and canvas rendering suggested the page was being downloaded automatically.[2] Since version 3, reCAPTCHA will never interrupt users and is intended to run automatically when users load pages or click buttons.[3]

The original iteration of the service was a mass collaboration platform designed for the digitization of books, particularly those that were too illegible to be scanned by computers. The verification prompts utilized pairs of words from scanned pages, with one known word used as a control for verification, and the second used to crowdsource the reading of an uncertain word. reCAPTCHA was originally developed by Luis von Ahn, David Abraham, Manuel Blum, Michael Crawford, Ben Maurer, Colin McMillen, and Edison Tan at Carnegie Mellon University's main Pittsburgh campus.[4] It was acquired by Google in September 2009. The system helped to digitize the archives of The New York Times, and was subsequently used by Google Books for similar purposes.[5]

The system was reported as displaying over 100 million CAPTCHAs every day, on sites such as Facebook, TicketMaster, Twitter, 4chan, CNN.com, StumbleUpon, Craigslist (since June 2008), and the U.S. National Telecommunications and Information Administration's digital TV converter box coupon program website (as part of the US DTV transition).

In 2014, Google pivoted the service away from its original concept, with a focus on reducing the amount of user interaction needed to verify a user, and only presenting human recognition challenges (such as identifying images in a set that satisfy a specific prompt) if behavioral analysis suspects that the user may be a bot.

In October 2023, it was found that OpenAI's GPT-4 chatbot could solve CAPTCHAs.[6]

Origin

Distributed Proofreaders was the first project to volunteer its time to decipher scanned text that could not be read by optical character recognition (OCR) programs. It works with Project Gutenberg to digitize public domain material and uses methods quite different from reCAPTCHA.

The reCAPTCHA program originated with Guatemalan computer scientist Luis von Ahn, and was aided by a MacArthur Fellowship. An early CAPTCHA developer, he realized "he had unwittingly created a system that was frittering away, in ten-second increments, millions of hours of a most precious resource: human brain cycles".

Operation

ReCAPTCHA v1 (human-assisted OCR)

Scanned text is subjected to analysis by two different OCRs. Any word that is deciphered differently by the two OCR programs or that is not in an English dictionary is marked as "suspicious" and converted into a CAPTCHA. The suspicious word is displayed, out of context, sometimes along with a control word already known. If the human types the control word correctly, then the response to the questionable word is accepted as probably valid. If enough users were to correctly type the control word, but incorrectly type the second word which OCR had failed to recognize, then the digital version of documents could end up containing the incorrect word. The identification performed by each OCR program is given a value of 0.5 points, and each interpretation by a human is given a full point. Once a given identification hits 2.5 points, the word is considered valid. Those words that are consistently given a single identity by human judges are later recycled as control words. If the first three guesses match each other but do not match either of the OCRs, they are considered a correct answer, and the word becomes a control word.[7] When six users reject a word before any correct spelling is chosen, the word is discarded as unreadable.

The original reCAPTCHA method was designed to show the questionable words separately, as out-of-context correction, rather than in use, such as within a phrase of five words from the original document. Also, the control word might mislead the context for the second word, such as a request of "/metal/ /fife/" being entered as "metal file" due to the logical connection of filing with a metal tool being considered more common than the musical instrument "fife".

In 2012, reCAPTCHA began using photographs taken from Google Street View project, in addition to scanned words.[8] It will ask the user to identify images of crosswalks, street lights, and other objects. It has been hypothesized that the data is used by Waymo (a Google subsidiary) to train autonomous vehicles, though an unnamed representative has denied this, claiming the data was only being used to improve Google Maps as of mid-2021.[9]

Google charges for the use of reCAPTCHA on websites that make over a million reCAPTCHA queries a month.

No CAPTCHA reCAPTCHA (v2+)

In 2013, reCAPTCHA began implementing behavioral analysis of the browser's interactions to predict whether the user was a human or a bot. The following year, Google began to deploy a new reCAPTCHA API, featuring the "no CAPTCHA reCAPTCHA"—where users deemed to be of low risk only need to click a single checkbox to verify their identity. A CAPTCHA may still be presented if the system is uncertain of the user's risk; Google also introduced a new type of CAPTCHA challenge designed to be more accessible to mobile users, where the user must select images matching a specific prompt from a grid.[10]

In 2017, Google introduced a new "invisible" reCAPTCHA, where verification occurs in the background, and no challenges are displayed at all if the user is deemed to be of low risk.[11] According to former Google "click fraud czar" Shuman Ghosemajumder, this capability "creates a new sort of challenge that very advanced bots can still get around, but introduces a lot less friction to the legitimate human."[12]

reCAPTCHA v1 was declared end-of-life and shut down on March 31, 2018.[13]

Implementation

The reCAPTCHA tests are displayed from the central site of the reCAPTCHA project, which supplies the words to be deciphered. This is done through a JavaScript API with the server making a callback to reCAPTCHA after the request has been submitted. The reCAPTCHA project provides libraries for various programming languages and applications to make this process easier. reCAPTCHA is a free-of-charge service provided to websites for assistance with the decipherment, but the reCAPTCHA software is not open-source.[14]

Also, reCAPTCHA offers plugins for several web-application platforms including ASP.NET, Ruby, and PHP, to ease the implementation of the service.[15]

Security

The main purpose of a CAPTCHA system is to block spambots while allowing human users. On December 14, 2009, Jonathan Wilkins released a paper describing weaknesses in reCAPTCHA that allowed bots to achieve a solve rate of 18%.[16]

On August 1, 2010, Chad Houck gave a presentation to the DEF CON 18 Hacking Conference detailing a method to reverse the distortion added to images which allowed a computer program to determine a valid response 10% of the time. The reCAPTCHA system was modified on July 21, 2010, before Houck was to speak on his method. Houck modified his method to what he described as an "easier" CAPTCHA to determine a valid response 31.8% of the time. Houck also mentioned security defenses in the system, including a high-security lockout if an invalid response is given 32 times in a row.

On May 26, 2012, Adam, C-P, and Jeffball of DC949 gave a presentation at the LayerOne hacker conference detailing how they were able to achieve an automated solution with an accuracy rate of 99.1%. Their tactic was to use techniques from machine learning, a subfield of artificial intelligence, to analyze the audio version of reCAPTCHA which is available for the visually impaired. Google released a new version of reCAPTCHA just hours before their talk, making major changes to both the audio and visual versions of their service. In this release, the audio version was increased in length from 8 seconds to 30 seconds and is much more difficult to understand, both for humans as well as bots. In response to this update and the following one, the members of DC949 released two more versions of Stiltwalker which beat reCAPTCHA with an accuracy of 60.95% and 59.4% respectively. After each successive break, Google updated reCAPTCHA within a few days. According to DC949, they often reverted to features that had been previously hacked.

On June 27, 2012, Claudia Cruz, Fernando Uceda, and Leobardo Reyes published a paper showing a system running on reCAPTCHA images with an accuracy of 82%.[17] The authors have not said if their system can solve recent reCAPTCHA images, although they claim their work to be intelligent OCR and robust to some, if not all changes in the image database.

In an August 2012 presentation given at BsidesLV 2012, DC949 called the latest version "unfathomably impossible for humans"—they were not able to solve them manually either. The web accessibility organization WebAIM reported in May 2012, "Over 90% of respondents [screen reader users] find CAPTCHA to be very or somewhat difficult".[18]

Criticism

The original iteration of reCAPTCHA was criticized as being a source of unpaid work to assist in transcribing efforts.[19]

Google profits from reCAPTCHA users as free workers to improve its AI research.[20]

Privacy

The current iteration of the system has been criticized for its reliance on tracking cookies and promotion of vendor lock-in with Google services; administrators are encouraged to include reCAPTCHA tracking code on all pages of their website to analyze the behavior and "risk" of users, which determines the level of friction presented when a reCAPTCHA prompt is used.[21] Google stated in its privacy policy that user data collected in this manner is not used for personalized advertising. It was also discovered that the system favors those who have an active Google account login, and displays a higher risk towards those using anonymizing proxies and VPN services.[22]

Concerns were raised regarding privacy when Google announced reCAPTCHA v3.0, as it allows Google to track users on non-Google websites.

In April 2020, Cloudflare switched from reCAPTCHA to hCaptcha, citing privacy concerns over Google's potential use of the data they recollect through reCAPTCHA for targeted advertising[23] and to cut down on operating costs since a considerable portion of Cloudflare's customers are non-paying customers. In response, Google told PC Magazine that the data from reCAPTCHA is never used for personalized advertising purposes.[24]

Accessibility

Google's help center states that reCAPTCHA is not supported for the deafblind community,[25] effectively locking such users out of all pages that use the service. However, reCAPTCHA does currently have the longest list of accessibility considerations of any CAPTCHA service.[26]

Interface

In one of the variants of CAPTCHA challenges, images are not incrementally highlighted, but fade out when clicked, and replaced with a new image fading in, resembling whack-a-mole.

Criticism has been aimed at the long duration taken for the images to fade out and in.[27]

Derivative projects

reCAPTCHA also created the Mailhide project, which protects email addresses on web pages from being harvested by spammers. By default, the email address was converted into a format that did not allow a crawler to see the full email address; for example, "mailme@example.com" would have been converted to "mai...@example.com". The visitor would then click on the "..." and solve the CAPTCHA to obtain the full email address. One could also edit the pop-up code so that none of the addresses were visible. Mailhide was discontinued in 2018 because it relied on reCAPTCHA v1.

References

[28]

Further reading

Notes and References

  1. Web site: 2007-08-28 . Recaptcha Inc. . 2023-08-20 . . August 20, 2023 . https://web.archive.org/web/20230820085852/https://opencorporates.com/companies/us_de/4414133 . live .
  2. Web site: Shet . Vinay . December 3, 2014 . Are you a robot? Introducing 'CAPTCHA the ReCAPTCHA PREDATORS . 24 February 2021 . September 3, 2020. https://web.archive.org/web/20200903034319/https://security.googleblog.com/2014/12/are-you-robot-introducing-no-captcha.html. live.
  3. Web site: reCAPTCHA v3. September 8, 2020. September 25, 2020. https://web.archive.org/web/20200925031307/https://developers.google.com/recaptcha/docs/v3. live.
  4. Web site: reCAPTCHA: About Us. https://web.archive.org/web/20100611210259/http://recaptcha.net/aboutus.html. 2018-08-14 . 2010-06-11.
  5. News: Deciphering Old Texts, One Woozy, Curvy Word at a Time. March 28, 2011. The New York Times. November 20, 2017. November 17, 2017. https://web.archive.org/web/20171117172409/http://www.nytimes.com/2011/03/29/science/29recaptcha.html. live.
  6. Web site: Edwards . Benj . 2023-10-02 . Dead grandma locket request tricks Bing Chat's AI into solving security puzzle . live . https://web.archive.org/web/20231010194959/https://arstechnica.com/information-technology/2023/10/sob-story-about-dead-grandma-tricks-microsoft-ai-into-solving-captcha/ . October 10, 2023 . 2023-10-25 . Ars Technica . en-us.
  7. Luis . Maurer . Ben . McMillen . Colin . Abraham . David . Blum . Manuel . 2008 . reCAPTCHA: Human-Based Character Recognition via Web Security Measures" . Science . 321 . 5895. 1465–1468 . 10.1126/science.1160379 . 18703711 . 2008Sci...321.1465V . 10.1.1.141.6563. 18371056 .
  8. Web site: Google Now Using ReCAPTCHA To Decode Street View Addresses . TechCrunch . March 29, 2012 . 2013-07-10 . Sarah . Perez . August 23, 2012 . https://web.archive.org/web/20120823005658/http://techcrunch.com/2012/03/29/google-now-using-recaptcha-to-decode-street-view-addresses/ . live .
  9. Web site: Vega . Edward . 2021-05-14 . Why captchas are getting harder . 2022-04-15 . Vox . en . April 15, 2022 . https://web.archive.org/web/20220415041740/https://www.vox.com/22436832/captchas-getting-harder-ai-artificial-intelligence . live .
  10. Greenberg . Andy . 3 December 2014 . Google Can Now Tell You're Not a Robot with Just One Click . . 1 October 2015 . 2 October 2015 . https://web.archive.org/web/20151002161845/http://www.wired.com/2014/12/google-one-click-recaptcha/ . live.
  11. Web site: Google's reCAPTCHA turns 'invisible,' will separate bots from people without challenges . Amadeo . Ron . 2017-03-09 . Ars Technica . en-us . 2020-04-14 . 2020-08-06. https://web.archive.org/web/20200806153852/https://arstechnica.com/gadgets/2017/03/googles-recaptcha-announces-invisible-background-captchas/ . live.
  12. Google just made the internet a tiny bit less annoying . . 10 March 2017 . 2017-04-05 . 5 February 2021 . https://web.archive.org/web/20210205012217/https://www.popsci.com/google-invisible-recaptcha/#page-3 . live .
  13. Web site: Google reCAPTCHA v1 API Shutting Down in March 2018 . ProgrammableWeb . en . 2020-04-14 . 2020-06-20 . https://web.archive.org/web/20200620111320/https://www.programmableweb.com/news/google-recaptcha-v1-api-shutting-down-march-2018/brief/2017/10/24 . live.
  14. Web site: reCAPTCHA: Stop Spam, Read Books. 2014-01-14. June 19, 2020. https://web.archive.org/web/20200619191856/https://www.google.com/recaptcha/. live.
  15. Web site: Developer's Guide—reCAPTCHA . Google Inc.. 2014-01-14. November 24, 2017. https://web.archive.org/web/20171124231704/https://developers.google.com/recaptcha/intro?csw=1. live.
  16. Web site: Google's reCAPTCHA dented . 31 January 2011 . 10 March 2010 . https://web.archive.org/web/20100310082513/http://www.h-online.com/security/news/item/Google-s-reCAPTCHA-dented-888859.html . live .
  17. Book: Pattern Recognition . 7329 . 30 June 2012 . México . 978-3-642-31148-2 . 155–165 . 10.1007/978-3-642-31149-9_16 . Claudia Cruz-Perez . Fernando Uceda-Ponga . Leobardo Reyes-Cabrera . Oleg Starostenko . Vicente Alarcon-Aquino . Carrasco-Ochoa, Jesús Ariel . Martínez-Trinidad, José Francisco . Olvera López, José Arturo . Boyer, Kim L . Breaking reCAPTCHAs with Unpredictable Collapse: Heuristic Character Segmentation and Recognition . Lecture Notes in Computer Science . 29097170 .
  18. Web site: Screen Reader User Survey #4 Results . 19 April 2013 . 10 December 2017 . https://web.archive.org/web/20171210071614/https://webaim.org/projects/screenreadersurvey4/#captcha/ . live.
  19. Web site: Massachusetts woman's lawsuit accuses Google of using free labor to transcribe books, newspapers. Harris. David L.. Jan 23, 2015. Boston Business Journal. September 4, 2015. April 28, 2015. https://web.archive.org/web/20150428030942/http://www.bizjournals.com/boston/blog/techflash/2015/01/massachusetts-womans-lawsuit-accuses-google-of.html. live.
  20. Web site: No CAPTCHA: yet another ruse devised by Google to extract free digital labor from you . December 3, 2020 . November 12, 2020 . https://web.archive.org/web/20201112024721/http://www.casilli.fr/2014/12/05/no-captcha-is-google-jargon-for-mechanical-turk-for-free/ . live .
  21. Web site: Taylor . Chris . February 26, 2024 . Stop giving your website data away! . Prosopo.
  22. Web site: Google's new reCAPTCHA has a dark side. Schwab. Katharine. 2019-06-27. Fast Company. en-US. 2020-04-08. June 28, 2019. https://web.archive.org/web/20190628221142/https://www.fastcompany.com/90369697/googles-new-recaptcha-has-a-dark-side. live.
  23. Web site: 2020-04-08 . Moving from reCAPTCHA to hCaptcha . 2020-07-18 . The Cloudflare Blog . en . August 12, 2020 . https://web.archive.org/web/20200812233420/https://blog.cloudflare.com/moving-from-recaptcha-to-hcaptcha/ . live .
  24. Web site: Cloudflare Dumps Google's ReCAPTCHA Over Privacy Concerns, Costs . 2020-07-18 . . en . July 19, 2020 . https://web.archive.org/web/20200719214415/https://www.pcmag.com/news/cloudflare-dumps-googles-recaptcha-over-privacy-concerns-costs . live .
  25. Web site: What is CAPTCHA? - G Suite Admin Help . May 11, 2020 . August 6, 2020 . https://web.archive.org/web/20200806173938/https://support.google.com/a/answer/1217728 . live .
  26. Web site: WCAG 1.1: Text Alternatives [Article] . October 6, 2020 . December 10, 2020 . November 26, 2020 . https://web.archive.org/web/20201126104424/https://blog.teamtreehouse.com/wcag-1-1-text-alternatives . live .
  27. Web site: ReCaptcha extremly [sic] slow fading · Issue #268 · google/recaptcha . GitHub . en . October 14, 2020 . October 14, 2020 . https://web.archive.org/web/20201014144316/https://github.com/google/recaptcha/issues/268 . live .
  28. Earn with Captchahttps://dailycaptchawork.com/