Skip to content

Process Trees and Execution Evidence

Process creation records support execution findings and help reconstruct parent and child relationships when process identity and timing align.

By Reviewed by Sourabh

Last updated:

A process tree represents recorded relationships among running program instances. Each node describes a process. Each edge describes a parent or creator relationship as reported by a source. A time-ordered event view answers when actions occurred, while a tree shows how the recorded instances relate. Use the underlying event fields to verify important edges before relying on the picture.

Process creation is evidence that the operating system started an instance of a program. It establishes a different point from a file listing, a loaded module, or a user action. Return to that distinction when a tree seems to tell a complete story. An event can show that a program started with particular arguments while leaving its internal actions or outcome for other evidence.

Key terms

Process
An instance of a program represented by operating system state.
Process identifier
A number identifying a process during its lifetime on a system, often written PID.
Process tree
A view that arranges processes according to reported relationships among instances.
Process GUID
A globally unique identifier used by Sysmon to distinguish and correlate process instances.
Orphaned node
A displayed process whose referenced parent or creator record is unavailable in the view.

Identify the Process Instance

A PID can be reused after a process exits. Treat host, event time and recorded image as part of the identity wherever a durable instance identifier is unavailable. If two processes on the same host share a PID at different times, anchor the row to the lifetime that contains the observed activity. Distinguish a process's start timestamp from the timestamp assigned to a later telemetry event. A time displayed at second resolution may hide a meaningful fraction of a second.

A process ID (PID) is scoped to its host and lifetime. Compare the image and event times when no durable process identifier is available.

Sysmon event 1 records process creation and can provide a ProcessGuid for correlation. Windows Security event 4688 has its own fields and event version. Check the producer's schema before combining them. A conversion between hexadecimal and decimal makes numbers comparable while leaving the host and temporal identity checks in place. Sysmon event reference, Microsoft event 4688 field reference

Read Edges With Their Source

For an important edge, retain the child identity, the recorded parent name or identifier, the event time and the source reference. If the parent record is present, check whether its creation time is compatible with being the parent. Several instances can have the same basename, and different directories can hold executables with the same name. A matching basename is a useful search term whose ambiguity still needs resolution.

Keep the source reference on a reported parent link so the reader can check the identifiers and whether the candidate parent was active in time.

An apparent root in the displayed tree may simply mark the earliest available record for that branch. A report that flattens or filters out system activity can change where a branch appears to start. Where coverage is incomplete, a report can describe the observed branch as partial and preserve the unresolved link. Keep recorded relationships even when an event view draws them in a different order.

Use Arguments, Hashes and Paths Carefully

An image path provides evidence about the executable selected at creation. A reported image digest can connect the executable bytes to a preserved copy if you confirm which algorithm and artifact were hashed. Arguments give context about a requested operation, and on some systems they may include sensitive information. The presence of a command line alone cannot establish that a request completed or that a named file opened successfully. Microsoft command-line process auditing

Inspect the event version and collection rules when attributes are missing. Windows can produce a process creation record with an empty command line. In a finding, write that the launch is recorded and command-line content is unavailable. If the argument is necessary to the claim, seek a matching record from a source independently able to observe it.

Connect the Branch to the Case Question

Select the branch that matters and identify the action you need to establish. A creation event anchors a process lifetime, a file event can attribute a recorded access or write, and a log entry from an application can document its own result. Look for agreement across host identity, time and process instance. Capture details of gaps that could affect any step in the chain.

A useful execution finding names the host, source, start time, executable and stable identifier or scoped PID. State any parent or creator relationship with its source. If the question concerns a person, a file write or traffic, describe which independent evidence supports that claim. Each added assertion should be traceable to a field or relationship a reviewer can inspect.

Resolve a Branch With Incomplete Timing

When a creation event or parent node is missing, identify the earliest and latest times each surviving record can constrain. A process named in a file access event was associated with that operation at the event time. A termination record can help mark the end of that instance. Both can narrow the branch even when neither provides the exact launch time.

