Skip to content

DEF CON 34 talks are here: 354 talks, summarized and searchable.

Browse DEF CON 34

The Registry Hives you may be MSIX-ing

Mari DeGrazia

Blue TeamTrack 250 minIntermediateOpen on YouTube ↗

Where

Track 2
CactusCon 12

Duration

50 min

Shows where MSIX-packaged apps keep per-application registry hives that traditional forensic checks often miss.

Summary

The talk starts from a gap in typical Windows forensics: examiners tend to rely on a few registry hives, such as NTUSER.DAT and UsrClass.dat, to reconstruct what a user opened, browsed, or connected to. Apps packaged with MSIX store their state in per-application hives under the local packages folder, so those traces can sit outside the usual locations.

The speaker demonstrates this with Notepad, where open and save dialog history and folder traversal are written to a per-app user hive rather than the main one. A test using a folder on an external device showed the browsing evidence missing from the standard shellbag search but present in the app's hive. Similar behaviour appears with WinSCP session and directory history, and with the Microsoft Remote Desktop app, which keeps connection history in XML jump list files, cached session thumbnails, and ETL logs that record computer names rather than IP addresses. Practical steps cover collecting hives with KAPE, parsing them with RegRipper and Registry Explorer, and decoding thumbnails.

The main takeaway is that examiners should check package folders and per-application hives alongside the traditional locations, or evidence of data access, exfiltration, and lateral movement can be missed. Audience questions touched on overlap between apps and whether deleted keys could be recovered, which the speaker said he had not yet seen in cases.

Related talks

Talks·27 min

  • hack.lu
  • Blue Team
  • Date: Oct 2023
  • Location: Luxembourg

Quentin Jerome

Walks through the latest updates to an EDR agent and manager, covering ETW support, per-rule actions and centralized configuration.

defensive-securityincident-responsethreat-detection+2