450 points · by ve55 · 7y ago · 234 comments
I run 100s of small random low traffic low priority sites. Without some form of form control, the ALL get hit with customized and random other crap spam. I don't have decent experience with many things in life, but I can say this is one topic I have YEARS of experience with. I've never over-estimated the amount of any type of spam any form can get after being on the web for just a few months. Doesn't matter how big they are or what they do.
I'm not saying ReCAPTCHA is the only thing out there or even the best, but having an open form is just asking for trouble.
The company I work for makes a SaSS forum product, and while we do have multiple spam prevention methods (akismet, stopforumspam, honeypot, a hidden input), there’s enough stuff out there that has targeted our platform that a Recaptcha on the registration form is needed.
We haven’t need it on any other forms yet though. After registration it’s all handled by the other methods and various moderation tools.
I'm sure this won't work for everyone, but if your small, I highly recommend giving it a go.
If you want to filter comments you could even make the questions reflect the content of the article, filtering uninformed TL;DR type of comments and giving the users the feeling you value onformed opinions.
It prevented 100% of bot spam for years. Granted, I was never a big enough target to make anyone rewrite their bot, but that's the same for most of us. I'd never use a captcha so long as something trivial like that works 100%.
https://www.phpbb.com/support/docs/en/3.2/kb/article/how-to-...
It works very well.
It's a small site, footfall in the 10s, so maybe that's the reason.
However, if you're working on anything with non-insignificant amounts of traffic, you'll get hit with some customized spam.
I've been dealing with these spammers, and if you do nothing, your forum will be filled with korean ads. We implement Akismet, StopForumSpam, Project Honeypot, and ReCAPTCHA, with the latter being the most effective (sadly). I'm pretty sure some of these spam agencies have customized tooling to handle NodeBB (they're using websockets to submit the posts, instead of HTTP POST).
Outside of these strategies, the most effective by far is reputation restrictions. Post queues if you're new or don't have enough upvotes, etc. However it does require manual effort, of course.
Would definitely love an alternative.
Did you tried some techniques from the article? Like hidden form fields, simple javascript checks or simple captcha?
Spam attempts would grow exponentially. So every time we cut it down by 90% via one of these tricks, it only gave us a bit of time.
None of this stops the determined troll though.. they can have all day to manually add offensive content. Shadow banning was good for this (1999) and group shadow banning was the best (bifurcated forum posts so all the banned people saw each other, but no one else did). Ah, memories. So good.
What did happen with that strategy?
In cases like these, someone loads up a huge botnet, a downloaded list of hacked usernames and passwords, and tries every single combination hoping to find a reused username/password combination.
In these cases, it is almost always extremely targeted. Log correlation has helped quite a bit, but it is still very painful since they alternate IPs with every request.
Automatically adding a blanket ReCAPTCHA on all login pages during a distributed brute force attempt is one of the few things that actually stops an attacker like this with minimal negative consequences.
I'm sure it is frustrating to users, but I think service disruption from what is effectively a DDoS is a worse user experience.
1. Rotate through several thousand to several hundred thousand noncontiguous, geographically distributed, residential IP addresses,
2. Associate each IP address with a single user agent and suite of cookies,
3. Associate each IP address with a particular target username,
4. Only attempt a few incorrect logins at a time, and a somewhat random (albeit realistic) number at that, within a given time interval,
5. Use random, apparently human delays between successive requests,
6. Issue requests using extremely high fidelity simulacra of web browsers, customized to the sequence and structure of HTTP requests on the website.
When the stakes are high this is the kind of opposition you'll get. Bank account takeover, social media account takeover, ticket scalping, automated sneaker buying, financial research, market research, etc.
Recaptcha introduces unpleasant user friction, but it usually works well. To invert a popular turn of phrase, it makes stopping simple attackers easy and hard attackers possible. The most sophisticated attackers will still lease reputable Google accounts and mechanical turk time to bypass Recaptcha challenges, but it will be expensive for them.
Technical sophistication is only one dimension of this game. The other is making adversaries spend more money than they can gain from being successful.
???
Please ELI5. I mean, why are sales bad, even if automated? Are they using stolen cards?
How are they getting residential IP addresses, compromised PCs?
You can also just pay people to solve recaptchas all day.
Never had your /login forum attacked with {uname,pass} combos? This is exactly what the traffic looks like.
Why isn't there a solid alternative offering yet?
For example, one week of stop-sign recognition, another week of pedestrian labeling, etc.
The latest version of recaptcha doesn't even prompt users. It loads on the front-end and uses a scoring system. It's likely you've used it but didn't even know because it's invisible.
It's the older implementations that have the slow loading images.
As far as I can tell, it just checks to see if your browser is Google Chrome to give you your score.
Recatpcha v3 by itself NEVER shows anything to the user and its entirely up the application itself on how to deal with users who are likely to be bots (which also includes users with anti-fingerprinting measures)
This is just splitting recaptcha into two pieces and giving you the first half. Okay, fine, but it's the second half that was causing all the problems!
> To pretend this is about slowing down bots is disingenuous as best.
I'm not sure you have a good understanding of what happens to internet services when they don't throttle spam. They become completely unusable.
Humans can do a lot of bad things that computers can do. Think of armies of low-wage people in Asia, that are paid to click on ads, spread spam, or write reviews.
And also consider that computers can actually do good things, for example, allowing humans to automate their work on certain websites, or providing better accessibility for certain users.
Therefore, instead of introducing CAPTCHAs, why not focus on the actual threats. If you want to protect against spam, then build a spam filter. If you want to prevent bots from bulk-downloading your data, then build a rate-limiter, etc.
I solved that in past by actually charging for my service. I think the internet would benefit from having more paid content and less ads driven stuff.
One thing that captchas do protect from is brute force attacks on user passwords. Although there are other possibilities (like making the connection slow after a number of attempts).
It's easier to fight against a bigger opponent (botnets, etc) if you mitigate their superiority in number first.
Recaptcha has saved the internet as far as I'm concerned.
[1] https://esolangs.org/wiki/Special:CreateAccount "Which number does this Befunge code output: [...]"
We have a small set of anonymous edits every day, which go through recaptcha to be allowed.
Sometimes I wonder if there was a real person on the other end writing code to combat the code I was writing at the same time, and finally gave up on the 3rd iteration.
Classic example of collecting more information than what is needed.
Is it? What's stopping AI from developing an identity in the eyes of Google? An AI that might behave exactly like Google's ideal user. Searches random stuff on their search, looks at and clicks their ads, logs in to various Google services, and when it encounters a ReCaptcha, it clicks the "I'm not a robot" checkbox.
At some point, caring about privacy might turn out to be the distinguishing feature of humans.
EDIT: I now see the article does actually mention this, though I still do wonder how far the fingerprinting goes.
Let the user create account, let the user create first comment/post, save it somewhere but hide it, then require ReCapcha to make the post visible and activate the account.
The issue with requiring ReCapcha before is that the website owner will never know whether a legitimate user was turned away or whether it was spam.
If you turn both spammers and annoyed users with ReCapcha before any interaction,you will never know how many were legit and you won't be able to manually accept interesting legitimate content written by a user that is annoyed by Recapcha.
Literally thousands of spam comments per day would stop instantly on deployment. We put this on over 400 sites and never had an issue of customized spam.
Definitely agree with recaptcha not being necessary. However, it's probably needed for popular sites which you're more likely to use. Do we see more recaptcha because of that?
It will also annoy users of password managers with auto-filling capabilities. "password" is normally used for actual passwords.
Besides, nothing stops the attacker from replacing your code with a faster implementation.
There are many methods that are easily dismissed with "but not all spam is like that" and "someone could work around it easily":
• blocking of links (if you don't need them, or in fields that are not for them).
• blocking of obviously spammy keywords (or bayesian filter)
• invisible fields and syntax to trip up dumb implementations
• requiring JS, properly-functioning cookies
• blocking of IP ranges that belong to VPS providers and a couple of 3rd world telecoms that allow spam
Each of them is surprisingly effective and combined they block 99.8%.
You really shouldn't flatter yourself thinking that a spammer will even look at your page. They have literally millions of sites to spam, and they couldn't care less if they get yours or not. A bot will find a 1000 other sites to spam quicker than it takes a human to click "View Source".
Most of spam is done by amateurs who take shitty off-the-shelf spam software, seed it with a target list copied off some forum, and run it on a couple of spam-friendly or incompetent VPS hosts. By volume, this is the vast majority and it's very easy to block.
This is what we did on one of our sites. 5 minutes to implement it using a few lines of code. Same result, couldn't be happier.
If I know my email address and password I should be able to login without being logged in to Google as well ...
Hidden inputs, honeypots, etc. None of them worked long-term.
Our solution: focus on the content.
All content now runs through the following filters, and takes care of 99.9% of spam: 1) Auto-approve any and all content immediately, unless: a) The content contains any HTML (url included). If it does, send it to a moderation queue. a1) If the submitter had submitted content previously and gotten approved, auto-approve their content, even if it contains HTML.
Admittedly, so is ReCaptcha, so the trade-off may be necessary as much as it sucks. But, it's probably at least worth a mention?
https://gizmodo.com/thai-click-fraud-farm-busted-using-wall-...
I’m thinking about how Overcast uses a token linked to the user’s iCloud account and doesn’t require a username and password if you only use iOS devices. You can optionally add a username and password to access the web client.
Many of the more sophisticated ones prefer emulating mobile application requests to web requests, so yes.
I found that some uncustomized spambots are able to solve simple math challenges like this one.
And the color question is bad for accessibility.
Many of the suggested alternatives are also terrible for accessibility, because they require solving a visual puzzle, without an audio alternative.
That's a valid concern, but not a reason to use ReCaptcha, because ReCaptcha is worse for accessibility.
As long as a browser provides a cookie that is present on your server, there is no need for another ReCAPTCHA.
If the user misbehaves, e.g. too many wrong guesses of password(s), remove the cookie from your server.
You can even email the user the cookie as a url e.g. example.com/?cookie=12345678901234567
Are you sure it is HN that uses ReCAPTCHA?
If most users don't even know that ReCAPTCHA is used, that's a good sign that it is being used as little as possible, though.
Either HN has changed or they now conditionally load it. For example, I encountered it every time I used Tor on HN, though I haven't hit /login in months.
It just makes use of the non-transitiveness of friend.
there were a couple of feints as if he were about to get to the content, then ha! back to diatribe.