Diskshadow.exe
Diskshadow.exe is a tool that exposes the functionality offered by the volume shadow copy Service (VSS).
Paths
C:\Windows\System32\diskshadow.exeC:\Windows\SysWOW64\diskshadow.exe
Commands
Dump
Execute commands using diskshadow.exe from a prepared diskshadow script.
Use case: Use diskshadow to exfiltrate data from VSS such as NTDS.dit
Privileges: User
diskshadow.exe /s {PATH:.txt}
Execute
Execute commands using diskshadow.exe to spawn child process
Use case: Use diskshadow to bypass defensive counter measures
Privileges: User
diskshadow> exec {PATH:.exe}
Detection
- Sigma: https://github.com/SigmaHQ/sigma/blob/62d4fd26b05f4d81973e7c8e80d7c1a0c6a29d0e/rules/windows/process_creation/proc_creation_win_lolbin_diskshadow.yml
- Sigma: https://github.com/SigmaHQ/sigma/blob/62d4fd26b05f4d81973e7c8e80d7c1a0c6a29d0e/rules/windows/process_creation/proc_creation_win_susp_shadow_copies_deletion.yml
- Elastic: https://github.com/elastic/detection-rules/blob/5bdf70e72c6cd4547624c521108189af994af449/rules/windows/credential_access_cmdline_dump_tool.toml
- IOC: Child process from diskshadow.exe