Raymond.CC Blog
  • Home
  • Forum
  • Giveaway
  • X-Ray 2.0
  • Contact
  • About
  • I’m Feeling Lucky
Search the site...
You are here: Home » Computer » Parse and Analyze Windows LNK Shortcut Files

Parse and Analyze Windows LNK Shortcut Files

Updated by Raymond - 1 year ago - Computer
2
  • Like
  • +1
  • Tweet
  • Printer Friendly and PDF

Software are normally installed in AppData or Program Files folder in Windows. The program icons that you find at Desktop and Start Menu are simply shortcuts that points to the real location of the software. The shortcuts for a file can be easily created from the right click context menu so that you can run the program from any location you prefer without touching or moving the real file. If you right click on the shortcut and select Properties from the menu, the shortcut Properties window will display where the actual file is located, the shortcut key to run the shortcut, run mode and comment. Actually a shortcut file (.lnk) contains much more information than what you’re seeing on the Properties window which can be a wealth of useful information for forensic investigators.

Shortcut Properties

Using third party forensic tools such as lnkanalyser and Windows LNK Parsing Utility (lp), we are able to easily parse LNK files to extract obscure information.

Both lnkanalyser and Windows LNK Parsing Utility are command line tools that doesn’t have a graphical user interface. However is it pretty simple to use because all you need to do is specify the name of the shortcut file that you want to analyze.

For lnkanalyser, the command to analyze a lnk shortcut file is:

lnkanalyser.exe -i shortcut.lnk

The result below is the sample of what you will be getting from lnkanalyser for parsing a lnk file.

lnkanalyser v1.0.1

Lnk Metadata
—————
Path: X-Ray.lnk
Flags:
Attributes: Archive
Show Command: SW_SHOWNORMAL
Name:
Relative Path: .\X-Ray.exe
Working Path: C:\Users\Raymond\Desktop\X-Ray
Arguments:
Icon Location:

Target Metadata
—————
Created Timestamp: 12/19/2011 5:55:42 AM
Accessed Timestamp: 12/19/2011 5:55:42 AM
Written Timestamp: 12/19/2011 6:00:59 AM
File Size: 409224
Icon Index: 0

Volume Id
———
Drive Type: DRIVE_FIXED
Serial No: CA5DXXXX
Name:

TrackerDataBlock
—————-
MachineId: computer
NewVolumeId: 2613E2AC5A85D74C8F5B47F401965222
NewObjectId: 0B24B6D2505FE111A0BD001C42000009
NewObjectId Timestamp: 2/25/2012 1:34:13 AM
NewObjectId Sequence Number: 8381
NewObjectId MAC Address: XX:XX:XX:XX:XX:XX
BirthVolumeId: 2613E2AC5A85D74C8F5B47F401965222
BirthObjectId: 0B24B6D2505FE111A0BD001C42000009
BirthObjectId Timestamp: 2/25/2012 1:34:13 AM
BirthObjectId Sequence Number: 8381
BirthObjectId MAC Address: XX:XX:XX:XX:XX:XX

CommonNetworkRelativeLink
————————-
Device Name:
Net Name: \\COMPUTER\Users
Network Provider Type: WNNC_NET_LANMAN

As you can see from the result above, the shortcut contains information to the path to the target file/directory it references, create, modify and access date/time stamps of the target file/directory referred to by the lnk, the size of the target, serial number of the volume where the target was stored, network volume share name, target attributes, such as whether it was ‘read only’, ‘hidden’, ‘system’, etc, and MAC address of the host computer. The Windows LNK Parsing Utility (lp) also does the same except it supports batch processing using the asterisk (*.lnk) and also dumping the output to one line using comma delimited values (-csv).

Now you know that a simply shortcut can contain information that is traceable to you.

Download lnkanalyser
Download Windows LNK Parsing Utility


Didn't find what you want? The links below could help:

Disable UAC for Specific Software in Windows 7 with UAC Trust ShortcutDisable UAC for Specific Software in Windows 7 with UAC Trust ShortcutAuto Start Portable Applications from USB Stick with AutoRunnerXAuto Start Portable Applications from USB Stick with AutoRunnerXBad Peggy Scans for Damaged JPEG ImagesBad Peggy Scans for Damaged JPEG ImagesIntegrate and Replace the Slow Windows 7 Default Search with Agent RansackIntegrate and Replace the Slow Windows 7 Default Search with Agent Ransack

2 comments on “Parse and Analyze Windows LNK Shortcut Files”

  1. Richard says:
    1 year ago

    How to get ride from Windows 07 Genuine Validation Error? Help required

    Reply
  2. Anonymous says:
    1 year ago

    How about some GUI LNK editing tools which are more powerful than the Windows properties dialog?

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recently Updated

  • sniff hidden url

    5 Simple Tools to Display Hidden Remote URLs in Background or Web Installers

  • uac icon

    4 Ways to Disable User Account Control (UAC) for Specific Software in Windows

  • scan shared folder icon

    5 Tools to Scan Connected Computers on the Local Network and Find Shared Folders

New Articles

  • task manager replacement icon

    Memory Usage Test to See Which is the Lightest Antivirus Software

  • kaspersky antivirus 2013 icon

    Activate Free Kaspersky Anti-Virus 2013 ROG with 1 Year License

  • remote access software

    Top 8 Remote Access Software for Providing Online Support

Popular Posts

  • Top 10 FREE Data Recovery Software

    Top 10 FREE Data Recovery Software

  • How to Hack Into a Windows XP Computer Without Changing Password

    How to Hack Into a Windows XP Computer Without Changing Password

  • 10 Free Software to Mount CD or DVD ISO Image File as Virtual Drives

    10 Free Software to Mount CD or DVD ISO Image File as Virtual Drives

Recommend on Google
Follow @raymond_cc
Subscribe Youtube »
(c) 2013 Raymond.CC Blog
  • Contact
  • Disclaimer
  • Disclosure
  • Privacy Policy
  • Terms of Use
  • Sitemap