Skip to content

What Is Network Forensics?

Network forensics uses packet captures, flow records and logs to answer questions about observed network activity and explain the limits of the evidence.

By Reviewed by Jeevesh Kumar

Last updated:

Network forensics is the examination of records of network activity to answer a defined question. It can establish that a sensor recorded particular packets, that a gateway logged a decision, or that a service recorded a request. A finding depends on where the source sat, what it recorded and how reliably the examiner can associate its records with the event.

Imagine a report that a workstation reached a service during a brief outage. Establish what reached means for that investigation. A name resolution request, a transport connection and a response from the service describe different stages of the attempt. Each stage needs evidence that can show it. The finding should name the stage supported by the records and explain any remaining uncertainty.

Key terms

Packet capture
A file holding packet bytes and metadata recorded at one or more interfaces. Its evidence applies to the saved bytes and the observation points represented.
Flow record
A summary of packets grouped under a measurement system’s rules. Its fields and counters can support comparisons when their definitions and coverage are known.
Observation point
The position in a network or system from which a source records activity. It determines which part of an exchange the source can describe.
Application log
A record generated by an application about events it handles. Its field definitions identify whether an entry describes a request, a reply or an operation outcome.
Corroboration
An additional observation that supports an aspect of a finding. Its value depends on how the additional source obtained its information.
Source dependence
The relationship between records that derive from the same underlying event measurement. It matters when deciding whether agreement reflects independent observations.
More key terms (1)
Negative finding
A documented search in which no record met the stated conditions. The strength of the finding depends on how completely the sources covered the event and interval.

Turn a Report Into an Answerable Question

Convert the initial report into a question that identifies an event and an interval. If a report says an upload failed, clarify whether the question concerns a connection attempt, the service receiving a request, or successful storage of the uploaded material. A packet carrying an application response could answer a question about the reply at the observation point. The service record or storage audit would be more direct evidence of the resulting state.

Write down who supplied the proposed time range and how precise it is. A clock on a workstation can differ from a gateway clock, and a log may record processing or export time. Retain the source timestamps and give yourself a documented search margin when the original report has minute-level precision. A narrow window selected before checking clocks can exclude the very event the review is meant to evaluate.

Scope can change once you find a better source. If the named service sits behind a gateway, an early search for the service address in a client-side capture might return nothing. Update the question to match the expected path, retain the original search in the notes, and document why the gateway record became relevant.

Read Each Source at Its Own Level

A packet capture can show the available headers, some or all of the payload, and the sequence of records seen at the capture point. A flow record can summarize address pairs, ports, counts and a measured time interval. An application log can show which operation the application recorded, the result it reported, and sometimes an identifier for the request. A firewall decision log answers a different question again, since its event describes what the firewall evaluated or did.

A capture shows packets at an observation point. The other records summarize traffic, a rule decision or an operation recorded by the service.

Scroll horizontally if needed to see the full table.

Investigative QuestionDirectly Relevant EvidenceQualification to Check
Was a name queried?A query record or a captured DNS queryResolver or interface coverage and query type
Did the peers exchange TCP data?Matching TCP packet records in both directionsCapture direction, timing and relevant packet lengths
What result did the service report?A response message or an application event with a documented result fieldWhich component produced the reply or log entry
Was a file committed to storage?An application or storage event linked to the operationMeaning of the event and whether it covers the relevant storage stage

Suppose a resolver recorded a Domain Name System (DNS) query and returned an address. That supports a finding about name resolution. A background process or a browser preparing a page can ask the same question. Look for a matching transport exchange or application record when the conclusion depends on service use. The sample below puts transport and application evidence in the same file so the distinctions are visible at frame level. NIST Guide to Integrating Forensic Techniques Into Incident Response

For example, a firewall entry allowing a connection attempt tells you how the rule was applied at that point. The packet could still encounter a later device or the server could decline the connection. Ask whether the next stage has its own observation and link the two with fields the producers document.

Separate the Address From the Actor

An Internet Protocol (IP) address observed by a service can belong to a gateway, proxy or other intermediary. Several clients may share the address from the viewpoint of the service. Start by stating where the address appeared and whether it was in a packet header, an intermediary log or an application field. A value copied into a request header may have a different origin from the peer address recorded by the server.

In this example, the service-side peer address can be shared by both clients. An association with a specific client needs evidence from the relevant path and interval.

A Dynamic Host Configuration Protocol (DHCP) lease can help relate an address to a client during the relevant interval where the network uses DHCP and the lease evidence is available. Additional host or service records may support a device or account association. A conclusion about the person operating the device requires evidence that addresses that question directly. Record each supported step so a reviewer can assess which association a particular source provides.

When multiple records are available, draw the association explicitly. The endpoint capture shows one local address, an infrastructure record ties that address to an interface during the time window, and the service log records a request from an intermediary. Keep track of which part of that chain each source supports.

Write a Finding Another Examiner Can Verify

Give the evidence item identifier, the observation point if known, the search interval and the specific packet or record references. Record the display filter or query used and describe the fields that support the claim. If a parser supplies a label, identify the underlying field where it matters. That detail helps a reviewer reproduce your observation when a tool version or display preference changes the way the same bytes appear.

A search with no matching rows is still useful when you report its scope. Say which file and interval you searched, and whether an applicable collection filter, loss or an uncertain path could explain the result. If the coverage is uncertain, state what would resolve the uncertainty, such as a log from the expected service or a capture from the other side of a proxy. Keep the search result and the inference visible in the same finding.

