Skip to content
WETNav

Collection · Windows · LOLBAS

makecab.exe

MakeCab

Compresses files into a cabinet archive. Used to stage and pack collected data for exfiltration, and it can pull a source from a remote share, so archive creation is a collection signal.

Legitimate use

Used to package files into .cab archives for distribution.

Worst caseMedium

Switches

/f<value>

Reads a directive file that lists what to pack and how.

Low
/d<value>

Sets a makecab property.

Info

Command lines to worry about

  • Medium

    Archive created from a remote share

    makecab packs a file pulled from a remote share. Seen when data is staged for collection. Check the source and the output path.

    Detection regexmakecab(\.exe)?\s+\\\\[^\s\\]+\\

    T1560.001

Where it is recorded

  • Security4688Process creation with the full command line, when command-line auditing is enabled.
  • Sysmon1Process creation with command line, hashes and parent process.
  • Sysmon11The .cab file created at the output path.