Skip to content

Connecting Network Observations to Processes

Endpoint records can associate a network event with a process when identifiers, timing and connection fields support the match.

By Reviewed by Sourabh

Last updated:

A network observation and a process record describe different parts of an event. Packets reveal traffic at a capture point. Host records can name the application or process associated with a local connection. Relating the two can establish more than either one alone. It requires a defensible join using the host and time range, local and remote endpoints, protocol and, where available, the process instance.

Start by deciding what the case needs to establish. A firewall permit can show how a policy handled a connection. An endpoint event may identify a process that initiated or received it. An application or server record may show how a request was handled. Treat these as related observations with distinct field meanings and locations.

Key terms

Network endpoint
An address and, when applicable, a port on one side of a transport exchange.
Five-tuple
Source address, source port, destination address, destination port and transport protocol.
Process instance
A specific execution of a program identified within its host and lifetime.
Connection attribution
An evidence-supported association between a network event and a process.
Network address translation
A device or service rewriting addresses and sometimes ports as traffic crosses a boundary.

Read the Host Event Before Matching Traffic

Windows Filtering Platform event 5156 records a permitted connection. It includes application information and network fields when available. Sysmon event 3 records TCP and User Datagram Protocol (UDP) connections and can associate them with a process ID and ProcessGuid. Sysmon documents that network connection logging is disabled by default. In an investigation, verify the producer, audit settings and filters effective during the event period. Windows Security event 5156 reference, Sysmon event reference

An event's action matters. A permit supports a policy result. A capture with packets in both directions supports an observed exchange at its interface. A successful application response is a further property that needs suitable evidence. Keep the event record number and any stable process identifier as references to the source.

Connection permission, observed traffic and an application outcome are distinct findings with distinct sources.

Join by a Process Instance and the Observed Connection

On the host, prefer a documented instance identifier when both records supply it. Otherwise, match a PID only after verifying host, start and exit boundaries where available, and image details. A process identification field can be encoded in hexadecimal in one view and displayed as decimal in another. Preserve the raw value and record any conversion you apply.

For a packet or flow join, compare the five-tuple and use a time range compatible with clock differences, timestamp precision and capture position. Check which side initiated the exchange before translating source and destination into local and remote. A long-lived connection can carry several application exchanges. Matching the connection alone may leave multiple requests as candidates.

Account for Shared Services and Intermediate Systems

A browser can use a separate network process. A service can handle requests from several programs. Endpoint telemetry may therefore identify a process responsible for opening the connection while leaving the originating user action unresolved. When the distinction matters, look for records of the request to that service or another supported relationship between processes.

A shared service can open a socket for several programs. Identifying the originating request requires a separate link.

Across a proxy or network address translation boundary, visible endpoints can change. If the local record and capture are on different sides, check whether a correlated intermediary record explains the mismatch. A named destination from Domain Name System evidence is useful context. An address may host several names or services, so the answer alone cannot assign traffic to a particular application request.

Report How Far the Attribution Reaches

Describe the join in a sentence that names the sources and fields. Include the capture point and clock treatment if either could affect the match. Use a scoped statement when one observation shows host-level traffic and another identifies only a possible process. List conflicting or competing candidates if they materially affect the finding.

For example, a confirmed process and remote endpoint can establish that an instance was associated with communication under the host sensor's criteria. Packet contents and application outcome each depend on the evidence available at the relevant layer. A reviewer should be able to follow the attribution to its record and see which further claims require their own support.

Handle Ambiguous Matches

If two process instances produced compatible host records, compare discriminating fields before selecting one. A transient local port may help, as can the exact time the endpoint opened. A destination address and rough time window may be too broad for a busy machine. Carry the set of eligible processes forward when those fields remain insufficient.

Similarly, a protocol-aware application log can include a connection identifier or request identifier that ties a particular action to a connection. Test its scope before treating it as unique. If values are local to one service instance, preserve that instance and its time window in the join. Record why rejected candidates differed so a reviewer can verify both the match and its alternatives.

Distinguish an Observation Point From an Endpoint

A collector describes traffic where it can see it. A host event can record the local application and socket. A firewall log adds the action taken at a particular boundary. An exported flow can summarize traffic at another point in the route. Place each source on the path before relying on a join, especially if address translation or a shared proxy is part of the environment.

Each source describes the part of the route visible from its own observation point.

Consider the direction used by the exporter. A record may order fields by packet direction, by the exporter interface, or by a convention for identifying an initiating side. Inspect the source's field definitions. Give port and address comparisons names such as endpoint local port and translated source port so the reader can tell which values refer to which observation point.

An address can also be reassigned within the time being examined. Check that an inventory, lease record or comparable source identifies the host at the time of the traffic. A later asset list can guide the request for a historical mapping. Record the applicable interval before attributing the matching packets or flow to an endpoint.

Read Export Time, Observation Time and Endpoint Time

A flow export may arrive after the observed exchange. IP Flow Information Export, or IPFIX, distinguishes an export header time from times carried in the flow record itself. Check which fields the export includes and keep the source's advertised time precision. Joining every record by collector receipt time can move a flow away from the event that generated it. IPFIX protocol specification

If the host clock and exporter clock differ, use a documented synchronization record or a suitable shared event to estimate an offset. Keep observed and adjusted times in separate columns. A wider tolerance may recover relevant traffic, and it can also admit additional matches. Use further fields to distinguish candidates within that interval.

For timing-sensitive claims, describe the uncertainty as a range. If a resolver logs only whole seconds and an endpoint records milliseconds, the reporting can preserve each source's precision without inventing event order among observations that fall within the same reliable interval.

Verify What a Connection Can Say About Data

A network exchange can support conclusions at different levels. An endpoint event can identify an attempt or permitted connection as documented by its source. Packets or flow counters can show traffic observed on an interface. An application record may establish a request and result. Check the collection material before stating that a particular file or record was transferred.

When traffic is encrypted and there is no authorized application record or equivalent evidence, preserve the metadata you can verify. This can include the observed endpoints and directional byte totals. State the direction from the relevant vantage point. A byte count may include protocol material and other exchanges and does not independently identify a particular payload.

Directional totals characterize an observed exchange. Evidence tied to an application transaction can help identify a specific object.

For a high-impact claim such as document disclosure, seek a relation between the recorded host activity, the observed network exchange and the data object. A service transaction record tied to the same application session can supply support that a baseline flow record lacks. Keep the absence of access to payload evidence clear in the result.

Practise Bridging a Translation Boundary

In these fictional records, host H5 reports Process B using local port 49000 for an outbound flow. A firewall record for the same interval maps the H5 address and local port to a public address and port 51000. A remote collector records that translated pair communicating with the indicated destination. The evidence clocks and transport protocol are compatible.

List each relationship using the source fields behind it. The host record associates the process with its local endpoints. The firewall maps the endpoint pair across the boundary. The remote record supplies the observation on the other side. If you remove the firewall record, the remaining packet or flow record still documents traffic but attribution across the boundary is weaker.

The firewall mapping links the local endpoint pair to the translated pair observed by the remote collector.

Now add a single summary total for outbound bytes. State what the total represents under the flow exporter and what additional evidence would support a finding concerning a named object. The goal is a precise attribution and a bounded interpretation of what crossed the network.

Casework Example

Lesson Review

Check Your Understanding

Question 1 of 5· 0 answered
What is the strongest use of a Windows Security 5156 event in the example?

Test yourself on Malware Forensics with free, timed mocks.

Practice Malware Forensics questions

Found this useful? Pass it along.