Ceplin Command Identifier

Identifier / Programs / Windows

diantz.exe

Package existing files into a cabinet (.cab) file. Windows commands reference

LOLBAS ADS, Download, Execute 3 ATT&CK techniques 3 documented commands

Opens the identifier with your command. It is read in your browser and sent nowhere.

How diantz.exe is abused

documented by LOLBAS

ADS T1564.004 Hide Artifacts: NTFS File Attributes

Download T1105 Ingress Tool Transfer

Execute T1036 Masquerading

/fA file with diantz directives (may be repeated). Windows commands reference

Each abuse is LOLBAS's category and the options and words it uses; the full write-up is on LOLBAS's page for diantz.exe.

3 documented commands

from LOLBAS, each read by the identifier

ADS T1564.004 Hide Artifacts: NTFS File Attributes User privileges

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
Identify

Trips 1 Sigma rule: mediumSuspicious Diantz Alternate Data Stream Execution by frack113

Download T1105 Ingress Tool Transfer User privileges

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

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

Trips 1 Sigma rule: mediumSuspicious Diantz Download and Compress Into a CAB File by frack113

Execute T1036 Masquerading User privileges

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

diantz /f {PATH:.ddf}
Identify

Trips no Sigma process-creation rule.

2 of the 3 commands the identifier reads trip a Sigma process-creation rule; 1 trips none. These commands and their descriptions are from LOLBAS’s entry for diantz.exe, by Tamir Yehuda, at commit 2056cb766250 of 2026-09-26, under the GPL-3.0 and LOLBAS’s notice, with no warranty. Changed: Markdown is shown formatted. The source is in lolbas-gtfobins-commands.json.gz, and the full entry is on LOLBAS’s page for diantz.exe. The identifier reads each with LOLBAS’s placeholders filled in: a URL as https://example.com/file, a share as \\192.0.2.10\share\file, a path as C:\Data\file and a command as calc.exe.

What detects it

Sigma process creation rules
T1036Masquerading
T1105Ingress Tool Transfer
T1564.004Hide Artifacts: NTFS File Attributes

Options

5 in Windows commands reference
Show every option of diantz.exe
/fA file with diantz directives (may be repeated).
/dDefines variable with specified value.
/lLocation to place destination (default is current directory).
/vSet debugging verbosity level (0=none,...,3=full).
/?Displays help at the command prompt.