Detections

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

4,464 detections

The following analytic detects the execution of PowerShell commands used for domain enumeration, such as `get-netdomaintrust` and `get-adgroupmember`. It leverages PowerShell Script Block Logging (EventCode=4104) to capture and analyze the full command sent to PowerShell. This activity is significant as it often indicates reconnaissance efforts by an attacker to map out the domain structure and identify key users and groups. If confirmed malicious, this behavior could lead to further targeted attacks, privilege escalation, and unauthorized access to sensitive information within the domain.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
1052
The following analytic detects the execution of the `Get-DomainUser` or `Get-NetUser` PowerShell cmdlets with the `-SPN` parameter, indicating the use of PowerView for SPN discovery. It leverages PowerShell Script Block Logging (EventCode=4104) to identify these specific commands. This activity is significant as it suggests an attempt to enumerate domain accounts associated with Service Principal Names (SPNs), a common precursor to Kerberoasting attacks. If confirmed malicious, this could allow an attacker to identify and target accounts for credential theft, potentially leading to unauthorized access and privilege escalation within the network.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
0045
This rule detects the execution of the `Get-DomainUser` commandlet with the `-PreauthNotRequired` parameter using PowerShell Script Block Logging (EventCode=4104). This command is part of PowerView, a tool used for enumerating Windows Active Directory networks. Identifying domain accounts with Kerberos Pre-Authentication disabled is significant because adversaries can leverage this information to attempt offline password cracking (AS-REP Roasting). If confirmed malicious, this activity could lead to unauthorized access to domain accounts, potentially compromising sensitive information and escalating privileges within the network.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
2042
Detects PowerShell scripts leveraging the "Invoke-WebRequest" or "Invoke-RestMethod" cmdlets to send data using either the "PUT" or "POST" HTTP method. This behavior can indicate an attempt to exfiltrate data from the system.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0016
Detects the use of `reg.exe` or PowerShell to delete the Windows Defender context menu handler registry keys. This action removes the "Scan with Microsoft Defender" option from the right-click menu for files, directories, and drives. Attackers may use this technique to hinder manual, on-demand scans and reduce the visibility of the security product.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
1016
Detects suspicious execution of PowerShell's Invoke-WebRequest cmdlet (or its aliases like curl, iwr, wget) when the output is directed to a suspicious location. Adversaries often use this technique to download malicious tools or files into user-controlled directories like AppData, Desktop, Temp, or Public folders, or directly into the Windows directory, which are not typical locations for legitimate Invoke-WebRequest output.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
1014
Detects suspicious Windows Shortcut (LNK) files that exhibit characteristics of malicious activity, including execution of system binaries with suspicious arguments, in-argument script execution, or overlay content execution.
avatar
Matt Brady@mbrady5299
avatar
Detections.ai Community
1 year ago
3331
Catches outgoing network connections to external IPs from command-line tools spawned by browsers, indicating potential command-and-control communication in ClickFix attacks.
avatar
Jason Nelson@Jason
avatar
Detections.ai Community
1 year ago
62140
Detects potential DLL files being downloaded using the PowerShell Invoke-WebRequest or Invoke-RestMethod cmdlets. This activity is often associated with adversaries transferring malicious tools or components into a compromised environment.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
2013
Analytic detect abnormal pattern of command and scripting interpreter followed by USB mount
avatar
Zakkir Hussain@Zakkir
avatar
Detections.ai Community
1 year ago
163123
Catches PowerShell processes with both Base64 decoding and network download capabilities, indicating potential remote payload execution typical of advanced ClickFix attacks.
avatar
Jason Nelson@Jason
avatar
Detections.ai Community
1 year ago
13199
Detects suspicious commands written to the RunMRU registry key. This is a characteristic of the "ClickFix" social engineering technique, where a user is tricked into copying a malicious command and executing it via the Windows Run dialog (Win+R). This technique is notably used by Lumma Stealer affiliates.
avatar
Robert Fly@robertfly
avatar
Detections.ai Community
1 year ago
1059
Detects PowerShell commands used by Katz Stealer to download an image file containing a steganographically hidden payload, which is then decoded and executed in memory.
avatar
Aaron Mog@AaronMogS2S
avatar
Detections.ai Community
1 year ago
2341
Detects PowerShell being executed with the '-WindowStyle Hidden' flag from a Windows Scripting Host parent process (wscript.exe or cscript.exe). This is a common technique used by malware, such as Katz Stealer, to run malicious scripts stealthily after being dropped by JavaScript.
avatar
R W@shiftyroot
avatar
Detections.ai Community
1 year ago
1135
Detects techniques used by the Dropping Elephant APT group to stage and execute a DLL side-loading attack using VLC Media Player. This includes the execution of VLC from suspicious paths, the use of PowerShell to download and rename payloads into those paths, and the specific scheduled task used for persistence.
avatar
Aaron Mog@AaronMogS2S
avatar
Detections.ai Community
1 year ago
0220
This rule detects exploitation attempts against SharePoint servers, specifically targeting CVE-2025-53770 (ToolShell). It has two parts: one for suspicious process creation (cmd.exe spawning powershell.exe from w3wp.exe) and another for malicious web request patterns in IIS logs (POST requests to /_layouts/15/ToolPane.aspx with specific query parameters and referrer).
avatar
Eric Gonzalez@itsmemario
avatar
Detections.ai Community
1 year ago
3245
This rule detects the execution of PowerShell with suspicious command-line arguments (such as base64 encoded strings, Invoke-Expression, or encoded commands) when the parent process is a web browser. This behavior is often indicative of drive-by downloads, malicious advertisements, or exploitation of browser vulnerabilities leading to the execution of malicious PowerShell scripts.
avatar
Jason Nelson@Jason
avatar
Detections.ai Community
1 year ago
315151
Detects suspicious PowerShell execution via cmd.exe spawned by w3wp.exe (IIS worker process),
using encoded payloads that decode to indicators like 'spinstall0', '.aspx', or SharePoint layouts paths.
This technique has been observed in post-exploitation of SharePoint CVEs (CVE-2025-53770).
avatar
Sotiris Mavrakis@smavrakis
avatar
Detections.ai Community
1 year ago
0136
This rule detects PowerShell command lines that contain non-English (Unicode) characters, excluding the en-dash character. This behavior is often indicative of obfuscation techniques used by adversaries to evade detection, as legitimate PowerShell commands typically do not contain such characters in their command line arguments.
avatar
Ethan Anderson@ethan
avatar
Detections.ai Community
1 year ago
2341
Detects PowerShell activity associated with the Kimsuky threat actor, where system information is collected and exfiltrated to a private GitHub repository, or where other IOCs related to this campaign are observed. This technique was observed in a campaign distributing the XenoRAT malware.
avatar
Chaitanya B B@mralien
avatar
Detections.ai Community
1 year ago
2572
This rule detects suspicious PowerShell script execution that attempts to identify installed anti-virus products using WMI or PowerShell commands. It specifically looks for PowerShell Script Block Logging (EventCode 4104) entries containing keywords like "SELECT," "WMIC," "AntiVirusProduct," or "AntiSpywareProduct." This activity is often performed by malware and APT actors to map security applications for evasion purposes, potentially leading to the disabling or bypassing of security measures.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
0033
Page 167 of 213