This detection identifies adversary activity involving the deployment of a PHP Shin webshell to establish persistent access and execute commands on compromised web servers. A SOC team should proactively hunt for this behavior in Azure Sentinel because webshells are frequently used as an initial foothold for lateral movement and data exfiltration, requiring immediate investigation to prevent broader network compromise.
Malware Family: php.shin_webshell Total IOCs: 3 IOC Types: domain
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| domain | uz7mn8jcpt.workers.dev | botnet_cc | 2026-08-21 | 50% |
| domain | xorajahy.workers.dev | botnet_cc | 2026-08-21 | 50% |
| domain | dujexi.workers.dev | botnet_cc | 2026-08-21 | 50% |
// Hunt for DNS queries to known malicious domains
// Source: ThreatFox - php.shin_webshell
let malicious_domains = dynamic(["uz7mn8jcpt.workers.dev", "xorajahy.workers.dev", "dujexi.workers.dev"]);
DnsEvents
| where Name has_any (malicious_domains)
| project TimeGenerated, Computer, Name, IPAddresses, QueryType
| order by TimeGenerated desc
| Sentinel Table | Notes |
|---|---|
DnsEvents | Ensure this data connector is enabled |
Here are specific false positive scenarios and corresponding filters for the ThreatFox: php.shin_webshell detection rule in an enterprise environment:
Scenario: Legitimate deployment of a new PHP-based internal dashboard or customer portal by the DevOps team using CI/CD pipelines (e.g., Jenkins, GitLab CI). The pipeline creates temporary .php files containing standard webshell-like signatures during the build and artifact staging phase.
jenkins-agent.exe, gitlab-runner) or where the file creation path falls within designated deployment directories (e.g., C:\Deployments\Staging\ or /var/www/html/staging/).Scenario: Automated backup and archiving jobs running on web servers that utilize PHP scripts to generate daily status reports or log summaries. These scheduled tasks often instantiate temporary .php files in the root directory that match the IOCs of a Shin Webshell due to similar code structures (e.g., system() calls for logging).
Task Scheduler, cron) and restrict the scope to files created during specific maintenance windows (e.g., 02:00–04:00 UTC) or within backup-specific subdirectories.Scenario: Security administrators performing manual vulnerability assessments using web-based scanning tools (e.g., Qualys, Tenable Nessus) that inject test PHP scripts into the web root to verify server configurations and upload capabilities.