1-MITRE ATT&CK

2-MITRE ATT&CK

Windows LNK files (shortcuts) are small files pointing to executables, scripts, or directories. Attackers abuse LNK files to execute malicious payloads silently, either when a user interacts with the shortcut or automatically via startup locations

LNK Files (Shortcut Files)


What is an LNK File?

An LNK file (Windows shortcut) is a small file that points to another file, folder, or program. These are commonly used to create desktop shortcuts, allowing users to quickly open applications without navigating to the actual file location. However, attackers can manipulate LNK files to execute malicious commands silently.

🛠 Key Fields in LNK Files:

  1. Target Path – The primary file or program the shortcut runs.
  2. Arguments – Commands or scripts executed alongside the target.
  3. Icon Path – Can mimic legitimate files or folders to disguise malicious LNKs. (e.g., a fake PDF or folder icon).

How Attackers Use It

  1. Dropping Malicious LNK Files in Startup Locations

  2. Modifying Legitimate Shortcuts

  3. Embedding LNK Files in USB Drives or Network Shares

  4. Phishing or Drive-By Execution


Examples of LNK File Abuse

Example 1: Simple Malicious LNK