Information
Enable bot protection on the Web Application Firewall to block or log requests from known malicious IP addresses identified through the Microsoft Threat Intelligence feed.
Internet traffic from bots can scrape, scan, and search for application vulnerabilities. Enabling bot protection stops requests from known malicious IP addresses and enhances the overall security of your application by reducing exposure to automated attacks.
NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.
NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.
Solution
Remediate from Azure Portal
- Go to Application gateways.
- Click the name of an application gateway.
- Under Settings, click Web application firewall.
- Under Associated web application firewall policy, click the policy name.
- Under Settings, click Managed rules.
- Click Assign.
- Under Bot Management ruleset, click to display the drop-down menu.
- Select a Microsoft_BotManagerRuleSet.
- Click Save.
- Click X to close the panel.
- Repeat steps 1-10 for each application gateway and firewall policy requiring remediation.
Remediate from Azure CLI
For each firewall policy requiring remediation, run the following command to enable bot protection:
az network application-gateway waf-policy managed-rule rule-set add --resource-group <resource-group> --policy-name <firewall-policy> --type Microsoft_BotManagerRuleSet --version <0.1|1.0|1.1>
Impact:
May require monitoring to identify false positives.