百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

SharpSphere

> 编程语言
开源

用于攻击 vCenter 的 .NET 项目

559 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

用于攻击 vCenter 的 .NET 项目

SharpSphere - Attacking vSphere Infrastructure

Credit @jkcoote & @grzryc

Full walk-through and examples available here.

Version History

  • 1.0 - Initial Release
  • 2.0 - Added supported for pass-through authentication using SSPI.
  • 2.1 - Added support for Linux target VMs with --linux, and added a --verbose flag for listing vCenter users and groups

Introduction

SharpSphere gives red teamers the ability to easily interact with the guest operating systems of virtual machines managed by vCenter. It uses the vSphere Web Services API and exposes the following functions:

  • Command & Control - In combination with F-Secure's C3, SharpSphere provides C&C into VMs using VMware Tools, with no direct network connectivity to the target VM required.
  • Code Execution - Allows arbitrary commands to be executed in the guest OS and returns the result
  • File Upload - Allows arbitrary files to be uploaded to the guest OS
  • File Download - Allows arbitrary files to be downloaded from the guest OS
  • List VMs - Lists the VMs managed by vCenter that have VMware Tools running
  • Dump Memory - Dump and download VM's memory, then manually extract credentials from LSASS offline using WinDbg and Mimikatz (Guide)

SharpSphere supports execution through Cobalt Strike's execute-assembly.

Compilation

Compiled versions can be found here.

Usage

Available modules:

SharpSphere.exe help

  list        List all VMs managed by this vCenter

  execute     Execute given command in target VM

  c2          Run C2 using C3's VMwareShareFile module

  upload      Upload file to target VM

  download    Download file from target VM

  help        Display more information on a specific command.

  version     Display version information.

List VMs:

SharpSphere.exe list --help 

  --url         Required. vCenter SDK URL, i.e. https://127.0.0.1/sdk

  --username    vCenter username, i.e. [email protected]. Defauls to executing user and pass-through
                authentication if not supplied.

  --password    vCenter password. Defaults to executing user and pass-through authentication if not supplied.

  --verbose     (Default: false) Prints verbose output about vCenter, inc. groups and users

  --help        Display this help screen.

  --version     Display version information.

Code execution:

…

Command & Control:

…

File Upload:

…

File Download:

…

Dumping Memory:

…

Future Features

  1. Add support for Linux guest OS
  2. Include a --verbose option for listing VMs
  3. Add a --quiet flag to not mention every packet that's transferred
  4. Add a --testauth flag to confirm guest credentials are valid

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言