Back to Blog
Research

Why CAPTCHAs Will Be With Us Always

May 13, 2021

Share
The first known spam email was sent in 1978. Almost five decades later, email spam continues to plague us. There are industries creating spam and those who defend against it. Why is that?

September 2022: We like to repost this perennial favorite at regular intervals. Its original inspiration (quoted below) is now old enough to drink.

A Quick Summary

• Entirely passive challenges that rely on browser-based detections are easily circumvented.

• Attackers have access to large botnets at low cost, so making the user's CPU waste energy on each request has very limited value.

• Hardware-based approaches like PATs are always rapidly broken or circumvented, and only work for a small percentage of users: they are at best additive.

• Interactive humanity verification is likely to remain with us for many years to come, simply because nothing else is able to replace it.

This is an excerpt of a longer discussion, available at:
https://www.hcaptcha.com/why-captchas-will-be-with-us-always

Every system we create simply reflects our relationships with other people.

What we desire from them and ourselves drives our behavior, and thus the same patterns of interaction recur in all human systems. The internet provides many sterling examples of this fundamental aspect of our world.

For example: spam, fraud, and abuse have existed online since nearly the day after two systems were first connected together.

The first known spam email was sent in 1978. [1] Almost five decades later, email spam continues to plague us. Many billions of dollars and thousands of person-years of engineering effort have been put into defeating it, and yet spam persists. There are billion dollar industries on both sides, i.e. those defending against it and those sending it.

Why is this? The answer is simple. So long as there is an incentive to abuse a system, someone will generally find a way. And once they do, someone else will now have an incentive to stop them.

The balance may shift slightly from year to year, but this behavior simply reflects fundamental human nature, and five thousand years of recorded history imply the dynamic is unlikely to change any time soon.

Hope Springs Eternal

This analysis is not new, but people are eternally optimistic. Especially when they think their idea is new.

The same ideas are proposed so frequently that about 20 years ago, an anonymous author came up with a helpful fill-in-the-blank for online discussions about anti-spam solutions:

Why your new anti-spam solution won’t work. Unknown author, c. 2000

Why your new anti-spam solution won’t work. Unknown author, c. 2000

Humanity verification is the same problem

Just as there will always be people who want to get your attention via email, there will always be the desire to constrain access to some resources such that only humans can access them.

Whether the goal is to prevent:

  • automated mass purchases during a limited release sale
  • software from downloading all the content off your website en masse
  • having your web forms filled out with endless marketing spam or abuse
  • credential stuffing and other account takeover attempts

among many other uses, being able to filter online traffic on the basis of “human or not” will likely remain a valuable tool so long as human nature follows the same patterns recorded over the last five thousand years.

What about machine learning?

In 2021 simple CAPTCHAs can sometimes be solved with software, thanks to advances in machine learning. To address this, hCaptcha also does a very detailed analysis of properties like how the challenge was answered, not just whether it was correct, and frequently changes both the questions and the data used.

Because many of the questions asked cannot be economically solved with off the shelf software, and because the data is generally unique to the system, this means that bots are often completely stopped by the free service, and must rely on human CAPTCHA solvers instead, which makes many kinds of abuse completely uneconomic.

hCaptcha Enterprise goes much further than this, moving into the realm of attempting to distinguish “good human” from “bad human” as well, and is used today by many of the world’s most popular online services to find and stop everything from purchase fraud to advanced persistent threats against their users, while maintaining a unique focus on preserving privacy.

What about hardware attestation?

Various methods of linking identity to a device in a cryptographically secure fashion, sometimes with privacy-preserving properties, have been proposed for decades. Public key cryptography dates back to c. 1975, and hardware tokens have existed nearly as long.

Unfortunately, controlling a piece of hardware does not mean you are a person. Virtually every popular consumer hardware attestation scheme has been repeatedly broken, patched, and then broken again.

Malicious abuse of these flaws is often discovered to have been occurring for months or years prior to discovery or academic publication.

A wall of more than 10,000 phones used for abuse, part of a Chinese bot operation.

A wall of more than 10,000 phones used for abuse, part of a Chinese bot operation.

No matter how reliable your cryptographic scheme, if someone can at the end of the day simply spend money to give you the answer you are looking for, owning a piece of hardware is insufficient.

That said, cryptography is quite a young discipline. Based on recent history, your cryptographic scheme and/or implementation is likely to be broken as soon as anyone has an incentive to look at it closely, and it is likely other people will figure this out long before you do. Relying on hardware means you may need to ask every single one of your users to change a physical device in order to patch the flaw. This is unlikely to happen quickly in most cases, meaning in reality your system will simply fail open.

This is why defense is depth is important: hCaptcha uses multiple different approaches to answer the same fundamental question, allowing comparison for consistency across all evaluations.

In conclusion

So long as people remain people, it is likely that humanity verification will have a role to play online.

Our job at hCaptcha is to find good tradeoffs between difficulty and accuracy and to keep friction low, especially for accessibility users. In the end, interacting with challenges is likely to remain part of the arsenal of tools for reducing online abuse so long as human nature remains unchanged.

Building a service that does this well while balancing all concerns is a very hard problem (and we are always working to improve it so as to make the experience as pleasant as possible) but we hope you will agree that reducing spam, abuse, account takeovers, and online fraud is ultimately well worth the occasional simple question.

Subscribe to our newsletter

Stay up to date on the latest trends in cyber security. No spam, promise.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Back to blog