ARTICLE - CDN, Security & Monitoring

DDoS Incident Response

Effective DDoS response starts by locating the affected path, steering traffic to protection already in place, and checking real service outcomes. Every temporary rule needs an observation period and a defined removal condition.

2026-11-26 16IDC Original 18 views
Advertisement

When traffic surges, errors rise, or users cannot reach a site, first locate the fault at the network edge, mitigation layer, or origin application. Do not block addresses or restart services based on one graph. Preserve evidence, use protection already provisioned, check false positives and real transactions, then roll back only against explicit conditions. The result depends on the product, protocol, protected resource, and contract in place.

DDoS response timeline Scope impact Mitigate Check blocks Review / revert Log time and scope Use provisioned controls Check real requests Revert by trend Mitigation ≠ recovery Scope: decision stages, not a recovery-time promise
Figure 1: DDoS response timeline (Scope: decision stages, not guaranteed recovery times)

Confirm the affected path and preserve evidence

Use one time zone and record alert times, affected domains or IPs, user-visible symptoms, recent changes, and the current protection state. Preserve edge security events, load-balancer metrics, origin access and error logs, bandwidth, and connection data. Limit access and retention to what your legal and internal policies permit.

Volumetric attacks can raise ingress bandwidth, packet rates, or new connections, while application-layer traffic can concentrate on particular paths or request patterns. Both can occur together. Compare edge and origin time series with successful transactions and other critical business signals; a busy IP or a rise in 5xx responses alone does not establish a DDoS attack.

Check whether the affected asset and protocol are already covered, whether a mitigation entry is available, and whether the origin can be reached directly. A DNS change does not create scrubbing capacity when no service has been provisioned. Contact the hosting or network provider to confirm available mitigations, eligible resources, activation criteria, and configuration steps.

# Replace example.com with the affected domain; DNS results show one resolver's view
date -u
dig +short example.com A
# Run one low-rate health check; do not load-test during an incident
curl --connect-timeout 5 --max-time 10 -sS -o /dev/null \
  -w 'http=%{http_code} connect=%{time_connect}s total=%{time_total}s\n' \
  https://example.com/health

What to verify: record the UTC time, DNS answer, HTTP status, and latency, then compare them with monitoring for the same interval. One 200 response does not prove site-wide recovery; keep checking real transactions and reports from different network locations.

Enable mitigation in stages and limit false positives

Start with controls that are already configured, auditable, and reversible. Ask the mitigation provider to confirm the attack type and protected resource. If moving to a prepared edge entry, record the old DNS answer, TTL, new target, operator, and time; verify traffic reaches the intended service using its documented procedure. Restrict origin access to trusted proxy or scrubbing networks only after obtaining the provider's authoritative ranges and verifying management access. Do not guess at firewall allowlists during an incident.

For application rules, scope conditions to the affected path, method, or observed behavior. Prefer a logging or observe-only mode before blocking, when available. Avoid blanket IP bans: NAT, mobile networks, and corporate gateways can put many legitimate users behind one address. Track false positives on login, checkout, and other critical paths; assign an owner who can pause the rule or restore the saved threshold.

Save the current configuration before each change. Change one reversible unit at a time and record its rule ID, match scope, activation time, and rollback value. Avoid combining a source migration, network redesign, and certificate change during an attack; simultaneous changes create new failure modes and make the result difficult to attribute.

Verify service outcomes and roll back safely

A dashboard showing mitigated attack traffic only confirms what the provider observed; it does not prove that the origin, database, or transactions are healthy. Check edge allow/block events, origin-pull bandwidth, origin connections and resource use, 5xx and timeouts, and a low-risk real business path. If attack indicators fall while transactions still fail, inspect origin errors, cache bypass, dependencies, and false-positive rules.

For a false positive, pause the newest narrowly scoped rule or restore the last saved configuration, then retest a legitimate user path. Do not clear every security rule at once. After a DNS cutover, use authoritative and recursive answers together with server-side logs to check the destination; one answer from a public resolver does not prove global convergence.

