Skip to main content

A Python library for memory forensics tasks.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydfirram-1.0.0.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydfirram-1.0.0-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file pydfirram-1.0.0.tar.gz.

File metadata

  • Download URL: pydfirram-1.0.0.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pydfirram-1.0.0.tar.gz
Algorithm Hash digest
SHA256 57f6a6fca0636eca7be92e55b2fba4f64ebf76bb4cbdef0090505500147086ff
MD5 99988b165ad9e05ad4c33daa52d24d10
BLAKE2b-256 8e94f8bb9878748dbd780fe42ac04f6b5566ee5180936d02a1eb881bff6af67f

See more details on using hashes here.

File details

Details for the file pydfirram-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pydfirram-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pydfirram-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 532ffbe16bc0f0c21896ba2c9b0de8e3dea83e75d5e59c3fdb68e367079a8da9
MD5 1e99e209a1f9ccae7957dbeb2b569300
BLAKE2b-256 ce8877cc418059c6756b6e43a57bdd1cc14bfb72e5bfcc720b245b495faf471c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page