12 ms·
The No CAPTCHA problem
- rcyn 12y agoThat's quite funny
- fredley 12y agoWhat is the No CAPTCHA problem? What's being described here are problems that apply to all CAPTCHAs. Whatever 'human' detection system you put in place, humans can always be hired to solve them. The point of No CAPTCHA is not to fix these problems, it's to make it easier for 90% of people who don't care too much about cookie privacy etc. (or most likely have no idea it's even a thing).
- homakov 12y agoThe problem itself is described in the end: it's about using clickjacking to get a valid token on behalf of "good guys". And this problem has nothing to do with existing systems. Google could have made it so much easier and more secure: a POST request to google.com/verify_me will have Origin header in it to prevent CSRF (only wordpress.com scripts will be able to get token). Also there would be no need to make a click. No CAPTCHA looks fancy but the real No CAPTCHA should always have visibility:none!
- raverbashing 12y ago"No CAPTCHA looks fancy but the real No CAPTCHA should always have visibility:none!" I agree, but I suppose they want something that's a Placeholder, if the user needs to type a captcha
- homakov 12y agoWhy? If no need to type any captcha - do the verification in the background, don't show me anything until you think I'm a bot
- raverbashing 12y agoBecause of page layout. Having a fixed size element is better than having something (that is not yours) that might be there or not.
- kissickas 12y agoThere's still no need for a click.
- geerlingguy 12y agoThis is why I still recommend using other form spam prevention techniques before sacrificing usability for a CAPTCHA. One of the most effective combinations for 80%+ of the sites I've ever dealt with is having a honeypot field in the form, plus some amount of time required to pass before the form can be submitted successfully. There are other ways to mitigate bots as well, but these two alone have sufficed for quite some time for anything but dedicated human-based attacks. Granted, I think the checkbox CAPTCHA is much better than the UX disaster that is the 'type some hard-to-read letters' CAPTCHA, but it's still adding a burden on the user, rather than a burden on the bot. (Source: I maintain the Drupal Honeypot module[1], and have used it in a ton of different situations where CAPTCHA/reCAPTCHAs would normally be recommended). [1] https://www.drupal.org/project/honeypot https://www.drupal.org/project/honeypot
- choppaface 12y agoimpressed that works so well! Another alternative that comes to mind (albeit much more complicated) is link encryption ala SpikeStrip: http://www.cs.ucsb.edu/~ravenben/publications/pdf/spikestrip-wosn10.pdf http://www.cs.ucsb.edu/~ravenben/publications/pdf/spikestrip... This would mainly only work against scrapers, tho, and not so much for account creation. My argument is that Google could have done better to offer a completely different solution (e.g. some sort of proxy service) than to add a (apparently fallible) whitelist to recaptcha.
- mseebach 12y agoA custom spam prevention system, such as a honeypot or the simple "What's n+m?" field, works at 100% until your site is valuable enough for the attacker to spend a couple of cycles to circumvent the honeypot - then it drops to 0%. Publishing your solution as a module just serves to increase the value of circumventing it. The value of "real" CAPTCHAs is that they retain their deterrence no matter how much effort the attacker invests.
- geerlingguy 12y agoThe logic is sound, but doesn't play out in the real world that often. The reality is, the overwhelming majority of form spam comes from scripts and bots that are not that well-targeted, and in most cases, people who would normally install reCAPTCHA have no need for it. Additionally, even though the module has been published for quite a while, and honeypot/time-gate techniques are fairly common, most bots can't account for the small adjustments that are made from site to site using adjustable settings for the module (like field name, time defaults, etc.). The truth is: once your site or app is targeted by a human who is determined to spam you, the stakes are raised to the point where neither CAPTCHAs nor standard honeypots will deter everything. You will have to do at least some ongoing work to find a way to defeat the spammers.
- googoodolls 12y agoI have a hunch that it is Google's attempt to be on every form and know more about a Google user and their accounts on other websites. At least what websites they signed up for. I can stop Analytics but this is now out of my control. This is what a website owner required me to do to access their website.
- homakov 12y agoOh, it's already too late. Google already has enough data about you. I can imagine the future - people train bots like kids, make them visit different websites, google things and pretend to be humans. Your search history will be like your credit score.
- hdgb 12y agoI wouldn't be surprised if approval for a Visa depended on your search history.
- homakov 12y agoOh yes http://newsfeed.time.com/2012/01/31/british-tourists-tweets-get-them-denied-entry-to-the-u-s/ http://newsfeed.time.com/2012/01/31/british-tourists-tweets-...
- Kequc 12y agoIt's a story about american airports it is to be expected. You should probably give your nose hairs a good trim someone might think you're going to pluck the longest one out and strangle the country to death.
- compbio 12y agoI do not get the problem of hiring a clickfarm for 1$ an hour to click on cat pics. If we take reputation, IP and cookie. All must be in order to pass. We want to spam a 1000 forms today. Scenario 1: The clickfarm itself fills in the Captcha. Result: Their IP's will soon be blacklisted, reputation of a third-world account will be inherently low. Scenario 2: We let the clickfarm send the answer to our own bot, which selects the right pictures. Result: Google will see a single IP and cookie trying out 1000s of captcha's a day, and ban you. Scenario 3: We let the clickfarm send the answer to our own bot, this bot uses a list of proxies that haven't yet been banned. Result: Google will see a single account cookie trying out 1000s of captcha's a day, from different IP's and ban you. Can anyone come up with a scenario which involves reputation, IP and cookie that does not end up with Google detecting and banning your efforts? Cookie swapping?
- homakov 12y agoScenario 1 - we don't need to create a clickfarm for this, maybe we can clickjack random users online. Literally every porn site will be happy to make some money with it. Scenario 2 - of course we won't just use 1 IP, it will make us look Bad guy. Speaking of Scenario 3 - which account cookie are you talking about? The clickfarm has thousands of own trustworthy cookies but our bot doesn't send any cookies, it only solves challenges (neutral guy). As soon as you have valid g-recaptcha response you don't need to persist any cookies - use it outright.
- choppaface 12y ago+1 also consider s/click farm/malware worm bot/g
- homakov 12y agoYeah malware bot will generate lots of free g-recaptcha-responses! Good idea
- probably_wrong 12y agoHere's a scenario: a dissident living in a third world country with pervasive surveillance. He accesses the net using TOR, and disables cookies. Now his IP is blacklisted, because there are lots of people using the same exit node; his reputation is low for the same reason, and the cookie is rejected. There's a good chance that this one person will be blocked, even though he didn't do anything wrong. For a simpler case, private browser sessions over a VPN would suffer from the same issue.
- FunCaptcha_Jim 12y agoInteresting perspective on the changes! Our lead designer actually had similar concerns (can read them here: https://www.funcaptcha.co/2014/12/04/killing-the-captcha-with-black-boxes-and-false-positives/ https://www.funcaptcha.co/2014/12/04/killing-the-captcha-wit...). You both look to be drawing the same conclusions. What are your thoughts on the metaphorical 'black box' being implemented into the new reCAPTCHA?
- aaron695 12y agoRandom blog article destroys entire Google team of high paid professional engineers specifically employed to solve this problem and they did it just using incognito mode. Upvote FTW.
- Kequc 12y agoIs this sarcasm? The purpose of Nocaptcha was to alleviate pain for users, as this blog says nothing else has changed. In fact Google said it would fall back to normal captcha when necessary we already knew that.
- homakov 12y agoLol no, i simply found original article too promising with minimum technical details so I decided to dig. And a weakness is a weakness, not a vulnerability. Something to think of.
- deleted 12y ago[deleted]
- sarciszewski 12y agoI'm reading this page: http://homakov.blogspot.com/2013/05/the-recaptcha-problem.html http://homakov.blogspot.com/2013/05/the-recaptcha-problem.ht... Why don't they just invalidate the current challenge when a new one is requested? :S
- homakov 12y agoThere's no session ID for current user. They can try to use IP as identifier. Admins can send remoteip to google to prevent spoofing but that parameter is optional and I suppose they don't rely on it.
- sarciszewski 12y ago... Okay, why not establish a session then?
- homakov 12y agoWould require an extra roundtrip... Problem is that you get challenges with client side and solve it with server side. It's website who should go, get a challenge for you, put it in your session cookie and make sure you don't go and get another one. Which complicates it a lot
- finid 12y agoNo CAPTCHA reCAPTCHA is not all Google is claiming it is. It only works if you're logged in to the site, so what's the point? See http://ur1.ca/iza9d http://ur1.ca/iza9d
- ChrisArchitect 12y agoI see this from totally a user experience side. NoCAPTCHA isn't about defeating spam (you're right, the spammers are going to solve it/hire someone to finish the job etc) - it's about making a better experience for the humans, while slowing down the spammers a bit. (contrary to current recaptcha system that slows down spammers a bit or not at all, and makes life mostly more crappy for humans)
- xlayn 12y agoPeople love not to think... Google is a business and the primary objective of any business is to make money (the vision/mission and others is for the people who love free lunch) Why captcha? to provide a service in a trade for "free" human recognition capabilities. Q//But google now is better at recognizing those numbers.... A//Right... that's why they now request the next "way to expensive" to implement "free" service from you, your recognition... and association capabilities.
- yhlasx 12y ago>>People love not to think O_O judging by the comment you wrote right after that, I would assume you are one of the people who likes not to think. They are making people click checkboxes and deviating from the old model of recognition. Your comment makes no sense.
- xlayn 12y agoYeah every once in a while... a little bit of heuristics, a little bit of laziness.
- _cpancake 12y agoThe goal isn't to make things harder for bots, it's to make things easier for users.
- homakov 12y agothey made it easier for users and for bots :)
- _cpancake 12y agoIt's no easier for bots. They still have to answer the old OCR challenge or a computer vision problem.
- homakov 12y agoUsing clickjacking we can get lots of valid tokens, no need to solve challenges.
- _cpancake 12y agoYou don't think Google will figure something out when a bunch of tokens from different IP addresses are all being used by one IP?
- homakov 12y agoIt can be helpful. There's (optional!) remoteip parameter server can use to send google IP address of current user. As in wordpress demo sometimes we can send requests with the browser.
- kuschku 12y agoAnd additionally it’s easy to just create empty Google accounts and then use them with the bots. Just create a few dozen accounts, use them with a few hundred bots, and you easily get full verification.
- CraigKelly9 12y agoGoogle New reCaptcha using PHP - Are you a Robot? http://www.9lessons.info/2014/12/google-new-recaptcha-using-php-are-you.html http://www.9lessons.info/2014/12/google-new-recaptcha-using-...
- egsec 12y agoHow many photos are in the universe of possible photos? How long would it take for outsourcing the process to tag all photos so a script could then do the matching? Is the whole point of this to encourage hackers to get working on this AI challenge of identifying similar photos? Either they need to hire a lot of people to sit around making these sets or they have an automated way of creating these sets which can be reversed. It would seem to be an arms race where google is paying people, but attackers can have people break it at a cost less than creating them (takes less time to match them up then to find good photos, clean them up, tag them, etc.). An attacker would also just target the database where this is all stored. With the text recaptcha, it would seem that they have all of these photos and scanned books and you have 8+ character strings of [a-zA-Z0-9], random guessing would not be good enough, so the attacker needed to solve the OCR problem. However, given the option to select x of 9 images, if you assume that the extremes are less likely of 1/9, 2/9, 8/9, 9/9- then I can hope to get lucky picking 4 or 5 each time, the order does not matter. If you distribute the attack to get around rate limits, etc. - perhaps just picking the first through fifth images gives you a sufficiently high success rate.
- mikejarema 12y agoI think a good chunk of the images are captured by way of Google's Streetview vehicles [1]. I'm seeing blurry images of house and apartment numbers all the time. So I'd imagine there are always new images popping up that Google can feed into the recaptcha system that haven't been seen before. [1] http://www.google.com/recaptcha/intro/#creation-of-value http://www.google.com/recaptcha/intro/#creation-of-value
- egsec 12y agoCorrect, I am referencing the new nocaptcha system. Those images would get stale as opposed to those in the traditional scanned book, street signs, house numbers in the recaptcha.
- pixl97 12y agohttp://xkcd.com/1425/ http://xkcd.com/1425/ Probably sums it up best.
- yhlasx 12y agoSeriously guys? This made to the top of the front page? First of all, to all people saying "HUR DUR GOOGLE WANTS YOUR BROWSING DATA", well they already fucking have/had it for a looong time. Secondly, If you tell me that one dude [author] ruled the one+ year work of the engineering team at google as a flaw and simplified it as [So what Google is trying to sell us as a comprehensive bot detecting algorithm is simply a whitelist based on your previous online behavior, CAPTCHAs you solved.] and that you believe it, I would question your intelligence. This is supposed to be tech savvy community at least to some degree, what the fuck. Now, in the google's blogpost it reads [Advanced Risk Analysis backend for reCAPTCHA that actively considers a user’s entire engagement with the CAPTCHA—before, during, and after—to determine whether that user is a human.] [However, CAPTCHAs aren't going away just yet. In cases when the risk analysis engine can't confidently predict whether a user is a human or an abusive agent, it will prompt a CAPTCHA to elicit more cues, increasing the number of security checkpoints to confirm the user is valid.] So my guess would be they analyze users behaviour on the page where captcha is located, things like mouse movements, time it takes to type out the words, spelling mistakes corrected and whatever else humans do differently than bots - and only then combine that with your historical cookies. Maybe it is much more complicated than that, I, as well as you, don't know the details. Do you really think that they would go ahead and implement a such system without rigorous testing of effectiveness? I am sure that they tested it extensively with users, AND with bots, and decided that it is better than the current system, and ONLY then deployed it. Rant off.
- Kiro 12y ago> one dude Since you obviously don't know who Homakov is I can't take your post very seriously. Homakov has exposed several serious security flaws at Facebook and Google before. I'm pretty sure Google is actively trying to headhunt him since he is one of the best in the web security field.
- fecak 12y agoHe's probably best known to HN for his GitHub exploit with Rails in 2012. I wrote a profile of him earlier this year (http://jobtipsforgeeks.com/2014/03/27/homakov/ http://jobtipsforgeeks.com/2014/03/27/homakov/) which talks about his background a bit more.
- pearjuice 12y agoTrigger warning: passing the CAPTCHA on homakov's demo page (https://homakov.github.io/nocaptcha.html https://homakov.github.io/nocaptcha.html) registers an account (blog?) at wordpress.org.
- hippich 12y agoAnother shameless plug - https://hashcash.io/ https://hashcash.io/ :)
- homakov 12y agoIn your demo I'd be more careful with user input >$url = 'https://hashcash.io/api/checkwork/' https://hashcash.io/api/checkwork/' . $_REQUEST['hashcashid'] . '?apikey=[YOUR-PRIVATE-KEY]'; hashcashid can change URL completely to something like ../../newpath?newparams#
- hippich 12y agoit is always battle between make it simple to understand and bring best practices... in this particular case i chose simply to understand :)
- johnvschmitt 12y agoThe picture recognition test is particularly annoying. Even in their example, of "match this" (cat), are we to assume we're matching all cats, or just cats of that color? If they have to make very careful sets of photos to avoid confusion, then the sets of photos will be small enough to build lookup libraries for bots.
- astralship 12y agoi think there are big issuses on the horizon here, it's going to get increasingly difficult to find simple problems that humans can solve and not bots. i'm not sure there is a fundemental answer