MXtract – Memory Extractor & Analyser

MXtract is an opensource Linux based tool that analyses and dumps memory. Its developed as an offensive pentration testing tool which can be used to scan memory for private keys, IP, and passwords using regexes. Remember your results are only as good as your regexes.

In most Linux environments users can access the memory of processes, this allows attackers to harvest credentials, private keys, or anything that isn’t suppose to be seen but is being processed by a program in clear text.

Also Read – DNSDmpstr : Unofficial API & Client for DnsDumpster & HackerTarget

Features

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

Getting started

Compiling: g++ -std=c++11 -O2 src/main.cpp -o mxtract

Commands

-v Enable Verbose Output
-s Suppress Banner
-h Help
-c suppress colored output
-r= Regex DB
-a Scan all memory ranges not just heap/stack
-w Write raw memory to file Default directory is pid/
-o Write regex output to file
-d= Custom Ouput Directory
-p= Specify single pid to scan
Either -r= or -w needed

Screenshots

Scan with verbose and with a simple IP regex, scanning every data segment. 

Scan with verbose and with a simple IP regex, scanning only heap and stack.

Scan without verbose, and with a simple IP regex.

R K

Recent Posts

Bash Scripting Best Practices Every Beginner Should Know

Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…

19 hours ago

How To Create A Self-Signed SSL Certificate Using Bash And OpenSSL

Introduction A self-signed SSL certificate is a certificate that is created and signed by the…

20 hours ago

How To Debug Bash Scripts Using bash -x And set Commands

Introduction Debugging is an important part of Bash scripting. When a script does not work…

1 day ago

How To Use Cron Jobs With Bash Scripts For Automation

Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…

1 day ago

How To Use Pipes In Bash Scripts For Command Chaining

Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…

1 day ago

How To Use grep, awk, And sed In Bash Scripts

Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…

1 day ago