Skip to content

How to get the actual registry key name? #349

@msilva-basis

Description

@msilva-basis

Is there a way to get the actual name for the registry keys using MemProcFS. The names can have certain characters which MemProcFS is replacing with '_' so that the name becomes a valid file name. Is there a way to retrieve the original name? I could not find the original name in the MemProcFS file structure or using the API.

Example using python API:

import memprocfs

vmm = memprocfs.Vmm(['-device', 'C:\\memory_images\\win10.raw'])    
regkey_userassist = vmm.reg_key('HKU\\User1\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{CEBFF5CD-ACE2-4F4F-9178-9926F41749EA}\\Count')

for regvalue in regkey_userassist.values():
    print(regvalue.name)

This example does not print out the actual names, it outputs the names with the ':' and '\' characters replaced by '_'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions