Detection rules › Sigma
Diskshadow command abuse to expose VSS backup
Detects scenarios where an attacker attemps to create an IFM for dumping credentials.
Known false positives
- Administrator manipulating VSS backup
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Credential Access |
Telemetry coverage
| Provider | Record / event type |
|---|---|
| Security-Auditing | Event ID 4688: A new process has been created. |
Rule body
title: Diskshadow command abuse to expose VSS backup
description: Detects scenarios where an attacker attemps to create an IFM for dumping credentials.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0006-Credential%20Access/T1003-Credential%20dumping
- https://blog.menasec.net/2019/11/forensics-traces-of-ntdsdit-dumping.html
- https://adsecurity.org/?p=2398
- https://www.ired.team/offensive-security/credential-access-and-credential-dumping/ntds.dit-enumeration
- https://bohops.com/2018/03/26/diskshadow-the-return-of-vss-evasion-persistence-and-active-directory-database-extraction/
tags:
- attack.credential_dumping
- attack.t1003
author: mdecrevoisier
status: experimental
logsource:
product: windows
category: process_creation
detection:
selection: # Full command: "diskshadow.exe /s shadow.txt"
EventID: 4688
NewProcessName|endswith: \diskshadow.exe
CommandLine|contains: diskshadow
CommandLine|contains:
- /s
- -s
condition: selection
falsepositives:
- Administrator manipulating VSS backup
level: high
Stages and Predicates
Stage 0: condition
selectionStage 1: selection
selection:
EventID: 4688
NewProcessName|endswith: \diskshadow.exe
CommandLine|contains: diskshadow
CommandLine|contains:
- /s
- -s
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
CommandLine | match |
| field:"CommandLine" kind:match |
NewProcessName | ends_with |
| field:"Image" kind:ends_with value:"\diskshadow.exe" |