Detections

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

3,240 detections

This rule detects the execution of common command-line utilities (wget, curl, nc, bash, python, perl, php, sh) within web server directories. This activity is highly suspicious as it could indicate an attacker attempting to download malicious files, execute web shells, or perform other post-exploitation activities on a compromised web server.
avatar
Anoozilla HunterX@AnoozillaHunterX
avatar
Detections.ai Community
1 year ago
1067
This package searches endpoint processes for cscript executing a wsf file which has been attributed to the Serpentine#Cloud campaign.
This is a brittle detection narrowly defined to this particular campaign but is nonetheless useful.
avatar
Salten Fisk@saltenfisk
avatar
Detections.ai Community
1 year ago
1127
This package searches for evidence of Windows Shortcut (.lnk) files executing code to download a .wsf file from a remote WebDAV share hosted on a trycloudflare[.]com subdomain. This package searches in both web logs and endpoint process logs.
An ongoing malware campaign tracked as SERPENTINE#CLOUD has been identified as leveraging the Cloudflare Tunnel infrastructure and Python-based loaders to deliver memory-injected payloads through a chain of shortcut files and obfuscated scripts.
For initial access, the threat actors are luring users to execute malicious .lnk files (shortcut files) disguised as documents to silently fetch and execute remote code.
These payloads use cmd.exe to silently retrieve additional stages over WebDAV (via Cloudflare Tunnel subdomains) and invoke WSF or batch-based droppers.
trycloudflare[.]com allows a threat actor to expose a tunnel to the internet using legitimate infrastructure that will likely blend into benign traffic. trycloudflare dynamically generates subdomains formed of random words and so it's not enough to just look for such connections since they are also used by developers in testing. Therefore this search looks for further procedures attributed to the campaign.
avatar
Salten Fisk@saltenfisk
avatar
Detections.ai Community
1 year ago
1133
This is a general rule meant to capture malicious MSHTA abuse pattern agnostic of the attack style or name (i.e., ClickFix, FakeCaptcha, FakeUpdates, ClearFake, etc.)
avatar
Marcus Mingo@meeengoh
avatar
Tr&de
1 year ago
245254
Detects suspicious command-line activity associated with the "ClickFix" social engineering technique.
Threat actors trick users into pasting and executing malicious commands that typically use scripting engines or built-in utilities to download and run subsequent payloads.
This rule identifies patterns seen in recent NetSupport RAT, Latrodectus, and Lumma Stealer campaigns using this vector.
avatar
Aaron Mog@AaronMogS2S
avatar
Detections.ai Community
1 year ago
1150
This analytic detects outbound network connections initiated by command-line tools such as `curl` or `wget` as observed in Cisco Secure Firewall Threat Defense logs. It specifically looks for allowed connections where the `EVE_Process` or `ClientApplication` fields indicate the use of these utilities. While these tools have legitimate uses, adversaries frequently abuse them to download malicious payloads, retrieve additional tools, or establish staging infrastructure on compromised systems. Detection of this activity may indicate the download phase of an attack chain or the retrieval of command-and-control utilities.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
1038
Detects network connections to Cloudflare's trycloudflare.com domain by processes commonly abused by threat actors for payload delivery or command and control (C2), indicating potential misuse of Cloudflare Tunnels.
avatar
Matt Brady@mbrady5299
avatar
Detections.ai Community
1 year ago
2360
Detects suspicious script download attempts initiated by a Java process, indicative of potential JDWP exploitation leading to Remote Code Execution (RCE). Attackers often leverage exposed JDWP interfaces to execute commands like downloading and running malicious scripts.
avatar
Aaron Mog@AaronMogS2S
avatar
Detections.ai Community
1 year ago
1244
Detects suspicious command-line strings within the 'TypedPaths' registry key, specifically targeting entries associated with web browsers. This behavior is indicative of the "FileFix" technique, where users are tricked into pasting malicious commands into browser file upload dialogs. The rule looks for common command-line utilities like 'cmd', 'curl', 'powershell', 'bitsadmin', 'certutil', 'mshta', and 'regsvr32' within the 'url1' value of the 'TypedPaths' key, combined with the presence of a '#' character, which often signifies a comment or a separator in such malicious constructs.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
2030
KQL Query
avatar
Martin Baran@Martinbaran
avatar
Detections.ai Community
1 year ago
3181
Detects PowerShell creating executable files or script files. This rule specifically looks for PowerShell processes (powershell.exe, powershell_ise.exe, pwsh.exe) writing files with common executable or script extensions to disk, while filtering out common temporary file locations and PowerShell module paths to reduce false positives.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0021
KQL Query
avatar
Chaitanya B B@mralien
avatar
Detections.ai Community
1 year ago
8163
KQL Query from file: ClickFix_Registry_Related_Artefacts
avatar
Martin Baran@Martinbaran
avatar
Detections.ai Community
1 year ago
4572
KQL Query from file: Detect Microsoft Graph API Abuse
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
130173
KQL Query from file: Suspicious CLI Obfuscation
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
130168
KQL Query from file: Detecting External Microsoft Teams Spray
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
181165
KQL Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
110162
KQL Query from file: ClickFix social engineering attack detection
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
311159
KQL Query from file: High-Risk assets with command line credentials
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
90148
KQL Query
avatar
Dylan Evans@decksy
Dexter's Laboratory
1 year ago
3146
KQL Query from file: Threat Intelligence Data from Sentinel UEBA
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
71121
Page 131 of 155