← Back to SOC feed Coverage →

Detects suspicious log lines that indicate web shell drops into the Apache root folder of a Commvault installation

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

Hunt Hypothesis

This hunt hypothesis targets adversaries who establish persistent access by deploying malicious web shells within the Apache root directory of Commvault installations to facilitate command execution and lateral movement. Proactively hunting for this behavior in Azure Sentinel is critical because the presence of unauthorized scripts in a high-privilege backup infrastructure often signals an early-stage compromise that could lead to data exfiltration or full system takeover if undetected.

YARA Rule

rule EXPL_LOG_CommVault_CVE_2025_57791_Indicator_Shell_Drop_Aug25 {
   meta:
      description = "Detects suspicious log lines that indicate web shell drops into the Apache root folder of a Commvault installation"
      author = "Florian Roth"
      reference = "https://labs.watchtowr.com/guess-who-would-be-stupid-enough-to-rob-the-same-vault-twice-pre-auth-rce-chains-in-commvault/"
      date = "2025-08-21"
      score = 70
      id = "efc7bcbc-6a38-5832-a12a-b8f9bd9125c1"
   strings:
      $xr1 = /Results written to \[[C-Z]:\\Program Files\\Commvault\\ContentStore\\Apache\\webapps\\ROOT\\[^\\]{1,20}\.jsp\]/  // https://regex101.com/r/KV8iK6/1
   condition:
      $xr1
}

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 “Commvault Web Shell Drop” detection rule, including suggested filters and exclusions:

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