.. /Regedit.exe
Star

Alternate data streams

Used by Windows to manipulate registry

Paths:

Resources:

Acknowledgements:

Detections:

Alternate data streams

  1. Export the target Registry key to the specified .REG file.

    regedit /E c:\ads\file.txt:regfile.reg HKEY_CURRENT_USER\MyCustomRegKey
    Use case
    Hide registry data in alternate data stream
    Privileges required
    User
    Operating systems
    Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
    ATT&CK® technique
    T1564.004
  2. Import the target .REG file into the Registry.

    regedit C:\ads\file.txt:regfile.reg
    Use case
    Import hidden registry data from alternate data stream
    Privileges required
    User
    Operating systems
    Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
    ATT&CK® technique
    T1564.004