# OffSet7: Lsass Memory Dump via Comsvcs DLL

> 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 10 (process access)

## Building blocks

### BB:OffSet7:Lsass Memory Dump via Comsvcs DLL:selection (match)
All test lines must match (AND).
- when **Target Process Path** ends with: `\lsass.exe`
- when **Source Process Path** ends with: `\rundll32.exe`
- when **Call Trace** contains: `comsvcs.dll`

## 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 10 (process access)`
2. when an event matches the condition built from these building blocks: `BB:OffSet7:Lsass Memory Dump via Comsvcs DLL:selection`

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

1. when the event matches this AQL filter query: `devicetype=12 AND LOWER("Target Process Path") LIKE '%\lsass.exe' AND LOWER("Source Process Path") LIKE '%\rundll32.exe' AND LOWER("Call Trace") LIKE '%comsvcs.dll%'`

## 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: Lsass Memory Dump via Comsvcs DLL (a49fa4d5-11db-418c-8473-1e014a8dd462). Author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research). Licence: DRL-1.1.
