Diantz.exe

Binary that package existing files into a cabinet (.cab) file

Paths

  • c:\windows\system32\diantz.exe
  • c:\windows\syswow64\diantz.exe

Commands

ADS

Compress a file (first argument) into a CAB file stored in the Alternate Data Stream (ADS) of the target file.

Use case: Hide data compressed into an Alternate Data Stream.

Privileges: User

diantz.exe {PATH_ABSOLUTE:.exe} {PATH_ABSOLUTE}:targetFile.cab

Download

Download and compress a remote file and store it in a CAB file on local machine.

Use case: Download and compress into a cab file.

Privileges: User

diantz.exe {PATH_SMB:.exe} {PATH_ABSOLUTE:.cab}

Execute

Execute diantz directives as defined in the specified Diamond Definition File (.ddf); see resources for the format specification.

Use case: Bypass command-line based detections

Privileges: User

diantz /f {PATH:.ddf}

Detection

Resources