This is the third blog post in a series of five about recovering Business Applications & OS Artifacts for your digital forensics investigations.
What are LNK Files?
LNK files are a relatively simple but valuable artifact for the forensics investigator. They are shortcut files that link to an application or file commonly found on a user’s desktop, or throughout a system and end with an .LNK extension. LNK files can be created by the user, or automatically by the Windows operating system. Each has their own value and meaning. Windows-created LNK files are generated when a user opens a local or remote file or document, giving investigators valuable information on a suspect’s activity.
Why are LNK Files Important to Your Digital Forensics Investigation?
LNK files are excellent artifacts for forensic investigators who are trying to find files that may no longer exist on the system they’re examining. The files might have been wiped or deleted, stored on a USB or network share, so although the file might no longer be there, the LNK files associated with the original file will still exist (and reveal valuable information as to what was executed on the system).
The Key Artifacts That Need to be Found When Investigating LNK Files
LNK files typically contain the following items of evidentiary value:
- The original path of the file
- MAC times of the original file; not only will a LNK file contain timestamps for the LNK file itself, it will also contain MAC times for the linked file within its metadata as well
- Information about the volume and system where the LNK file is stored. This will include volume name, serial number, NetBIOS name, and MAC address of the host where the linked file is stored
- Network details if the file was stored on a network share or remote computer
- File size of the linked file
Let’s take a look at an example:
I have a Windows 7 virtual machine that Windows has automatically created a LNK file named “Win7 SIFT Workstation.vmx.lnk”. Below is the raw output of the LNK file and while we can see quite a bit of valuable data as mentioned above, it does require some interpretation:
Making LNK File Analysis Easier with Internet Evidence Finder (IEF)
IEF takes this data and cleans it up for the investigator, providing a wealth of information about “Win7 SIFT Workstation.vmx.lnk” including the linked path, computer and volume information where it was first run from (including the MAC address of the computer), and most importantly, timestamps around the LNK file and the original VMX file. The ‘date-created’ MAC time for the LNK file will tell the investigator when the file was first opened, and the ‘date-modified’ time will identify when the file was last opened by the user. Additionally, inside the LNK file are timestamps related to the creation and modification dates of the original VMX file.
We can see below that IEF has taken the raw data above, sorted and organized it for the investigator in a far easier format:
- Path of the VMX file being linked to
- MAC times for the LNK file
- MAC times for the linked VMX file
- Volume name and serial number
- NetBIOS name and MAC address of source computer
- File size of the linked VMX file
By adding LNK artifacts to IEF, our aim is to simplify the recovery of this well-known artifact, and improve the efficiency of your investigations by letting you find more types of evidence with one search and tool.
Related resources you might be interested in:
- Read the next blog in our series: Forensic Analysis of Prefetch Files in Windows
- See what IEF is all about: Attend a Demo
- Try IEF for Free:
- New to IEF: Request a 30 day trial
- Current customers: Request a 30 day trial of our Business Applications & OS Artifacts Module
Forensics Consultant, Magnet Forensics