Preserve before change
If a file, task, account, service, or log may help answer a forensic question, record the evidence before disabling, deleting, or reconfiguring it.
Windows 11 · Lesson 15
Preserve the original Windows state before remediation, connect multiple evidence sources, and build defensible timelines from facts instead of assumptions.
Good forensic work is careful, reproducible, and evidence-aware. You should be able to explain what you observed, where it came from, when it happened, what it may mean, and what remains uncertain.
Lesson Snapshot
Learning objectives
Explain why forensic evidence should be preserved before remediation whenever a question may depend on the original state.
Distinguish observations, artifacts, timestamps, and conclusions so evidence does not get mixed with assumptions.
Identify high-value Windows evidence sources such as Event Viewer, Defender history, scheduled tasks, user accounts, services, startup entries, installed software, and file metadata.
Build a simple evidence timeline that connects multiple Windows artifacts.
Document evidence in a repeatable way that another teammate could review later.
Make defensive changes only after relevant evidence has been preserved and then verify the system state afterward.
Core concept
If the original state matters to a forensic question, document it before disabling, deleting, uninstalling, or changing anything.
Evidence warning
Hardening, reboots, scans, updates, logons, and administrative changes can all create new evidence.
Evidence principles
If a file, task, account, service, or log may help answer a forensic question, record the evidence before disabling, deleting, or reconfiguring it.
Write down what the evidence actually shows before deciding what it means.
One artifact may create a lead. Multiple independent sources make a stronger conclusion.
Timestamps become far more useful when they are compared across logs, tasks, files, Defender, accounts, and team actions.
Your own hardening work can create events and modify timestamps, so maintain a clear change log.
Evidence collection should not unnecessarily disrupt the system or required services.
Windows evidence map
Security, System, Application, and operational logs can reveal account activity, service changes, scheduled-task activity, application failures, and system events.
Protection History and Defender detections can provide file paths, timestamps, threat names, remediation actions, and investigation leads.
Task names, triggers, actions, accounts, privilege level, and last-run information can reveal automatic execution.
Local account state, group membership, and administrator access help explain privilege changes and authorized versus unauthorized identities.
Service name, startup mode, account, executable path, and state can connect background activity to installed software or persistence.
Automatic logon-time execution can reveal legitimate helpers or potentially suspicious persistence.
Application name, publisher, version, install date, path, and related services or tasks can support a forensic timeline.
File path, size, timestamps, ownership, permissions, and related application context can help explain activity.
Evidence record
The file, account, task, event, service, application, or configuration item being examined.
Where the evidence came from, such as Security log, Defender history, Task Scheduler, or a filesystem path.
The relevant date and time associated with creation, execution, detection, modification, logon, or another event.
The user, service account, computer, or security principal connected to the artifact.
The file path, task path, service path, log name, or other location that helps another reviewer find the same evidence.
A plain statement of what the system shows without interpretation.
What the team thinks the evidence may mean, clearly separated from the raw fact.
Another source or test that supports, contradicts, or refines the interpretation.
Observation vs conclusion
Example 01
Observation: Task Scheduler shows a task named UserSync triggered at logon and last run at 10:42 PM.
Unsupported conclusion: UserSync is malware.
Better conclusion: UserSync is an unknown logon-triggered task that ran at 10:42 PM and requires correlation with its action, account, file path, and logs.
Example 02
Observation: Defender quarantined an executable from a Downloads folder.
Unsupported conclusion: The user intentionally downloaded malware.
Better conclusion: Defender detected and quarantined an executable in Downloads; user intent is not established by this evidence alone.
Example 03
Observation: An unfamiliar account is in Administrators.
Unsupported conclusion: The account is unauthorized.
Better conclusion: The account has administrative privilege and must be compared with scenario authorization and account-change evidence.
Timeline construction
Account creation, enable/disable state, group membership changes, successful or failed sign-ins.
Scheduled-task run time, service start, startup entry execution, application launch evidence.
Created, modified, accessed, downloaded, quarantined, moved, or removed artifacts where timestamps are available.
Defender detection, firewall change, policy change, account lockout, authentication activity.
Startup, shutdown, update, service failure, driver issue, application crash.
Windows collection tools
eventvwr.mscReview and filter relevant logs before remediation.
taskschd.mscCapture task trigger, action, user context, and history.
services.mscReview service state, startup mode, account, and dependencies.
Windows Security → Virus & threat protection → Protection historyReview Defender detections and actions before clearing or altering related evidence.
PowerShell collection
Get-WinEvent -LogName Security -MaxEvents 100 | Select-Object TimeCreated, Id, ProviderName, MessageCreates a read-only recent Security log snapshot when permissions allow.
Get-ScheduledTask | Select-Object TaskPath, TaskName, StateProvides a broad view of automatic task-based execution.
Get-CimInstance Win32_Service | Select-Object Name, State, StartMode, StartName, PathNameCaptures service state, startup mode, account, and executable path.
Get-LocalGroupMember -Group "Administrators"Captures current local administrative membership for comparison with scenario authorization.
Get-MpThreatDetectionReviews Defender detection records when available in the authorized environment.
Get-Item "C:\Practice\Evidence\sample.exe" | Select-Object FullName, Length, CreationTime, LastWriteTime, LastAccessTimeShows basic filesystem metadata for a known practice artifact.
Evidence documentation template
When did the unknown administrator appear, and what activity occurred around that time?
Unknown scheduled task last ran at 10:42 PM.
Task Scheduler, Security log, local Administrators group, Defender history.
UserSync ran at 10:42 PM under account TempAdmin.
The task may be related to the administrator account, but more evidence is needed.
Security log shows TempAdmin authenticated shortly before the task run.
Evidence preserved; task disabled after review.
Task remains disabled, required services still work, and no authorized account lost access.
Before remediation
Could this artifact answer a forensic question?
Could changing it alter timestamps or logs?
Can I record the state before remediation?
Do I know the exact source and location of the evidence?
Can another teammate reproduce what I saw?
Is there another evidence source that supports the same conclusion?
Will this change affect a required service or application?
Have I separated my own team actions from pre-existing activity?
Do I need to export, screenshot, or write down the evidence before continuing?
What verification will confirm the system remains functional afterward?
Decision cases
The local Administrators group contains an unfamiliar account that the scenario does not list.
The account is a high-priority finding, but removing it immediately may destroy the chance to understand when or how it appeared.
Response
Record membership, inspect account properties, correlate account-change and logon evidence, then remove privilege or disable the account after preservation if it is confirmed unauthorized.
Protection History shows a quarantined executable and a timestamp matching the forensic window.
Deleting history or related artifacts too early could erase useful context.
Response
Record detection details, file path, timestamp, action, and related user or process evidence before cleanup.
A task runs at every logon from an unusual user-profile path.
The task may represent persistence, but the strongest conclusion requires action-path, account, timing, and log correlation.
Response
Document task properties and history, correlate with file and event evidence, then disable after preservation if justified.
An automatic service runs from an unexpected path using a privileged account.
The path and privilege are suspicious signals, but the service may still belong to installed software.
Response
Capture service metadata, application ownership, executable path, and relevant events before changing the service.
Evidence quality
You personally viewed the artifact in Windows or through a read-only command.
Another teammate can follow the same steps and see the same evidence.
A second independent source supports the same interpretation.
The timestamps align with the suspected or known activity window.
The evidence is interpreted against scenario requirements and known team actions.
The original state was documented before remediation modified it.
Fictional defensive lab
Step 01
Morgan is the only authorized administrator. RDP is required. The system contains an unknown administrator, an unknown logon task, and one Defender detection from the same evening.
Step 02
Determine whether the unknown account, task, and Defender detection are connected in time and context.
Step 03
Record administrator membership, task properties and last-run time, Defender detection details, and relevant Security/System events.
Step 04
Place only supported facts in chronological order and label any interpretation separately from observations.
Step 05
Compare the account, task, detection, file path, and event evidence. Note which points are confirmed and which remain uncertain.
Step 06
After evidence is preserved, remove the confirmed unnecessary privilege or disable the suspicious task, then verify RDP, Defender, firewall, and required services still function.
Common mistakes
The original state may disappear once a task, account, file, or service is changed.
A suspicious artifact is not proof of intent, ownership, or compromise.
One artifact may be misleading or incomplete. Correlation improves confidence.
Hardening changes create events and timestamps that can contaminate a timeline.
Log cleanup can destroy evidence needed for later troubleshooting or forensic questions.
Evidence preservation should not unnecessarily disrupt required services or access.
Reflection
Question 1
Why should evidence be preserved before remediation?
Question 2
What is the difference between an observed fact and an interpretation?
Question 3
Why is correlation stronger than relying on one artifact?
Question 4
How can your team's own changes affect a forensic timeline?
Question 5
What evidence sources would you compare for an unknown scheduled task?
Question 6
What should be verified after remediation is complete?
Verification checklist
Confirm all relevant evidence was recorded before remediation.
Confirm observations and interpretations are written separately.
Confirm timestamps are documented consistently.
Confirm at least two evidence sources support important conclusions where possible.
Confirm team-generated changes are identified separately.
Confirm the evidence source and location are documented.
Confirm required services still work after remediation.
Confirm authorized users still have required access.
Confirm Defender and firewall remain healthy.
Confirm suspicious or unauthorized items are in the intended final state.
Document unresolved questions instead of inventing an answer.
Competition checklist
Define the exact forensic question.
Identify likely evidence sources.
Record evidence before changing the system.
Capture timestamps, paths, users, providers, and task/service names.
Separate observations from conclusions.
Correlate multiple sources.
Maintain a team change log.
Do not clear logs during active investigation.
Preserve suspicious task, service, account, and Defender details.
Remediate only after evidence collection.
Verify required functionality after remediation.
Document what remains unknown.
Final Windows lesson
Next, combine identity, protection, system, access, evidence, and verification into one final competition-ready Windows review.