This detection identifies adversaries deploying a malicious web shell named Sst-Sheller.php to establish persistent access and execute commands on compromised web servers. Proactively hunting for this artifact in Azure Sentinel is critical because web shells often serve as an initial foothold for attackers, enabling lateral movement and data exfiltration that may bypass standard perimeter defenses.
rule webshell_Sst_Sheller {
meta:
description = "Web Shell - file Sst-Sheller.php"
license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"
author = "Florian Roth (Nextron Systems)"
date = "2014/01/28"
score = 70
hash = "d93c62a0a042252f7531d8632511ca56"
id = "393e738a-b4c2-5630-a55f-c3caee4ff75e"
strings:
$s2 = "echo \"<a href='?page=filemanager&id=fm&fchmod=$dir$file'>"
$s3 = "<? unlink($filename); unlink($filename1); unlink($filename2); unlink($filename3)"
condition:
all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 2 string patterns in its detection logic.
Scenario: Automated Backup Script Deployment
The enterprise backup solution (e.g., Veeam or Acronis Cyber Protect) deploys a temporary PHP utility named Sst-Sheller.php to the web root during nightly maintenance windows to verify disk space and initiate archive transfers. This file is created by the service account, not an external attacker.
vss_service) or restrict detection to business hours only if backups run exclusively after 20:00 UTC.Scenario: CI/CD Pipeline Artifact Staging
The DevOps team utilizes Jenkins or GitLab CI pipelines to stage a temporary testing shell (Sst-Sheller.php) in the public_html directory during the “Integration Testing” phase of a release pipeline. This file is automatically generated and deleted immediately after the test suite completes.
10.50.20.0/24) or exclude events where the file age is less than 30 minutes, assuming rapid cleanup by the pipeline.Scenario: Third-Party Analytics Agent Installation
A legitimate third-party analytics vendor (e.g., New Relic or Datadog) installs a lightweight PHP agent named Sst-Sheller.php to monitor server-side web performance and collect custom metrics during a scheduled quarterly update cycle.
Scenario: Admin Manual Troubleshooting Session
A senior system administrator manually uploads Sst-Sheller.php to a staging environment via