Diskshadow.exe
Diskshadow.exe is a tool that exposes the functionality offered by the volume shadow copy Service (VSS).
Full path
C:\Windows\System32\diskshadow.exe
C:\Windows\SysWOW64\diskshadow.exeCommands
Use diskshadow to exfiltrate data from VSS such as NTDS.dit
diskshadow.exe /s {PATH:.txt}Execute commands using diskshadow.exe from a prepared diskshadow script.
os: Windows server
Use diskshadow to bypass defensive counter measures
diskshadow> exec {PATH:.exe}Execute commands using diskshadow.exe to spawn child process
os: Windows server
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
- IOCChild process from diskshadow.exe
Resources
acknowledgement: Jimmy @bohops