CS

cobalt-strike/cobaltstrike-mcp-server

Developer tools公式

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

66 stars 10 forks 品質 66 トレンド 20Apache-2.0

cobalt-strike/cobaltstrike-mcp-serverは[https://github.com/cobalt-strike/cobaltstrike-mcp-server.からインポートされたMCPサーバー候補です

概要

cobalt-strike/cobaltstrike-mcp-serverは[https://github.com/cobalt-strike/cobaltstrike-mcp-server.からインポートされたMCPサーバー候補です

概要(AI 翻訳)

バージョン 0.2 公式コバルトストライクMCPの

ツール

| お名前 | 必須 | | お問い合わせ | | cs list beacons | ビーコン一覧 | IDでビーコンを1個取得 | | cs list commands | ヘルプテキストで実行できるコマンドのリスト | | cs execute command | ビーコンで1つのコマンドを実行し、投稿を返す | | cs list command execution | 過去のコマンドの実行を一覧表示するか、IDで1つを取得 | | cs read command output | 1つのコマンド実行の出力をプレーンテキストとして読む | | cs list artifacts | ビーコンに保管されるリストアーティファクト | | cs upload artifact | 新たなアーティファクトとして保存するワンタイムリンクをゲット | | cs list downloads | ビーコンからダウンロードしたリストファイル | 進捗状況 | | cs fetch download | ダウンロードファイルを取得するためのワンタイムリンク | | cs list screenshots | ビーコンで撮影したスクリーンショット | | cs fetch screenshot | スクリーンショットの画像を取得するためのワンタイムリンクをゲット |

要件

  • コバルトストライク 4.13+
  • チームサーバーホスト上で実行する必要があります
  • Python 3.13 +
  • 紫外線
  • Codex CLI および Claude コードで最適化されたが、任意の MCP クライアントと互換性があるべき

使用法

チーム サーバー

  1. [config.yml の作成

  2. `config. の更新.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Cobalt Strike MCP Server

Version 0.2 of the official Cobalt Strike MCP

Tools

Name Description
cs_list_beacons List beacons, or get one beacon by ID
cs_list_commands List the commands beacons can run, with their help text
cs_execute_command Execute one command on a beacon and return a submission receipt
cs_list_command_executions List past command executions, or get one by ID
cs_read_command_output Read the output of one command execution as plain text
cs_list_artifacts List artifacts stored on the team server for beacons to use
cs_upload_artifact Get a one-time link that stores a file as a new artifact
cs_list_downloads List files downloaded from beacons, with transfers in progress
cs_fetch_download Get a one-time link to fetch a download’s file
cs_list_screenshots List screenshots taken on beacons
cs_fetch_screenshot Get a one-time link to fetch a screenshot’s image
cs_get_team_server Get team server information

Requirements

  • Cobalt Strike 4.13+
  • Must run on the team server host
  • Python 3.13+
  • uv
  • Optimized for Codex CLI and Claude Code, but should be compatible with any MCP client

Usage

Team Server

  1. Create config.yml
cp config.example.yml config.yml
  1. Update config.yml as needed (or use environment variable overrides)
Setting Environment variable Default
cobalt_strike.url CS_MCP_URL https://localhost:50443
cobalt_strike.username CS_MCP_USERNAME mcp
CS_MCP_PASSWORD
cobalt_strike.password_path CS_MCP_PASSWORD_PATH /run/secrets/cs_password
cobalt_strike.verify_ssl CS_MCP_VERIFY_SSL false
cobalt_strike.token_duration_ms CS_MCP_TOKEN_DURATION_MS 86400000
limits.session_idle_timeout_seconds CS_MCP_SESSION_IDLE_TIMEOUT_SECONDS 1800
limits.request_timeout_seconds CS_MCP_REQUEST_TIMEOUT_SECONDS 30
limits.max_response_chars CS_MCP_MAX_RESPONSE_CHARS 40000
limits.max_upload_bytes CS_MCP_MAX_UPLOAD_BYTES 4000000
limits.output_wait_seconds CS_MCP_OUTPUT_WAIT_SECONDS 30
commands.default CS_MCP_COMMANDS_DEFAULT ask
commands.allow CS_MCP_COMMANDS_ALLOW []
commands.ask CS_MCP_COMMANDS_ASK []
commands.deny CS_MCP_COMMANDS_DENY []
artifacts.directory CS_MCP_ARTIFACTS_DIRECTORY ../server/rest-server/restapi/artifacts
  1. Start the MCP server
uv sync --locked --no-dev
uv run --locked --no-dev cobaltstrike-mcp-server --config ./config.yml

Operator Workstation

  1. Add to your preferred client

You may need to port forward or allow 50051 from your client to the team server.

Codex CLI

codex mcp add cobaltstrike --url http://teamserver:50051/mcp

Claude Code

claude mcp add --transport http cobaltstrike http://teamserver:50051/mcp
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →