ThreatBeaconXThreatBeaconXSubscribe
splunkWindowsv1.0

PowerShell Activity Detection Using Windows Security Logs

Detects and investigates suspicious PowerShell activity in Windows Security Logs by identifying PowerShell-related process creation and script execution events. The query displays the timestamp, user, process, parent process, and command-line details for further investigation.

By Bhanu Prakash Battula · Updated Sep 2, 2026 · 7 views
powershell-activity-detection-using-windows-security-logs.spl
index=windows (event_id=4688 OR event_id=4104)|
search (process_name="*powershell*" OR cmd_line="*powershell*")|
table _time,user_name,process_name,parent_process,cmd_line|
sort _time