Check whether more than one creation record could fit the interval. If they use the same PID, compare the available launch and exit times against the action. Record the competing process candidates if the retained evidence cannot distinguish them. Stating why the edge remains unresolved is more precise than picking the entry displayed nearest in the timeline.

Read Source and Target Identity in the Creation Record

When a process is created in a different security context from the creator, a source can distinguish the account requesting creation from the account associated with the new process. Preserve the source field names. Windows event 4688 version 2 separates the creator and target subjects, and its example shows distinct fields for the creator process and the new process. A process recorded under an account does not identify the human who initiated the action. Microsoft event 4688 reference

Version 2 of Windows event 4688 records a creator subject and a target subject. The target fields describe the new process’s security context.

A service, broker or scheduled job can start programs while a person is signed in on the same computer. If the question is who requested an action, link account and session evidence using the relevant identifier and host. Then look for a separate record of authorization or interaction. A process creation event supports the scope of identity that its fields describe.

Capture a record's raw identifiers as well as the values displayed in an investigation portal. Some tools convert hexadecimal PIDs to decimal, resolve account labels or shorten image paths. A normalized value helps search, while keeping both forms lets a reviewer reproduce the match and resolve apparent discrepancies.

Establish the Lifetime Before Assigning Later Events

Create a working interval from the earliest reliable start and latest evidence that still belongs to the same instance. An observed termination narrows the upper bound. If a source lost coverage, describe the interval over which it can support the instance's activity. Keep the process ID and the uncertainty in its bounds visible.

When a long-running process interacts with an object near a system restart, check which boot or collection session the event belongs to. An old instance and a later process may share a PID. A stable process identifier supplied by a sensor improves the join within that source, while cross-source joins still need documented mappings.

An absence of termination evidence does not make an instance indefinitely active. If you see a new creation record reusing the same PID on the same host, a prior instance's upper bound becomes earlier than that reuse, subject to clock and host identity. Preserve both candidate processes in the working chronology.

Distinguish an Image Launch From Behavior Within It

A launch of a script host or document viewer identifies the program instance. It may also carry an argument that points to a file, depending on audit settings and the record. Keep the exact observed command-line field where authorized. If interpretation depends on the target, compare it with document access telemetry or application records that record opening.

When a finding depends on whether a document was opened, compare the launch and argument with records that capture document access.

Similarly, a process tree entry does not inventory all code activity inside that process. An image-load event describes the specific module it records, and application telemetry may describe actions at a different level. Tie each conclusion to the event that supports it. A reviewer should be able to see where your finding goes beyond the launch alone.

If the examiner finds several file names in a long argument field, request the application or file evidence that answers the actual case question. Linking by start time alone can misattribute unrelated writes from cooperating processes. Use identifiers available at the required level of detail.

Practise Reconstructing a Branch From Partial Records

Use these fictional records. Host H1 records Process K starting at 08:02 under program path A with PID 2800. K terminates at 08:04. At 08:08 the same host records Process L starting under program path B with PID 2800. At 08:11 an object access entry names PID 2800 and records a write. All times use the same verified clock and boot.

The fictional records share a verified clock and boot. The 08:11 write fits process L’s lifetime by timing and host.

Draw the two process intervals and attach the write to the candidate supported by the timing and host. Record the path, PID, and source identifier you used for L. If the write record instead says 08:06, keep the write and process records separately and explain why neither lifetime supports the join as recorded.

As a final check, change the object record to another host while retaining the matching PID and timestamp. The identification now needs an evidence relationship across hosts. The PID does not provide that relationship. This is why a source field that looks like an identifier must always be given its scope.

Casework Example

Lesson Review

Check Your Understanding

Question 1 of 5· 0 answered
Which ID identifies the newly created process in the published 4688 example?

Test yourself on Malware Forensics with free, timed mocks.

Practice Malware Forensics questions

Found this useful? Pass it along.