← Back to SOC feed Coverage →

Detects indicators related simple webshells that use the same exec/cmd pattern

yara HIGH signature-base
florian-rothwebshell
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at signature-base →
Retrieved: 2026-08-07T11:00:00Z · Confidence: medium

Hunt Hypothesis

This detection rule identifies potential webshell compromises by isolating web server processes that execute commands using a consistent exec or cmd invocation pattern indicative of remote command execution. A proactive hunt is essential in Azure Sentinel to rapidly uncover these stealthy entry points before adversaries leverage them for lateral movement, data exfiltration, or persistent backdoor access within the cloud infrastructure.

YARA Rule

rule SUSP_WEBSHELL_LOG_Signatures_Dec25 {
   meta:
      description = "Detects indicators related simple webshells that use the same exec/cmd pattern"
      author = "Florian Roth"
      reference = "https://x.com/pyn3rd/status/1996840827897954542/photo/1"
      date = "2025-12-05"
      score = 60
      id = "8b97ba37-b503-5bcf-be94-76eec8b3d5cd"
   strings:
      $xa1 = "/exec?cmd=ls"
      $xa2 = "/exec?cmd=whoami"
      $xa3 = "/exec?cmd=id"
      $xa4 = "/exec?cmd=uname%20-a"
   condition:
      1 of them
      // not XML
      and not uint16(0) == 0x3c3f
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 4 string patterns in its detection logic.

References

False Positive Guidance

Here are 4 specific false positive scenarios for the “Simple Webshell Detection” rule, including suggested filters and exclusions:

Original source: https://github.com/Neo23x0/signature-base/blob/main/yara/react_pocs_indicators_dec25.yar