Suspicious PHP File Written to FreePBX Custom Firmware Directory (via file_event)

PremiumReviewedSigma · High · v1
Product
linux
Category
file_event
Author
HuntRule
Published
2026-09-27
Updated
2026-09-27

ATT&CK techniques

Persistence
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects creation of a PHP file inside the FreePBX tftpboot custom firmware directory. The CVE-2025-57819 file upload flaw drops PHP webshells to this path which normally holds only firmware binaries. A PHP file in this location indicates webshell deployment.

Related detections9 linkedT1505.003 — drag to rearrange
SonicWall SMA CGI Webshell Access via wafxSummary Endpoint (via webserver)
SharePoint ToolShell Web Shell Access via spinstall or ghostfile ASPX (via webserver)
Suspicious Access to Houken Webshells Planted on Ivanti CSA (via webserver)
Webshell Usage with ManageEngine Product
Suspicious XE Group Webshell Authentication via XeThanh User-Agent Token (via webserver)
SharePoint IIS Worker Process Spawning PowerShell With Encoded Command (via process_creation)
Suspicious Node.js Fileless Webshell Magic Path Request via Webserver
Malicious JSP Webshell Written to Ivanti EPMM MIFS Webapps Directory
Malicious SharePoint spinstall0 Webshell Dropped in LAYOUTS Directory (CVE-2025-53770)
Suspicious PHP File Written to FreePBX Custom Firmware Directory (via file_event)
Pivot detection · T1505.003 · 9 related

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