# OffSet7: PUA - Rclone Execution

> 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:PUA Rclone Execution:selection_specific_options (match)
All test lines must match (AND).
- when **Command** contains: `--config`, `--no-check-certificate`, ` copy`

### BB:OffSet7:PUA Rclone Execution:selection_rclone_img (match)
Any of the groups matches (OR): build one BB per group and a parent BB "when an event matches any of" them.
- when **Process Path / Process Name** ends with: `\rclone.exe`
- when **custom property for Description** is equal to (case-insensitive): `Rsync for cloud storage` — No QRadar property mapped for "Description": create a custom event property (regex or JSON) on the DSM first.

### BB:OffSet7:PUA Rclone Execution:selection_rclone_cli (match)
All test lines must match (AND).
- when **Command** contains: `pass`, `user`, `copy`, `sync`, `config`, `lsd`, `remote`, `ls`, `mega`, `pcloud`, `ftp`, `ignore-existing`, `auto-confirm`, `transfers`, `multi-thread-streams`, `no-check-certificate`

## 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:PUA Rclone Execution:selection_specific_options OR (ALL of [BB:OffSet7:PUA Rclone Execution:selection_rclone_img, BB:OffSet7:PUA Rclone Execution:selection_rclone_cli])`

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

Not available: the AQL conversion failed for this rule.

## Rule response

- Severity 7, 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

- AQL conversion failed (field 'Description' is not supported); only the building-block design is available.
- 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: PUA - Rclone Execution (e37db05d-d1f9-49c8-b464-cee1a4b11638). Author: Bhabesh Raj, Sittikorn S, Aaron Greetham (@beardofbinary) - NCC Group. Licence: DRL-1.1.
