Tar.exe

type: OSBinaries
Used by Windows to extract and create archives.

Full path

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

Commands

  1. ADSUser T1564.004

    Can be used to evade defensive countermeasures, or to hide as part of a persistence mechanism

    tar -cf {PATH}:ads {PATH_ABSOLUTE:folder}

    Compress one or more files to an alternate data stream (ADS).

    os: Windows 10, Windows 11

    Type: Compression

  2. ADSUser T1564.004

    Can be used to evade defensive countermeasures, or to hide as part of a persistence mechanism

    tar -xf {PATH}:ads

    Decompress a compressed file from an alternate data stream (ADS).

    os: Windows 10, Windows 11

    Type: Compression

  3. CopyUser T1105

    Copy files

    tar -xf {PATH_SMB:.tar}

    Extracts archive.tar from the remote (internal) host to the current host.

    os: Windows 10, Windows 11

    Type: Compression

Detection

Resources

acknowledgement: Brian Lucero @Cyber_Sorcery, Avester Fahimipour