windows enabled community medium v1.0.0

regedit

Used by Windows to manipulate registry Located at: C:\Windows\regedit.exe.

📋 Live Preview
regedit
regedit

Sandbox: execFile · Timeout: 30s

Capabilities

system.file.alternate-data-stream

Contract

Outputs

process.output

Command execution output

Side effects: filesystem_write

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networklow
Disk I/Olow

Examples

Export the target Registry key to the specified .REG file. (Hide registry data in alternate data stream)

regedit /E {PATH_ABSOLUTE}:regfile.reg HKEY_CURRENT_USER\MyCustomRegKey

Import the target .REG file into the Registry. (Import hidden registry data from alternate data stream)

regedit {PATH_ABSOLUTE}:regfile.reg

Detection

TypeRule / Indicator
sigma https://github.com/SigmaHQ/sigma/blob/62d4fd26b05f4d81973e7c8e80d7c1a0c6a29d0e/rules/windows/process_creation/proc_creation_win_regedit_import_keys_ads.yml
ioc regedit.exe reading and writing to alternate data stream
ioc regedit.exe should normally not be executed by end-users

Documentation

regedit

regedit is a Windows LOLBin. Used by Windows to manipulate registry Located at: C:\Windows\regedit.exe.

References