Detections

Explore public detection logic contributed by the community across SIEM and rule languages.

17 detections

This rule detects the delivery of a malicious LNK file via HTTP that utilizes icon smuggling. It specifically looks for HTTP responses containing a URI with ".lnk" and the byte sequence "|4C 00 00 00|" at the beginning of the file data, which is characteristic of LNK files. Icon smuggling is a defense evasion technique where a malicious file disguises itself with a legitimate icon to trick users into executing it.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
007
This rule detects various stages of DeepLoad malware activity, including initial delivery via PowerShell execution policy bypass with IEX/IRM style ClickFix, network retrieval using mshta.exe, persistence mechanisms like scheduled task creation and WMI, fileless injection through PowerShell Add-Type compilation and suspicious child processes (LockAppHost.exe, makecab.exe, Magnify.exe), credential stealing via filemanager.exe, and USB propagation indicators including specific C2 paths and LNK themed installer names. It also identifies known DeepLoad infrastructure domains.
avatar
Daniel Jeremiah@daniyyell
avatar
Detections.ai Community
7 months ago
50162
This rule detects PowerShell processes executing commands that involve reading bytes from a .lnk file. This behavior is often associated with malware attempting to extract malicious content embedded within a shortcut file, potentially for further execution or to bypass security controls. The rule specifically looks for `powershell.exe` or `pwsh.exe` in the image filename or original filename, combined with command-line arguments containing both `.lnk` and `readallbytes`.
avatar
Daniel Koifman@Koifsec
avatar
Detections.ai Community
7 months ago
90103
Detects instances where a LNK file execution is followed by the launch of a PowerShell process that contains command-line arguments for downloading and/or executing content from the internet. This behavior is the initial execution step in the attack chain detailed in the referenced Fortinet report.
avatar
Ethan Andrews@eandrews
avatar
Federal Signal Detections
8 months ago
90100
Detects the execution of a command pattern associated with malicious .lnk files used in the SERPENTINE#CLOUD campaign. The threat actor uses a .lnk file to launch cmd.exe, which then uses robocopy to download a .wsf script from a WebDAV share hosted on a Cloudflare Tunnel, and finally executes it with cscript.exe.
avatar
Mehulkumar Savajani@Msavajani
avatar
Detections.ai Community
11 months ago
0046
This rule detects LNK (shortcut) files that contain embedded PowerShell commands, specifically looking for the string "powershell" and the argument "-windowstyle hidden". This combination is often used by adversaries to execute malicious PowerShell scripts discreetly, making them less visible to the user.
100daysofyara 2025@100daysyara2025
avatar
100 Days of YARA 2025
1 year ago
0069
The analytic detects a process creating a `.lnk` file in suspicious locations such as `C:\Users\*` or `*\Local\Temp\*`. This activity is significant because creating `.lnk` files in these directories is a common tactic used by spear phishing tools to establish persistence or execute malicious payloads. If confirmed malicious, this could allow an attacker to maintain persistence, execute arbitrary code, or further compromise the system.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
1056
The following analytic detects the creation of .iso.lnk files in the %USER%\AppData\Local\Temp\<random folder name>\ path, indicating that an ISO file has been mounted and accessed. This detection leverages the Endpoint.Filesystem data model, specifically monitoring file creation events in the Windows Recent folder. This activity is significant as it may indicate the delivery and execution of potentially malicious payloads via ISO files. If confirmed malicious, this could lead to unauthorized code execution, data exfiltration, or further system compromise.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
0036
KQL Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
4049
KQL Query from file: BlueAlpha GammaDrop Detection
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
2041
Detects the Emotet Epoch4 loader as reported by @malware_traffic in 2022. This specific detection focuses on the execution chain involving a .LNK file delivered via a phishing campaign, which then uses `cmd.exe` or `powershell.exe` to execute commands containing `findstr`, `.vbs`, and `.lnk` in the command line. This indicates an attempt to locate and execute a VBScript from within the LNK file context, a common technique for malware like Emotet to achieve initial execution.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
4031
This query looks for lnk file executions from other locations than C: -drive, which can relate to mounted ISO-files.
Reference - https://threathunt.blog/detecting-a-payload-delivered-with-iso-files-using-mde/
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2020
Original Sigma Rule: https://github.com/Neo23x0/sigma/blob/master/rules/apt/apt_unidentified_nov_18.yml.
Questions via Twitter: @janvonkirchheim.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0017
This query was originally published in the threat analytics report, May 2019 0-day disclosures.
In May and June of 2019, a security researcher with the online alias, SandboxEscaper, discovered and published several elevation-of-privilege vulnerabilities on Github. The researcher included proofs-of-concept demonstrating how to exploit these vulnerabilities.
Patches and more information about each vulnerability are available below:
1. CVE-2019-0863 | Windows Error Reporting Elevation of Privilege Vulnerability
2. CVE-2019-1069 | Task Scheduler Elevation of Privilege Vulnerability
3. CVE-2019-1053 | Windows Shell Elevation of Privilege Vulnerability
4. CVE-2019-1064 | Windows Elevation of Privilege Vulnerability
5. CVE-2019-0973 | Windows Installer Elevation of Privilege Vulnerability
6. CVE-2019-1129 | Windows Elevation of Privilege Vulnerability
This query locates possible activity that exploits CVE-2019-1053 (also known as SandboxEscape), the third vulnerability listed above.
Reference - https://threatpost.com/sandboxescaper-more-exploits-ie-zero-day/145010/
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0010
Find LNK files on certain devices
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0023
Detects the execution of PowerShell commands embedded within a link (.lnk) file. This rule specifically looks for instances where 'explorer.exe' launches 'cmd.exe', and the command line of 'cmd.exe' contains both 'powershell' and '.lnk', indicating an attempt to execute PowerShell via a shortcut file.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
1035
Detects the execution of 'find.exe' or 'findstr.exe' where the command line arguments include a '.lnk' file. This behavior has been observed in attacks, such as the HHS redirect attack, where adversaries use these legitimate Windows utilities to indirectly execute malicious shortcut files.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
0027