Using the power of Cloudflare’s global network to detect malicious domains using machine learning
Mar 15, 2023Jesse Kipp

Summary
This post details the application of machine learning, specifically transformer-based neural networks, to detect malicious domains. It covers the training of models using DNS resolver data and known DGA domains, achieving over 99% accuracy. It also describes the deployment of these models to process DNS query names from the 1.1.1.1 resolver for real-time detection of DGA domains. Additionally, it introduces a two-stage model for detecting DNS tunneling, distinguishing it from benign applications that use similar query patterns.
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