You may be able to establish that the service sent a response visible to the sensor even when the collector’s clock offset is unknown. The offset becomes essential if the report claims the response preceded an event recorded on another system.

Follow an Accepted Request to Its Outcome

When an operation continues after the server replies, treat acceptance and completion as separate events. Find out what the service defines as completion and which component records it. An HTTP 202 response signals acceptance for processing while the outcome remains open. A service may give the client a job identifier or status location so later events can be associated with the original request. HTTP Semantics, RFC 9110, Section 15.3.3

In the hypothetical Report Generation Practice, frame 84 of a saved capture shows the reporting service returning HTTP 202 with job ID R17. The authorized worker log records R17 started at 14:02:08 UTC and R17 failed: input unavailable at 14:02:10 UTC. The service documentation defines that failure event as terminal for an individual job. Taken together, the records support acceptance followed by failure of R17. The capture alone supports acceptance of the request.

In the practice case, job ID R17 links the acceptance seen in the capture to the failure recorded by the worker.

Keep the frame reference, job identifier, worker row references and terminal-state definition in the findings table. If job identifiers repeat by environment, record the environment too. The failure text explains what the worker reported. Determining why the input was unavailable would require evidence from the component responsible for providing it.

Check Whether the Evidence Can Distinguish Two Explanations

Before requesting more records, write down the plausible explanations and one observation that would distinguish them. For the reporting service, consider two explanations for a report appearing after the failure. A new submission could have generated a report, or the service could have published a report generated earlier. A completion record keyed by job ID can distinguish them if the output record carries that same ID.

In the same practice, a later service record links the finished report to R18, and a second request record shows when R18 was created. The records support two accepted jobs and completion of R18. Whether the second submission was automatic or initiated by a person remains unresolved. Client instrumentation documenting the trigger would address that narrower question if the investigation requires it.

If the output record identifies only the filename, keep both candidate histories in the examination notes. Include the missing field that prevented you from choosing between them. That gives the next reviewer a concrete basis for deciding whether to seek another source or report the outcome without assigning it to a particular request.

Define Success at the Level the Evidence Can Test

A reported download can involve a server responding, a client receiving bytes, and the client saving a usable copy. In this hypothetical example, a help desk asks whether a client retrieved version 17 of a report. The examiner first writes down which event would satisfy the question. A successful request for metadata and a successful transfer of the file are different outcomes.

Scroll horizontally if needed to see the full table.

Event in questionField or artifact to look for
Selected report versionObject version or validator linked to the recorded request
Body sent by the serviceDocumented response-body count on the relevant request
Usable copy saved by the clientCompletion record and corresponding saved artifact

The saved gateway log records HTTP 200 for a HEAD request to the report endpoint. The HTTP standard defines HEAD as a request for the same selected representation metadata as GET, with the response body omitted. Even a Content-Length field in a HEAD response describes the length that would have been sent for an equivalent GET. The log supports a successful metadata request. HTTP Semantics, RFC 9110

Suppose a second log records a GET to the same path and the service identifies the selected report as version 17. Check that the log field represents the selected version. A recorded byte count may answer a narrower question about the service or gateway’s action. If the question is whether the client stored a usable copy, check an authorized client-side completion record and compare the resulting artifact with a known copy where available.

Trace Two Records Back to Their Producers

Two records can agree because they come from the same underlying measurement. In a hypothetical investigation, a dashboard shows that a test request returned status 503 at 14:08:41. An exported table has the same identifier and status. The documentation shows that the dashboard reads that table. For a finding about what happened on the network, those records provide one observation of the status through two presentations.

Draw the shortest path from each record to the component that produced its value. Keep copies and summaries on the same branch. In this example, a gateway may generate 503 when an upstream service is unavailable, or it may forward the same status from that service. A gateway log field documenting whether the result came from upstream helps distinguish those scenarios. A service record generated by the application can add a separate observation of what it handled.

Record where independence matters in the finding. An independently collected packet record showing the gateway’s response can corroborate what status it sent. That same packet may offer little evidence about which upstream code path produced the status. Seek a record with independent access to the event in question. A matching timestamp and identifier let you relate observations, while the source of each field determines which part of the claim it supports. NIST Guide to Integrating Forensic Techniques Into Incident Response

Two views can repeat one source observation. A separate packet record can corroborate the response seen at the gateway, with its own limits on what it shows about the upstream service.

Set the Boundary of a Negative Finding

An examiner who finds no record should specify what would have been recorded if the event occurred. Suppose the relevant service log covers version 17 of the report between 14:00 and 15:00, and a second service was also able to serve that version. A zero count in the first service’s log answers a source-specific question. Coverage of the second service changes whether a broader count has meaning.

Write the search as a condition a reviewer can repeat. Identify the service instances, the interval and time basis, the relevant operation and the version field. Check known successful requests in the same source and interval to verify that the export actually contains those fields and events. A nearby positive example can expose an incorrect search term or a missing field. It gives only limited information about coverage across the rest of the window.

Revisit the wording once collection limits are known. If one instance’s authorized records are missing for six minutes, preserve that interval as uncovered. For example, report that no matching GET appears in the specified logs for instance A and that instance B has a six-minute gap. That statement conveys both the search result and which part of the question still needs evidence. NIST Guide to Computer Security Log Management

State the result for Instance A and record the missing coverage for Instance B. The gap’s position within the hour is unspecified in this example.

Casework Example

Lesson Review

Check Your Understanding

Question 1 of 5· 0 answered
Which source directly addresses what status a service recorded for one identified request?

Test yourself on Network Forensics with free, timed mocks.

Practice Network Forensics questions

Found this useful? Pass it along.