Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
RATDecoders — 常见远程访问木马的 Python 解码器 | Kitploit
工具/GitHubGitHub/kevthehermit/ratdecoders
危害指标 (IOC) 管理静态分析动态分析 (沙盒)逆向工程脚本与自动化取证分析恶意软件分析威胁情报事件响应
GitHubkevthehermit/ratdecoders

RATDecoders

常见远程访问木马的 Python 解码器

查看仓库
1.1k3064年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

RATDecoders

Malconf 是一个 python3 库,可用于静态分析特定恶意软件家族,并提取事件响应人员在事件处理期间可以使用的配置数据。

作为一个库,它也可以被安装到自动化恶意软件分析管道中。

Coverage

Build Status

安装

依赖要求

有一些先决条件已包含在 pip setup 和 requirements.txt 中。

  • pefile
  • pbkdf2
  • javaobj-py3
  • pycrypto
  • androguard

对于所有解码器,你需要 yara 和 yara-python。要处理 .NET 恶意软件,你需要安装带 dotnet 支持的 yara-python

带 dotnet 支持的 yara-python
root@kitploit:~
git clone --recursive https://github.com/VirusTotal/yara-python
python3 setup.py build --enable-magic --enable-dotnet
sudo python3 setup.py install

通过 pip 安装

root@kitploit:~
pip3 install --upgrade malwareconfig

从仓库安装

root@kitploit:~
git clone [email protected]:kevthehermit/RATDecoders.git
cd RATDecoders
pip3 install -r requirements.txt
python3 setup.py install

当前支持的 RAT

以下是当前支持的 RAT 列表:

  • LostDoor
  • Xtreme
  • AAR
  • AdWind
  • Adzok
  • AlienSpy
  • Alina
  • Arcom
  • BlackNix
  • BlackShades
  • BlueBanana
  • Bozok
  • ClientMesh
  • CyberGate
  • DarkComet
  • DarkRAT
  • HawkEye
  • Hrat / hworm / WSH
  • Jbifrost
  • JRat
  • LuminosityLink
  • LuxNet
  • NanoCore
  • NetWire
  • njRat
  • Plasma
  • Remcos
  • Saefko
  • Sakula
  • SpyNote / Mobihook

即将支持的 RAT

  • 仍在从旧版本迁移中!

用法

使用提供的命令行工具 malconf,你可以传入单个文件或一个目录,并使用 -r 标志,它将自动检测家族并提取任何配置。

你还可以使用 -o 选项将结果写入文件。

malconf

malconf -l 这将列出所有受支持的 RAT

malconf /path/to/sample 这将自动检测家族并运行解码器

root@kitploit:~
⇒  malconf tests/samples/alienspy 

 __  __       _  ____             __ 
|  \/  | __ _| |/ ___|___  _ __  / _|
| |\/| |/ _` | | |   / _ \| '_ \| |_ 
| |  | | (_| | | |__| (_) | | | |  _|
|_|  |_|\__,_|_|\____\___/|_| |_|_| 

Malware Configuration Parser by @kevthehermit

[+] Loading File: tests/samples/alienspy
  [-] Found: AlienSpy
  [-] Running Decoder
  [-] Config Output

{'ConfigKey': 'fzGUoTaQH3SUW7E82IKQK2J2J2IISIS',
 'NAME': 'ok',
 'Version': 'B',
 'connetion_time': '0',
 'desktop': 'true',
 'dns': '213.208.129.211',
 'extensionname': 'qQJ',
 'folder': 'java',
 'instalar': 'true',


库

如果你通过 pip 安装,也可以将它作为库使用。

root@kitploit:~
from malwareconfig import fileparser
from malwareconfig.modules import __decoders__, __preprocessors__

# Open and parse the file
sample_path = '/path/to/sample.exe'
file_info = fileparser.FileParser(file_path=sample_path)

# Check for a valid decoder and then parse
if file_info.malware_name in __decoders__:
    module = __decoders__[file_info.malware_name]['obj']()
    module.set_file(file_info)
    module.get_config()
    conf = module.config
    pprint(conf)

致谢

所有功劳当归于应得之人。

Malware.lu 对最初的 xtreme RAT 分析报告的贡献 - https://code.google.com/p/malware-lu/wiki/en_xtreme_RAT

Fireye 的 Poison Ivy 和 Xtreme RAT 分析报告(尽管他们忽略了我的推文 :-) ) - http://www.fireeye.com/blog/technical/2014/02/xtremerat-nuisance-or-threat.html

Shawn Denbow 和 Jesse Herts 的论文 - http://www.matasano.com/research/PEST-CONTROL.pdf 为我节省了大量时间

下载工具