# OffSet7: Potential RipZip Attack on Startup Folder

> 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: Sysmon EID 11 (FileCreate)

## Building blocks

### BB:OffSet7:Potential RipZip Attack on Startup Folder:selection (match)
All test lines must match (AND).
- when **Filename** contains: `\Microsoft\Windows\Start Menu\Programs\Startup`, `.lnk.{0AFACED1-E828-11D1-9187-B532F1E9575D}`
- when **Process Path / Process Name** ends with: `\explorer.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: Sysmon EID 11 (FileCreate)`
2. when an event matches the condition built from these building blocks: `BB:OffSet7:Potential RipZip Attack on Startup Folder:selection`

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

1. when the event matches this AQL filter query: `devicetype=12 AND (LOWER(Filename) LIKE '%\microsoft\windows\start menu\programs\startup%' AND LOWER(Filename) LIKE '%.lnk.{0afaced1-e828-11d1-9187-b532f1e9575d}%') AND (LOWER("Process Path") LIKE '%\explorer.exe' OR LOWER("Process Name") LIKE '%\explorer.exe')`

## 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

- 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: Potential RipZip Attack on Startup Folder (a6976974-ea6f-4e97-818e-ea08625c52cb). Author: Greg (rule). Licence: DRL-1.1.
