Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› RunMRU Registry Key
Cyber Security

RunMRU Registry Key

← Back to Glossary
By NHI Mgmt Group Updated October 29, 2026 Domain: Cyber Security

The RunMRU registry key stores the Run dialog command history for a Windows user profile. It is used by the shell to record recently entered commands, which can reveal executed programmes and administrative actions during user activity analysis.

What the RunMRU registry key represents

The RunMRU key is a small but useful Windows artefact because it records what a user typed into the Run dialog. That makes it a direct clue to command execution, administrative shortcuts, and hands-on keyboard activity on a local profile.

Because the value list is user-scoped, it is most valuable in endpoint triage and activity reconstruction. Analysts use it to infer whether a command was entered manually, whether a script launcher or administrative tool was invoked, and whether the behaviour fits normal user work or something more suspicious.

Why RunMRU matters in incident response

RunMRU sits in the same class of evidence as other Windows artefacts that expose how execution started. If a suspicious command appears there, it can corroborate later process creation, PowerShell use, LOLBin activity, or command-and-control staging. It is especially useful when the user was prompted into pasting and running a command, a pattern covered in the ClickFix and Fake CAPTCHA Paste-and-Run Attacks Guide.

The value is not just the command text itself. The history can reveal the operator mindset, the sequence of attempts, and whether a seemingly benign action was part of a broader intrusion chain. In investigations, that context often matters as much as the final executed binary.

How defenders interpret the artefact

RunMRU should be read alongside process lineage, logon artefacts, PowerShell logs, security telemetry, and user context. A single entry can be misleading, but a cluster of commands that includes downloaders, script hosts, or registry edits can point to staging, persistence, or lateral movement.

It is also important to distinguish routine administrative use from abuse. Administrators often use the Run dialog for quick access to tools, yet attackers exploit the same convenience because it bypasses some of the friction of browsing to an executable. That makes the artefact valuable both for attribution of legitimate work and for spotting deceptive user-driven execution.

Where it fits in broader Windows detection

RunMRU is one piece of a wider Windows detection puzzle. It pairs naturally with registry autorun hunting, execution tracing, and registry change analysis, especially when defenders need to reconstruct how a machine was used over time. The Persistence Techniques Guide is useful background when RunMRU activity points toward autostart or follow-on persistence.

For a deeper defensive view of registry autoruns, user tokens, privileges, and Windows telemetry, the Windows Internals for Defenders Guide helps place RunMRU into the broader operating system context. When the activity looks like autostart persistence, the T1547 Boot or Logon Autostart Execution Defensive Guide provides the next layer of defensive mapping.

Risk and Threat Considerations

RunMRU is a privacy and security exposure because it can reveal what a user attempted to run, including administrative tools, scripts, and attacker-entered commands. In an intrusion, that history can expose reconnaissance, staging, or even operator mistakes that help defenders reconstruct the attack path.

Failure mechanism: An attacker or malicious insider abuses the Run dialog, or a user is tricked into pasting a command, leaving an artefact that records execution intent and can disclose sensitive operational detail.

Impact: The key can support incident reconstruction, but if it is collected without proper scope or context it may also expose user behaviour, admin activity, and the first signs of compromise.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1204.004 — User Execution: Malicious Copy and PasteRunMRU records commands a user entered after being lured to run them.
T1547 — Boot or Logon Autostart ExecutionRunMRU often complements investigation of registry-based persistence and autostart activity.
Recommendation — Correlate RunMRU entries with user-execution lures and hunt for the follow-on process chain. Map suspicious RunMRU activity to autostart techniques and verify whether persistence was added.
NIST SP 800-53 Rev 5AU-6 — Audit Record Review, Analysis, and ReportingRunMRU is forensic evidence that must be reviewed with other audit and endpoint records.
SI-4 — System MonitoringRunMRU supports detection of suspicious command execution and related host activity.
CM-6 — Configuration SettingsRegistry artefacts such as RunMRU live within the Windows configuration state defenders must govern.
Recommendation — Review RunMRU artefacts together with endpoint and audit logs to reconstruct execution timelines. Monitor host telemetry for suspicious command launch patterns that align with RunMRU entries. Baseline Windows registry artefacts and investigate unexpected changes to command-history locations.

Practitioner Guidance

What to watch for: Treat RunMRU as corroborating evidence, not stand-alone proof. A suspicious entry becomes much more meaningful when it matches other telemetry such as PowerShell, script execution, registry change events, or an unusual logon session.

Practitioner takeaway: Preserve the artefact early, then interpret it together with the surrounding Windows timeline so you can separate normal operator behaviour from user-driven attack execution.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 29, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org