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.
InfoCommand 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 regex
makecab(\.exe)?\s+\\\\[^\s\\]+\\
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.