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 linkedT1071.001 — drag to rearrange
Suspicious PowerShell WebClient UploadString Network Beacon
Suspicious PowerShell Web Request to oastify Out-of-Band Domain
Suspicious PowerShell Spawned by Web Browser
Suspicious PowerShell Interaction with ProgramData SysInt Log via Process Creation
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
Malicious Data Exfiltration via curl with Stealer Specific BuildID Header
Malicious Powerfun Reverse Shell Script via Script Block (via ps_script)
Pivot detection · T1071.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.