Skip to content
Skillpedia
Analysis & spreadsheets35k · #7623

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

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.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

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.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

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

5 new skills a week. 1 minute to read.

analyzing-lnk-file-and-jump-list-artifacts: full guide

When someone opens a file in Windows, the system quietly leaves small records behind: a shortcut file (.lnk) and entries in a per-program list called a Jump List. These records keep the file's original path, its timestamps, the drive it sat on and sometimes the name of the computer. They often stay after the file itself is deleted or the USB drive is unplugged.

This skill teaches your agent how to read those records with two free tools by Eric Zimmerman, LECmd and JLECmd, and how to read the raw file format by hand when needed. It is written for forensic examiners, incident responders and SOC analysts who must show what a user opened and when. You need a forensic image or a collected copy of the user's folders. The skill does not look at live systems by itself.

Use cases

Check for data theft on a USB drive

A manager suspects an employee copied files before leaving. The agent looks for shortcuts that point to drive letters such as E: or F:, then reads the volume serial number to tell whether one specific device was used across several days.

Trace a suspicious program

An alert shows an unknown program in C:\ProgramData\Updates. The agent parses the Recent folder, finds the shortcut for that program and reports its arguments and window setting, such as a hidden window, plus the first and last access times.

Find access to network shares

After a breach, you need to know whether a user browsed a file server. The agent lists shortcuts and Jump List entries with \\server\share paths and gives the server name and access times, so you can build a timeline.

Step by step

  1. 1Collect the user's Recent folder, including AutomaticDestinations and CustomDestinations, from the forensic image. Keep the original folder structure and the user name.
  2. 2Install LECmd and JLECmd on your analysis machine. Put the skill in ~/.claude/skills/analyzing-lnk-file-and-jump-list-artifacts/ so the agent can use it.
  3. 3Ask the agent to parse the Recent folder with LECmd and write the results to a CSV file. Then ask it to do the same for both Jump List folders with JLECmd.
  4. 4Ask the agent to list the notable findings: removable drives, network paths, programs run with arguments, and deleted targets. Open the CSV files in Timeline Explorer to check them.
  5. 5Ask for a timeline that combines both sources and note which findings need support from other evidence, such as MFT records.

Example

What to ask

“Parse the Recent and AutomaticDestinations folders for user jsmith in C:\Evidence and list anything that points to USB drives, network shares or hidden program execution.”

What you get

The agent runs LECmd and JLECmd and exports CSV files. It reports a macro file in Downloads opened at 14:35, a program in ProgramData started hidden with --silent, access to E:\Backup\ at 15:30 and to \\FILESERV01\HR at 16:12, with volume serial numbers and the machine name.

Tips

  • ✓A shortcut proves a file was opened, not what was done with it. Support copying or reading claims with other sources, such as MFT records or the USN Journal.
  • ✓Windows 11 creates fewer shortcuts for some file types, and modern apps may produce no Jump List. A missing entry on Windows 11 is not proof that nothing happened.
  • ✓Work on a copy of the evidence and note the time zone. The tools show UTC, so convert times before you compare them with logs from other systems.

Alternatives

  • multimodal-evidence

    Pick it when your evidence is documents, images, spreadsheets or videos and you need facts checked against the source, not Windows shortcut records.

  • jupyter-notebook

    Pick it when you want to document your analysis as a step-by-step notebook after parsing the data, instead of reading raw artifacts.

  • chart-visualization

    Pick it when you already have the extracted data and want to show activity over time as a chart in a report.

Questions and answers

Do I need to know programming to use this skill?

No. You ask the agent in plain language and it runs the tools for you. You do need to provide the evidence folders and understand basic forensic terms such as timestamps and volume serial numbers.

Can this skill read shortcuts from a running Windows computer?

The skill is built for forensic images or collected copies of a user's folders. It does not describe live collection, so first copy the Recent and Jump List folders and analyze the copy.

How can I tell which program a Jump List belongs to?

Each Automatic Jump List file is named with an AppID hash. The skill includes a table that maps common hashes to programs such as Excel, Word, Notepad and Windows Explorer. Unknown hashes need a separate lookup.

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.

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
#7623
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