Use this when a single source makes a service unavailable.
DoS
A DoS (denial of service) attack makes a service unavailable by overloading it or triggering a crash from a single source. Patching, rate limiting, resource limits and filtering reduce the risk.
1. DoS exhausts resources (CPU, memory, connections, bandwidth) from one source.
2. Rate limiting, timeouts, resource limits.
3. Patch DoS vulnerabilities.
4. Monitor saturation.
5. Block abusive sources.
requests → resource exhaustion (rate-limited)
Context & applicabilityCommon mistakes · platform/version boundaries
- No rate limits on login, search or API endpoints.
- Single points of failure (one DNS provider, one ISP link).
- No contact with the ISP for upstream filtering.
- Application timeouts that let slow requests hold resources (slowloris).
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Application-level protections Narrow the fault
- Timeouts for slow clients (Nginx
client_body_timeout,client_header_timeout). - Rate limiting (
limit_reqin Nginx, API gateways). - Caching expensive responses.
- Input limits (request size, query complexity).
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Can be overload or a crash bug.
- Patching fixes crash-based DoS.
- Rate limits and resource limits help.
- Service availability monitoring — uptime
ss -s— socket counts under load- Rate limits and resource limits — protection
ReferenceWhy it matters1 section · depth on demand
Defences
- Patch crash bugs and limit resources per client (connection limits, timeouts).
- Rate limiting at the load balancer or firewall.
- Redundancy so one failing node does not take the service down.
A single-source DoS can usually be blocked by IP; distributed attacks need upstream help.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
A Denial of Service (DoS) attack makes a service unavailable by exhausting resources — bandwidth, connection tables, CPU, memory or application limits — from a single source or a few sources. Application-level DoS can be achieved with surprisingly little traffic by targeting expensive operations.
| Type | Example | Mitigation |
|---|---|---|
| Volumetric | Flooding the link | Upstream filtering |
| Protocol | SYN flood, fragmented packets | SYN cookies, firewall protections |
| Application | Expensive searches, login floods | Rate limiting, caching, WAF |
| Resource exhaustion bugs | Crafted input causing crashes | Patching, input validation |
Single-source DoS can often be blocked by source; distributed attacks (DDoS) require upstream capacity.
DoS types
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Common Attacks → DoS. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://attack.mitre.org/techniques/enterprise/ · confidence 94%