Detection rules › Sigma

Commvault QOperation Path Traversal Webshell Drop (CVE-2025-57790)

Status
experimental
Severity
high
Log source
product windows, category process_creation
Author
Swachchhanda Shrawan Poudel (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the use of qoperation.exe with the -file argument to write a JSP file to the webroot, indicating a webshell drop. This is a post-authentication step corresponding to CVE-2025-57790.

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Commvault QOperation Path Traversal Webshell Drop (CVE-2025-57790)
id: bd3b3fff-a018-4994-9876-68af5809160f
status: experimental
description: |
    Detects the use of qoperation.exe with the -file argument to write a JSP file to the webroot, indicating a webshell drop.
    This is a post-authentication step corresponding to CVE-2025-57790.
references:
    - https://labs.watchtowr.com/guess-who-would-be-stupid-enough-to-rob-the-same-vault-twice-pre-auth-rce-chains-in-commvault/
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-10-20
tags:
    - attack.persistence
    - attack.t1505.003
    - detection.emerging-threats
    - cve.2025-57790
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        # qoperation execute -af F:\Program Files\Commvault\ContentStore\Reports\MetricsUpload\Upload\ABC1234\rekt.xml -file F:\Program Files\Commvault\ContentStore\Apache\webapps\ROOT\wT-poc.jsp
        CommandLine|contains|all:
            - 'qoperation'
            - 'exec'
            - ' -af '
            - '.xml '
            - '\Apache\webapps\ROOT\'
            - '.jsp'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    CommandLine|contains|all:
        - 'qoperation'
        - 'exec'
        - ' -af '
        - '.xml '
        - '\Apache\webapps\ROOT\'
        - '.jsp'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • -af corpus 3 (sigma 3)
  • .jsp corpus 2 (sigma 2)
  • .xml
  • \Apache\webapps\ROOT\
  • exec corpus 4 (sigma 2, splunk 2)
  • qoperation