Detection rules › Sigma

Veeam Backup Database Suspicious Query

Status
test
Severity
medium
Log source
product windows, category process_creation
Author
Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects potentially suspicious SQL queries using SQLCmd targeting the Veeam backup databases in order to steal information.

MITRE ATT&CK coverage

TacticTechniques
CollectionT1005 Data from Local System

Event coverage

Rule body yaml

title: Veeam Backup Database Suspicious Query
id: 696bfb54-227e-4602-ac5b-30d9d2053312
status: test
description: Detects potentially suspicious SQL queries using SQLCmd targeting the Veeam backup databases in order to steal information.
references:
    - https://labs.withsecure.com/publications/fin7-target-veeam-servers
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-05-04
tags:
    - attack.collection
    - attack.t1005
logsource:
    category: process_creation
    product: windows
detection:
    selection_sql:
        Image|endswith: '\sqlcmd.exe'
        CommandLine|contains|all:
            - 'VeeamBackup'
            - 'From '
    selection_db:
        CommandLine|contains:
            - 'BackupRepositories'
            - 'Backups'
            - 'Credentials'
            - 'HostCreds'
            - 'SmbFileShares'
            - 'Ssh_creds'
            - 'VSphereInfo'
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_sql

selection_sql:
    Image|endswith: '\sqlcmd.exe'
    CommandLine|contains|all:
        - 'VeeamBackup'
        - 'From '

Stage 2: selection_db

selection_db:
    CommandLine|contains:
        - 'BackupRepositories'
        - 'Backups'
        - 'Credentials'
        - 'HostCreds'
        - 'SmbFileShares'
        - 'Ssh_creds'
        - 'VSphereInfo'

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
  • BackupRepositories
  • Backups
  • Credentials corpus 2 (sigma 2)
  • From
  • HostCreds
  • SmbFileShares
  • Ssh_creds
  • VSphereInfo
  • VeeamBackup
Imageends_with
  • \sqlcmd.exe corpus 5 (sigma 5)