Skip to content
KitploitKITPLOIT
StrumentiBlog
Invia
StrumentiBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

··Feed·Contatto·Privacy·© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
SharpSphere — Progetto .NET per attaccare vCenter | Kitploit
Strumenti/GitHubGitHub/jamescooteuk/sharpsphere
Esfiltrazione DatiPost-ExploitPenetration TestingCommand and ControlRed Teaming
GitHubjamescooteuk/sharpsphere

SharpSphere

Progetto .NET per attaccare vCenter

Vedi Repository
559634 anni faRevisionato da Kitploit

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi

SharpSphere - Attacco all'infrastruttura vSphere

Crediti @jkcoote & @grzryc

Guida completa ed esempi disponibili qui.

Cronologia versioni

  • 1.0 - Versione iniziale
  • 2.0 - Aggiunto supporto per l'autenticazione pass-through tramite SSPI.
  • 2.1 - Aggiunto supporto per VM target Linux con --linux, e aggiunta l'opzione --verbose per elencare utenti e gruppi di vCenter

Introduzione

SharpSphere offre ai red teamer la possibilità di interagire facilmente con i sistemi operativi guest delle macchine virtuali gestite da vCenter. Utilizza l'API vSphere Web Services ed espone le seguenti funzioni:

  • Comando e Controllo - In combinazione con F-Secure's C3, SharpSphere fornisce C&C nelle VM utilizzando VMware Tools, senza necessità di connettività di rete diretta alla VM target.
  • Esecuzione di codice - Consente l'esecuzione di comandi arbitrari nel sistema operativo guest e restituisce il risultato
  • Caricamento file - Consente il caricamento di file arbitrari nel sistema operativo guest
  • Download file - Consente il download di file arbitrari dal sistema operativo guest
  • Elenco VM - Elenca le VM gestite da vCenter con VMware Tools in esecuzione
  • Dump della memoria - Effettua il dump e il download della memoria della VM, quindi estrae manualmente le credenziali da LSASS offline usando WinDbg e Mimikatz (Guida)

SharpSphere supporta l'esecuzione tramite execute-assembly di Cobalt Strike.

Compilazione

Le versioni compilate sono disponibili qui.

Utilizzo

Moduli disponibili:

root@kitploit:~
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.

Elenco VM:

root@kitploit:~
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.

Esecuzione di codice:

root@kitploit:~
SharpSphere.exe execute --help

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

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

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

  --ip               Required. Target VM IP address

  --guestusername    Username used to authenticate to the guest OS. Defaults to executing user and pass-through authentication if not supplied

  --guestpassword    Password used to authenticate to the guest OS. Defaults to executing user and pass-through authentication if not supplied

  --command          Required. Command to execute

  --output           (Default: false) Receive output from your command. Will create a temporary file in outputDir on the guest to save the output. This is then downloaded and printed to the console and the file
                     deleted

  --outputDir        When --output is provided, this is where to store the temporary file.

  --linux            (Default: false) Set if target VM is Linux

  --help             Display this help screen.

  --version          Display version information.

Comando e Controllo:

root@kitploit:~
SharpSphere.exe c2 --help

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

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

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

  --ip               Required. Target VM IP address

  --guestusername    Username used to authenticate to the guest OS. Defaults to executing user and pass-through
                     authentication if not supplied

  --guestpassword    Password used to authenticate to the guest OS. Defaults to executing user and pass-through
                     authentication if not supplied

  --command          Required. Command to execute

  --output           (Default: false) Receive output from your command. Will create a temporary file in outputDir on the
                     guest to save the output. This is then downloaded and printed to the console and the file deleted

  --outputDir        (Default: C:\Windows\Temp) When --output is provided, this is where to store the temporary file.

Caricamento file:

root@kitploit:~
SharpSphere.exe upload --help

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

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

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

  --ip               Required. Target VM IP address

  --guestusername    Username used to authenticate to the guest OS. Defaults to executing user and pass-through authentication if not supplied

  --guestpassword    Password used to authenticate to the guest OS. Defaults to executing user and pass-through authentication if not supplied

  --source           Required. Full path to local file to upload

  --destination      Required. Full path to location where file should be uploaded

  --help             Display this help screen.

  --version          Display version information.

Download file:

root@kitploit:~
>SharpSphere.exe download --help

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

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

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

  --ip               Required. Target VM IP address

  --guestusername    Username used to authenticate to the guest OS. Defaults to executing user and pass-through
                     authentication if not supplied

  --guestpassword    Password used to authenticate to the guest OS. Defaults to executing user and pass-through
                     authentication if not supplied

  --source           Required. Full path in the guest to the file to upload

  --destination      Required. Full path to the local directory where the file should be downloaded

Dump della memoria:

root@kitploit:~
>SharpSphere.exe dump --help
  --url            Required. vCenter SDK URL, i.e. https://127.0.0.1/sdk

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

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

  --targetvm       Required. VM to snapshot

  --snapshot       (Default: false) WARNING: Creates and then deletes a snapshot. If unset, SharpSphere will only
                   extract memory from last existing snapshot, or none if no snapshots are available.

  --destination    Required. Full path to the local directory where the file should be downloaded

Funzionalità future

  1. Aggiungere supporto per sistemi operativi guest Linux
  2. Includere un'opzione --verbose per elencare le VM
  3. Aggiungere un flag --quiet per non menzionare ogni pacchetto trasferito
  4. Aggiungere un flag --testauth per confermare che le credenziali guest siano valide
Scarica lo strumento