Talos Uses LNK Metadata to Track Malware Campaigns and Link Threat Actors

· Original article ↗

Summary

Cisco Talos analyzed LNK file metadata to track Qakbot and Gamaredon activity and link Bumblebee with IcedID and Qakbot, showing how metadata can reveal campaign relationships and help defenders improve detection.

Key points

  • Talos observed malware operators increasingly using LNK shortcut files for initial access as they shifted away from macro-enabled Office documents.
  • LNK fields such as timestamps, volume serial numbers, machine IDs, DROID GUIDs and metadata-store attributes can reveal where files were created and help correlate samples.
  • Some builder tools leave machine-specific metadata, while others wipe fields; missing metadata can itself be a suspicious indicator.
  • Talos used shared LNK metadata to associate Qakbot campaigns and connect Bumblebee samples with IcedID and Qakbot activity.
  • LNK metadata linked files targeting Ukrainian organizations to Gamaredon activity; some samples also contained an apparent fake signature used to confuse antivirus scanners.
  • The researchers say metadata correlation can support detection and tracking of adversary activity; the article also provides a YARA rule for identifying LNK files with wiped metadata.

Article Details

Attack Vectors
  • Malicious LNK files were used as initial-access attachments to download and execute payloads, including from ISO files.
  • Gamaredon-related phishing emails with malicious documents and LNK files were used to download and execute second-stage payloads against Ukrainian organizations.
  • Qakbot LNK files used target fields pointing to JS, BAT, or CMD files that started a malicious DLL infection chain.
  • A sample associated with a Qakbot campaign contained PowerShell code that downloaded and executed a binary.
Defensive Notes
  • Inspect LNK metadata—including timestamps, VolumeID and drive serial number, MachineID, DROID GUIDs, and Metadata Store fields—to correlate samples and identify suspicious or reused creation environments.
  • Flag LNK files with wiped metadata for investigation; the article notes that legitimate shortcuts normally contain metadata by default, while many malicious builder-generated files omit it.
  • The article provides a YARA rule that checks for an LNK signature, zeroed timestamps, and selected target strings such as .js, .bat, or .cmd.
  • Cisco reports that Secure Endpoint, Secure Web Appliance, Secure Email, Secure Firewall, Secure Malware Analytics, Umbrella, and Snort rules provide protections or detection relevant to the described threats.

Indicators of compromise

