项目作者: samduy

项目描述 :
Volatility profile for uclinux
高级语言: Python
项目地址: git://github.com/samduy/volatility-uclinux.git
创建时间: 2017-10-18T05:26:24Z
项目社区:https://github.com/samduy/volatility-uclinux

开源协议:

下载


volatility-uclinux

This project aims to create a profile and some other modification on Volatility so that it can conduct some memory forensics on the memory that obtained from a uClinux system.

Instructions

Download the patches (this project)

  1. $ git clone https://github.com/samduy/volatility-uclinux.git
  • All the patches are located in a volatility-patches/<date> directory.
  • Ready made profiles are at: profiles folder.
  • Sample memories (for testing) are located in sample_memories directory.

Download the Volatility

  1. $ git clone https://github.com/volatilityfoundation/volatility.git
  2. $ cd volatility
  3. $ git checkout f3c9dfee -b uclinux

(The modifications are based on the above commit:f3c9dfee. However, it’s expected to run even with the latest commit.)

Apply the patches

  • First, take a look at what changes are in the patch:

    1. $ git apply --stat path/to/volatility-uclinux/volatility-patches/20180214/all_in_one_20180214.patch
  • To see if there is any conflicts or errors:

    1. $ git apply --check path/to/volatility-uclinux/volatility-patches/20180214/all_in_one_20180214.patch
  • To actually apply the patch:

    1. $ git am --signoff path/to/volatility-uclinux/volatility-patches/20180214/all_in_one_20180214.patch

(The reason for this is that git am allows you to sign off an applied patch. This may be useful for later reference.)

Load the uClinux profile to Volatility

  1. $ cd /path/to/volatility
  2. $ cp /path/to/volatility-uclinux/profiles/uClinux_VersatilePB.zip plugins/overlays/linux/

Testing if the profile is loaded properly

  1. $ cd path/to/volatility
  2. $ python vol.py --info | grep uClinux
  3. Volatility Foundation Volatility Framework 2.6
  4. LinuxuClinux_VersatilePBARM - A Profile for Linux uClinux_VersatilePB ARM

Now Volatility should be ready to run with uClinux memory dumps. Let’s check it out!

Testing

Unzip the sample memory

  1. $ cp path/to/volatility-uclinux/sample_memories/mem2.dump.bz2 /tmp/
  2. $ cd /tmp/
  3. $ bzip2 -d mem2.dump.bz2

Run some commands on the sample memory

  1. $ cd path/to/volatility
  2. $ python vol.py --profile=LinuxuClinux_VersatilePBARM -f /tmp/mem2.dump linux_pslist

For more information on the commands that work with uClinux, please refer to:

Some useful information