CyberPatriot Resources · Resource 09

Forensics & Evidence References

Use forensic references to preserve evidence, examine system artifacts, correlate multiple data sources, reconstruct timelines, and document conclusions that another teammate can verify.

In CyberPatriot practice, the goal is not to perform a full legal forensic investigation. The goal is to use disciplined evidence handling so security decisions are supported by observable facts.

Evidence rule

Preserve before you change

Restarting a service, deleting a file, disabling an account, or changing configuration can alter useful evidence. Record what matters before remediation whenever practical.

Official reference library

Evidence principles

Preserve

Record useful state before making changes so the original evidence is not silently lost.

Verify Integrity

Hashes can help confirm that a copied file or evidence set has not changed unexpectedly.

Keep Context

A filename, event, timestamp, or process is much more useful when tied to its system, user, path, and surrounding activity.

Build a Timeline

Correlate timestamps from multiple sources to understand sequence rather than examining isolated artifacts.

Separate Fact from Interpretation

Document what the evidence directly shows separately from what you think it may mean.

Report Reproducibly

Record enough detail that another teammate can locate and verify the same evidence.

Common evidence sources

Files

File names and paths
Hashes
Size and type
Ownership and permissions
Created, modified, and accessed times where available
Archives and downloaded content

Operating System

Users and groups
Processes
Services
Startup locations
Scheduled tasks
Installed software

Logs

Authentication events
Account changes
Service activity
System errors
Application logs
Firewall and security events

Network

Listening sockets
Established connections
Remote endpoints
DNS activity
Packet captures
Firewall state

Applications

Browser history
Download history
Application-specific logs
Configuration files
Recent files
Application startup behavior

Persistence

Windows startup locations
Scheduled tasks
Services
Linux cron jobs
systemd units
Shell startup files

Evidence workflow

01

Define the question

State what you are trying to determine before collecting large amounts of unrelated evidence.

02

Identify relevant sources

Choose files, logs, processes, network activity, accounts, or application artifacts that can answer the question.

03

Preserve useful state

Capture important evidence before making a change that could overwrite, delete, restart, or alter it.

04

Examine

Extract relevant details such as timestamps, users, paths, event IDs, hashes, processes, and network endpoints.

05

Correlate

Compare independent data sources and build a sequence of related activity.

06

Analyze

Determine what the combined evidence supports without overstating certainty.

07

Document

Record the finding, evidence location, interpretation, action taken, and verification result.

File integrity references

Windows PowerShell

Get-FileHash .\evidence.bin -Algorithm SHA256

Calculate a SHA-256 hash for a file using PowerShell.

Linux

sha256sum evidence.bin

Calculate a SHA-256 hash for a file using a common Linux utility.

A matching hash can help establish that two files contain the same data. A hash by itself does not determine whether the file is safe, approved, or malicious.

Timeline questions

01

Which timestamp occurred first?

02

Are the systems using the same timezone?

03

Could one system clock be inaccurate?

04

What happened immediately before the event?

05

What happened immediately after the event?

06

Which user was active at that time?

07

Which process or service was running?

08

Was a network connection created near the same time?

09

Did a file appear or change near the same time?

10

Do two independent evidence sources support the same sequence?

Windows evidence sources

Security

Authentication, account, group, privilege, and audit events.

System

Operating-system, driver, service, and system-component events.

Application

Events written by applications and software components.

Task Scheduler

Scheduled-task execution and operational activity.

PowerShell

PowerShell operational and scripting-related events when logging is available.

Defender

Microsoft Defender operational and detection-related evidence when present.

Linux evidence sources

/var/log/

Traditional operating-system and service logs.

journalctl

Systemd journal containing system and service events.

auth.log

Authentication and sudo-related evidence on many Ubuntu systems.

last / lastlog

Login-history information where available.

systemctl

Service state and unit information.

cron locations

Scheduled commands and recurring jobs.

Evidence record template

System

Which computer, VM, or device produced the evidence?

Time

When was the event observed? Include timezone when relevant.

Source

Which file, log, utility, or artifact contains the evidence?

Location

What exact path, event log, record, or object should another analyst open?

Observation

What does the evidence directly show?

Correlation

Which other evidence supports or contradicts the observation?

Interpretation

What conclusion is reasonably supported?

Action

What change, if any, was made because of the finding?

Verification

How was the result checked afterward?

Competition evidence situations

A suspicious account appears

1

Confirm whether the scenario authorizes the account.

2

Record account state, groups, privilege, and recent relevant activity.

3

Review authentication and account-change evidence.

4

Determine whether another service depends on the identity.

5

Make only the justified change.

6

Verify required access still works.

An unfamiliar file appears

1

Record its path, owner, size, type, and timestamps.

2

Calculate a hash if useful.

3

Determine which process or user may have created it.

4

Check nearby log and network activity.

5

Do not delete the file until useful evidence has been preserved.

6

Document the reasoning behind any action.

A service may have been added

1

Record service name, executable path, account, and startup configuration.

2

Check service-install and system logs.

3

Inspect the executable and related files.

4

Check listening sockets and network connections.

5

Determine whether the service is required by the mission.

6

Verify system function after any authorized change.

A timeline does not make sense

1

Check timezone assumptions.

2

Compare timestamps from multiple sources.

3

Check whether one clock may be offset.

4

Distinguish creation, modification, access, and log timestamps.

5

Use sequence and correlation instead of relying on one time field.

Weak interpretation vs better interpretation

Weak interpretation

Delete a suspicious file as soon as you find it.

Better interpretation

Record its metadata, location, hash, related processes, and surrounding evidence before making a justified change.

Weak interpretation

One log entry proves exactly what happened.

Better interpretation

Correlate logs with files, users, processes, services, and network evidence.

Weak interpretation

Every timestamp represents the same kind of event.

Better interpretation

Identify what each timestamp means and account for timezone and clock differences.

Weak interpretation

A hash tells you whether a file is malicious.

Better interpretation

A hash primarily identifies file content and helps verify integrity; interpretation still requires context.

Weak interpretation

Absence of a log entry proves an event did not occur.

Better interpretation

Consider logging configuration, retention, deletion, collection scope, and alternate evidence sources.

Weak interpretation

Document only the final conclusion.

Better interpretation

Document the source evidence, reasoning, changes, and verification so another teammate can reproduce the finding.

Forensics resource checklist

01

Define the forensic question before collecting unrelated data.

02

Preserve useful state before making changes.

03

Record exact evidence locations.

04

Use hashes when file-integrity verification is useful.

05

Keep timestamps tied to timezone and system context.

06

Correlate files, logs, processes, services, users, and network activity.

07

Separate direct observations from interpretation.

08

Use Windows Event Logs and Linux logs as evidence sources, not automatic conclusions.

09

Review persistence mechanisms carefully.

10

Document changes made during investigation.

11

Verify system functionality after remediation.

12

State only what the available evidence actually supports.