Diskshadow.exe

Diskshadow.exe is a tool that exposes the functionality offered by the volume shadow copy Service (VSS).

Paths

  • C:\Windows\System32\diskshadow.exe
  • C:\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

Resources