Detections

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

4,009 detections

Detects Python command lines that exhibit patterns indicative of Kramer obfuscation, specifically looking for the presence of 'import', 'base64', 'ctypes', and 'eval' keywords. This combination suggests an attempt to obfuscate malicious code within a Python script, often used for dynamic loading and execution of payloads.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
5 months ago
005
Detects Microsoft Teams spawning child processes (cmd, powershell, wscript, mshta, rundll32, regsvr32, certutil) after receiving external communications, a technique used by MuddyWater for initial access and execution.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
5 months ago
005
Detects PowerShell using the Add-Type cmdlet to dynamically compile C# code referencing keylogging (SetWindowsHookEx) or screen capture (CopyFromScreen) APIs. This behavior is indicative of PS1Bot in-memory module execution.
avatar
Daniel Jeremiah@daniyyell
avatar
Detections.ai Community
5 months ago
2012
Detects the specific process chain: wscript.exe -> powershell.exe -> MSBuild.exe, which is characteristic of the SHADOW#REACTOR malware campaign. This chain indicates the use of scripting interpreters (Wscript and PowerShell) to launch MSBuild for malicious purposes, often involving in-memory execution or compilation of malicious code.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
4 months ago
001
Shebangs (#!) are native to Unix-like operating systems (macOS and Linux). Standard Windows consoles (Command Prompt and PowerShell) do not natively use them. However, they do work on Windows when using tools such as the Python Launcher, Git Bash, Cygwin, or Unix-like environments such as WSL. In simple terms, a Shebang tells the operating system which interpreter should execute a script. For example: #!/usr/bin/python3

For this query, I would recommend performing some threat hunting first and creating a whitelist for known false positives or trusted devices (for example, devices managed by developers). Once the detection is properly tuned, it can be a good way to monitor the download or import of Shebang files on suspicious directories, making it a strong candidate for a threat detection rule.
avatar
Sergio Albea@Sergio_Albea
avatar
01 | 🇨🇭 Swiss Cyber Hunters
5 months ago
6028
This rule detects suspicious process creation events where common scripting or command-line interpreters (powershell.exe, cmd.exe, cscript.exe, wscript.exe, regsvcs.exe) are spawned by Microsoft Office applications (winword.exe, excel.exe, powerpnt.exe, outlook.exe). This behavior is often indicative of malicious activity, such as macro-enabled malware attempting to execute payloads.
avatar
Ankit Mehta@Secvyn
Bharat Cyber Guardians
5 months ago
005
This rule detects instances where common command and scripting interpreters (powershell.exe, cmd.exe, cscript.exe) are launched by unusual parent processes. The rule specifically looks for these interpreters being spawned by processes other than explorer.exe, notepad.exe, mspaint.exe, or svchost.exe, and triggers if this occurs at least twice within an hour on the same computer by the same user.
avatar
Ankit Mehta@Secvyn
avatar
Detections.ai Community
5 months ago
105
This rule detects modifications to Windows Registry Run keys (Run, RunOnce, RunOnceEx, Policies\Run) where the new value contains common scripting interpreters like PowerShell, cmd, cscript, or wscript, and the path is not within the System32 directory. This behavior is indicative of an adversary attempting to establish persistence by ensuring their malicious script or command executes upon user login.
avatar
Ankit Mehta@Secvyn
avatar
Detections.ai Community
5 months ago
005
Detects suspicious command-line executions indicative of potential malicious activity, including the use of certutil for encoding/decoding, bitsadmin for transfers, and various PowerShell command invocations. This rule monitors process creation events (EventID 4688) for specific command-line patterns that are often abused by adversaries for tasks such as file transfer, execution, or obfuscation.
avatar
Ankit Mehta@Secvyn
Bharat Cyber Guardians
5 months ago
005
This rule detects command-line executions that involve downloading content from the internet and immediately executing it. It specifically looks for `SecurityEvent` with `EventID 4688` (process creation) where the `CommandLine` contains keywords associated with web client operations (`IEX(New-Object Net.WebClient)`, `DownloadString`, `DownloadFile`, `Invoke-WebRequest`, `curl.exe`) and also contains terms indicating a download and execute intent (`http`, `payload`, `execute`). This pattern is commonly used by adversaries for initial access, execution, and persistence.
avatar
Ankit Mehta@Secvyn
avatar
Detections.ai Community
5 months ago
005
This rule detects the execution of ScreenConnect client services or MSI installers when initiated by common scripting or installer processes such as wscript.exe, cscript.exe, powershell.exe, or msiexec.exe. This behavior can indicate the abuse of legitimate remote monitoring and management (RMM) tools for malicious purposes, such as initial access, persistence, or remote control by adversaries.
avatar
Ankit Mehta@Secvyn
Bharat Cyber Guardians
5 months ago
006
This rule detects attempts by PowerShell to modify the Windows Registry to re-enable Windows Script Host. This behavior has been observed with AsyncRAT, which may attempt to repair the script environment if it was disabled by defenders.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
4 months ago
003
Detects the execution of the 'wmi_remote_escalate.py' script, which is associated with the MuddyWater APT group for lateral movement and privilege escalation using Windows Management Instrumentation (WMI).
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
5 months ago
104
Detects malicious script injection into HTTP responses via MitM
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
005
Detects when scripting language interpreters (Node, Python, Bun, NPM) create or modify files within the '/etc/cron.d/' directory. This activity is suspicious as it may indicate a compromised package or malicious actor attempting to establish system-wide persistence via scheduled tasks.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
5 months ago
004
Detects non-standard scripts altering the authorized_keys file to inject attacker SSH public keys, providing persistent backdoor access to the compromised machine. Specifically looks for modifications or creations of 'authorized_keys' files by 'node', 'python', or 'bun' processes.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
5 months ago
004
Detects Node.js executing scripts matching a random temporary pattern (e.g., /tmp/pXXXXX.js). This pattern is generated by post-install scripts of malicious NPM packages, indicating potential supply chain compromise or malicious script execution.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
5 months ago
004
Detects Explorer.exe spawning PowerShell to fetch a polymorphic server-side payload where the URL contains randomized alphanumeric parameters preventing static caching.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
4 months ago
001
Identifies PowerShell commands that generate a unique victim ID by hashing the concatenated ComputerName and UserName, a technique used by the InstallFix malware.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
4 months ago
001
This rule detects instances where 'Invoke-WebRequest' (or its aliases 'IEX', 'IWR') is executed by 'powershell.exe' directly from 'explorer.exe'. This pattern is often indicative of a user launching a malicious PowerShell command from the Run dialog, clipboard, or a shortcut, rather than within a legitimate script context. This specific detection is linked to the ClickFix campaign, which uses information stealers.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
4 months ago
001
Detects PowerShell downloading payloads from cdn.jsdelivr.net, which has been associated with malware like ClearFake.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
5 months ago
004
Page 128 of 191