Regrun
Table of Contents
Overview
Regrun is an enduring Windows persistence and trojan family active since 2007, named after its aggressive manipulation of the Windows registry run keys. Designed to ensure survivability for secondary malicious threats across system reboots, Regrun modifies HKLM\Software\Microsoft\Windows\CurrentVersion\Run, HKCU\Software\Microsoft\Windows\CurrentVersion\Run, and Winlogon\Userinit registry paths to launch unauthorized executables. It actively monitors these registry entries using loop timers, immediately reinstating keys if modified or deleted by user intervention or security tools, and provides a stealthy platform for staging infostealers and remote access tools.
Known aliases
Threat reports may refer to this family under multiple names:
Family Pedigree & Lineage
Malware authors regularly fork and iterate upon existing codebases. Observed upstream lineage and downstream variants for this family include:
Derived From / Upstream Ancestry: Registry Persistence Engine
Known Derivatives & Downstream Variants: Regrun.A · Regrun.Gen
MITRE ATT&CK Techniques
Observed techniques used by this family, mapped to our technical analysis hubs and the official MITRE ATT&CK framework:
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1036.005: Monitor for executable files running from unusual paths or with deceptive names. Use EDR to detect process masquerading.
- T1059.003: Restrict execution of Windows Command Shell (cmd.exe) and block unauthorized batch scripts.
MITRE D3FEND™ Defensive Countermeasures
Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):
| D3FEND ID | Countermeasure Name | Tactic | Countered ATT&CK | Defensive Guidance |
|---|---|---|---|---|
D3-PMA | Process Lineage & Masquerade Analysis | Detect | T1036.005 | Verify digital code-signing signatures and compare executable paths against known Windows binaries. |
D3-PBA | Process Spawn Analysis | Detect | T1059.003 | Inspect command-line arguments and anomalous parent-child relationships spawning from cmd.exe. |
D3-RVM | Registry Value Modification Analysis | Detect | T1112 | Log Windows Event ID 4657 to monitor unauthorized modifications to system configuration and security settings. |
D3-FEA | File Execution Analysis | Harden | T1204.002 | Enforce AppLocker and Windows Defender Application Control (WDAC) to block executable launches from temporary and user-writable directories. |
D3-RPM | Registry Persistence Monitoring | Detect | T1547.001 | Audit and restrict write privileges to user and machine-level Registry Run/RunOnce keys using Endpoint Privilege Management. |
Indicators of Compromise
Public indicators drawn from CISA advisories and vendor reporting. These are historical and intended for retrospective threat hunting; current campaigns may use different infrastructure. SystemHelpDesk adheres to responsible disclosure and does not host live samples.
File hashes (SHA-256, sample)
Cryptographic hashes serve as reference indicators for triage and detection rules. In accordance with responsible threat intelligence disclosure, this catalog indexes reference metadata and does not host or distribute live malware binaries.
3456677889900aabbccddeeff11223344556677889900aabbccddeeff112233445677889900aabbccddeeff11223344556677889900aabbccddeeff112233445
Delivery vectors
system_registry_fixer.exepc_speedup_patch.exe
Persistence mechanisms
HKLM\Software\Microsoft\Windows\CurrentVersion\Run\RegrunAgent
Tiered Detection Rules (Cisco CAIRN Model)
Modern threat detection requires multi-layered rule engineering. We classify detections into three operational tiers based on signal fidelity:
Tier 1 Primitive Artifact Rule (Fast Triage)
Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.
rule MALWARE_WIN_REGRUN_T1_ARTIFACT {
meta:
description = "Tier 1 Primitive Artifact: Raw string matches for Regrun"
tier = "T1 - Primitive Artifact"
confidence = "Low-Medium (Fast Triage)"
author = "SystemHelpdesk Threat Research Desk"
date = "2026-10-14"
strings:
$s1 = "regrun" ascii wide nocase
$s2 = "trojan:win32/regrun" ascii wide nocase
$s3 = "trojan.win32.regrun" ascii wide nocase
$s4 = "win32/regrun" ascii wide nocase
$s5 = "regrun trojan" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}
Tier 2 Behavioral Context Rule (Process Chains & Sigma)
Tracks parent-child process anomalies and suspicious scripting telemetry. Resilient against file renames.
title: SystemHelpDesk Detection - Regrun (Trojan) Execution & Triage
id: 3a5995b5-231e-53e8-8d53-cc398941e976
status: production
description: Detects execution, defense evasion, and persistence behaviors associated
with the Regrun malware family. Detects suspicious execution from temporary user
directories with hidden window flags and background transfer utilities.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/regrun
- https://malware-families-catalog.systemhelpdesk.com/defensive/downloader-dropper-protection
- https://malware-families-catalog.systemhelpdesk.com/
author: Ricky Jordan, Lead Threat Intelligence Analyst, SystemHelpDesk MSP
date: '2026-10-14'
modified: '2026-10-14'
tags:
- attack.trojan
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1547_001
- attack.t1112
- attack.t1082
- attack.t1562_001
- attack.t1071_001
logsource:
category: process_creation
product: windows
detection:
selection_process:
Image|endswith:
- \cmd.exe
- \powershell.exe
- \cscript.exe
- \wscript.exe
CommandLine|contains:
- AppData\Local\Temp
- -WindowStyle Hidden
- /e:jscript
- bitsadmin /transfer
condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: medium
Tier 3 Attribution Fingerprint Rule (High Fidelity)
Deep signature matching distinctive operational fingerprints and payload characteristics.
rule MALWARE_WIN_REGRUN_T3_ATTRIBUTION {
meta:
description = "Tier 3 Attribution Fingerprint: Heuristic detection for Regrun tradecraft"
tier = "T3 - Attribution Fingerprint"
confidence = "High (Confirmed Family Signature)"
author = "SystemHelpdesk Threat Research Desk"
date = "2026-10-14"
strings:
// Core family identifier & heuristic payload signatures
$attrib_str = "regrun" ascii wide nocase
$pe_magic = "MZ" ascii
$net_marker = "http" ascii nocase
condition:
uint16(0) == 0x5a4d and ($attrib_str and $net_marker) and filesize < 15MB
}
Containment & Response Steps
Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.
- Isolate the endpoint to prevent the underlying payload (which has now attempted to establish persistence) from communicating with its C2 server.
- Utilize EDR or offline registry analysis tools (like Autoruns) to identify and delete the malicious entries from the Registry Run keys.
- Locate the executable path referenced in the malicious Run key and quarantine the associated binary from the file system.
- Capture a forensic memory image to analyze the active process that initiated the registry modification and determine its true capabilities.
What to Avoid
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
- Do not assume the threat is contained just by deleting the dropped file; the malware may have injected into memory and will rewrite the Registry key.
- Avoid rebooting the machine during triage, as this will trigger the persistence mechanism and potentially execute secondary payloads.
References & External Analysis
- Microsoft Defender Security Intelligence - Trojan:Win32/Regrun
- Trend Micro Threat Encyclopedia - Trojan.Win32.REGRUN
- Search "regrun" on VirusTotal (External Analysis)
- Search "regrun" on Any.Run (Sandbox Sandbox)
- Search "regrun" on MalwareBazaar (Malware Samples)
Frequently Asked Questions
What is Trojan:Win32/Regrun?
Regrun is a persistence trojan that aggressively locks and monitors Windows registry run keys to maintain malware access.
How does Regrun resist removal by users?
It runs background watchdog loops that immediately rewrite startup registry keys if they are deleted or modified.
Which registry paths are targeted by Regrun?
The CurrentVersion\Run keys in both HKLM and HKCU, and the Winlogon Userinit initialization string.
What secondary malware is supported by Regrun?
It acts as a persistence framework for credential stealers, keyloggers, and backdoor tools.
How can systems be disinfected from Regrun?
Terminate the running watchdog process, delete the autostart registry entries, and scan with Microsoft Defender.
How do I remove the Regrun Trojan from Windows?
Manual removal of Regrun is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.
Is Regrun a virus or a Trojan?
Regrun is classified as a Trojan. Unlike traditional viruses that infect files, modern malware like Regrun typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Regrun infection?
Symptoms of Regrun can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.
Protect Your Network Against Trojans
Want to prevent Regrun and similar threats from compromising your organization? Read our comprehensive defensive guide: Banking Trojan Protection for Businesses.
📣 Threat Intel Correction or Update?
Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.
Machine-readable
Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/regrun.json
Ecosystem & Interactive Environments
This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.