Account takeover detections

Last updated Aug 31, 2026 Using the detection IDs below, you can detect and mitigate account takeover attacks. You can monitor the number of login requests for a given software and network combination, as well as the percentage of login errors. When it reaches a suspicious level, you can prevent these attacks by using custom rules, rate limiting rules, and Workers.

Detection ID Description
201326592 Matches traffic that is making a suspicious amount of login failures to the zone.
201326593 Matches traffic that is making a suspicious amount of login attempts to the zone.
201326598 Sets a dynamic threshold based on the normal traffic that is unique to the zone.<br><br> When the ID matches a login failure, Bot Management sets the bot score to 29 and uses anomaly detection as its score source.

Login endpoints

Not all login endpoints are automatically detected.

Cloudflare evaluates and automatically detects your website or application's login endpoint, but non-traditional login endpoints may not be recognized.

For example, if you have a non-traditional login endpoint, you should label it with cf-log-in using the endpoint labeling service. Once you have applied the cf-log-in label, Cloudflare will use the labeled endpoint for account takeover detection decisions.

Challenges for account takeover detections

Cloudflare's Managed Challenge can limit brute-force attacks on your login endpoints.

To access account takeover detections:

  1. In the Cloudflare dashboard, go to the Security rules page. Go to Security rules ↗
  2. Select Create rule and choose Custom rule.
  3. Fill out the form using Bot Detection IDs along with other necessary information.
  4. Select Save as draft to return to the rule later, or Deploy to deploy the rule.

Rule examplejs

(any(cf.bot_management.detection_ids[*] eq 201326593))

Limit logins with account takeover detections

Rate limiting rules can limit the number of logins from a particular IP, JA4 fingerprint, or country.

To use rate limiting rules with account takeover detections:

  1. In the Cloudflare dashboard, go to the Security rules page. Go to Security rules ↗
  2. Select Create rule and choose Rate limiting rule.
  3. Fill out the form using the Custom expression builder and cf.bot_management_detection_ids along with other necessary information.
  4. Select Save as draft to return to the rule later, or Deploy to deploy the rule.

Enhanced with leaked credential detections

The rule can be enhanced with Leaked Credential Checks. Refer to the WAF documentation for more information on how to include leaked credentials and account takeover detections in a rate limiting rule.

Was this helpful?

YesNo

On this page

Account takeover detections - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/bots/additional-configurations/detection-ids/account-takeover-detections/#page","headline":"Account takeover detections","description":"Detection IDs for identifying and mitigating automated account takeover attacks.","url":"https://developers.cloudflare.com/bots/additional-configurations/detection-ids/account-takeover-detections/","inLanguage":"en","image":"https://developers.cloudflare.com/bots/additional-configurations/detection-ids/account-takeover-detections/og.png?v=82aaef6106d4a0b4","dateModified":"2026-08-31","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"},"keywords":["Account takeover"]}


description: Detection IDs for residential proxy traffic and other automated signals. title: Additional detections image: https://developers.cloudflare.com/bots/additional-configurations/detection-ids/additional-detections/og.png?v=4830d6171dd453e1


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/bots/llms.txt
Use this file to discover all available pages before exploring further.