Malicious Powerfun Reverse Shell Script via Script Block (via ps_script)

PremiumReviewedSigma · High · v1
Product
windows
Category
ps_script
Author
HuntRule
Published
2026-08-02
Updated
2026-08-28

ATT&CK techniques

Execution → C2
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. Exfiltration

  12. Impact

What it detects

This rule detects execution of the powerfun PowerShell reverse shell, the interactive backdoor deployed over port 443 after FortiClientEMS exploitation as documented by Red Canary. Powerfun is a publicly available offensive script with no legitimate use, so any script block referencing it indicates hands-on-keyboard remote access.

Related detections9 linkedT1059.001 — drag to rearrange
Suspicious PowerShell Invoke-WebRequest Piped to Invoke-Expression via FakeBat Loader
Suspicious PowerShell COM-Based Script Execution and HTTP Retrieval (via ps_script)
Suspicious PowerShell Stager Download of Spf Script by Seedworm
Windows curl.exe SOCKS Proxy and .onion Command-Line Execution
Suspicious Scheduled Task Running PowerShell Every Minute (via process_creation)
Malicious Script Host Spawning PowerShell With Invoke-Expression (via process_creation)
Possible Remcos C2 Connection from eilowutil Process
Hidden PowerShell Archive Extraction via ExtractToDirectory
CastleLoader ClickFix PowerShell Hex Decode and Re-Execution
Malicious Powerfun Reverse Shell Script via Script Block (via ps_script)
Pivot detection · T1059.001 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.