MUICache

MUICache is a registry key in which Windows caches the display names of programs that have run under a user's account. On Windows Vista and later it is in each user's UsrClass.dat, at HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache; on Windows XP it was in NTUSER.DAT under ShellNoRoam\MUICache.

WindowsUser activityParser: muicache5 fieldsCollected by priority triage

What MUI Cache is

When a program starts through the Windows shell, Windows reads its version resource to get a friendly name and company to display, and stores them so it does not have to read the file again. Each entry is a value whose name is the full path of the executable followed by ".FriendlyAppName" or ".ApplicationCompany", and whose data is that name.

The result is a per-user list of executables that ran, with their full paths, which survives after the program is deleted. Attackers' tools launched from a Downloads, Temp or ProgramData folder show up here with the name their authors gave them, which is sometimes more revealing than the file name. Arcsentry reads MUICache from every user's UsrClass.dat and NTUSER.DAT in a collection; see also NTUSER.DAT.

Forensic value

What MUI Cache can tell an investigator:

  • Full paths of executables that ran under this user, including ones since deleted or renamed.
  • The program's embedded description and company, which can expose a renamed tool (for example a file called update.exe whose description is a known remote-access tool).
  • Attribution to an account, because the key is per user.
  • Programs run from removable drives and network shares, with their original paths.
  • A per-user baseline: comparing MUICache across users on the same machine shows which account ran an unusual tool, which matters when several people share a computer or an attacker used one account and not another.

What it does not prove

  • Entries have no timestamps of their own. The key's last write time dates only the most recent change.
  • It shows that the shell read the program's metadata, which in practice means it ran under that user, but not when or how often. Corroborate with Prefetch, Amcache and BAM.
  • Programs started by services or scheduled tasks under other accounts appear in those accounts' hives, if at all, so check the service profiles and SYSTEM's hive too.

Where it is stored

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

**/Users/*/AppData/Local/Microsoft/Windows/UsrClass.dat
**/Users/*/NTUSER.DAT
**/Windows.old/Windows/System32/config/DEFAULT
**/Windows.old/Windows/System32/config/RegBack/DEFAULT
**/Windows/ServiceProfiles/*/NTUSER.DAT
**/Windows/System32/config/DEFAULT
**/Windows/System32/config/RegBack/DEFAULT
**/Windows/System32/config/systemprofile/NTUSER.DAT

What Arcsentry records

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

FieldTypeMeaning
file_pathVARCHARFile path
registry_valueVARCHARRegistry value name
registry_data_stringsVARCHAR[]Registry data strings
registry_hive_setVARCHARRegistry hive set the record was read from: live, regback, windows_old or windows_old_regback
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 MUI Cache with Arcsentry Collector

Arcsentry Collector gathers MUI Cache 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 MUI Cache can come from the tools you already use.

Analysing MUI Cache in Arcsentry

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

filter event_type == "muicache"
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 MUI Cache records with the same tools and cites them by event ID.

Corroborate with

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

  • Windows Prefetch files: Parses Windows Prefetch (.pf) execution artifacts.
  • Amcache: Parses Amcache.hve application execution history.
  • BAM / DAM: Program execution times the Background and Desktop Activity Moderator services record for each user SID.
  • UserAssist: ROT13-encoded program execution tracking with run counts, focus time, and last execution timestamps.
  • ShimCache: Parses Application Compatibility Cache (Shimcache) entries.

Frequently asked

Where is MUICache in the registry?

On Windows Vista and later, in each user's UsrClass.dat at HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache. On Windows XP it was in NTUSER.DAT under Software\Microsoft\Windows\ShellNoRoam\MUICache.

What is the difference between MUICache, UserAssist and BAM?

All three record programs a user ran, from different angles. UserAssist (NTUSER.DAT) records programs started from Explorer and the Start menu, with a run count and a last run time. BAM (SYSTEM hive) records a last execution time per program per user SID on Windows 10 and later, for recent activity. MUICache (UsrClass.dat) records the display name of programs started through the shell, with no time. Together they cover different launch methods and different time ranges.

How do I view MUICache?

On a live system, open regedit as the user and browse to HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache. For an investigation, parse the user's UsrClass.dat from a collection or image with a registry tool, or load it into Arcsentry, which lists each entry with its path and display name.

Is MUICache evidence of execution?

It is generally treated as evidence that a program ran under that user, because Windows writes it when the shell starts the program. It has no per-entry time, so pair it with Prefetch, Amcache or BAM for when.

Why does MUICache show a program that is no longer on disk?

The cache is not cleaned when a program is deleted. That is what makes it useful: it remembers tools an attacker ran and then removed.

Does Arcsentry parse MUI Cache?

Yes. Arcsentry's MUI Cache parser (muicache) reads it from Windows evidence and records 5 fields per record, with provenance back to the source file.

How do I collect MUI Cache?

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 MUI Cache 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