# OffSet7: LSASS Process Memory Dump Files

> 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:LSASS Process Memory Dump Files:selection_1 (match)
All test lines must match (AND).
- when **Filename** ends with: `\Andrew.dmp`, `\Coredump.dmp`, `\lsass.dmp`, `\lsass.rar`, `\lsass.zip`, `\NotLSASS.zip`, `\PPLBlade.dmp`, `\rustive.dmp`

### BB:OffSet7:LSASS Process Memory Dump Files:selection_2 (match)
All test lines must match (AND).
- when **Filename** contains: `\lsass_2`, `\lsassdmp`, `\lsassdump`

### BB:OffSet7:LSASS Process Memory Dump Files:selection_3 (match)
All test lines must match (AND).
- when **Filename** contains: `\lsass`, `.dmp`

### BB:OffSet7:LSASS Process Memory Dump Files:selection_4 (match)
All test lines must match (AND).
- when **Filename** contains: `SQLDmpr`
- when **Filename** ends with: `.mdmp`

### BB:OffSet7:LSASS Process Memory Dump Files:selection_5 (match)
All test lines must match (AND).
- when **Filename** contains: `\nanodump`, `\proc_`
- when **Filename** ends with: `.dmp`

## 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: `(ANY of [BB:OffSet7:LSASS Process Memory Dump Files:selection_1, BB:OffSet7:LSASS Process Memory Dump Files:selection_2, BB:OffSet7:LSASS Process Memory Dump Files:selection_3, BB:OffSet7:LSASS Process Memory Dump Files:selection_4, BB:OffSet7:LSASS Process Memory Dump Files:selection_5])`

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

1. when the event matches this AQL filter query: `devicetype=12 AND ((LOWER(Filename) LIKE '%\andrew.dmp' OR LOWER(Filename) LIKE '%\coredump.dmp' OR LOWER(Filename) LIKE '%\lsass.dmp' OR LOWER(Filename) LIKE '%\lsass.rar' OR LOWER(Filename) LIKE '%\lsass.zip' OR LOWER(Filename) LIKE '%\notlsass.zip' OR LOWER(Filename) LIKE '%\pplblade.dmp' OR LOWER(Filename) LIKE '%\rustive.dmp') OR (LOWER(Filename) LIKE '%\lsass_2%' OR LOWER(Filename) LIKE '%\lsassdmp%' OR LOWER(Filename) LIKE '%\lsassdump%') OR (LOWER(Filename) LIKE '%\lsass%' AND LOWER(Filename) LIKE '%.dmp%') OR (LOWER(Filename) LIKE '%sqldmpr%' AND LOWER(Filename) LIKE '%.mdmp') OR ((LOWER(Filename) LIKE '%\nanodump%' OR LOWER(Filename) LIKE '%\proc_%') AND LOWER(Filename) LIKE '%.dmp'))`

## 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 Process Memory Dump Files (a5a2d357-1ab8-4675-a967-ef9990a59391). Author: Florian Roth (Nextron Systems). Licence: DRL-1.1.
