Catalog LOLBAS

LOL · Binary

Regedit.exe

2 techniques WindowsLOLBAS GPL-3.0

ADS

Defense EvasionFile Write Windows

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

Use Hide registry data in alternate data stream

regedit /E {PATH_ABSOLUTE}:regfile.reg HKEY_CURRENT_USER\MyCustomRegKey
Context
user
Native
ADS
Detection
IOC: regedit.exe reading and writing to alternate data stream
IOC: regedit.exe should normally not be executed by end-users

ADS

Defense EvasionFile Write Windows

Import the target .REG file into the Registry.

Use Import hidden registry data from alternate data stream

regedit {PATH_ABSOLUTE}:regfile.reg
Context
user
Native
ADS
Detection
IOC: regedit.exe reading and writing to alternate data stream
IOC: regedit.exe should normally not be executed by end-users