DDoS Attack Simulator
Educational simulator to understand how DDoS attacks work with stunning real-time visualizations, multiple attack vectors, and protection mechanisms.
Category: Security
What You Will Learn
- Recognize different types of DDoS attacks
- Implement rate limiting and traffic filtering
- Design resilient architectures against DDoS
Topics covered: educational, security, interactive, visualization
// simulator
DDoS Attack Simulator
Educational simulator to understand how DDoS attacks work with stunning real-time visualizations, multiple attack vectors, and protection mechanisms.
Overview
A distributed denial of service attack tries to make a service unavailable by flooding it with more traffic than it can handle. This simulator puts you in charge of defending a server against waves of attack traffic of increasing intensity. You can choose the attack type: an HTTP flood that sends application requests, a SYN flood that opens TCP connections and never completes them, or a UDP flood that saturates bandwidth with datagrams. As the attack runs, the server health drops with the load and the counters show requests per second, total requests and how many were blocked. You defend with layers: a firewall that filters traffic, a load balancer that spreads it, and automatic rate limiting that throttles clients sending too much. The firewall and the rate limiter block part of the attack, the load balancer reduces the damage from what gets through, and survival time, waves and achievements reward a setup that holds. The point is that no single control stops every kind of flood, so real protection combines filtering, rate limiting, spare capacity and, for large attacks, an upstream mitigation service or CDN.
Try this
- Start an HTTP flood with no defenses and watch how quickly the server health falls.
- Turn on the firewall, the load balancer and automatic rate limiting one at a time and compare the blocked request counts.
- Switch to a SYN flood or UDP flood and see which defenses still help.
Frequently asked questions
- What is the difference between a DoS and a DDoS attack?
- A denial of service attack comes from one source, which can often be blocked. A distributed attack comes from many machines, often a botnet, so blocking single addresses does not stop it.
- What is a SYN flood?
- An attack that sends many TCP SYN packets without completing the handshake, filling the server table of half-open connections. SYN cookies and upstream filtering are common defenses.
- Does rate limiting stop DDoS attacks?
- It helps against application-layer floods from a limited set of clients, but large volumetric attacks saturate the network before your server sees them. Those need upstream protection, such as a CDN or a scrubbing service.
Try next
// simulator
Fork Bomb Simulator
Visualize how the infamous :(){ :|:& };: fork bomb works. Watch processes multiply exponentially, exhaust system resources, and learn how to protect against it with ulimit, cgroups, and systemd.
// simulator
OAuth/OIDC Flow Simulator
Visualize OAuth 2.0 and OpenID Connect flows with an interactive simulator. Learn authorization code + PKCE, state, nonce, redirect URI checks, ID tokens, access tokens, refresh tokens, scopes, UserInfo, and common auth failure modes.
// simulator
SSL/TLS Handshake Simulator
Visualize how SSL/TLS handshakes work with certificate verification, key exchange, and cipher negotiation. Compare TLS 1.2 and 1.3 protocols.