Skip to content
KitploitKITPLOIT
ИнструментыБлог
Отправить
ИнструментыБлог
Отправить

Инструменты для хакинга, пентеста и кибербезопасности — ваш арсенал защиты!

Kitploit — это каталог инструментов для хакинга, кибербезопасности и пентестинга. Находите последние обновления проектов для поиска уязвимостей, анализа систем, автоматизации тестирования и усиления вашей безопасности.

··Ленты·Контакты·Конфиденциальность·© 2026 Kitploit

Каталог инструментов

Категории

Все категории
Loading categories
SharpSphere — .NET проект для атаки vCenter | Kitploit
Инструменты/GitHubGitHub/jamescooteuk/sharpsphere
Эксфильтрация данныхПост-эксплуатацияТестирование на ПроникновениеКомандование и УправлениеRed Teaming
GitHubjamescooteuk/sharpsphere

SharpSphere

.NET проект для атаки vCenter

Репозиторий
559634 лет назадПроверено Kitploit

Популярное

Смотреть все →

Откройте для себя самые используемые инструменты нашего сообщества.

Изучить все инструменты

Просмотрите нашу коллекцию инструментов

Смотреть все инструменты →
Поделиться

SharpSphere - Атака на инфраструктуру vSphere

Авторы @jkcoote и @grzryc

Полное описание и примеры доступны здесь.

История версий

  • 1.0 - Первоначальный выпуск
  • 2.0 - Добавлена поддержка сквозной аутентификации с использованием SSPI.
  • 2.1 - Добавлена поддержка целевых виртуальных машин Linux с флагом --linux, а также флаг --verbose для вывода списка пользователей и групп vCenter

Введение

SharpSphere предоставляет специалистам красной команды возможность легко взаимодействовать с гостевыми операционными системами виртуальных машин, управляемых vCenter. Он использует vSphere Web Services API и предоставляет следующие функции:

  • Командование и управление (C&C) - В сочетании с F-Secure C3 SharpSphere обеспечивает C&C в виртуальные машины через VMware Tools без необходимости прямого сетевого подключения к целевой ВМ.
  • Выполнение кода - Позволяет выполнять произвольные команды в гостевой ОС и возвращать результат
  • Загрузка файлов - Позволяет загружать произвольные файлы в гостевую ОС
  • Скачивание файлов - Позволяет скачивать произвольные файлы из гостевой ОС
  • Список ВМ - Выводит список ВМ, управляемых vCenter, на которых запущены VMware Tools
  • Дамп памяти - Дамп и скачивание памяти ВМ, затем ручное извлечение учетных данных из LSASS в автономном режиме с помощью WinDbg и Mimikatz (Руководство)

SharpSphere поддерживает выполнение через execute-assembly Cobalt Strike.

Компиляция

Скомпилированные версии можно найти здесь.

Использование

Доступные модули:

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.

Список ВМ:

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.

Выполнение кода:

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.

Командование и управление:

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.

Загрузка файлов:

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.

Скачивание файлов:

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

Дамп памяти:

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

Будущие возможности

  1. Добавить поддержку гостевой ОС Linux
  2. Включить опцию --verbose для вывода списка ВМ
  3. Добавить флаг --quiet, чтобы не упоминать каждый переданный пакет
  4. Добавить флаг --testauth для подтверждения правильности гостевых учетных данных
Скачать инструмент