Home/Blog/Articles

DOS & DDOS

All About Do - S & DDo - S

by Deepti Shukla3 January 20264 min read

DoS and DDoS attacks aim to overwhelm services so real users can’t access them. Below you’ll find how these attacks work, common types, telltale symptoms, and modern defenses-plus a practical defense framework and response runbook.

What is a DoS Attack?

Definition

A Denial of Service (DoS) attack attempts to exhaust a single target’s resources-CPU, memory, disk, or bandwidth-so it can’t serve legitimate requests.

How DoS Works

  • Buffer overflow: forces a system to overrun memory/CPU/disk and crash or hang.
  • Flooding: overwhelms with packet/request volume; attacker often needs more bandwidth than the target.

Symptoms

  • Unusually slow performance or long load times.
  • Inability to reach a specific site/service.
  • Sudden loss of connectivity across devices.

What is a DDoS Attack?

Definition

A Distributed DoS (DDoS) attack uses many Internet‑connected devices (a botnet) to flood a target service, network, or app-making it difficult to distinguish attack from normal traffic.

How DDoS Works

Attackers infect devices (PCs, servers, IoT) with malware, then command each “bot” to send traffic at the target IPs. Scale and distribution overwhelm infrastructure and upstream links.

Symptoms

  • Sudden slowness or outage (could also be legit traffic spikes).
  • Large traffic from a single IP or tight ranges.
  • Floods sharing behavior (same device type/geo/browser).
  • Spikes at unusual intervals (e.g., every 10 minutes) or times.

DDoS Attack Families

Volumetric

Consume bandwidth with massive packet floods or reflection/amplification.

UDP Flood DNS/NTP/SSDP Amplification ICMP Flood

Protocol

Exhaust network stack or device resources (state tables, CPU) by abusing protocols.

SYN Flood ACK Flood IP Null

Application (L7)

Target specific HTTP endpoints, apps, or regex engines to drain compute.

HTTP GET/POST Flood Slowloris/RUDY ReDoS

Common DDoS Vectors (Awareness)

TCP Handshake Abuse

  • SYN Flood: spoofed SYNs exhaust half‑open queue.
  • LAND: source=destination IP; server loops replies to itself.
  • SYN‑ACK Flood: floods ACK stage to drain CPU/RAM.
  • ACK/PUSH ACK/Fragmented ACK: burns processing on reassembly/validation.
  • Spoofed Session (Fake Session): forged sequence to bypass shallow defenses.

UDP & Reflection

  • UDP Flood: overwhelms without handshake.
  • DNS Flood: massive lookups mimic legit traffic.
  • VoIP Flood: SIP/RTP overload on VoIP servers.
  • NTP/CHARGEN/SSDP/SNMP: reflection/amplification from misconfigured services.

ICMP & Legacy

  • ICMP (Ping) Flood: echo requests/replies overwhelm capacity.
  • Smurf: ICMP broadcast reflection with spoofed source.
  • Fraggle: UDP broadcast variant of Smurf.
  • Ping of Death: oversized/fragmented pings crash targets.
  • IP Null Attack: invalid headers waste resources.

HTTP & App‑Layer

  • HTTP Flood: GET/POST storms to expensive endpoints.
  • Recursive GET: iterative asset walking drains resources.
  • Slowloris: partial requests keep connections open.
  • RUDY: long form fields starve web server sessions.
  • ReDoS: regex patterns trigger worst‑case matching.

Other Tactics

  • Misused Application: co‑opt real clients (e.g., P2P).
  • Zero‑Day DDoS: novel or unpatched weaknesses.

DDoS Defense Framework (DDF)

Identify

Inventory public endpoints, upstream links, DNS, CDNs, WAFs, and peak load limits. Map critical paths and dependencies.

EASM Runbooks

Protect

Anycast CDN, WAF, rate limiting, caching, origin shields, DNSSEC, SYN cookies, autoscaling, and strict ACLs.

WAF/Rate Limits SYN Cookies Caching

Detect

NetFlow/sFlow, traffic analytics, anomaly alerts, BGP telemetry, real‑time dashboards.

NetFlow/sFlow Analytics

Respond

Activate scrubbing, RTBH/FlowSpec, adjust WAF rules and limits, geo/ASN filters, provider escalation, comms plan.

RTBH/FlowSpec Scrubbing

Recover

Gradual traffic restoration, cache warm‑up, secret rotation if needed, validate health SLOs.

Govern

Tabletops, SLAs with providers, post‑incident reviews, capacity planning, vendor risk management.

DDoS Response Runbook (Quick)

1) Detect & Verify

  • Confirm attack (not a legit spike) via NetFlow, logs, provider dashboards.
  • Identify vectors (L3/4/7), target endpoints, and saturation points.

2) Contain

  • Enable scrubbing; raise WAF rules and rate limits.
  • Deploy RTBH/FlowSpec/ACLs for malicious sources/subnets/ASNs.

3) Stabilize

  • Scale out services; cache aggressively; shed non‑critical features.
  • Turn on challenge pages/CAPTCHAs for L7 floods.

4) Communicate

  • Notify stakeholders; status page updates; coordinate with upstream ISPs/CDN.

5) Learn

  • Post‑incident review; tune thresholds; pre‑stage rules; update playbooks.

Tooling, Monitoring, Protection, and Safe Testing

Monitoring & Analytics

Observe traffic baselines and anomalies across interfaces and apps.

PRTG Network Monitor SolarWinds NetFlow/SNMP Traffic Analytics

Protection & Scrubbing

Filter malicious traffic before it reaches origin; enforce app controls.

WAF/CDN Scrubbing Centers Rate Limiting

Cloud‑Native Controls

Provider mitigations at network edge with telemetry and automation.

AWS Shield (Adv.) Azure DDoS Protection Google Cloud Armor

Authorized Load Testing

Use legal tools against systems you own or are permitted to test.

k6 Locust JMeter Vegeta Artillery

Awareness Only (Do Not Misuse)

Historically cited DDoS tools exist (e.g., LOIC, HOIC, HULK, PyLoris, RUDY, Tor’s Hammer, GoldenEye, DAVOSET, OWASP HTTP POST). They must not be used illegally. This guide does not provide links or instructions.

Safety & Ethics

This article is for educational, defensive purposes. Do not perform DoS/DDoS or any testing without explicit authorization. Follow laws, regulations, and organizational policies. Stay safe. Stay ethical.

All articlesDiscuss on Telegram