Skip to main content

pyDFIRRam

PyPI version Build Status License: AGPL v3

PyDFIRRam is a Python library designed to simplify and enhance memory forensics tasks. It provides tools to streamline research, parsing, and analysis of memory dumps, allowing users to focus on data rather than commands.

Table of Contents

Installation

PyDFIRRam is built with Poetry, so you need to install it.

You can install pyDFIRRam with the following commands:

  1. Clone the repository:
    git clone https://github.com/pyDFIR/pyDFIRRam
    
  2. Install it with Poetry:
    poetry install
    

Usage

You can use the library in multiple ways:

  • In a Jupyter Lab environment
  • In a script

Jupyter Lab

Kickstart the project by running:

poetry run jupyter lab

In Jupyter Lab, you can use the library as follows:

from pathlib import Path
from pydfirram.modules import Windows

dumpfile = Path(DUMP_FILE)
win = Windows(dumpfile)
output = win.PsList(pid=[4]).to_df(max_row=True) # max_row=True is an option on to_df to see all the content of the dataframe. All the content will be printed in your Jupyter output cell.
print(output)

Script

You can also use the library in a Python script:

from pathlib import Path
from pydfirram.modules.windows import Windows

dumpfile = Path(DUMP_FILE)
win = Windows(dumpfile)
output = win.pslist()

# To get a list:
print(output.to_list())

# For a DataFrame:
print(output.to_df())

# Or convert it to JSON:
print(win.pslist().to_json())

All supported features are documented, check it out on our documentation !

Objectives

  1. Facilitate research and the try-and-retry process with Volatility
  2. Easily parse outputs
  3. Focus on data rather than commands
  4. Use as a dataset
  5. Manage multiple dumps in the same program

Metadata

Release files for pydfirram 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pydfirram 2.0.0
File Size Uploaded
pydfirram-2.0.0.tar.gz 23.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pydfirram 2.0.0
File Interpreter ABI Platform
pydfirram-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 49.4 kB

Release files / pydfirram-2.0.0.tar.gz

Download URL pydfirram-2.0.0.tar.gz
Size 23.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d6e06409c8dbf297541f33aa3da80b5797009396b55a19c0dea1fdafa4502899
BLAKE2b-256 checksum
How to use checksums
78213e4c3bbcaf693c131ba1f1b03c59c238c0444774dcd5c1556f07c20f182d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.5

Release files / pydfirram-2.0.0-py3-none-any.whl

Download URL pydfirram-2.0.0-py3-none-any.whl
Size 25.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
914b2970c5a67818652084aded89d996bb2a7134bff3fa73b239b14c3842dea5
BLAKE2b-256 checksum
How to use checksums
48de97deef9d59b223bc820242ab586c8aeae20a8d97218bb0128a463dff5fd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.5

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page