Skip to content
Skillpedia
Analysis & spreadsheets35k · #5460

analyzing-lnk-file-and-jump-list-artifacts

Lets your agent analyze Windows shortcut files to understand what the user did. It helps discover which files were accessed or programs were run.

What it does

This tool analyzes Windows shortcut files (.lnk) and recent file lists (Jump Lists). It helps discover which files were accessed, which programs were run, and what users did on the computer, even if the original files were deleted.

When to use it

  • ✓Investigating suspicious activity on Windows.
  • ✓Reconstructing file access or program execution history.
  • ✓Checking which files were recently or frequently used.

Example of what to ask your AI

“Analyze the shortcut files and recent lists for the user 'john' on the investigated computer.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-lnk-file-and-jump-list-artifacts/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-lnk-file-and-jump-list-artifacts/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool examines .lnk files and Jump Lists, which store information about the files you open. It extracts details like the original file name, when it was accessed, and which program opened it.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-lnk-file-and-jump-list-artifacts

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/analyzing-lnk-file-and-jump-list-artifacts/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Analyzing LNK File and Jump List Artifacts

Overview

Windows LNK (shortcut) files and Jump Lists are critical forensic artifacts that provide evidence of file access, program execution, and user behavior. LNK files are created automatically when a user opens a file through Windows Explorer or the Open/Save dialog, storing metadata about the target file including its original path, timestamps, volume serial number, NetBIOS name, and MAC address of the host system. Jump Lists, introduced in Windows 7, extend this by maintaining per-application lists of recently and frequently accessed files. These artifacts persist even after the target files are deleted, making them invaluable for establishing that a user accessed specific files at specific times.

When to Use

  • When investigating security incidents that require analyzing lnk file and jump list artifacts
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • LECmd (Eric Zimmerman) for LNK file parsing
  • JLECmd (Eric Zimmerman) for Jump List parsing
  • Python 3.8+ with pylnk3 or LnkParse3 libraries
  • Forensic image or triage collection from Windows system
  • Timeline Explorer for CSV analysis

LNK File Locations

Location Description
%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Recent\ Recent files accessed
%USERPROFILE%\Desktop\ User-created shortcuts
%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\ Start Menu shortcuts
%USERPROFILE%\AppData\Roaming\Microsoft\Office\Recent\ Office recent documents

LNK File Structure

Shell Link Header (76 bytes)

Offset Size Field
0x00 4 HeaderSize (always 0x0000004C)
0x04 16 LinkCLSID (always 00021401-0000-0000-C000-000000000046)
0x14 4 LinkFlags
0x18 4 FileAttributes
0x1C 8 CreationTime (FILETIME)
0x24 8 AccessTime (FILETIME)
0x2C 8 WriteTime (FILETIME)
0x34 4 FileSize of target
0x38 4 IconIndex
0x3C 4 ShowCommand
0x40 2 HotKey

Key Forensic Fields in LNK Files

  • Target file timestamps: Creation, access, modification times of the referenced file
  • Volume information: Serial number, drive type, volume label
  • Network share information: UNC path, share name
  • Machine identifiers: NetBIOS name, MAC address (from TrackerDataBlock)
  • Distributed Link Tracking: Machine ID and object GUID

Analysis with EZ Tools

LECmd - LNK File Parser

# Parse all LNK files in Recent folder
LECmd.exe -d "C:\Evidence\Users\suspect\AppData\Roaming\Microsoft\Windows\Recent" --csv C:\Output --csvf lnk_analysis.csv

# Parse a single LNK file with full details
LECmd.exe -f "C:\Evidence\Users\suspect\Desktop\Confidential.docx.lnk" --json C:\Output

# Parse LNK files with additional detail levels
LECmd.exe -d "C:\Evidence\Users\suspect\AppData\Roaming\Microsoft\Windows\Recent" --csv C:\Output --csvf lnk_all.csv --all

JLECmd - Jump List Parser

# Parse Automatic Jump Lists
JLECmd.exe -d "C:\Evidence\Users\suspect\AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations" --csv C:\Output --csvf jumplists_auto.csv

# Parse Custom Jump Lists
JLECmd.exe -d "C:\Evidence\Users\suspect\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations" --csv C:\Output --csvf jumplists_custom.csv

# Parse all jump lists with detailed output
JLECmd.exe -d "C:\Evidence\Users\suspect\AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations" --csv C:\Output --csvf jumplists_auto.csv --ld

Jump List Structure

Automatic Destinations (automaticDestinations-ms)

These are OLE Compound files (Structured Storage) identified by AppID hash in the filename:

AppID Hash Application
5f7b5f1e01b83767 Windows Explorer Pinned/Frequent
1b4dd67f29cb1962 Windows Explorer Recent
9b9cdc69c1c24e2b Notepad
a7bd71699cd38d1c Notepad++
12dc1ea8e34b5a6 Microsoft Paint
7e4dca80246863e3 Control Panel
1cf97c38a5881255 Microsoft Edge
f01b4d95cf55d32a Windows Explorer
9d1f905ce5044aee Microsoft Excel
a4a5324453625195 Microsoft Word
d00655d2aa12ff6d Microsoft PowerPoint
bc03160ee1a59fc1 Outlook

…

FAQ

What are .lnk files?

These are shortcuts that Windows automatically creates when you open a file. They store information about the original file, such as its path and access dates.

What are Jump Lists?

These are lists of files that a program has recently or frequently used. They appear when you right-click a program on the taskbar or in the Start Menu.

Why is this useful if the file was deleted?

Because .lnk files and Jump Lists keep a record that the file existed and was accessed, even after the original file is removed from the computer.

Details

Original description by the author

Analyze Windows LNK shortcut files and Jump List artifacts with LECmd, JLECmd, and manual Shell Link Binary Format parsing to establish evidence of file access, program execution, and user activity that persists even after the target file is deleted. Use when investigating Windows user activity, reconstructing file-access or program-execution timelines, or examining recent/frequently-used file evi

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#5460
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills