Video summary
How a DDOS Attack Works. How Hackers Can Bring Down a Website or Server.
Main summary
Key takeaways
Summary of Technological Concepts & Attack Mechanisms
Definition of DDoS
- DDoS = Distributed Denial-of-Service
- A cyberattack that targets a specific server or network to disrupt normal operation.
- It works by flooding the target with constant traffic (e.g., fraudulent requests) so the system can’t handle legitimate traffic.
SYN Flood Attack (TCP-based)
- Targets a weakness in TCP during connection establishment.
- Exploits the TCP three-way handshake:
- Client sends a SYN to the server.
- Server responds with ACK and allocates resources/opens a port, waiting.
- Client normally completes with a final ACK to establish the session.
- In a SYN flood, the attacker never completes step 3, leaving half-open connections.
- Result:
- The server’s connection queue fills up.
- Many ports/connections remain open while waiting for responses.
- The server becomes overwhelmed, causing lag, unresponsiveness, or shutdown, preventing legitimate users from connecting.
HTTP Flood Attack (Application-layer)
- Described as simpler but less effective than SYN flood.
- Happens when many devices open or refresh web pages repeatedly, generating a flood of HTTP requests.
- Result:
- Overloads web server resources.
- Causes the website to run slowly or crash.
How DDoS Attacks Are Launched (Botnet Concept)
- DDoS comes from many sources, unlike DoS, which typically comes from a single source.
- Attackers use infected computers/devices running malware to create a botnet.
- A ringleader (bad actor) sends attack instructions (e.g., target IP address) to botnet nodes.
- At the same time, botnet devices flood the target (e.g., SYN requests) to bring down the server.
Identification / Detection Cues
DDoS is often suspected when a service suddenly becomes:
- Very slow
- Unavailable / cannot connect
Examples include:
- Websites/app links breaking
- Game servers lagging
Important note: These symptoms don’t prove a DDoS attack—there could be internal issues—but they shouldn’t be ruled out.
Prevention / Defense Strategies
Core challenge: distinguishing fraudulent from legitimate traffic without blocking real users.
- Rate limiting
- Limits the number of requests allowed from an IP address over time.
- In botnet scenarios, each infected device may use a different IP; rate limiting blocks IPs once they exceed thresholds.
- Web Application Firewall (WAF)
- A layer 7 firewall designed to stop attacks like HTTP floods.
- Inspects incoming traffic and filters malicious requests before they reach the server.
- Load balancing
- Distributes traffic across multiple servers so one server isn’t overwhelmed.
- During an attack, it helps spread load and reduces impact on any single server.
Motivations for DDoS (Contextual Analysis)
Motivations mentioned:
- Financial (e.g., targeting competitors)
- Political (disagreement with an organization)
- “For fun” (casual/entertainment motive)
Main Speakers / Sources
- Not specified in the subtitles (no named speaker or external source cited).