Skip to content

Enhancement: Introduce a Method to Automatically Identify the Physical Memory Layer #1351

@eve-mem

Description

@eve-mem

Description

Currently, in Volatility3, there is no automatic mechanism to identify which layer represents the 'physical layer' in a given memory image. While a few plugins attempt to infer the physical layer in roundabout ways (e.g., finding the intel layer and getting the next lowest), it would be good to standardize it.

A standardized method for determining the physical layer would improve plugin reliability and reduce redundancy in plugin-specific logic.

Motivation

A few plugins require knowledge of the physical layer for accurate memory analysis. The lack of a uniform mechanism to identify it leads to some repetitive code across plugins, and might lead to some inaccuracies if assumptions about the physical layer are incorrect. It would be great if there a way central way to do this in vol.

As support for more architectures and swap grows, identifying the 'physical layer' becomes increasingly important, and it's not as straightforward as it might initially appear.

Additional Context

This enhancement would help avoid future pitfalls of the current strategies used by some plugins and parts of the framework. For example:

(At least I think of all these examples could benefit form some central mechanism, happy to be shown I'm wrong..!)

Also affects this currently open PR- #1321

Thanks
🦊

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions