Analytics Rules
detect-peoplesoft-process-spawning-unexpected-shell.kql
Oracle PeopleSoft server processes (psadmin, psappsrv, java) spawning cmd, bash, whoami, curl, or net — post-exploitation shape of a PeopleSoft RCE.
// Author: Ian D. Hanley (DevSecOpsDad) | linkedin.com/in/ianhanley | devsecopsdad.com | devsecopsdadattack.com
// Detects Oracle PeopleSoft server processes (psadmin, psappsrv, pswatchsrv, java) spawning an
// unexpected shell or reconnaissance binary — the post-exploitation shape of a webapp RCE.
// Honorable-mention detection built around the fact that a legitimate PeopleSoft process has no
// business launching cmd, bash, whoami, curl, or net.
// Source: KQL Detection of the Week: Detecting Cloud Logging Suppression (T1562.008) (2026-06-12) — https://devsecopsdadattack.com/2026-06-12-KQL-of-the-Week_-Detecting-Cloud-Logging-Suppression-T1562-008/
DeviceProcessEvents
| where Timestamp > ago(7d)
| where InitiatingProcessFileName in~ ("psadmin.exe", "psadmin", "java.exe", "java", "psappsrv.exe", "psappsrv", "pswatchsrv.exe", "pswatchsrv")
| where FileName in~ (
"cmd.exe", "powershell.exe", "pwsh.exe",
"sh", "bash", "dash", "zsh",
"python.exe", "python", "python3",
"perl.exe", "perl",
"wget", "curl", "curl.exe",
"whoami.exe", "whoami",
"id",
"net.exe", "net1.exe"
)
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine, FolderPath
| order by Timestamp desc