Detections

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

184 detections

Detects the use of a PowerShell download cradle, a technique observed in the PhantomCaptcha campaign to download and execute a next-stage payload. This pattern often involves stealthy flags to evade detection.
avatar
Aaron Mog@amog
avatar
Detections.ai Community
1 year ago
20119
ET ATTACK_RESPONSE PowerShell String Base64 Encoded Invoke-RestMethod (dm9rZS1SZXN0TWV0) in DNS TXT Reponse
avatar
Tim Peck@timpeck
avatar
Proofpoint Emerging Threats Rules
1 year ago
0022
ET ATTACK_RESPONSE PowerShell String Base64 Encoded Invoke-RestMethod (Zva2UtUmVzdE1ld) in DNS TXT Reponse
avatar
Tim Peck@timpeck
avatar
Proofpoint Emerging Threats Rules
1 year ago
0021
ET ATTACK_RESPONSE PowerShell String Base64 Encoded Invoke-RestMethod (2b2tlLVJlc3RNZX) in DNS TXT Reponse
avatar
Tim Peck@timpeck
avatar
Proofpoint Emerging Threats Rules
1 year ago
0020
This rule detects an unauthenticated command injection vulnerability (CVE-2025-25256) in Fortinet FortiSIEM's phMonitor component. The detection is based on specific byte sequences and a PCRE regex matching command injection characters within the 'archive_nfs_archive_dir' parameter in TCP traffic to port 7900.
avatar
Tim Peck@timpeck
avatar
Proofpoint Emerging Threats Rules
1 year ago
0027
Detects the use of certutil.exe for encoding or decoding temporary or cabinet files, a technique used by Kimsuky to obfuscate and stage data for exfiltration.
avatar
Tim Peck@timpeck
avatar
Detections.ai Community
1 year ago
2091
Detects process creation with suspicious whitespace padding followed by a '#' character, which may indicate ClickFix or FileFix techniques used to conceal malicious commands from visual inspection. ClickFix and FileFix are social engineering attack techniques where adversaries distribute phishing documents or malicious links that deceive users into opening the Windows Run dialog box or File Explorer search bar. The victims are then instructed to paste commands from their clipboard, which contain extensive whitespace padding using various Unicode space characters to push the actual malicious command far to the right, effectively hiding it from immediate view.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
6094
Detects the occurrence of numerous space characters in RunMRU registry paths, which may indicate execution via phishing lures using clickfix techniques to hide malicious commands in the Windows Run dialog box from naked eyes.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
2073
Detects the occurrence of numerous space characters in TypedPaths registry paths, which may indicate execution via phishing lures using file-fix techniques to hide malicious commands. This technique is often used to bypass security controls that might inspect the command line for malicious strings.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
1053
Detection based on: https://malwaretech.com/2025/10/exif-smuggling.html

This rule detects suspicious PowerShell execution patterns that might indicate an 'Exif smuggling FileFix Technique' or similar obfuscated command execution. It specifically looks for 'conhost.exe' launching PowerShell ('powershell.exe', 'pwsh.exe', 'pwsh.dll') with an encoded command ('-e' or '-EncodedCommand'), containing more than 5 spaces, and including a UNC path. This combination of indicators suggests an attempt to execute obfuscated PowerShell code, potentially from a remote source.
avatar
Benjamin Zulliger@benscha
avatar
Detections.ai Community
1 year ago
150425
Detects token obfuscation techniques commonly used by Invoke-Obfuscation within PowerShell scripts. This rule is designed to identify highly obfuscated PowerShell code that attempts to evade detection by manipulating string formatting, environment variables, and character escaping. It can be used as a threat-hunting baseline to find suspicious scripts in an environment.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
1034
Detects the invocation of PowerShell commands that reference classes from the "System.Security.Cryptography" namespace. This namespace provides classes for on-the-fly encryption and decryption, which can be abused by adversaries for defense evasion, such as decrypting malicious payloads.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
2025
The following analytic identifies suspicious PowerShell execution using Script Block Logging (EventCode 4104). It leverages specific patterns and keywords within the ScriptBlockText field to detect potentially malicious activities. This detection is significant for SOC analysts as PowerShell is commonly used by attackers for various malicious purposes, including code execution, privilege escalation, and persistence. If confirmed malicious, this activity could allow attackers to execute arbitrary commands, exfiltrate data, or maintain long-term access to the compromised system, posing a severe threat to the organization's security.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
40153
Detects the setting of a registry value within the `\Shell\Open\Command` key using PowerShell classes from the `System.Security.Cryptography` namespace. This technique can be used by adversaries for defense evasion, for example, to decrypt malicious payloads on the fly.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0019
This rule detects the use of 'Set-Alias' or 'New-Alias' cmdlets in PowerShell script block logs. Adversaries often use these cmdlets to create aliases for legitimate or malicious commands, thereby obfuscating their activities and making detection more difficult. The rule includes a filter for common, legitimate CIM session-related aliases to reduce false positives.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0013
Detects PowerShell execution patterns consistent with the 'FileFix' social engineering technique. This technique tricks users into pasting and running a malicious command, often from the Run dialog or File Explorer address bar, which results in explorer.exe being the parent process. The command typically involves downloading and executing a remote script.
avatar
Kevin Wan@Kevinwcs
avatar
Detections.ai Community
1 year ago
92201
Detects the execution of an encoded PowerShell command where the parent process is w3wp.exe. This behavior is often indicative of an attacker leveraging a compromised web server (IIS) to execute malicious PowerShell scripts, potentially for further reconnaissance, privilege escalation, or payload delivery. The rule includes exclusions for known legitimate PowerShell scripts to reduce false positives.
avatar
Google SecOps@GoogleSecOps
avatar
Google SecOps Detection Rules
1 year ago
1088
Detects PowerShell commands using encoded command-line arguments to execute 'net user', 'net group', or 'net share' commands. This technique is often used by adversaries to obfuscate their actions and evade detection.
avatar
Barsha Sketh@Barshasketh
avatar
Detections.ai Community
1 year ago
40130
The following analytic detects the use of the EncodedCommand parameter in PowerShell processes. It leverages Endpoint Detection and Response (EDR) data to identify variations of the EncodedCommand parameter, including shortened forms and different command switch types. This activity is significant because adversaries often use encoded commands to obfuscate malicious scripts, making detection harder. If confirmed malicious, this behavior could allow attackers to execute hidden code, potentially leading to unauthorized access, privilege escalation, or persistent threats within the environment. Review parallel events to determine legitimacy and tune based on known administrative scripts.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
0047
Detects command line obfuscation using carets (^) in Windows interpreters like cmd.exe and PowerShell.
avatar
Jamari Donovan@JDtheHiddenOne
avatar
Detections.ai Community
1 year ago
1135
Detects PowerShell obfuscation techniques in process command lines, including encoded commands, IEX with string manipulation, and long command lines with string functions, indicating potential malicious activity. The rule specifically looks for the use of '-encodedcommand' or its short forms with long command lines, 'iex' or 'invoke-expression' combined with string manipulation (like '+', '-join', '[char]', 'frombase64string') or very long command lines, and unusually long command lines that also contain string manipulation functions ('-join', 'replace', 'split').
avatar
R W@shiftyroot
avatar
Detections.ai Community
1 year ago
5486
Page 6 of 9