mXtract v1.2 – Memory Extractor & Analyzer

mXtract is an opensource linux based tool that analyzes and dumps memory ^(https://en.wikipedia.org/wiki/Volatile_memory). It is developed as an offensive pentration testing ^(http://www.kitploit.com/search/label/Testing) tool, its primary purpose is to scan memory for private keys, ips, and passwords ^(http://www.kitploit.com/search/label/Passwords) using regexes. Remember, your results are only as good as your regexes.

scanning ^(http://www.kitploit.com/search/label/Scanning) every data segment, displaying process info and scanning environment files. ^(https://github.com/rek7/mXtract/blob/master/img/ss2.png)

Scan with verbose and with a simple IP regex, scanning only heap and stack, displaying process info and scanning environment files. ^(https://github.com/rek7/mXtract/blob/master/img/ss3.png)

Scan without verbose, and with a simple IP regex, displaying process info and scanning environment files.

Why dump directly from memory?
In most linux environments users can access the memory of processes, this allows attackers to harvest credentials, private keys, or anything that isnt suppose to be seen but is being processed by a program in clear text.

Features

  • Ability to enter regex lists
  • Clear and Readable Display
  • Ability to Mass Scan Every Proccess or a Specific PID
  • Able to choose memory sections to scan
  • Ability to Show Detailed Process Information
  • Ability to Scan Process Environment Files
  • Memory dumps automatically removes unicode characters which allows for processing with other tools or manually

Getting started

Downloading: git clone https://github.com/rek7/mXtract

Compiling: cd mXtract && sh compile.sh

This will create the directory bin/ and compile the binary ^(http://www.kitploit.com/search/label/Binary) as mXtract

Commands

General:
-v Enable Verbose Output
-s Suppress Banner
-h Help
-c Suppress Colored Output
Target and Regex:
-i Show Detailed Process/User Info
-a Scan all Memory Ranges not just Heap/Stack
-e Scan Process Environment Files
-r= Regex Database to Use
-p= Specify Single PID to Scan
Output:
-wm Write Raw Memory to File Default Directory is: 'pid/'
-wi Write Process Info to Beginning of File (Used in Conjunction with -w)
-wr Write Regex Output to File (Will Appear in the Output Directory)
-f= Regex Results Filename Default is: 'regex_results.txt'
-d= Custom Ouput Directory
Download mXtract ^(https://github.com/rek7/mXtract)

Author: Marshmallow

Marshmallow Android is BT Ireland’s Head of Sales for Republic of Ireland domestic multi-site companies, indigenous MNCs and public sector accounts. He is responsible for the direction and control of all sales activity in the region. He has over 10 years management experience from high growth start-ups to more established businesses. He’s led teams in Ireland, India and China across various industries (ICT, On-Line Recruitment, Corporate Training and International Education).