tencent cloud

Web Application Firewall

Overview

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-11-09 15:30:51
Diterjemahkan & Diperiksa oleh AI

Background Information

With BOT and business security, you can enable and configure the corresponding modules in BOT management, observe and analyze them in conjunction with BOT traffic analysis and access logs, configure refined policies based on the session status information provided by traffic analysis, and protect core website APIs and business operations from BOT attacks.
The modules of BOT management are described as follows:
Module
Description
BOT scenario-based protection
Leveraging Tencent Cloud's years of expert experience in BOT governance, this feature supports detecting 1000+ crawler types for common BOT scenarios such as flash sales, content scraping, and login. It provides expert experience-based configurations across multiple dimensions, including browser bot defense, threat intelligence, AI policies, smart statistics, action policies, session management, good bots, and custom rules, addressing customer configuration challenges with ease of use and quick deployment.
Multi-end BOT Protection
Built on trusted device identifiers, it provides device risk identification and multi-platform security protection capabilities, covering iOS, Android, HarmonyOS, mini programs, H5, and other platforms. Once enabled, you can obtain complete protection capabilities including on-device fingerprinting, runtime environment detection, device risk scoring, and integration with the BOT engine to address risk scenarios such as malicious device spoofing, automated tool attacks, credential stuffing, fraudulent registration, and fake order placement.
Browser Bot Defense
Through client-side dynamic security verification technology, a dynamic unique session token or request signature is generated for each business request to detect potential bot and malicious crawler behavior in client access to Web or HTML5 pages, protecting website business security.
Threat Intelligence
Leveraging Tencent's nearly two decades of cybersecurity experience and big data threat intelligence capabilities, this feature accurately identifies access from malicious dynamic IP addresses and IDCs through real-time IP address status assessment, scoring mechanisms, and risk quantification. It also intelligently identifies malicious crawler characteristics to address risky access from malicious crawlers, distributed crawlers, proxies, credential stuffing, and credential abuse.
AI policy
Based on AI technology and risk control practices, this feature analyzes access traffic data and builds an AI evaluation model to identify and distinguish different types of malicious automated access behavior, addressing advanced persistent threats and covert threats.
Smart Statistics
Based on big data analysis and statistics, traffic is automatically classified according to the traffic characteristics of customer user groups, abnormal malicious traffic is automatically identified, malicious traffic thresholds are automatically adjusted through big data analysis, risky access from regular BOTs and high-frequency BOTs is addressed, and most BOT behavior bypass issues are resolved by automatically adjusting statistical models.
UA policy
Based on AI technology and risk control practices, this feature identifies User-Agent types and characteristics to help users classify and observe various client types such as browsers, mobile devices, automation tools, and BOTs. Users can manage various UA detection rules globally and view their match status in dimensions such as traffic analysis and access logs, thereby supporting BOT and business security protection and improving the identification of and response to abnormal access.
Action
Access requests to the website are comprehensively scored based on threat intelligence, AI policies, and smart statistics, with scores ranging from 0 to 100. A higher score indicates a higher likelihood of BOT activity and greater harm/pressure on the website. The risk level of access behavior is intelligently identified based on the score, and actions can be configured for different score ranges to achieve precise interception of risky access. Additionally, precise handling can be applied to request data that matches the configured effective scope.
Session management
By configuring this feature, you can specify the location of the session Token, distinguish access behavior of different users under the same IP address, and precisely handle users with abnormal access behavior without affecting other users.
Good Bots
By configuring this feature, good bots (such as search engines and subscription robots) can obtain website data normally, allowing the website to be indexed properly.
Custom rule
With this feature, access requests from crawlers that match the behavior configuration and corresponding characteristics can be precisely handled. Additionally, precise handling can be applied to request data that matches the configured effective scope.
BOT allowlist
Supports combining multiple features such as session characteristics, request characteristics, Cookie, HTTP headers, effective scope, IP address characteristics, User-Agent, Referer, and session settings from HTTP packets, and adds access from specific public network users to the allowlist through feature matching.
Priority from high to low: BOT allowlist > Scenario 1 (priority 1) > Scenario 2 (priority 2) > ... > Scenario n (priority n).

