# OffSet7: Potential LSASS Process Dump Via Procdump

> 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:Potential LSASS Process Dump Via Procdump:selection_flags (match)
All test lines must match (AND).
- when **Command** contains: ` -ma`, ` -mm`, ` -mp`

### BB:OffSet7:Potential LSASS Process Dump Via Procdump:selection_process (match)
All test lines must match (AND).
- when **Command** contains: ` ls`, ` keyiso`, ` samss`

## 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: `(ALL of [BB:OffSet7:Potential LSASS Process Dump Via Procdump:selection_flags, BB:OffSet7:Potential LSASS Process Dump Via Procdump:selection_process])`

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

1. when the event matches this AQL filter query: `devicetype=12 AND (LOWER(Command) LIKE '% -ma %' OR LOWER(Command) LIKE '% /ma %' OR LOWER(Command) LIKE '% –ma %' OR LOWER(Command) LIKE '% —ma %' OR LOWER(Command) LIKE '% ―ma %' OR LOWER(Command) LIKE '% -mm %' OR LOWER(Command) LIKE '% /mm %' OR LOWER(Command) LIKE '% –mm %' OR LOWER(Command) LIKE '% —mm %' OR LOWER(Command) LIKE '% ―mm %' OR LOWER(Command) LIKE '% -mp %' OR LOWER(Command) LIKE '% /mp %' OR LOWER(Command) LIKE '% –mp %' OR LOWER(Command) LIKE '% —mp %' OR LOWER(Command) LIKE '% ―mp %') AND (LOWER(Command) LIKE '% ls%' OR LOWER(Command) LIKE '% keyiso%' OR LOWER(Command) LIKE '% samss%')`

## Rule response

- Severity 7, credibility 8, 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 LSASS Process Dump Via Procdump (5afee48e-67dd-4e03-a783-f74259dcf998). Author: Florian Roth (Nextron Systems). Licence: DRL-1.1.
