# OffSet7: Suspicious Child Process Of Veeam Dabatase

> Design for the QRadar Rule Wizard. Not an importable rule and not tested in QRadar.

- Rule type: Event rule (Local), create disabled
- Log source types: Microsoft Windows Security Event Log DSM: Security 4688 (with command-line auditing) or Sysmon EID 1

## Building blocks

### BB:OffSet7:Suspicious Child Process Of Veeam Dabatase:selection_parent (match)
All test lines must match (AND).
- when **Parent Process Path** ends with: `\sqlservr.exe`
- when **Parent Command** contains: `VEEAMSQL`

### BB:OffSet7:Suspicious Child Process Of Veeam Dabatase:selection_child_1 (match)
All test lines must match (AND).
- when **Process Path / Process Name** ends with: `\cmd.exe`, `\powershell.exe`, `\pwsh.exe`, `\wsl.exe`, `\wt.exe`
- when **Command** contains: `-ex`, `bypass`, `cscript`, `DownloadString`, `http://`, `https://`, `mshta`, `regsvr32`, `rundll32`, `wscript`, `copy`

### BB:OffSet7:Suspicious Child Process Of Veeam Dabatase:selection_child_2 (match)
All test lines must match (AND).
- when **Process Path / Process Name** ends with: `\net.exe`, `\net1.exe`, `\netstat.exe`, `\nltest.exe`, `\ping.exe`, `\tasklist.exe`, `\whoami.exe`

## Main rule — option A (building blocks)

1. when the event(s) were detected by one or more of these log source types: `Microsoft Windows Security Event Log DSM: Security 4688 (with command-line auditing) or Sysmon EID 1`
2. when an event matches the condition built from these building blocks: `BB:OffSet7:Suspicious Child Process Of Veeam Dabatase:selection_parent AND (ANY of [BB:OffSet7:Suspicious Child Process Of Veeam Dabatase:selection_child_1, BB:OffSet7:Suspicious Child Process Of Veeam Dabatase:selection_child_2])`

## Main rule — option B (AQL filter test)

1. when the event matches this AQL filter query: `devicetype=12 AND (LOWER("Parent Process Path") LIKE '%\sqlservr.exe' AND LOWER("Parent Command") LIKE '%veeamsql%') AND ((((LOWER("Process Path") LIKE '%\cmd.exe' OR LOWER("Process Path") LIKE '%\powershell.exe' OR LOWER("Process Path") LIKE '%\pwsh.exe' OR LOWER("Process Path") LIKE '%\wsl.exe' OR LOWER("Process Path") LIKE '%\wt.exe') OR (LOWER("Process Name") LIKE '%\cmd.exe' OR LOWER("Process Name") LIKE '%\powershell.exe' OR LOWER("Process Name") LIKE '%\pwsh.exe' OR LOWER("Process Name") LIKE '%\wsl.exe' OR LOWER("Process Name") LIKE '%\wt.exe')) AND (LOWER(Command) LIKE '%-ex %' OR LOWER(Command) LIKE '%bypass%' OR LOWER(Command) LIKE '%cscript%' OR LOWER(Command) LIKE '%downloadstring%' OR LOWER(Command) LIKE '%http://%' OR LOWER(Command) LIKE '%https://%' OR LOWER(Command) LIKE '%mshta%' OR LOWER(Command) LIKE '%regsvr32%' OR LOWER(Command) LIKE '%rundll32%' OR LOWER(Command) LIKE '%wscript%' OR LOWER(Command) LIKE '%copy %')) OR ((LOWER("Process Path") LIKE '%\net.exe' OR LOWER("Process Path") LIKE '%\net1.exe' OR LOWER("Process Path") LIKE '%\netstat.exe' OR LOWER("Process Path") LIKE '%\nltest.exe' OR LOWER("Process Path") LIKE '%\ping.exe' OR LOWER("Process Path") LIKE '%\tasklist.exe' OR LOWER("Process Path") LIKE '%\whoami.exe') OR (LOWER("Process Name") LIKE '%\net.exe' OR LOWER("Process Name") LIKE '%\net1.exe' OR LOWER("Process Name") LIKE '%\netstat.exe' OR LOWER("Process Name") LIKE '%\nltest.exe' OR LOWER("Process Name") LIKE '%\ping.exe' OR LOWER("Process Name") LIKE '%\tasklist.exe' OR LOWER("Process Name") LIKE '%\whoami.exe')))`

## Rule response

- Severity 9, credibility 6, relevance 7
- Ensure the detected event is part of an offense; index offense on Log Source (host) and annotate with the rule title and OffSet7 rule id
- Respond no more than once per 30 minutes per Log Source (tune per environment)

## Limitations

- QRadar AQL LIKE / CRE string tests are case-sensitive unless the property is lower-cased; the AQL option uses LOWER() where the backend applied it.

Source rule: Suspicious Child Process Of Veeam Dabatase (d55b793d-f847-4eea-b59a-5ab09908ac90). Author: Nasreddine Bencherchali (Nextron Systems). Licence: DRL-1.1.