False Termination Risks and Mitigation Measures

After the protection module goes live, some legitimate business requests may be misidentified as BOT traffic. The following lists common false blocking scenarios and their solutions in actual use for reference during pre-launch troubleshooting.
When each protection module is launched, it is recommended to first run it in Monitor mode, and switch to blocking only after confirming the nature of the matched traffic through traffic analysis. Directly enabling blocking has a high probability of false positives in the early stage of business access.
Module
False Positive Scenario
Solution
Browser Bot Defense
Server-to-server API callbacks and automated API scripts (non-browser calls) are intercepted by frontend JS detection. Browser bot defense cannot work properly when the Content-Type of the API response body is not text/html.
Add the corresponding API path to the frontend defense allowlist. Enable it only after confirming that the client type is browser/H5.
Threat Intelligence
IPs of enterprise office network egress and business IDC egress are marked as IDC traffic by the threat intelligence database.
Before enabling, confirm whether the business has IDC-side access. If so, disable the IDC network identification switch or add the business IDC address range to the trust list.
AI policy
API callback requests with a fixed format are misidentified as abnormal by the AI model because they lack browser behavior characteristics.
Add the corresponding URL to the allowlist on the AI policy page.
Smart Statistics
High-frequency normal access from scheduled tasks and monitoring probes is marked as abnormal by the statistical model.
Adjust the detection level to intelligent recommendation, or reduce the sensitivity of the corresponding detection item. If necessary, add specific access sources to the allowlist.
Action
In the early stage after a new service is launched, traffic has not been fully learned by the model, and high-score false interception may occur.
Set the new scenario to monitor mode first, observe the matched traffic for 1 to 3 days, and then switch it to block mode.
Custom rule
Overly strict threshold settings cause normal requests with the same characteristics to be intercepted.
After the rule is created, set it to monitor mode first. Switch it to block mode only after confirming in BOT traffic analysis that all matched traffic is malicious.

Prerequisites

1. You have purchased a WAF yearly/monthly subscription instance and enabled BOT traffic management.
2. You have completed Domain Onbroading or Object Onbroading.

Enabling BOT Management

1. Log in to the WAF console and choose BOT Management > BOT Rule Configuration in the left sidebar.
2. On the BOT Rule Configuration page, select the domain to protect in the upper-left corner, and enable BOT Management.
BOT Management: After it is enabled, you can configure BOT rules for the current domain. Clicking View Traffic will redirect you to the BOT traffic analysis page of the currently selected domain.
After BOT management is enabled, you can enable Protection Modules and select a Configuration Mode on the BOT management page based on your business needs.
Client-side security: After it is enabled, you can configure BOT multi-platform protection for the current domain. For details about client security, see Multi-platform BOT Protection.
Enabled scenes: Displays the number of BOT protection scenarios that are enabled for the current domain.
Total scenes: Displays the total number of BOT protection scenarios configured for the current domain, including all scenarios with the effective status of enabled or disabled.
Current global policy: Displays the name of the highest-priority scenario that takes effect globally for the current domain.

Protection Modules

You can enable and configure protection modules such as browser bot defense, bot analytics, session management, good bots, and BOT allowlist as needed. Each module can be configured globally in Global Settings (applied to all scenarios under the current domain) or individually for a single scenario in scenario-based management. For specific operations, see Protection Modules.

Configuration Mode

BOT management supports two configuration modes by default: Single scene and Multi-scene Mode, to meet the configuration needs of different users.
Single scene: If you only need to quickly deploy a fallback protection policy for all paths of the domain, we recommend using Single scene. It supports quickly enabling expert preset rule sets, browser bot defense, and bot analytics features to monitor BOT traffic in your business. You can observe the matched traffic and then switch to Block Mode.
Multi-scene Mode: If you need to deploy different personalized protection configurations for different paths of the domain, we recommend using Multi-scene Mode. This mode supports enabling different expert preset basic rule sets and custom rule sets for different path configurations and business scenarios (such as flash sales, anti-scanning, and anti-crawling). You can observe the matched traffic and then switch to Block Mode.
For specific operations of the two configuration modes, see Single scene and Multi-scene Mode.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan