GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing capmonster.cloud — AWS WAF Solver | CapMonster Cloud Inherited a site with a captcha or another protection layer but no access to the source code? In that case you naturally ask: which solution is installed, is it configured correctly, and how can the workflow be tested? In this article, we have tried to answer all the key questions. The first step in solving the task is to determine which protection system is being used. To do this, you can refer to the list of popular captchas and anti-bot protection systems, where you will find visual examples and key indicators that help you quickly understand what you are dealing with. If you discover that your site uses Amazon AWS WAF, the next step is to study its properties and operation in more detail. In this article, you can also review the instructions on how to integrate Amazon AWS WAF so that you fully understand how it functions on your site. This will help you not only understand the current protection, but also properly plan its maintenance. What is AWS WAF by AmazonAWS WAF (Amazon Web Services Web Application Firewall) is a cloud-based web firewall from Amazon that protects sites, APIs, and web applications from attacks and malicious traffic. Simply put, it is a filter that sits in front of your site or API and decides which visitor traffic to allow and which to block. If Challenge/CAPTCHA is enabled on the site, the visitor may see a separate verification page. They will be asked to complete a task, such as selecting all images from a category, to confirm they are not a bot. How to solve AWS WAF via CapMonster CloudWhen testing resources protected by AWS WAF, it is important to ensure that the protection works correctly and is integrated properly. You can manually verify the protection:
After successfully passing the check, AWS WAF sets cookies that confirm the user or client has passed verification and trusted traffic is allowed. For automatic captcha recognition, you can use specialized services, for example, CapMonster Cloud — a tool that accepts captcha parameters, processes them on its servers, and returns ready-made cookies or a token. These can be substituted into the browser to pass the check without user participation. Working with CapMonster Cloud via API typically involves the following steps: At this stage, you pass your API key, captcha type, and its parameters. The service returns a unique taskId, which can be used later to get the result. The following parameters must be specified in the request to solve AWS WAF: type - AmazonTask; websiteURL - address of the main page where the captcha is solved; challengeScript - link to challenge.js; The following parameters are taken from window.gokuProps (all are of string type):
captchaScript - link to captcha.js (may be absent if you only have a Challenge); cookieSolution - default is false — in response you will receive "captcha_voucher" and "existing_token". If you require "aws-waf-token" cookies, set the value to true.; userAgent - Browser User-Agent. Pass only actual UA from Windows OS; Also, for this task, you need to use your proxies: proxyType :
proxyAddress - Proxy IP address IPv4/IPv6; proxyPort - proxy port; proxyLogin - proxy server login; proxyPassword - proxy server password. Find more details about the parameters and how to gather them automatically before sending a task in the CapMonster Cloud documentation. Endpoint for sending the task: javascript Request example: json Response: json After creating the task, poll the solution status. Address to receive the result: javascript Request example: json Response: json The data received from CapMonster Cloud (valid AWS WAF cookies) can be substituted into the browser context or HTTP client. After this, the site perceives the request as verified and allows you to continue working without additional checks or challenge pages. For automation and testing, it is convenient to use Puppeteer, Selenium, or Playwright — they allow you to:
This way, you can verify the correctness of the protection and ensure the site correctly accepts and processes valid AWS WAF cookies. Amazon AWS WAF recognition using ready-made librariesCapMonster Cloud provides ready-made libraries for convenient work in Python, JavaScript (Node.js), and C#. Important: these code examples use cookieSolution=False. If you need to obtain cookies as a result, set cookieSolution=True. Python JavaScript C# python Solution, obtaining parameters, and setting cookies Example in Node.js for the full cycle of captcha recognition on your web page. Possible approaches: use HTTP requests to get HTML and protection system parameters, send the answer, and process the result. Or using automation tools (e.g., Playwright) — open the page, wait for the check, send parameters via the CapMonster Cloud client, get the result, substitute cookies into the browser (for testing you can use both correct and incorrect data), and see the result. python There is also an excellent opportunity to test captcha recognition using the CapMonster Cloud browser extension, which allows you to quickly check captcha operation directly on the page and monitor the solution process in real-time without writing code – available for installation in Chrome and Firefox. How to connect AWS WAF to your site To confidently navigate captcha operation on your site, understand its verification logic, reconnect or reconfigure it, we recommend studying this section. It describes the protection connection process — this will help you quickly figure out all the nuances. AWS WAF cannot be installed directly on a site. It works only through AWS resources:
Step 1. Create an AWS account (if you don't have one) Go to: https://portal.aws.amazon.com/billing/signup. Create an account > confirm email and phone. Important: after creation, enable MFA for the root user and create an admin user via IAM Identity Center. Step 2. You can use the standard or the new AWS WAF interface:
Step 3. Create a protection pack (web ACL) This is the set of protection rules for your resource.
Step 4. Configure application category: In the Tell us about your app block:
These parameters are needed so AWS can suggest optimal rules. Step 5. Select resources to protect
If your site is on CloudFront > select CloudFront distributions Step 6. Select a starting rule set. AWS will offer: Recommended for you — the best option for beginners It includes:
Click Next. Step 7. Configuration (optional) On the Customize protection pack (web ACL) screen: Main parameters:
Logging Choose where to write logs:
(S3 + Athena is recommended). Step 8. Create web ACL Click: Add protection pack (web ACL) AWS will create rules and bind them to your resource. Verification To ensure protection is working:
Additional (optional)
Possible errors and debuggingInvalid domain or rule — Challenge not displayedCheck that the AWS WAF WebACL is attached to the correct domain (CloudFront Distribution / ALB / API Gateway), the correct path, and that there are no conflicts between rules. Page load or check timeoutSometimes the browser or script does not wait for the AWS WAF response. Increase timeouts in tests and ensure the backend processes requests without delays. Expired AWS WAF cookiesOutdated _aws_waf_token_… or related cookie tags lead to a repeated Challenge or temporary block. Overly sensitive rulesExcessively strict Bot Control signatures, CAPTCHA rules, or Rate-based rules may block real users. Incorrect WebACL configurationErrors in rule order, priorities, or conditions can lead to false positives and blocks. Protection resilience checks After integration, make sure the system really protects the site from automated actions. Execute a request without AWS WAF cookies. The corresponding rule should trigger depending on the configuration. Check re-entry with valid cookies. The user should pass without repeated checks if the WAF policy allows traffic and the tags are correct. Perform load testing (k6/JMeter). The WebACL should stably process a large number of requests without 500/503 errors from the protected resource side. Check behavior with expired or incorrect cookies. Expectation — repeated Challenge or application of the configured Block/Challenge rule. Security and optimization tips Configure WebACL according to the risk level. Use Managed Rules (AWS, AWS Marketplace), AWS Bot Control, and custom rules based on IP reputation, headers, rate limiting, and other conditions. Log WAF events. Enable AWS WAF Logging (Kinesis Firehose / S3 / CloudWatch Logs) to analyze false positives and optimize rules. Add links to Privacy Policy and Terms of Use. This is important for transparency and compliance with security requirements and user expectations. Supported captchasConclusion If you’ve taken over a website that already has a captcha or another protection system installed, but you don’t have access to the code, don’t worry! It’s quite easy to identify which technology is being used. To verify that everything works correctly, you can use the CapMonster Cloud recognition service in an isolated test environment to make sure that the token processing mechanism and the validation logic are functioning properly. In the case of Amazon AWS WAF, it’s enough to detect the system, observe its behavior, and confirm that the protection is working correctly. In this article, we showed how to identify Amazon AWS WAF and where to find instructions on how to integrate or reconfigure it, so you can confidently maintain the protection and keep its operation under control. Frequently Asked Questions about Amazon AWS WAFWhere do websiteKey, context, and iv values come from for solving the AWS WAF task? The values websiteKey, context, and iv come from the AWS WAF challenge page and can be extracted either from the HTML of that page or via JavaScript from These are session-related parameters of the current challenge page, not generic static values to reuse across attempts. What does the cookieSolution parameter do in an AWS WAF task? The cookieSolution boolean field controls the format of the AWS WAF solution returned by CapMonster Cloud:
For browser automation flows such as Playwright, Puppeteer, and Selenium, cookieSolution: true is usually the more convenient option, as it returns ready-to-use cookies that can be added directly to the browser session. Do AWS WAF tasks require my own proxies in CapMonster Cloud? By default, you do not need to provide your own proxies for AWS WAF tasks because CapMonster Cloud uses built-in proxies and their cost is already included in the service. However, you need to specify your own proxies when the target website does not accept the token or when access to the built-in services is restricted. If you are using a proxy with IP authorization, make sure to whitelist the address 65.21.190.34. How do AWS WAF Bot Control rules affect automated testing sessions? A valid AWS WAF token does not automatically bypass the rest of Web ACL logic. AWS states that when a request has a valid token for a CAPTCHA or Challenge rule, that rule is handled similarly to Count action and AWS WAF then continues evaluating the request against the remaining rules in the Web ACL. That means Bot Control, rate-based rules, and other rules can still affect automated traffic, and AWS separately documents false-positive scenarios for Bot Control. In practice, troubleshooting should focus on rule order, rule priority, token settings, and possible false positives rather than assuming a solved CAPTCHA alone guarantees passage. What causes repeated AWS WAF challenges after solving, and how to prevent it? Repeated AWS WAF challenges usually occur when the token has expired, the aws-waf-token cookie is missing or outdated, the session immunity time has ended, or token sharing is not configured for multi-domain flows. For website developers: Set the CAPTCHA or Challenge immunity time to match real user behavior, configure a token domain list for related domains, verify that the AWS WAF JavaScript integration stores the token correctly, and ensure stricter Web ACL rules do not keep blocking legitimate traffic after CAPTCHA is solved. For CapMonster Cloud users: Use fresh task data from the target page, pass the result in the required format through the aws-waf-token cookie or x-aws-waf-token header, and create a new task with updated parameters instead of reusing an old solution if challenges continue. |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |