CAPTCHA Automation/Farm-Threat to Web/Mobile App Security Solution Provider
What are “CAPTCHA Farm” Services?
CAPTCHA Farm services refer to companies or platforms that provide solutions for automating or outsourcing CAPTCHA-solving tasks. CAPTCHA, which stands for Completely Automated Public Turing Test to Tell Computers and Humans Apart, is a security measure used on websites and online services to verify that a user is a human, not a bot.
CAPTCHAs typically present users with a challenge or puzzle that is easy for humans to solve but difficult for automated bots. This could involve identifying distorted letters or numbers, selecting specific images, or solving simple math problems. The purpose of CAPTCHAs is to prevent automated bots from accessing or spamming websites.
However, some individuals or organizations may require large quantities of CAPTCHAs to be solved quickly and efficiently, which can be time-consuming and resource-intensive if done manually. CAPTCHA Farm services aim to address this need by offering automated systems or a large workforce of human workers to solve CAPTCHAs in bulk.
These services may employ various methods to solve CAPTCHAs, including advanced image recognition algorithms, machine learning techniques, or crowdsourcing through a distributed network of human workers. The CAPTCHA Farm service typically provides an API or interface that developers can integrate into their applications or scripts to access the CAPTCHA-solving capabilities.
It's worth noting that while CAPTCHA Farm services can be helpful to for legitimate purposes, they can also be exploited by malicious actors. Bots and spammers may employ such services to bypass CAPTCHAs and carry out activities like creating fake accounts, submitting spam, or performing automated attacks. Therefore, website owners and service providers need to balance the convenience of CAPTCHA Farm services with the potential risks to their security and user experience.
How to use “CAPTCHA Farm” as a service?
There are multiple paid and open source farm solutions available in the market and out of them, 2captcha and? captcha.io are always standing out because of the nature of the service and the result of solving captcha. In the diagram below, we will try to represent how a farm service works in general.
Great article to read, published by Forbes back in 2022, “You Didn’t Know Bots Solve Captchas, And Do Pharming With Humans”.?
What are the ways to use “CAPTCHA Farm” Services?
Browser Plugin
1. Add an extension to Chrome?
2. Sign up on a https://2captcha.com?
3. Deposit funds to the balance?
4. Add an account key to the extension.
API
If the captcha is already solved, the server will return the answer in the format corresponding to the type of your captcha.
By default answers are returned as plain text like: OK|Your answer. But the answer can also be returned as JSON {"status":1,"request":"TEXT"} if the JSON parameter is used.
If the captcha still needs to be solved, the server will return the CAPCHA_NOT_READY result. Repeat your request in 5 seconds.
If something goes wrong the server will return an error code.
“CAPTCHA Farm” Vendors in the Market
领英推荐
“CAPTCHA Farm” Analysis
During our analysis of CAPTCHA request samples , we've come across an intriguing observation. The following points outline our findings:
How to use “CAPTCHA Farm” as a service?
Steps to use utilize farm CAPTCHA
Install the available package from the GitHub link here.
=> Now let's configure by using the below 2 steps
$solver = new \TwoCaptcha\TwoCaptcha('YOUR_API_KEY')
???$solver = new \TwoCaptcha\TwoCaptcha(
????'server' ? ? ? ? ? => 'https://rucaptcha.com',
????'apiKey' ? ? ? ? ? => 'YOUR_API_KEY',
????'softId' ? ? ? ? ? => 123,
????'callback' ? ? ? ? => 'https://your.site/result-receiver',
????'defaultTimeout' ? => 120,
????'recaptchaTimeout' => 600,
????'pollingInterval'? => 10,
]);[
=> Function to solve captcha reCAPTCHA v3
???$result = $solver->recaptcha(
????'sitekey' => '6Le-wvkSVVABCPBMRTvw0Q4Muexq1bi0DJwx_mJ-',
????'url' ? ? => 'https://mysite.com/page/with/recaptcha',
????'version' => 'v3',
]);
=> Error handling method
try
$result = $solver->text('If tomorrow is Saturday, what day is today?');
} catch (\TwoCaptcha\Exception\ValidationException $e) {
????// invalid parameters passed
} catch (\TwoCaptcha\Exception\NetworkException $e) {
????// network error occurred
} catch (\TwoCaptcha\Exception\ApiException $e) {
????// API responds with an error
} catch (\TwoCaptcha\Exception\TimeoutException $e) {
????// captcha is not solved so far
}
Reference Video
Possible Ways to defeat CAPTCHA Solver/Farm
Fixing? CAPTCHAs Design Flow-While analysis it has also been noticed that there are few design flows in the CAPTCHA ecosystem from rendering to farm submission.
Building In-House- Having in-house captcha is a costly operation to do, but in long term this allows to have below advantage.?
Analyst Verdict
As the realm of web and mobile app security solutions expands, bots are concurrently evolving to cleverly circumvent and navigate the challenges presented by vendors. As we observe this ongoing battle, it becomes abundantly clear that continuous learning is imperative in this field. With each passing day, as this sector matures, the necessity for ongoing education becomes all the more evident.
Leading Product @AppSealing | Ex-Radware | Cyber Security
1 年Understand CAPTCHA before farm- https://www.dhirubhai.net/pulse/captcha-usage-trend-journey-md-zaid-imam