Detections
Explore public detection logic contributed by the community across SIEM and rule languages.
7,529 detections
Filters
Last updated
All Time
Detection languages
3,529
1,096
543
483
482
Contributors
1,824
1,653
874
505
300
Categories
3,156
2,639
1,105
1,092
963
Platforms
40,524
7,529
6,602
3,978
3,726
Products / Services
1,351
1,201
1,018
662
522
MITRE Techniques
2,342
1,366
1,337
963
921
CVEs
66
65
33
32
28
IDS Classtypes
81
80
56
27
10
IDS Protocols
149
98
6
5
4
Detects processes running from user-writable directories (such as /home/, /tmp/, /dev/shm/, /var/tmp/, or /root/) that attach a BPF filter to a raw or packet socket, potentially indicating custom packet capture or network sniffing tools deployed by an adversary.
This analytic detects multipart POST requests containing the "PHP_SESSION_UPLOAD_PROGRESS" form field and a serialized PHP structure in an uploaded filename.
This combination may indicate an attempt to exploit PHP session upload-progress handling and can be associated with PHP2Shell activity.
This combination may indicate an attempt to exploit PHP session upload-progress handling and can be associated with PHP2Shell activity.
Detects the execution of cloud command-line tools (such as tccli, aws, aliyun) on devices that have previously run a Cairn worker container or dispatcher, helping to identify potential cloud reconnaissance or management activity from compromised or containerized hosts.
Detects Node-RED processes spawning Unix shells to execute base64-decoded commands or downloading and executing hidden payloads via /dev/shm.
Detects the execution of shell interpreters (such as cmd, powershell, bash, osascript) as child processes of the Obsidian note-taking application. This behavior was observed in the REF6598 campaign where threat actors abused the "Shell Commands" community plugin to deliver the PHANTOMPULSE RAT. It also detects specific command-line indicators associated with the campaign.
Detects Linux file and process activity associated with Mirai botnet variants, specifically the creation of the hidden shared-memory file /dev/shm/.comm or processes that interact with hardware watchdog devices (/dev/watchdog, /dev/misc/watchdog) outside of known legitimate watchdog daemons.
Detects a potential command injection attack where a non-root hosting user utilizes curl or wget to relay requests containing shell metacharacters to the root CWP user API endpoint on loopback port 2302 (/v1/restoredatabase/), followed by a root-side MySQL child process spawned with the injected commands.
Detects suspicious process activity associated with PolyFlame malware on Linux endpoints, specifically monitoring for vdaemon spawning shell or command interpreter processes, or vdaemon child processes following rsshd/conf_sshd/aaamgrd loader activity.
Detects command line patterns associated with the use of Pnscan for sending and receiving binary data across the network.
This behavior has been identified in a Linux malware campaign targeting Docker, Apache Hadoop, Redis, and Confluence and was previously used by the threat actor known as TeamTNT
This behavior has been identified in a Linux malware campaign targeting Docker, Apache Hadoop, Redis, and Confluence and was previously used by the threat actor known as TeamTNT
Detects instances of BTCPay Server running version 2.4.1 or earlier, which contain known vulnerabilities patched in version 2.4.2.
Detects situations where a web server process (such as PHP, Apache, Nginx) creates or modifies a user's .bashrc profile file, or executes a shell command to write to .bashrc, indicating potential web shell persistence activity.
Detects enumeration of local system accounts. This information can help adversaries determine which local accounts exist on a system to aid in follow-on behavior.
Detects persistence mechanisms associated with the trojanized anthropic.claude-code loader, including macOS LaunchAgent creation (com.apple.sysmond), Linux cron @reboot persistence using hidden config files (.smt), Windows scheduled tasks (SysMon SYSTEM task), and SSH authorized keys manipulation.
Detects the use of touch, chmod, or chown commands targeting paths containing 'etc/sv/' where reference-based timestamp or permission copying is performed, typically associated with timestomping or privilege/permission manipulation.
Detects potential remote code execution, web shell activity, and post-exploitation behaviors originating from PHP worker processes on internet-facing hosts, referencing patterns associated with php2shell vulnerabilities. PHP-UP-2026
Detects inbound exploitation sources and outbound callback destinations associated with PHP2Shell infrastructure (CVE-2026-109618), correlating both directions per device while filtering out standard browser traffic.
With a reported CVSS score of 9.2 and security updates scheduled for today, October 21, these vulnerabilities deserve attention, especially if you're still running legacy PHP versions.
𝗪𝗵𝗶𝗹𝗲 𝘄𝗮𝗶𝘁𝗶𝗻𝗴 𝗳𝗼𝗿 𝘁𝗵𝗲 𝗼𝗳𝗳𝗶𝗰𝗶𝗮𝗹 𝗽𝗮𝘁𝗰𝗵𝗲𝘀 𝗮𝗻𝗱 𝘁𝗲𝗰𝗵𝗻𝗶𝗰𝗮𝗹 𝗱𝗲𝘁𝗮𝗶𝗹𝘀, 𝘂𝗽𝗱𝗮𝘁𝗲 𝗮𝗹𝗹 𝗣𝗛𝗣 𝗩𝗲𝗿𝘀𝗶𝗼𝗻𝘀 𝘁𝗼 𝗮𝘁 𝗹𝗲𝗮𝘀𝘁 𝟴.𝟮 𝘁𝗼 𝗯𝗲 𝗮𝗯𝗹𝗲 𝘁𝗼 𝗵𝗮𝘃𝗲 𝘁𝗵𝗲 𝘀𝗲𝗰𝘂𝗿𝗶𝘁𝘆 𝘂𝗽𝗱𝗮𝘁𝗲𝘀. I decided to spend some time exploring what we can already hunt for using Microsoft Defender XDR and KQL. I've put together a short technical article covering six hunting scenarios:
- PHP installations and outdated versions
- Suspicious child processes and command execution
- Reconnaissance activity
- Unexpected PHP file creation
- Unusual outbound network connections
- New process relationships compared to historical activity
These are not PHP2Shell-specific detections, but they can help identify suspicious activity on PHP servers without relying on published IoCs.
Sharing the queries in case they're useful for your own investigations.
𝗪𝗵𝗶𝗹𝗲 𝘄𝗮𝗶𝘁𝗶𝗻𝗴 𝗳𝗼𝗿 𝘁𝗵𝗲 𝗼𝗳𝗳𝗶𝗰𝗶𝗮𝗹 𝗽𝗮𝘁𝗰𝗵𝗲𝘀 𝗮𝗻𝗱 𝘁𝗲𝗰𝗵𝗻𝗶𝗰𝗮𝗹 𝗱𝗲𝘁𝗮𝗶𝗹𝘀, 𝘂𝗽𝗱𝗮𝘁𝗲 𝗮𝗹𝗹 𝗣𝗛𝗣 𝗩𝗲𝗿𝘀𝗶𝗼𝗻𝘀 𝘁𝗼 𝗮𝘁 𝗹𝗲𝗮𝘀𝘁 𝟴.𝟮 𝘁𝗼 𝗯𝗲 𝗮𝗯𝗹𝗲 𝘁𝗼 𝗵𝗮𝘃𝗲 𝘁𝗵𝗲 𝘀𝗲𝗰𝘂𝗿𝗶𝘁𝘆 𝘂𝗽𝗱𝗮𝘁𝗲𝘀. I decided to spend some time exploring what we can already hunt for using Microsoft Defender XDR and KQL. I've put together a short technical article covering six hunting scenarios:
- PHP installations and outdated versions
- Suspicious child processes and command execution
- Reconnaissance activity
- Unexpected PHP file creation
- Unusual outbound network connections
- New process relationships compared to historical activity
These are not PHP2Shell-specific detections, but they can help identify suspicious activity on PHP servers without relying on published IoCs.
Sharing the queries in case they're useful for your own investigations.
This analytic detects Suricata multipart POST events with an uploaded filename containing a PHP opening tag.
Suricata EVE HTTP events do not expose multipart form field names, so this variant cannot confirm the PHPSESSID or PHP_SESSION_UPLOAD_PROGRESS fields without additional request-body inspection. The filename pattern may indicate an attempt to place executable PHP content into session-related data as part of PHP2Shell exploitation.
Suricata EVE HTTP events do not expose multipart form field names, so this variant cannot confirm the PHPSESSID or PHP_SESSION_UPLOAD_PROGRESS fields without additional request-body inspection. The filename pattern may indicate an attempt to place executable PHP content into session-related data as part of PHP2Shell exploitation.
Detects outbound network connections from web server processes to steamcommunity.com, which is used by this malware to fetch steganographically encoded C2 payloads from profile comments.
Identifies devices that have communicated with domains present in the OpenPhish public phishing feed by comparing domains observed in DeviceNetworkEvents.RemoteUrl against domains extracted from the current OpenPhish feed.
Detects potential web server remote code execution through suspicious child processes launched by PHP, FastCGI, Apache, and IIS workers. Identifies reverse shells, encoded commands, payload retrieval, reconnaissance, and temporary PHP execution.
Page 14 of 359