Skip to main content

PyMem - Get Memory Image on Windows

What is this ?

It is a software that you can take "memory image with AFF4 format" from your device with Python.

How is it working ?

Before taking your memory copy, it obtains information about your memory size. Then, based on this information, it addresses your memory image according to the buffer size and buffer size, and then starts making memory copies of all your applications.

Tested Image Forensic Softwares

  • AccessData FTK Imager

Tested OS (on Virtual Machine)

  • Windows 11 Build Number 22621.2283

Images


Installation

  ------------------------------------------------------------------------------------------------
  IMPORTANT : This program can CURRENTLY take a maximum of 2 GB memory image.
  ÖNEMLİ : Bu program ŞU ANLIK maksimum 2 GB bellek imajı alabilmektedir.
  ------------------------------------------------------------------------------------------------
  On CMD or PowerShell (Administrator)
  cd pymem_current_directory
  bcdedit /set testsigning on
  Check Memory Compression with "Get-MMAgent" command
  Disable Memory Compression with "Disable-MMAgent -mc" command
  Restart...

winget install python --source=msstore OR winget install python python -m pip install -r requirements.txt python example.py OR pip install pymem_snapshot (PyPi Link) python example.py

Disclaimer

It should not be forgotten that taking a memory image is a serious process. In this process, you may encounter numerous errors, BSODs (Blue Screen of Death), and even memory errors. For this reason, we declare that we are not responsible for any damage that may arise.

For this reason, we recommend that you run your tests in demo environments.

Unutulmamalıdır ki, bellek imajı almak ciddi bir süreçtir. Bu süreçte çok sayıda hata, BSOD (Blue Screen of Death / Mavi Ekran Hataları) ve hatta bellek hatalarıyla karşılaşabilirsiniz. Bu nedenle doğabilecek herhangi bir zarardan sorumlu olmadığımızı beyan ederiz.

Bu nedenle testlerinizi demo ortamlarda yapmanızı tavsiye ederiz.

Links

PyPi Link

Thanks

Great thanks to the Velocidex (WinPMEM) team for providing drivers

Metadata

Release files for pymem-snapshot 0.0.21

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

Source distribution (sdist)

Source distribution for pymem-snapshot 0.0.21
File Size Uploaded
pymem_snapshot-0.0.21.tar.gz 8.1 kB Details

Release files / pymem_snapshot-0.0.21.tar.gz

Download URL pymem_snapshot-0.0.21.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5f627aed7b6afb08f34ae1ddfdb29f42352ffd19ff2a422933e457232133a7ed
BLAKE2b-256 checksum
How to use checksums
cb6a1fa20bbaa14d6df833cdc47b2c49192709d3ad446b03773d1f8300a7fd29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.0.21 This release

1 release file

0.0.20

1 release file

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