Endpoint Forensic Artifacts: What to Collect and Why
Skip to content

Endpoint Forensic Artifacts

Endpoint forensic artifacts are the records left by operating systems and applications. Investigators use them to establish what ran, who accessed a system, what changed, and how an incident developed.

This guide explains which artifacts answer common investigation questions and how to collect them across Windows, Linux, and macOS.

Start With the Question

An effective collection starts with what you need to establish. A suspected account takeover needs different evidence from ransomware, although both investigations may eventually reach the same endpoints.

Investigation questionEvidence to examine
What executed?Process logs, execution artifacts, script logs, and application records.
How was access maintained?Services, scheduled tasks, startup entries, account changes, and remote access configuration.
Did the attacker move between hosts?Authentication records, remote sessions, process activity, and network telemetry.
Were credentials accessed?Process-access telemetry, memory, sensitive-file access, and related tool activity.
Was data collected or transferred?File activity, archives, application logs, browser artifacts, and network records.
What did the user do?Relevant session records, application activity, shortcuts, and browsing history.

Most conclusions require evidence from several sources. One artifact may identify a suspicious file; another may show that it executed and what happened afterward.

Windows Execution Artifacts

Windows records program activity in several places. Each source has a different purpose, so its meaning needs to be understood before it becomes part of a finding.

Process Creation Logs

Security event 4688 records process creation when the relevant auditing is enabled. Command-line arguments require an additional policy setting. Sysmon event 1, where deployed and configured, provides another source of process creation evidence. These records can connect an executable to its parent process, account, and launch time.

Prefetch

Prefetch can provide evidence that a program executed, including recorded run times and files referenced during startup. Available detail varies by Windows version and configuration. Prefetch may be unavailable on some systems, particularly servers. Its absence does not establish that a program never ran.

Amcache

Amcache contains application and file information that helps identify programs present on a system. It can remain useful after a file has been removed, but an entry alone should not be treated as proof of execution.

ShimCache

ShimCache, also called AppCompatCache, records information about files encountered by Windows. On modern Windows, it is primarily supporting evidence of file presence rather than proof that a program ran.

PowerShell Logs

PowerShell script block logging can expose script content that is difficult to understand from the command line alone. Module and other PowerShell logs can add context where enabled. Coverage depends on configuration, PowerShell version, and retained records. A logged script block does not by itself prove that every operation in the script completed successfully.

SRUM

The System Resource Usage Monitor database records application resource usage, including network usage information. It can help identify applications worth investigating and support a broader activity timeline. SRUM is not a packet capture. It does not establish which documents were transferred or reveal the contents of a connection.

Persistence and Remote Access

Persistence configuration shows how software may start again. Authentication and remote access records help establish who reached a host and what followed.

ArtifactWhat it helps establishImportant limitation
Service installation eventsNewly installed services, including those used by some remote execution tools.Legitimate administration also creates services.
Scheduled task recordsTask creation, configuration, and available execution history.Creating a task does not prove it ran.
Run keys and startup foldersPrograms configured to launch at logon.Configuration needs to be connected with execution evidence.
WMI subscriptionsEvent consumers and filters that may support persistent execution.Legitimate management software also uses WMI.
Events 4624 and 4625Successful and failed logons, with account and logon-type details.A successful logon does not establish malicious intent.
Event 4648An attempt to use explicitly supplied credentials.Common administrative tasks also generate it.
RDP session logsAuthentication and session activity.Authentication alone does not establish a completed interactive session.

Collect from both ends of suspected lateral movement where possible. The source may show the tool being used, while the destination records the logon and subsequent activity.

File and User Activity

File system metadata and application artifacts help reconstruct changes that process logs may no longer cover.

ArtifactInvestigation value
$MFTNTFS file records, paths, metadata, and timestamps, including some recoverable deleted-file records.
USN journalRecorded file system changes such as creation, renaming, modification, and deletion.
LNK filesTarget paths and metadata associated with shortcuts, including references to network or removable storage.
Jump ListsApplication-associated recent or frequent items and related metadata.
Browser databasesAvailable browsing, download, and other profile activity.
User registry hivesUserAssist, RecentDocs, ShellBags, and other records relevant to application or folder activity.
USB-related recordsDevice installation and connection history that can support a removable-media investigation.

Interpret these records carefully. A USB connection does not prove data was copied. A browser visit does not prove an upload. A shortcut may reference a file without establishing who opened it.

Collect personal activity only where it is relevant to the investigation and within the organization’s authorized scope.

Linux Forensic Artifacts

Linux evidence varies by distribution, installed services, and logging configuration. Some systems retain extensive audit records; others provide little beyond application logs and shell history.

