← Back to SOC feed Coverage →

Detects a pattern which is often related to web shell activity

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-03T23:00:00Z · Confidence: medium

Hunt Hypothesis

This detection rule identifies suspicious file creation and execution patterns characteristic of web shells, which adversaries frequently deploy to establish persistent access points on compromised web servers for command-and-control or lateral movement. Proactively hunting for this behavior in Azure Sentinel is critical because web shells often operate within trusted application boundaries, allowing attackers to evade standard perimeter defenses while maintaining a low profile for extended periods.

YARA Rule

rule SUSP_WEBSHELL_Cmd_Indicator_Apr25 {
   meta:
      description = "Detects a pattern which is often related to web shell activity"
      reference = "https://regex101.com/r/N6oZ2h/2"
      author = "Florian Roth"
      date = "2025-04-25"
      modified = "2025-05-07"
      score = 60
      id = "eeeebfbc-9418-5ff4-b45f-8d96a9e7e4a8"
   strings:
      $xr01 = /\.(asp|aspx|jsp|php)\?cmd=[a-z0-9%+\-\/\.]{3,20} HTTP\/1\.[01]["']? 200/
   condition:
      1 of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 1 string patterns in its detection logic.

References

False Positive Guidance

Here are 4 specific false positive scenarios for the “Web Shell Activity” detection rule, including suggested filters and exclusions:

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