Makecab.exe

type: OSBinaries
Binary to package existing files into a cabinet (.cab) file

Full path

C:\Windows\System32\makecab.exe
C:\Windows\SysWOW64\makecab.exe

Commands

  1. ADSUser T1564.004

    Hide data compressed into an alternate data stream

    makecab {PATH_ABSOLUTE:.exe} {PATH_ABSOLUTE}:autoruns.cab

    Compresses the target file into a CAB file stored in the Alternate Data Stream (ADS) of the target file.

    os: Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

    Type: Compression

  2. ADSUser T1564.004

    Hide data compressed into an alternate data stream

    makecab {PATH_SMB:.exe} {PATH_ABSOLUTE}:file.cab

    Compresses the target file into a CAB file stored in the Alternate Data Stream (ADS) of the target file.

    os: Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

    Type: Compression

  3. DownloadUser T1105

    Download file and compress into a cab file

    makecab {PATH_SMB:.exe} {PATH_ABSOLUTE:.cab}

    Download and compresses the target file and stores it in the target file.

    os: Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

    Type: Compression

  4. ExecuteUser T1036

    Bypass command-line based detections

    makecab /F {PATH:.ddf}

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

    os: Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

    Type: Compression

Detection

Resources

acknowledgement: Oddvar Moe @oddvarmoe