Authentication and Login Records

Authentication may be recorded in /var/log/auth.log, /var/log/secure, the systemd journal, or centrally forwarded logs. Examine SSH access, privilege changes, sudo activity, and failures. Where present, wtmp, btmp, and related login databases provide additional session information. Availability and implementation differ between systems.

Shell History

Shell history can reveal commands worth investigating, but it is incomplete by design. Commands may not have been written to disk, timestamps may be missing, and history can be disabled or modified. An empty history file is not, on its own, evidence of tampering.

Scheduled Tasks and Services

Examine system and user crontabs, systemd services and timers, startup scripts, and other mechanisms relevant to the distribution. Look for unusual commands, unexpected execution paths, and changes that do not match approved administration.

SSH Configuration and Keys

Review authorized keys, SSH configuration, account changes, and related authentication records. An unfamiliar key needs investigation, particularly on privileged or externally accessible accounts.

Journal and Audit Logs

The systemd journal can contain service, authentication, and system activity. Historical availability depends on storage and retention settings. Where configured, Linux Audit provides more detailed records of selected system calls and security-relevant activity. It does not automatically record every process or file operation.

macOS Forensic Artifacts

macOS investigations combine system logs, persistence configuration, application records, and file system history. Artifact locations and formats change between releases.

Unified Log

The Unified Log contains system and application events useful for investigating authentication, service activity, and other behavior. Retention and privacy redaction affect what investigators can retrieve. It should not be treated as a complete process execution history.

LaunchAgents and LaunchDaemons

Property lists in system and user locations define jobs managed by launchd. Inspect the executable, arguments, ownership, and referenced paths, then look for evidence that the job actually ran.

Login and Background Items

Login items and background task records help identify software configured to run automatically. Review unfamiliar registrations alongside application installation and execution evidence.

KnowledgeC and Biome

These stores can provide application and device activity information. Their availability and interpretation depend on the macOS version, user context, and collection method.

FSEvents

FSEvents records file system changes and can help identify affected paths and periods of activity. Events may be coalesced and do not provide a complete, precise record of every file operation.

Quarantine Records

Quarantine metadata and databases can help establish the source of files downloaded through participating applications. Not every download creates the same records.

Preserve Volatile Evidence

Running processes, connections, sessions, and memory can change while an investigator is deciding what to collect. A reboot may remove important evidence, while continued attacker activity can create an urgent need for containment.

Plan collection around both evidence value and operational risk.

EvidenceWhy timing matters
MemoryMay contain injected code, active process state, and other information lost at shutdown.
Live system stateProcesses, connections, caches, and sessions can change rapidly.
Temporary dataStaging files and application data may be deleted or overwritten.
Local logs and journalsBusy systems can overwrite useful history quickly.
Persistent artifactsRegistry data, file metadata, and application databases remain subject to change or deletion.
Central recordsForwarded logs may survive local tampering but still have retention limits.

Where practical, capture relevant volatile evidence before disruptive actions. Urgent containment may take priority, and isolation does not automatically erase memory or stop every process.

Record what was collected, what changed, and why the team chose that sequence.

Triage or Full Image?

A triage collection retrieves selected artifacts. A forensic image captures a broader representation of a disk or volume, depending on the acquisition method.

Triage collectionForensic image
ScopeSelected artifacts and live information.A disk, volume, or other defined storage source.
Collection effortUsually smaller and easier to distribute across endpoints.Often requires more time, storage, and transfer capacity.
Main valueInitial assessment, scoping, hunting, and targeted investigation.Deeper examination and preservation of a broader evidence set.
LimitationsEvidence outside the selected collection may be missed.Encryption, overwriting, SSD behavior, and acquisition method still limit recovery.

A physical image may include unallocated space, but that does not guarantee recovery of deleted content. It also does not capture volatile memory unless that is acquired separately.

Many investigations begin with triage across relevant endpoints, followed by deeper acquisition where the findings justify it.

Collect Across the Fleet

Fleet-scale collection helps determine whether suspicious activity is isolated or shared across multiple systems.

Prepare the process before an incident:

1
Establish collection accessDeploy agents or validate other authorized acquisition methods.
2
Define collection packsUse versioned, operating-system-specific sets tied to investigation questions.
3
Preserve collection detailsRecord the endpoint, time, tool version, scope, errors, and file hashes.
4
Track coverageDistinguish completed collections from offline hosts, failures, and unavailable artifacts.
5
Parse consistentlyRetain source references and original values when building searchable records and timelines.
6
Search related activityUse findings to guide further collection and hunts across authorized endpoints.

Unusual entries help prioritize review, but rarity alone does not make something malicious. A legitimate application installed on one server can be just as rare as an attacker’s tool.

