Detections
Explore public detection logic contributed by the community across SIEM and rule languages.
434 detections
Filters
Last updated
All Time
Detection languages
205
119
33
24
18
Contributors
91
70
52
38
25
Categories
329
260
202
41
40
Platforms
424
6
4
4
1
Products / Services
167
126
91
19
9
MITRE Techniques
18,114
15,633
12,576
8,388
6,215
CVEs
2
2
2
1
1
IDS Classtypes
4
IDS Protocols
3
1
Detects the execution of LOLBins (PowerShell, mshta, cmd, wscript) directly spawned from common web browsers (explorer, chrome, edge, firefox) with command-line arguments indicative of malicious activity, such as base64-encoded commands, hidden window styles, or remote script download and execution.
A consolidated detection query that seeks to identify potentially malicious usage of mshta.exe, a known LOLBin commonly abused by threat actors to proxy code execution. This detection breaks down potentially suspicious mshta.exe usage into a number of categories and displays which category the query hits on in the resultant data. Note that this may require initial tuning to tune out known environment usage of mshta.exe - line 23 exists as a placeholder to add known exceptions.
This KQL detects attack used TCP port 4307 for unauthenticated access and replaced public\js\locale.php with a web shell that provided persistent remote access.
Detects mshta.exe invoked with a remote HTTP(S) URL argument, consistent with CountLoader's taskType 10 command proxying malicious script execution through mshta.exe, excluding local file/HTA paths.
Detects a process chain where mshta.exe is spawned by and descends from mshta.exe, executing a command line referencing a remote HTTP/HTTPS URL, consistent with CountLoader delivery observed in DOUBLECUP LaaS ClickFix campaigns.
Detects the MSEdgeUpdateService<GUID> fallback scheduled task that runs a patched conhost.exe (csvchost.exe) headless launch or patched PowerShell (psvchost.exe) to re-fetch CountLoader from C2 every 25 minutes.
Detects the execution of mshta.exe with a remote URL containing an .hta file in the command line. This pattern is commonly used by adversaries to proxy execution of malicious scripts via a trusted Windows binary, often initiated by common applications like explorer.exe or cmd.exe.
Detects the use of common Windows Living-off-the-Land Binaries (LOLBins) or PowerShell cmdlets typically utilized to download and execute remote payloads. The rule specifically monitors for BITSAdmin transfers, CertUtil URL cache retrievals, MSHTA remote execution, and PowerShell combined with WebClient/DownloadString and hidden windows.
Detects mshta.exe being launched from explorer.exe or cmd.exe with a command line argument pointing to a remote HTTP/HTTPS resource ending in .hta. This pattern is commonly used by adversaries to execute malicious remote HTML applications for initial access or code execution.
Detects the use of common Windows Living-off-the-Land Binaries (LOLBins) or PowerShell cmdlets typically utilized to download and execute remote payloads. The rule specifically monitors for BITSAdmin transfers, CertUtil URL cache retrievals, MSHTA remote execution, and PowerShell combined with WebClient/DownloadString and hidden windows.
Detects mshta.exe being launched from explorer.exe or cmd.exe with a command line argument pointing to a remote HTTP/HTTPS resource ending in .hta. This pattern is commonly used by adversaries to execute malicious remote HTML applications for initial access or code execution.
Detects the use of mshta.exe to fetch and execute remote content that subsequently spawns PowerShell, often utilizing techniques to obfuscate commands or load scripts in-memory. This behavior is indicative of fileless malware execution or stage-two payload delivery.
Detects the execution of mshta.exe launched by powershell.exe where the command line includes a remote URL. This pattern mimics the 'ClickFix' execution chain where explorer.exe initiates PowerShell, which in turn invokes mshta.exe to fetch and execute a remote payload, a common technique for initial access and execution.
Detects the use of mshta.exe to fetch and execute remote content that subsequently spawns PowerShell, often utilizing techniques to obfuscate commands or load scripts in-memory. This behavior is indicative of fileless malware execution or stage-two payload delivery.
Detects the use of common Windows Living-off-the-Land Binaries (LOLBins) or PowerShell cmdlets typically utilized to download and execute remote payloads. The rule specifically monitors for BITSAdmin transfers, CertUtil URL cache retrievals, MSHTA remote execution, and PowerShell combined with WebClient/DownloadString and hidden windows.
Detects the use of mshta.exe to execute code directly from a remote URL that includes a numeric path segment. This behavior is often associated with the retrieval of HTA, VBScript, or JScript payloads from attacker-controlled servers, where the numeric path may indicate a versioned payload or a specific exploit delivery mechanism.
Detects the execution of mshta.exe launched by powershell.exe where the command line includes a remote URL. This pattern mimics the 'ClickFix' execution chain where explorer.exe initiates PowerShell, which in turn invokes mshta.exe to fetch and execute a remote payload, a common technique for initial access and execution.
Detects the use of mshta.exe to execute code directly from a remote URL that includes a numeric path segment. This behavior is often associated with the retrieval of HTA, VBScript, or JScript payloads from attacker-controlled servers, where the numeric path may indicate a versioned payload or a specific exploit delivery mechanism.
Detects the execution of mshta.exe launched by powershell.exe where the command line includes a remote URL. This pattern mimics the 'ClickFix' execution chain where explorer.exe initiates PowerShell, which in turn invokes mshta.exe to fetch and execute a remote payload, a common technique for initial access and execution.
Detects the execution of PowerShell via mshta.exe or wscript.exe, specifically when the command line includes encoded commands. This is a common pattern for attackers using living-off-the-land binaries to execute obfuscated malicious payloads, bypassing basic security controls.
Detects the execution of mshta.exe with a remote URL containing an .hta file in the command line. This pattern is commonly used by adversaries to proxy execution of malicious scripts via a trusted Windows binary, often initiated by common applications like explorer.exe or cmd.exe.
Page 6 of 21






