LNK files
Shortcut (.lnk) files are created by Windows when a user opens a file, most visibly in the Recent folder. Each records the target's path, size and timestamps, and the volume it lived on.
What LNK Files is
LNK files survive after their target is deleted, and often record removable drives and network shares that are no longer attached.
Forensic value
What LNK Files can tell an investigator:
- Evidence that a user opened a specific file, and where it was stored.
- Volume serial numbers and drive types that tie activity to USB devices or network shares.
- Target timestamps that help date the original file.
What it does not prove
- The LNK file's own times show when the shortcut was created and last updated, not every time the file was opened.
Where it is stored
Arcsentry looks for LNK Files at these locations inside a collection, disk image or mounted volume:
**/Documents and Settings/*/Desktop/*.lnk
**/Documents and Settings/*/Recent/**/*.lnk
**/ProgramData/Microsoft/Windows/Start Menu/Programs/*.lnk
**/Users/**/*.lnk What Arcsentry records
Each LNK Files record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:
| Field | Type | Meaning |
|---|---|---|
file_path | VARCHAR | File path |
file_size | BIGINT | File size |
file_attributes | VARCHAR | Filesystem-specific file attributes |
lnk_path | VARCHAR | Shortcut (.lnk) file name |
common_path_suffix | VARCHAR | Shortcut target common path suffix |
network_share_name | VARCHAR | Shortcut network share name |
network_device_name | VARCHAR | Shortcut network device name |
network_provider_type | VARCHAR | Shortcut network provider type |
working_dir | VARCHAR | Shortcut working directory |
arguments | VARCHAR | Scheduled task action arguments |
file_created_at | TIMESTAMP | File creation timestamp |
file_modified_at | TIMESTAMP | File content modification timestamp |
file_accessed_at | TIMESTAMP | File access timestamp |
volume_serial | VARCHAR | Shortcut target volume serial number |
machine_id | VARCHAR | Identifier of the machine a record came from: the shortcut distributed link tracker machine name, or the systemd machine ID of a journal entry or of the host |
mac_address | VARCHAR | mac_address |
icon_location | VARCHAR | Shortcut icon location |
source_file_modified | TIMESTAMP | Modification time of the source artifact file, carried only on records that lack a parsed event timestamp (substituted-time provenance, never a forensic event time) |
message | VARCHAR | Human-readable message |
log_file | VARCHAR | Source log file path |
artifact_read_status | VARCHAR | Source read failure: unreadable (the source could not be read), corrupt (its bytes failed format or stream integrity checks), unrecognized (the content does not identify a supported format), or unsupported (the format version or a required format extension is not supported); records read before a failure may still be present |
truncated_section | VARCHAR | Shell link section the shortcut data ends inside; absent when the shortcut decoded completely |
Time
Arcsentry keeps each record's own time and labels its time zone when the source does not state one. A record with no time of its own stays untimed; Arcsentry never substitutes the collection time.
Collecting LNK Files with Arcsentry Collector
Arcsentry Collector gathers LNK Files in these triage profiles: windows::profile::triage::priority, windows::profile::triage::offline, windows::profile::triage::full. It is read straight from the file system, on a live host or inside a disk image, without mounting.
The collection targets that pick it up: windows::accounts_identity::roaming_profile, windows::execution::lnk_files_and_jump_lists.
.\arcsentry-collect.exe collect --local -t windows::profile::triage::priority `
-o E:\IR -f host.arcx --password-file E:\IR\pw.txt Every file lands in one AES-256 archive with a SHA-256 recorded for it, and the collection log notes which target collected it. See everything each profile collects.
Already collected with something else? Arcsentry also reads KAPE, Velociraptor and UAC collections, so LNK Files can come from the tools you already use.
Analysing LNK Files in Arcsentry
Ask in plain English, for example "show LNK Files records from the incident window, newest first", and Arcsentry shows the query before it runs. Or write it in AQL:
filter event_type == "lnk"
sort {-timestamp}
take 100 Mark a record malicious or suspicious and it joins the timeline in its kill-chain lane. Add its values as indicators and Arcsentry matches them across every host. When the AI investigator works the case, it reads LNK Files records with the same tools and cites them by event ID.
Corroborate with
No single artifact settles a question on its own. Check LNK Files against:
- Jump Lists: Parses Windows Jump List files for recent document access.
- Shellbags: Parses Shell Bags registry keys for folder access history.
- USBSTOR: USB mass storage devices from SYSTEM hive Enum\USBSTOR with manufacturer, product, and serial.
- $MFT: Parses NTFS Master File Table entries with timestamps and metadata.
Frequently asked
Where are LNK files stored?
Mainly in each user's AppData\Roaming\Microsoft\Windows\Recent folder, on the desktop, and in the Start menu.
Does Arcsentry parse LNK Files?
Yes. Arcsentry's LNK Files parser (lnk) reads it from Windows evidence and records 22 fields per record, with provenance back to the source file.
How do I collect LNK Files?
Arcsentry Collector gathers it with the priority triage profile (windows::profile::triage::priority), live or from a disk image, sealed in an AES-256 archive with a SHA-256 for every file.
Parse LNK Files on your own evidence.
Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.
Request a trial