windows enabled community critical v1.0.0

reg

Used to manipulate the registry Located at: C:\Windows\System32\reg.exe; C:\Windows\SysWOW64\reg.exe.

📋 Live Preview
reg
reg

Sandbox: execFile · Timeout: 30s

Capabilities

system.file.alternate-data-stream
credential.dump

Contract

Outputs

process.output

Command execution output

Side effects: filesystem_writeprocess_spawn

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networklow
Disk I/Olow

Examples

Export the target Registry key and save it to the specified .REG file within an Alternate data stream. (Hide/plant registry information in Alternate data stream for later use)

reg export HKLM\SOFTWARE\Microsoft\Evilreg {PATH_ABSOLUTE}:evilreg.reg

Dump registry hives (SAM, SYSTEM, SECURITY) to retrieve password hashes and key material (Dump credentials from the Security Account Manager (SAM))

reg save HKLM\SECURITY {PATH_ABSOLUTE:.1.bak} && reg save HKLM\SYSTEM {PATH_ABSOLUTE:.2.bak} && reg save HKLM\SAM {PATH_ABSOLUTE:.3.bak}

Detection

Documentation

reg

reg is a Windows LOLBin. Used to manipulate the registry Located at: C:\Windows\System32\reg.exe; C:\Windows\SysWOW64\reg.exe.

References