Go编写的多人运动渗透测试图形化框架

admin 2024年2月19日11:05:57评论16 views字数 2139阅读7分7秒阅读模式

地址:https://github.com/INotGreen/XiebroC2/

特点

  • 被控端(Client)由Golang编写,兼容WIndows、Linux、MacOS上线(未来会考虑移动端上线)

  • 团队服务器(Teamserver)由.net 8.0 编写、AOT编译,内存占用低,无需安装任何依赖,几乎可以兼容全平台系统

  • 控制端(Controller)支持反弹shell,文件管理、进程管理、网络流量监控、内存加载、自定义UI背景色等功能

  • 支持Windows/Linux内存加载PE文件,即文件不落地执行木马,中转第三方C2/RAT

  • 支持内存执行.net 程序集(execute-assembly、inline-assembly)

  • 支持通过lua扩展UI控件、Session命令,载荷生成(类似于CobaltStrike的cna脚本)

  • 支持Teamserver托管二进制文件、文本、图片(类似SimpleHttpServer)

  • 支持团队服务器自定义配置文件,自定义Telegram的chat ID/Token上线通知

  • 控制端(Controller)UI轻量级交互界面,内存占用大约是CobaltStrike的60分之一,是Metasploit的10分之一

  • Golang的编译器特征已经被部分AV/EDR厂商标黑了,因此免杀效果较差

支持平台

Client(Session)

Windows(x86_x64) Linux(x86_x64) MacOS
Windows11 ubuntu AMD64
Windows10 Debian i386
Windows8/8.1 CentOS M1
Windows7 ppc64le M2
Windwos-XP mips
Windows Server 2000-2022 s390x

快速使用

  • 通过curl下载,密码:123456
curl -o XiebroC2-v3.1.7z https://github.com/INotGreen/XiebroC2/releases/download/XieBroC2-v3.1/Xiebro-v3.1.7z

 

  • 控制端需要运行在.Net Framework4.8以上(Win10/11无需安装,win7需要下载: .net framworkd4.8下载)

  • 修改TeamServerIP和TeamServerPort为VPS的IP和端口,然后保存为profile.json

{
    "TeamServerIP": "192.168.31.81",
    "TeamServerPort": "8880",
    "Password": "123456",
    "StagerPort": "4050",
    "Telegram_Token": "",
    "Telegram_chat_ID": "",
    "Fork": true,
    "Process64": "C:\\windows\\system32\\notepad.exe",
    "Process86": "C:\\Windows\\SysWOW64\\notepad.exe",
    "WebServers": [],
    "listeners": [],
    "s_Reflection_dll_x64": ""
}

 

服务端:

Teamserver.exe -c profile.json

 

上线演示

demo.mp4

命令列表

Commands Usage Description
nps nps Unmanaged run powershell in memory
Inline-assembly inline-assembly Inline execute .net assembly
execute-assembly execute-assembly Fork child process execute loader .net assembly
runpe runpe loader C/C++ PE in the memory for Windwos
shell shell Execute command
powershell powershell Execute powershell command
checkAV checkAV Detect AV/EDR processes
upload upload Upload File to the target
memfd memfd PE loader in the memory for Linux
help help View command list
cls cls Clear screen

添加插件

plugin.mp4

插件编写

  • 学习编写lua插件:Xiebro-Plugins

计划进行

  • 用C/C++/C#/Rust编写多阶段加载器(Multi-stage loader),体积尽量控制在150kb以内。

  • 目前正反向代理和端口转发未开放,未来考虑完善和开发这个功能。

  • 正在开发WebSocket/RUDP/SMB协议的Session模式,Beacon模式仅考虑开发HTTP/HTTPS/DNS。

  • 考虑开发shellcode(raw)、Powershell、VBscript、Hta、Jscript等载荷。

  • 开放更多窗体和API接口,以便lua扩展插件

  • 目前Golang的控制台隐藏问题还无法得到很好的方案,如果您知道如何解决这个问题请联系我。

 

 

原文始发于微信公众号(TKing的安全圈):Go编写的多人运动渗透测试图形化框架

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2024年2月19日11:05:57
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   Go编写的多人运动渗透测试图形化框架http://cn-sec.com/archives/2504200.html

发表评论

匿名网友 填写信息