TypeIndicatorContext
SHA2561b2ed05f488f8439688a02cc6ef84f939d16169117b489219b688a3ea482e5edSample connected by LNK metadata to previous Gamaredon campaigns.
SHA2561e0b92485e09ac970ae38214fb5c7407f73027ada47ea697017e49cacb576908Sample connected by LNK metadata to previous Gamaredon campaigns.
SHA2562738ee3f181994cca5d9ea19359b8142981583d17563934ab3212eefe13af3ffSample reported to lead to a Bumblebee DLL.
SHA2562f9da7145056a4217552a5a536ceb8365e853fbd04d28ae2d494afb20e9c021fLNK sample listed as part of the Qakbot “AA” campaign.
SHA2563cca8d1b4cfe0ebcf105621700454d0285ef1b44dfed3e3abf70060bb62aa5b4LNK file reported to lead to an IcedID DLL.
SHA25652458b4aaddbcb04048be963ea7d669c2ff7a69642d027f88812a5c6c1ade955LNK sample listed as part of the Qakbot “AA” campaign.
SHA25654681cbb4c61dd4fe03341cfd8d2b796366a0372b53dd3e1d52c9e6ff98692d1LNK sample listed as part of the Qakbot “AA” campaign.
SHA2566161c01fd590c98c6dee4e510ba9be4f574c9cc5c89283dbff6bb79cd9383d70Sample identified by VirusTotal as a Redline variant.
SHA25667bbffb2ff5f724a201445f26018cb09fbf0588689f98f90fd82082aae7c6eecLNK sample listed as part of the Qakbot “AA” campaign.
SHA2566a980d7659efb8bfb997dec3259d6eb090d4e6a4609e4c0666e04ad612151d71LNK sample listed as part of the Qakbot “AA” campaign.
SHA2566ce64dedbe81c36aef38fd2d567f6ab9737df708591dc2f0cafa56db26a1d043Sample connected by LNK metadata to previous Gamaredon campaigns.
SHA2567ba3eaee591cc73ab85aeb09d8c02b1e569b9dcaffcbc7c4473f504f939697d2LNK sample listed as part of the Qakbot “AA” campaign.
SHA2567f66f4411983001d29236c5d3fb4ff26f01b5742badca1db8d49264c01ba506cSample connected by LNK metadata to previous Gamaredon campaigns.
SHA2568fda14f91e27afec5c1b1f71d708775c9b6e2af31e8331bbf26751bc0583dc7eLNK sample listed as part of the Qakbot “AA” campaign.
SHA2569c7e01c2c39dadc020a0cf8dc74b62e6453b56413f09705b4ad4d391981f5a3fLNK file reported to lead to a Bumblebee DLL.
SHA256a7f31c98147d98ac08f4b8afe7faa2f2b4aab821655717f4bde519fcd87300acLNK sample listed as part of the Qakbot “AA” campaign.
SHA256beacb63904c2624ae02601f283671b3ef61650109aea3259b63a0aeefe4133faSample associated with the Qakbot campaign metadata contained PowerShell code to download and execute a binary.
SHA256c5c0daaa26815bb6528332dd4f56f7eb72db4456d5a84b8bc69239c45079a1c4LNK sample listed as part of the Qakbot “AA” campaign.
SHA256c9dfafd3536977289b4bfda1369fbd113a778cf06ac0c01cdc8e00e1c300e774LNK sample listed as part of the Qakbot “AA” campaign.
SHA256da2a0d9a6b5dd2123c4c2cbd55d81fd22ab72bf7ceb1489a5a770e10bcf67137LNK sample listed as part of the Qakbot “AA” campaign.
SHA256e818b0115a9a877a9517c99b16e5a2df9cf7c5eb1fb249d9153b68e8fa94e60bLNK sample listed as part of the Qakbot “AA” campaign.
SHA256e89cd1999517b47805106111e14de4a03669cac30adb3b3304655febce25955fLNK-related sample submitted with a BAT and DLL; the DLL was identified as an IcedID bot.
SHA256efdb91497fe213e8f696065c2fe81f64cbaa219da16e2b3f8e1e146d098652b5LNK sample listed as part of the Qakbot “AA” campaign.
URLhxxp[:]//88[.]198[.]148[.]231/u[.]exeURL from which the Qakbot-associated sample's PowerShell code downloaded a binary.

MITRE ATT&CK

CVE

People

Threat Actors

Malware

Vendors

Products

Microsoft Defender Antimalware Platformannouncement of vulnerabilities which allowed malware to bypass the Mark-of-the-Web flag used by Microsoft Defender and other Antivirus products to decide whether to scan or not a file. As reported by other sources,Microsoft WindowsMicrosoft describes the Shell Link binary file format - the format used by Windows files with the extension "LNK" - as a file which contains information that can be used by the Operating System or an application toOfficeMicrosoft announced at the beginning of 2022 that they would soon start to disable macros by default in Office documents downloaded from the Internet. They implemented the changes around June, only to remove the featureSecure EmailCisco Secure Email (formerly Cisco Email Security) can block malicious emails sent by threat actors as part of their campaign. You can try Secure Email for free here.Secure EndpointCisco Secure Endpoint (formerly AMP for Endpoints) is ideally suited to prevent the execution of the malware detailed in this post. Try Secure Endpoint for free here.Secure FirewallCisco Secure Firewall (formerly Next-Generation Firewall and Firepower NGFW) appliances such as Threat Defense Virtual, Adaptive Security Appliance and Meraki MX can detect malicious activity associated with this threat.Secure Malware AnalyticsCisco Secure Malware Analytics (Threat Grid) identifies malicious binaries and builds protection into all Cisco Secure products.Secure Web ApplianceCisco Secure Web Appliance web scanning prevents access to malicious websites and detects malware used in these attacks.SnortOpen-source Snort Subscriber Rule Set customers can stay up to date by downloading the latest rule pack available for purchase on Snort.org. Snort SIDs for this threat are: 61099-61102, 300367-300368UmbrellaUmbrella, Cisco's secure internet gateway (SIG), blocks users from connecting to malicious domains, IPs and URLs, whether users are on or off the corporate network. Sign up for a free trial of Umbrella here.

Tools

Countries

Related Articles