Reg
Reg is the Windows built-in command-line utility used to query, enumerate, and dump Windows Registry data on local or remote systems. In the provided content it is associated with adversarial use of the Registry for discovery and credential access, including gathering details from the Windows Registry and finding credentials stored there. The content specifically states that Daggerfly used Reg to dump the SAM, SYSTEM, and SECURITY registry hives from victim machines. More broadly, the referenced activity aligns with querying Registry keys and values to collect host and configuration information and to obtain unsecured credentials stored in the Registry. High-confidence examples in the content include use of reg query against Registry paths such as HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default, HKEY_CURRENT_USER\Software<username>\PuTTY\Sessions, and HKLM\SOFTWARE for discovery of RDP, PuTTY, installed software, and related system information. The only directly named threat association for Reg in the content is Daggerfly.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Daggerfly has used Reg to dump various Windows registry hives from victim machines.
Techniques & procedures
7 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
Multiple groups “obtained and used” publicly available/open-source tools (e.g., APT28 used Koadic/Mimikatz/Responder; APT29 used Mimikatz/SDelete/Tor/meek/Cobalt Strike; many others acquired tools such as PsExec, Impacket, Metasploit, etc.).
Persistence
1 technique
Persistence
ADVSTORESHELL is capable of setting and deleting Registry values. Agent Tesla can achieve persistence by modifying Registry key entries. APT41 used a malware variant called GOODLUCK to modify the registry in order to steal credentials.
Stealth
1 technique
Stealth
Gamaredon Group has used various legitimate tools, such as mshta.exe and Reg, and services during operations.
Defense Impairment
1 technique
Defense Impairment
ADVSTORESHELL is capable of setting and deleting Registry values. Agent Tesla can achieve persistence by modifying Registry key entries. APT41 used a malware variant called GOODLUCK to modify the registry in order to steal credentials.
Credential Access
2 techniques
Credential Access
The content includes hive extraction activity such as "Daggerfly used Reg to dump the Security Account Manager (SAM), System, and Security Windows registry hives from victim machines" and "Indrik Spider has used a service account to extract copies of the Security Registry hive."
Adversaries may search the Registry on compromised systems for insecurely stored credentials... Example commands to find Registry keys related to password information: Local Machine Hive: reg query HKLM /f password /t REG_SZ /s Current User Hive: reg query HKCU /f password /t REG_SZ /s
Discovery
2 techniques
Discovery
The content repeatedly describes malware and threat actors querying, enumerating, opening, and reading Windows Registry keys and values, e.g., "APT41 queried registry values to determine items such as configured RDP ports and network configurations" and "Reg may be used to gather details from the Windows Registry of a local or remote system at the command-line interface."
"Reg may be used to interact with and modify the Windows Registry of a local or remote system at the command-line interface." / "Regin appears to have functionality to modify remote Registry information."
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.