Incident Response Runbook: Distributed Denial of Service (DDoS)
1. Identification
- Triggers: WAF (Web Application Firewall) alerts, Azure DDoS Network Protection alerts, synthetic monitoring failures, customer reports of timeouts.
- Initial Triage: Determine if the attack is volumetric (Layer 3/4) or application-layer (Layer 7).
2. Containment (Mitigation)
- Layer 3/4 (Volumetric):
- Ensure Azure DDoS Protection Standard is enabled on the affected Virtual Network. It automatically tunes and mitigates traffic.
- If not enabled, engage Azure Support immediately or enable the plan via the Azure Portal (Note: pricing implications apply).
- Layer 7 (Application):
- Review WAF logs to identify attack patterns (e.g., specific user-agents, IPs, or requested URIs).
- Apply Custom WAF Rules in Azure Application Gateway / Front Door to rate-limit or block the attacking IPs or patterns.
- Example: Enable
RateLimitmode on Front Door WAF for the abused path.
3. Eradication & Investigation
- Query WAF Logs (
ApplicationGatewayFirewallLogorFrontDoorWebApplicationFirewallLog) in Log Analytics to tune filtering rules. - Continuously monitor backend health and CPU/Memory to ensure mitigation is effective.
4. Recovery
- Once traffic normalizes, slowly adjust rate-limiting rules if they are affecting legitimate users (false positives).
- Confirm synthetic tests and customer endpoints are fully responsive.
5. Lessons Learned
- Consider enabling caching at the edge (CDN/Front Door) to absorb future Layer 7 hits.
- Review auto-scaling policies to ensure backend resources can scale rapidly during sudden traffic spikes.