GithubHelp home page GithubHelp logo

volatility_plugins's Introduction

volatility_plugins

Volatility Plugins

A collection of plugins for the Volatility framework that I have authored or made significant contributions to.

The PlugX configuration extraction is a fork and update of the plugin located at http://bitbucket.cassidiancybersecurity.com/volatility_plugins/wiki/Home

with more configuration sizes supported and moving to ctypes Structure for parsing of the configuration blob.

The Andromeda configuration extraction plugin will attempt to locate and extract C2 URLs, RC4 key used for initial communication, and parameters in the phone-home format string

Install

The andromeda plugin requires PyCrypto and Yara python module to be installed. Manual installation of yara is recommended to obtain the latest release, instructions are available on the Yara site.

  • On Debian-based systems these modules can be installed via

    $ apt-get install python-crypto python-yara

  • PyCrypto can also be installed via pip

    $ sudo pip install pycrypto

The andromeda plugin also requires Capstone to be installed.

  • On *nix (including Mac OS X, Linux, BSD, etc), do this with:

    $ sudo pip install capstone

  • On Windows, there are 2 choices:

    • Download & install Python binary package from Capstone homepage

    • Download PyPi package capstone-windows, then unzip & install from commandline with:

      python setup.py install

Usage

To search for and print out Andromeda configuration:

$ python vol.py -f memory.dmp andromeda
Volatility Foundation Volatility Framework 2.4
Andromeda Config Located
  Process msiexec.exe (PID: 2952, VAD: 0x7ff90000)
  	Bb: 0
  	Url: hxxp://andromeda-hostname[.]com/andromeda-path.php
  	Bid: 9
  	Fmt Str: {"id":%lu,"bid":%lu,"os":%lu,"la":%lu,"rg":%lu,"bb":%lu
  	Rg: 1
  	Key: f5d0e0420865071a12c22a84702daca3
  	Os: 351
  	Id: 2cae84cd

The usage for the modified PlugX plugin has not changed, but the naming for the new versions is slightly different than the original. These will be unified at a later date.

$ python vol.py -f memory.dmp plugxconfig

Process: iexplore.exe (3044)

PlugX Config (0x2d58 bytes):
	Hide Dll: -1
	Keylogger: -1
	Sleep1: 167772160
	Sleep2: 0
	Cnc: plugx[.]cnc:53 (TCP / HTTP / UDP / ICMP / DNS)
	Cnc: plugx[.]cnc:80 (TCP / HTTP / UDP / ICMP / DNS)
	Cnc: plugx[.]cnc:53 (TCP / HTTP / UDP / ICMP / DNS)
	Cnc: plugx[.]cnc:80 (TCP / HTTP / UDP / ICMP / DNS)
	Persistence: None
	Install Folder: %APPDATA%
	Reg Hive: Unknown
	Injection: 0
	Inject Process: %ProgramFiles%\Internet Explorer\iexplore.exe
	Inject Process: %windir%\system32\svchost.exe
	Inject Process: %ProgramFiles%\Internet Explorer\iexplore.exe
	Inject Process: %windir%\system32\svchost.exe
	Uac Bypass Injection: 0
	Plugx Auth Str: admin#@1
	Cnc Auth Str: message4
	Mutex: g1bsTj
	Screenshots: 1
	Screenshots Sec: 0
	Screenshots Zoom: 0
	Screenshots Bits: 0
	Screenshots Qual: 0
	Screenshots Keep: 0
	Lateral Tcp Enabled: 1
	Lateral Tcp Port: 535
	Lateral Udp Enabled: 1
	Lateral Udp Port: 535
	Lateral Unk Enabled: 1
	Lateral Unk Port: 535
	Unk 2D4C: 0
	Unk 2D50: 0
	Unk 2D58: 0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.