
mXtract は、メモリを解析・ダンプするオープンソースの Linux ベースのツールです。ペネトレーションテストツールとして開発されており、主な目的は正規表現を使用してメモリから秘密鍵、IP アドレス、パスワードをスキャンすることです。結果は正規表現の質に依存することを覚えておいてください。

詳細表示と単純な IP 正規表現を使用してスキャンし、すべてのデータセグメントをスキャン、プロセス情報を表示、環境ファイルをスキャンします。

詳細表示と単純な IP 正規表現を使用してスキャンし、ヒープとスタックのみをスキャン、プロセス情報を表示、環境ファイルをスキャンします。

詳細表示なしで、単純な IP 正規表現を使用してスキャンし、プロセス情報を表示、環境ファイルをスキャンします。
ほとんどの Linux 環境では、ユーザーはプロセスのメモリにアクセスできます。これにより、攻撃者は認証情報や秘密鍵、あるいは本来見られるべきではないがプログラムによって平文で処理されているデータを収集できます。
git clone https://github.com/rek7/mXtractcd mXtract && sh compile.shこれにより、bin/ ディレクトリが作成され、バイナリが mxtract としてコンパイルされます。
$ ./mxtract -h
__ ___ _ { V1.2 }
_ __ ___ \ \/ / |_ _ __ __ _ ___| |_
| '_ ` _ \ \ /| __| '__/ _` |/ __| __|
| | | | | |/ \| |_| | | (_| | (__| |_
|_| |_| |_/_/\_\\__|_| \__,_|\___|\__| https://github.com/rek7/mXtract
Usage: ./mxtract [args]
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
-w Check if Memory Range is Writable
-r= Regex Database to Use
-p= Specify Single PID to Scan
Output:
-x Format Regex Results to XML
-r Format Regex Results to an HTML Document
-wm Write Raw Memory to File Default Directory is: 'pid/'
-wi Write Process Info to Beginning of File (Used in Conjunction with -wm)
-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
Either -r= or -wm needed
$ ./mxtract -wm -wr -e -i -d=/tmp/output/ -r=example_regexes.db