Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
Windows shortcut files record far more than a path: volume serial numbers, the MAC address of the machine that created them, and timestamps that survive the deletion of the file they point to.

What Is LNK File Analysis?
Windows creates a shortcut file every time a user opens a document, quietly, in the recent items folder of their profile. The format is documented by Microsoft as the Shell Link Binary File Format, and it is far more informative than the word “shortcut” suggests. A single LNK file can establish that a named document was opened from a particular USB stick, at a particular time, on a machine identified by its network adapter — months after both the document and the device have gone.
The shortcut’s own file system timestamps add another layer: the creation time of an automatically generated LNK approximates the first time the target was opened, and its modification time the most recent. Two different events, recorded by accident, in one small file.
In data theft investigations the volume serial number is the detail that matters. Correlate it with USB device records in the registry and you can connect a document to a specific physical device and, through the distributed link tracking identifier, sometimes to a specific other computer. Users rarely consider that opening a file from a memory stick leaves a persistent record on the host.
In intrusion work, shortcuts under a compromised account show what an attacker opened during an interactive session, and shortcuts pointing at network shares map the file servers they browsed. They pair naturally with jump list analysis, since jump list entries are themselves shortcut records with an index around them.
Shortcut files also became a primary malware delivery format. When Microsoft began blocking macros in Office documents downloaded from the internet in 2022, attackers moved to archives and disk images containing a shortcut whose target was a scripting interpreter with a long, obfuscated argument string. Qakbot, Emotet, and Bumblebee campaigns all used the pattern. Earlier, CVE-2010-2568 — exploited by Stuxnet — allowed code execution simply from Windows rendering a shortcut’s icon, and a related issue returned as CVE-2017-8464.
There is also a credential angle: an icon location pointing at a UNC path causes Windows to authenticate to that server when the shortcut is displayed, leaking an NTLM hash to whoever controls it.
For defenders, this means LNK files in email attachments, downloads folders, and archive extractions deserve inspection. Parse the arguments field rather than the name, since a shortcut called Invoice.pdf with a PDF icon can point at PowerShell.
Eric Zimmerman’s LECmd is the standard tool and outputs every structure, including the tracker data and arguments. lnkparse covers the same ground in Python for scripted analysis, and Autopsy and the commercial suites include modules.
Interpret carefully. Shortcuts can be created manually by a user, copied between machines, or planted, so a shortcut is evidence that one was written rather than proof that a human double-clicked anything. Where the finding matters, corroborate with jump lists, Amcache and ShimCache, and the application’s own recent file lists. At Privia Security, we parse shortcut artefacts in both directions — as user activity evidence and as a delivery mechanism — during our digital forensic incident response services.
It proves a shortcut was created referencing that path, which usually follows from a file being opened in the user’s session. Shortcuts can also be made manually, copied from another machine, or planted, and automation can create them. Corroborate with jump lists, application recent file lists, and execution artefacts before attributing the action to a person at the keyboard.
They can identify the volume. The shortcut records the volume serial number, label, and drive type of the source, so files opened from removable media are distinguishable and attributable to a specific volume. Correlating that serial number with registry records of connected USB devices usually connects it to a particular physical device and the time it was attached.
Because they execute something else. A shortcut can target a scripting interpreter with a long obfuscated argument while displaying any name and icon the attacker chooses. Their use rose sharply after Microsoft began blocking macros in Office files downloaded from the internet, and they are typically delivered inside archives or disk images to evade mark-of-the-web controls.
Part of the distributed link tracking data, which Windows stores so it can locate a file that has been moved. It records the identifier of the machine where the shortcut was created, including the network adapter address. In investigations it can show that a shortcut originated on a different computer from the one it was found on.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.