After attack indicators fall, keep observing until they remain consistent with a normal business baseline. Remove temporary controls one at a time, after confirming the old entry still works and the origin remains protected. Keep logs and change records; if the pattern returns, use the known configuration rather than relying on an unverified recovery-time promise.

# Linux/systemd example: inspect recent Nginx logs without changing configuration
journalctl -u nginx --since "15 minutes ago" --no-pager | tail -n 100
# Run after a planned change; this checks syntax but does not apply the config
sudo nginx -t

What to verify: correlate log entries in the selected time window with abnormal requests or upstream errors. Proceed with a reload only if nginx -t reports valid syntax and the change is approved. Syntax validation is not a service check; test the health path, error rate, and key transactions. If validation fails, keep the old configuration and correct the file first.

Confirm provider scope and billing before an incident

These are examples of product boundaries stated in official documentation as checked on 2026-11-28, not claims that every plan, resource, or region is equivalent. During an incident, match your own instance, protected asset, and contract rather than relying on an advertised Gbps figure.

Product mechanism Documented scope Confirm during response
Cloudflare DDoS Protection Cloudflare documents L3/L4 and HTTP L7 DDoS protection for onboarded sites across plans; rule customization varies by plan Whether the zone is proxied, whether the protocol is supported, and the plan's rule actions
AWS Shield Standard Included for AWS customers at no extra charge for common network and transport-layer attacks; architecture and entry resources affect the protection boundary Whether the entry uses CloudFront, Route 53, or another protected resource, and whether advanced response is needed
Alibaba Cloud Anti-DDoS Proxy billing Elastic protection for the documented Professional instance is billed between its committed and elastic bandwidth ceilings; an attacked asset may be blackholed above the ceiling Asset type, region and edition, elastic charges, and the unblackholing process

Sources: Cloudflare DDoS Protection, AWS Shield Standard, and Alibaba Cloud burstable protection billing documentation, checked 2026-11-28. Features and rates change; Alibaba's cited elastic billing rule applies to the mainland Professional instance documented on that page, not every edition.

Limitations

  • Scrubbing cannot guarantee mitigation of every attack and does not replace application capacity, backups, access controls, or an incident communications plan.
  • DNS changes depend on resolver caches and propagation. TTL is not a guarantee of global convergence; the new entry needs advance setup, certificate coverage, and origin validation.
  • Rules, bans, and origin allowlists can block legitimate users. Have logs, business checks, an owner, and a rollback path before applying them.
  • Products can charge by plan, protected asset, region, committed or elastic bandwidth, or data transfer. Exceeding a ceiling can trigger additional charges, throttling, or blackholing; check the actual order and contract.

FAQ

Should I block a busy IP address during a DDoS attack?

Not based on request counts alone. Shared gateways, carrier NAT, and proxies can put many legitimate users behind one address, while attackers can rotate sources. Compare DDoS TCP/UDP or HTTP request patterns, paths, edge events, and successful transactions first. Observe a narrowly scoped rule where possible, then block gradually only when the false-positive risk is understood and a rollback is ready.

Why does the site still return errors when the provider reports mitigation?

Mitigation status does not mean the origin application is healthy. Check the origin address, Host and SNI values, application dependencies, database, and cache, then compare edge requests, origin traffic, and 5xx timelines. If direct traffic still reaches the origin, review exposed IPs and security-group rules. Use a low-risk business check before declaring recovery.

How long should attack signals stay down before removing limits?

You should wait for sustained recovery, not a brief dashboard zero. Confirm DDoS signals have stayed down, critical transactions and origin metrics have recovered, and temporary rules are not blocking legitimate users. Have the change owner remove controls one at a time, verify the previous entry remains usable and protected, and retain the rollback record in case the attack returns.

Related Providers

  • Cloudflare WAF: Check HTTP DDoS rules and event visibility when the site is already proxied through Cloudflare.
  • Tencent EdgeOne: Confirm which product supplies DDoS mitigation and application-layer controls when the service uses Tencent's edge network.
  • Amazon CloudFront: Review the entry architecture and Shield Standard scope for an AWS application using CloudFront.

References

Community & Resources

Original source: 16IDC Original ↗