Detections

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

1,052 detections

The following analytic detects PHP command-line interpreters executing code supplied directly on the command line with the CLI -r / --run options, or code supplied to PHPDBG through standard input.
It covers common CLI executable names on Linux and Windows, including php.exe, php-win.exe, the legacy php-cli.exe name, versioned Linux php binaries, phpdbg, and FrankenPHP's php-cli subcommand.
PHP-CGI and PHP-FPM are excluded because they do not support the PHP CLI inline -r option.
This behavior can be used legitimately for administration and automation, but unexpected or obfuscated inline PHP execution may indicate an attacker using an installed interpreter to run commands without dropping a script file.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
2 days ago
32193
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
avatar
Aamir Muhammad@Aamir
avatar
Detections.ai Community
9 days ago
4335618
Detects and correlates installed PHP software packages and active PHP process execution across endpoints using device inventory, configuration data, and system logs to provide exposure visibility for PHP environments.
avatar
Nathan Corrigan@LemonKQL
avatar
Detections.ai Community
9 days ago
2512383
Correlates PHP memory exhaustion or heap corruption error messages with subsequent Apache worker crashes (segfaults, aborts, bus errors) on the same host within a 5-minute window to detect potential exploitation attempts.
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
5 days ago
18035
Detects a PHP-FPM child process crashing with signal 11 (SIGSEGV) as logged by the FPM master, which may indicate exploitation attempts following an arm-shaped request. Correlate with the arm fatal error by timestamp and source. Note - the logsource product linux / service php-fpm is not defined by SigmaHQ. Map it with a processing pipeline to the PHP-FPM master log (for example /var/log/php8.x-fpm.log on Debian/Ubuntu, /var/log/php-fpm/error.log on RHEL-family, container stderr for official php-fpm images, or the php-fpm systemd journal unit).
avatar
Brandon Levene@blove
avatar
Detections.ai Community
9 days ago
12069
Detects repeated PHP memory exhaustion (OOM) errors combined with segmentation faults or session warnings within a short timeframe, which may indicate application instability, resource exhaustion attacks, or exploitation attempts.
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
5 days ago
8017
Detects a sequence where an Apache HTTP server spawns a shell (sh, bash, dash) followed within a 6-hour window by network connections to internal ports (LDAP, SMB, Kerberos) from the same device, indicative of web shell activity and potential internal reconnaissance or relay attempts.
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
5 days ago
6015
Detects instances where web server processes or PHP interpreters (apache2, httpd, php-fpm, php) spawn a shell process (sh, bash, dash). This behavior is often indicative of post-exploitation activity such as remote code execution (RCE) via PHP session upload progress or web shell activity.
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
9 days ago
18029
Detects the execution of tooling routed through a reverse SOCKS5 pivot via wrappers such as via_socks.sh, proxychains4 with a SOCKS5 configuration, or LD_PRELOAD injection of libproxychains.so.
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
4 days ago
107
Detects PHP memory exhaustion errors ('Allowed memory size exhausted') logged via syslog, which may indicate resource exhaustion, denial of service attempts, or exploitation attempts against PHP-based web applications.
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
6 days ago
5013
Detects a sequence where a Codex agent process executes a shell or command interpreter, followed by logging or monitoring tampering activity on the same device within a 30-minute window.
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
2 days ago
204
Detects web server processes (such as apache2, httpd, nginx, php-fpm) spawning a shell or curl process that performs LDAP queries using curl against URLs. This activity is indicative of Remote Code Execution (RCE) vulnerabilities being exploited against web applications to perform internal reconnaissance or LDAP enumeration.
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
5 days ago
307
Detects indicators of compromise including Bash-based reverse shells communicating with a C2 domain on port 7070, outbound network connections from web server and shell processes to the same C2 infrastructure, and the dropping of known suspicious plugin archive files (akismetv4-plugin.zip, Hlx.zip, template.zip).
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
2 days ago
403
Detects behavioral indicators of shell-driven cryptocurrency miner staging where a hidden .trace file or binary is created, executed, or referenced via command-line arguments within go2rtc or shared memory directories (/config/, /opt/go2rtc/, /etc/go2rtc/, /.config/go2rtc/, /dev/shm/), alongside indicators of mining pools or software such as XMRig.
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
5 days ago
004
Detects web server processes (Apache httpd, apache2, php-cgi, php-fpm) spawning a Unix shell (sh, bash, dash) that executes a wget or curl command piped directly into the shell for execution, indicative of potential remote code execution or web shell activity.
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
2 days ago
002
Detects operator synchronization scripts (sync-all.sh, sync-memory.sh, sync-cc-users.sh) spawning SSH, rsync, or scp commands targeting AI-named jump-server accounts (claude, grok, gemini, glm).
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
5 days ago
003
Detects web or FTP server parent processes (such as apache2, httpd, nginx, php-fpm, or proftpd) spawning shell or utility processes (such as bash, sh, python, nc, curl, wget), which is consistent with webshell execution or post-exploitation activities.
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
5 days ago
103
Detects modifications to the Tor configuration file (torrc) that permit SSH traffic (port 22) in the exit policy, followed by a Tor service reload or restart on the same device within a 4-hour window. This behavior may indicate an adversary setting up an onion routing proxy or covert tunnel.
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
8 days ago
608
Detects the modification or setting of the execInstalledOnly parameter to false, 0, or disabled on VMware ESXi or Linux hosts via process execution command lines or syslog messages, often associated with running uninstalled or arbitrary scripts/binaries in virtualized environments.
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
7 days ago
305
Detects the SITE CPFR and SITE CPTO command sequence in ProFTPD logs, which is characteristic of exploiting the mod_copy vulnerability (CVE-2015-3306) to copy files without authentication.
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
5 days ago
102
Detects script files (PHP, JSP, etc.) created or renamed within web root directories by the ProFTPD process, indicating potential exploitation of the mod_copy module (CVE-2015-3306) to upload web shells.
avatar
ills3c Intel&Coffee@Ills3C
avatar
Detections.ai Community
5 days ago
002
Page 1 of 51