RunMRU

RunMRU is the registry key that records the commands a user typed into the Windows Run dialog (Win+R), most recent first. It lives in each user's NTUSER.DAT at HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU.

WindowsUser activityParser: run_mru3 fieldsCollected by priority triage

What RunMRU is

Each command is stored as a value named with a single letter (a, b, c and so on, up to 26), with the command as the data followed by "\1". A value called MRUList holds the letters in order of use, so "dcba" means d was run most recently. When a command is typed again, Windows moves its letter to the front instead of adding a new value.

Because it is per user, RunMRU attributes the commands to an account. And because the Run dialog is how many people (and many attackers at a remote desktop) start cmd, powershell, regedit, mstsc or a UNC path, it is one of the quickest places to see hands-on-keyboard activity. Arcsentry reads it from every NTUSER.DAT in a collection, including service profiles, and records each command with its position in the list. See NTUSER.DAT for the other user-activity keys in the same hive.

Forensic value

What RunMRU can tell an investigator:

  • The exact commands typed into Win+R by this user, with arguments: cmd, powershell -ep bypass, \\fileserver\c$, mstsc /v:10.0.0.5, regedit, URLs.
  • The order in which they were last used (from MRUList).
  • The time of the most recent command: the key's last write time changes whenever the list changes.
  • UNC paths and IP addresses typed here are leads for lateral movement and for the next host to collect.

What it does not prove

  • Only the most recent command can be dated (from the key last write time). Older entries are known only to be older, in order.
  • It records what was typed, not whether the command succeeded. Check process creation (4688), Prefetch and the target of any UNC path.
  • Commands run from a shell, a script or Start menu search are not recorded here; only the Run dialog.
  • The key is easy to clear: an empty or missing RunMRU for an active user can mean someone deleted it.

Where it is stored

Arcsentry looks for RunMRU at these locations inside a collection, disk image or mounted volume:

**/Users/*/NTUSER.DAT
**/Windows/ServiceProfiles/*/NTUSER.DAT
**/Windows/System32/config/systemprofile/NTUSER.DAT

What Arcsentry records

Each RunMRU record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:

FieldTypeMeaning
event_sequenceBIGINTEvent sequence number
process_command_lineVARCHARProcess command line
registry_hive_replayVARCHARWhy the registry hive this record was read from lacks its transaction-log changes: failed when replay failed at staging, disabled when replay was turned off

Time

Arcsentry keeps each record's own time and labels its time zone when the source does not state one. A record with no time of its own stays untimed; Arcsentry never substitutes the collection time.

Collecting RunMRU with Arcsentry Collector

Arcsentry Collector gathers RunMRU in these triage profiles: windows::profile::triage::priority, windows::profile::triage::offline, windows::profile::triage::timeline, windows::profile::triage::full. It is read straight from the file system, on a live host or inside a disk image, without mounting.

The collection targets that pick it up: windows::accounts_identity::roaming_profile, windows::registry::registry_hives_system, windows::registry::registry_hives_user.

.\arcsentry-collect.exe collect --local -t windows::profile::triage::priority `
  -o E:\IR -f host.arcx --password-file E:\IR\pw.txt

Every file lands in one AES-256 archive with a SHA-256 recorded for it, and the collection log notes which target collected it. See everything each profile collects.

Already collected with something else? Arcsentry also reads KAPE, Velociraptor and UAC collections, so RunMRU can come from the tools you already use.

Analysing RunMRU in Arcsentry

Ask in plain English, for example "show RunMRU records from the incident window, newest first", and Arcsentry shows the query before it runs. Or write it in AQL:

filter event_type == "run_mru"
sort {-timestamp}
take 100

Mark a record malicious or suspicious and it joins the timeline in its kill-chain lane. Add its values as indicators and Arcsentry matches them across every host. When the AI investigator works the case, it reads RunMRU records with the same tools and cites them by event ID.

Corroborate with

No single artifact settles a question on its own. Check RunMRU against:

  • Windows Prefetch files: Parses Windows Prefetch (.pf) execution artifacts.
  • UserAssist: ROT13-encoded program execution tracking with run counts, focus time, and last execution timestamps.
  • Windows event log: Parses Windows Event Log (.evtx) files.
  • Typed Paths: Explorer address-bar typed paths.
  • PowerShell history: Parses PowerShell PSReadLine history as logical commands with physical line numbers.

Frequently asked

Where is RunMRU stored?

In each user's NTUSER.DAT, at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU. Each command is a lettered value, and MRUList gives their order.

How do I read the order of RunMRU entries?

Read the MRUList value: its first letter is the most recently used command, the next letter the one before, and so on. The key's last write time is when the first one was last used.

Does RunMRU show when each command was run?

No. Only the most recent entry can be dated, from the key's last write time. Use Prefetch, UserAssist, event logs and SRUM to date the others.

How do I clear RunMRU?

Deleting the RunMRU key or its values clears the list, and some cleaning tools do this. For an investigator, a missing or empty RunMRU for an account that clearly used the computer is itself a sign of clean-up.

Does Arcsentry parse RunMRU?

Yes. Arcsentry's RunMRU parser (run_mru) reads it from Windows evidence and records 3 fields per record, with provenance back to the source file.

How do I collect RunMRU?

Arcsentry Collector gathers it with the priority triage profile (windows::profile::triage::priority), live or from a disk image, sealed in an AES-256 archive with a SHA-256 for every file.

Parse RunMRU on your own evidence.

Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.

Request a trial