DDoS forensics is usually described as finding out who attacked. That holds only rarely, because forged sources, reflectors and botnets put thousands of innocent addresses between the attacker and your logs, and a DDoS test is often the first time anyone checks whether the evidence that does matter survives a flood at all. What DDoS forensics can reliably establish is what arrived, when, what gave way, and what the defence did about it.
What DDoS forensics reconstructs
The attack profile, per vector. Protocol, ports, packet sizes, source spread and rate over time. Sampled flow records (NetFlow, IPFIX, sFlow) carry most of this for volumetric vectors. They carry little for a low-rate application-layer flood, where the request logs matter.
The defence timeline. When the anomaly detection fired, when the provider began mitigating, which rules were changed, by whom, and when each change took effect. The provider's attack reports and the DDoS runbook change log are the sources.
The effect. Which component gave way first, how far goodput fell, and how long the service took to return to normal after mitigation held, the time to recovery.
What happened under cover. A flood keeps every analyst busy. Authentication logs, admin changes and unusual data transfers in the same window are worth reviewing, because the flood is sometimes the distraction.
Attribution sits at the edge of the work. The addresses in the logs are usually spoofed, reflectors or infected devices. A botnet family can sometimes be recognised from its traffic pattern, and a ransom note (kept with its full headers) may tie an attack to a known campaign. Naming a person is rarely possible from DDoS traffic alone.
Why the evidence disappears under attack
Logs grow with the attack. Per-request logs written at many times the normal rate fill disks, trigger rotation, or overrun the shipper's buffer. What gets lost first is often the onset, the minutes that show how the attack started and how early the signals were.
Captures overwrite themselves. A packet capture on a ring buffer keeps the newest data. During a long flood, the start is gone before anyone thinks to save it.
The log pipeline shares the path. A forwarder that sends logs over the uplink being flooded loses them at the same moment the service does.
Provider data has a shelf life. Attack reports and sampled logs in a provider's console are kept for a limited period. They have to be exported while they exist.
Clocks disagree. Router, edge, provider and application timestamps only line up if they were synchronised beforehand. A timeline built from unsynchronised sources is guesswork.
The hardening follows from the list: keep flow export on the routers (cheap per packet, and it survives volume), trigger a capture that saves the first minutes at attack onset, sample request logging under load rather than dropping it, send logs on a path the flood does not share, export provider reports routinely, and keep one synchronised clock.
What a DDoS test proves about it
A test is the one attack where the truth is written down in advance. The generators' send log records each vector, its start, its rates and its end. Rebuild the timeline from your own evidence alone, then compare.
The gaps are the findings. A vector that appears in the send log and nowhere in your records was invisible. A start time that is two minutes late in your logs means the onset was lost. A peak rate that reads lower than sent may be sampling, or a collector that dropped data.
Check one more thing: that logging did not become the layer of first failure. Disk I/O from logging at attack rate can take down a host the attack alone would not.
Preserving evidence belongs in the after-action steps of a DDoS testing checklist, next to restoring every control, because the export windows close whether or not anyone remembered them.