Denial-of-Service Defense
Denial-of-service defense protects services from attacks that overwhelm them with traffic or exploit resource exhaustion to make them unavailable to legitimate users. It covers detection, mitigation, architecture patterns, and the layered controls from network edge to application that absorb or deflect attack volume.
itDefensive security and security operations | OpenSkills.info
Course pathWalk it in order
Look it upDip in anytime
Go furtherLeaves this page
Don't Panic
Don't Panic - Denial-of-Service Defense
Denial-of-service defense is the work of keeping a service useful when somebody, or something behaving like somebody, tries to make it unavailable by spending all of one resource. The awkward detail is that a service is not one machine. It is a route from name resolution through networks and edges to an application, its data stores, and its dependencies. Any one of them can decide to become the weak link.
The useful mental model is less dramatic than the attack names: protect the narrowest resource while preserving legitimate work. A volumetric flood tries to fill a link or packet-processing path. A protocol-state attack tries to fill the little waiting room where connections are half formed. An application-layer attack sends apparently respectable requests that happen to demand a great deal of work. The requests may have excellent manners. They can still eat the database.
This is why the origin server is not a tiny castle with a sufficiently stern firewall. If the upstream link is full, the firewall gets to be correct in private. Large floods need capacity and filtering before that bottleneck, from a provider, distributed edge, or scrubbing service. Closer to the application, rate limits, queues, timeouts, and concurrency bounds keep one caller from reserving all the useful work.
The surprise is that a block counter is not a victory counter. It can mean the control is functioning. It can also mean that legitimate users who share an address, client shape, or expensive endpoint have been sent away with the attackers. Watch external availability and critical transactions as well as bits, packets, requests, and rejections. Availability is what users observe, not what a powered-on server insists about itself.
The Intro explains the path and the resources that can fail. Slides compress the layers and response loop into a map. Cheatsheet is the quick reference for measurements, controls, and tradeoffs. Field Notes covers the operational costs that arrive with emergency rules and evidence collection. The Practice reference and Exercise keep the traffic on one local container, where a small burst can demonstrate admission control without attempting to summon a very expensive incident.
Where this skill leads
Relevant careers
See how this topic contributes to broader role-level skill maps.
Sources
- https://www.cisa.gov/sites/default/files/2024-03/understanding-and-responding-to-distributed-denial-of-service-attacks_508c.pdf
Supports
- DoS and DDoS definitions, distributed sources, attack types, and service impacts
- Volumetric, protocol, application-resource, reflection, and amplification patterns
- Preventative preparation, provider coordination, mitigation, incident response, and recovery
- https://www.cyber.gov.au/business-government/detecting-responding-to-threats/cyber-security-incident-response/preparing-for-and-responding-to-denial-of-service-attacks
Supports
- Identification of critical online services and upstream dependencies
- Cloud mitigation services, provider planning, monitoring, incident response, and coordinated testing
- Preparation before an attack as more effective than improvisation after service degradation
- https://www.rfc-editor.org/rfc/rfc4732.html
Supports
- DoS threat avenues across end systems, applications, operating systems, routers, and protocols
- Resource exhaustion, amplification, authentication, and architectural defense tradeoffs
- Limits of partial solutions and the risk that one mitigation creates another vulnerability
- https://www.rfc-editor.org/rfc/rfc4987.html
Supports
- TCP SYN floods as exhaustion of state held for bogus half-open connections
- Filtering, backlog and timer changes, SYN caches, SYN cookies, proxies, and hybrid mitigations
- Stateless protocol setup and delayed state allocation as defense principles
- https://csrc.nist.gov/pubs/sp/800/189/final
Supports
- Spoofed-source reflection and amplification as DDoS mechanisms
- Source address validation with access controls and unicast reverse-path forwarding
- Response rate limiting, remote triggered blackholing, and flow specification
- https://docs.aws.amazon.com/waf/latest/developerguide/ddos-resiliency.html
Supports
- DDoS resiliency as continued legitimate-user service with controlled errors and latency
- Distributed edge capacity for volumetric attack absorption
- Application scale, web application firewalls, rate-based rules, and automatic mitigation
- https://docs.aws.amazon.com/whitepapers/latest/aws-best-practices-ddos-resiliency/metrics-and-alarms.html
Supports
- Service and infrastructure health checks for DDoS impact detection
- Baselines and anomalies in expected application behavior
- Bits, packets, requests, allowed traffic, blocked traffic, and application metrics
- https://nginx.org/en/docs/http/ngx_http_limit_req_module.html
Supports
- NGINX request-rate zones, burst handling, and excess-request processing used in the local exercise
- https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-type-rate-based.html
Supports
- Request aggregation, evaluation windows, thresholds, and rate-limiting behavior
- https://www.usenix.org/legacy/publications/library/proceedings/sec2000/invitedtalks/dittrich_html/timeline.html
Supports
- 1999 DDoS tool development and the February 2000 attacks on major Internet sites
- https://resources.sei.cmu.edu/asset_files/WhitePaper/2001_019_001_52491.pdf
Supports
- 1999 widespread deployment of handler-agent DDoS networks
- https://archive.icann.org/en/tlds/net-rfp/applications/verisign.htm
Supports
- October 2002 root name server DDoS attacks and subsequent capacity work
- https://www.cisa.gov/ncas/alerts/ta14-017a
Supports
- UDP amplification vectors and the 2014 publication of CISA guidance
- https://www.cisa.gov/news-events/alerts/2016/10/17/mirai-botnet
Supports
- Mirai botnet activity and risks from compromised Internet-connected devices
- https://github.blog/news-insights/company-news/ddos-incident-report/
Supports
- GitHub's 2018 memcached amplification incident, anomaly detection, BGP diversion, and mitigation response
- https://blog.cloudflare.com/post-mortem-what-todays-network-outage-looked/
Supports
- Operational risk from an overly aggressive mitigation rate limit during a DDoS response
- https://engineering.atspotify.com/2013/6/incident-management-at-spotify
Supports
- Rate limiting and separating log messages after an incident exposed input-output pressure
- https://www.cloudflare.com/ddos/
Supports
- Cloudflare DDoS Protection placement in the distributed edge mitigation landscape
- https://www.akamai.com/products/prolexic-routed
Supports
- Akamai Prolexic Routed placement in scrubbing and routed mitigation
- https://aws.amazon.com/shield/
Supports
- AWS Shield placement for AWS public resources and DDoS protection tiers
- https://cloud.google.com/armor
Supports
- Google Cloud Armor placement for web-edge policy and rate controls
- https://azure.microsoft.com/products/ddos-protection
Supports
- Azure DDoS Protection placement for Azure public IP resources
- https://www.netscout.com/product/arbor-edge-defense
Supports
- NETSCOUT Arbor Edge Defense placement for network detection and mitigation