Record It Before You Need It

Forensic collection cannot retrieve logs that were never generated or have already been overwritten. Logging and retention decisions directly affect what an investigation can establish.

Useful preparation includes:

Process auditing

Enable appropriate process creation telemetry, including command lines where justified.

PowerShell visibility

Configure relevant logging and protect access to potentially sensitive script content.

Task and service auditing

Enable and validate the specific event sources needed for these changes.

Central forwarding

Preserve important logs beyond local retention and reduce dependence on a potentially compromised host.

Linux logging

Configure persistent logging and targeted audit coverage where appropriate.

Time synchronization

Maintain reliable clocks and retain enough context to interpret timestamps.

Collection testing

Confirm that tools retrieve and parse the expected artifacts on supported operating systems.

Test the result rather than relying on policy settings alone. Generate representative activity and confirm that the expected records reach the investigation platform.

Connect Artifacts With Context

Endpoint artifacts explain only part of an incident. Identity records may show how access was obtained, email evidence may reveal the lure, and network telemetry may help establish communication or movement between systems.

An AI SOC platform brings these sources into the same investigation. AI agents can search collected artifacts, assemble timelines, and identify follow-up checks, while analysts verify conclusions against the underlying records.

Explore AI Endpoint Forensics

Endpoint Forensics With ThreatDefence

ThreatDefence collects endpoint telemetry and forensic artifacts across Windows, Linux, and macOS. Investigators can examine individual hosts or run authorized hunts across the fleet, with results linked to the relevant case.

The AI SOC platform connects endpoint findings with identity, email, network, and other security evidence. AI agents help prepare timelines and assessments, while ThreatDefence’s SOC and DFIR specialists support investigation and response under agreed procedures.

ThreatDefenceFAIR 62↓7.0Search pages…secops › acmeacme30d61
Endpoint Fleet
ACM-WS-0412Endpoint
6Sources selected
300Files collected
1.4 GBSize
300SHA-256 recorded
Collection progress
SourceProgressFilesStatus
Program activityPrefetch, Amcache, ShimCache, BAM
214Collected
File system history$MFT, USN journal, LNK files, Jump Lists
6Collected
PersistenceServices, tasks, Run keys, WMI
38Collected
Logs and sessionsSecurity, PowerShell, RDP, Sysmon
12Collected
User activityRegistry hives, UserAssist, Shellbags, browser
27Collected
Live stateProcesses, connections, memory image
3Collecting
Results
Unsigned DLLC:\ProgramData\upd\svc.dll
New scheduled task\Microsoft\Windows\Updater\Sync
Failed logon burst14 x 4625 from ACM-WS-0219
Encoded PowerShellparent WINWORD.EXE

See It in Action

    I'm an MSP, MSSP, or reseller

    By submitting this form, you accept the terms in our privacy policy.

    Frequently Asked Questions

    What are endpoint forensic artifacts?

    They are records created by operating systems and applications, including logs, registry entries, file system metadata, caches, and application databases. Investigators use them to reconstruct activity and test explanations.

    Which Windows artifacts show execution?

    Process creation logs, Prefetch, and relevant script or application records can support execution findings. Their meaning depends on the source and configuration. Amcache and ShimCache require careful interpretation and corroboration.

    Does ShimCache prove a program ran?

    On modern Windows, a ShimCache entry alone does not prove execution. Use it to identify files worth examining, then look for supporting process, Prefetch, or other relevant records.

    What is a DFIR triage collection?

    A triage collection retrieves a selected set of evidence rather than imaging an entire disk. It is useful for initial assessment and investigations involving many endpoints.

    Should memory always be collected first?

    No. Collection order depends on the investigation, system support, and operational risk. Memory can be important, but urgent containment may take priority.

    Which Linux artifacts matter most?

    Common sources include authentication records, the systemd journal, audit logs, shell history, scheduled tasks, service definitions, and SSH configuration. Availability varies by system.

    Where should investigators look for macOS persistence?

    Common locations include LaunchAgents, LaunchDaemons, login items, and background task registrations. Other mechanisms exist, so collection should follow the suspected behavior.

    How long do endpoint artifacts last?

    There is no universal retention period. Log sizes, system activity, operating-system behavior, cleanup, and deliberate deletion all affect availability. Central forwarding can preserve selected records for longer.

    Can artifacts prove data theft?

    Sometimes, but many artifacts provide only supporting evidence. File access, archive creation, USB connections, or network usage do not independently establish which data left the organization.

    Can attackers alter forensic artifacts?

    Yes. Attackers may delete logs, modify timestamps, or remove files. Compare independent sources and preserve central records to reduce reliance on evidence from one host.