Using machine learning to detect bot attacks that leverage residential proxies

This post introduces Bot Management ML model v8, which specifically targets the detection of residential proxy abuse. It details the challenges posed by residential proxies, such as IP address rotation and masquerading as legitimate users. The post outlines the ML model training process, including data fetching from Clickhouse, orchestration with Airflow, and Catboost model training with hyperparameter tuning. It also describes the validation process, including the use of specializations and SHAP explainers. The core contribution is the detection methodology for residential proxies, which involves comparing network latency between direct and proxied requests and analyzing behavioral signals, while acknowledging the need to go beyond solely network characteristics due to internet diversity.
More from the Website Security & Threat Management trail
- We tested our own WAF with frontier AI models. Here’s what we found
- When scanners miss the attack: how Cloudflare Client-Side Security protects storefronts
- Introducing automatic remediation policies with Cloudflare CASB
- Introducing context-aware vulnerability discovery and remediation with Cloudflare Managed Defense and OpenAI Daybreak Models
- Introducing Adaptive Intelligence: undermining the economics of every bot attack