Skip to main content

Python GUI to run capemon in standalone VM. Provides a subset of CAPE (Configuration And Payload Extraction) processing and results.

Quick Start

  • Open an administrator command window.
  • Type capesolo to run.

Alternatively, create a shortcut to CAPEsolo.exe, which will be in the Scripts subdirectory of same location as your python.exe file.

  • Under Advanced, check 'Run as administrator'
  • An icon file is available in the CAPEsolo install folder under site-packages.

Analysis results are found in C:\Users\Public\CAPEsolo\analysis.

  • Can be configured in python-path\site-packages\CAPEsolo\cfg.ini

Revert the VM after each analysis.

MCP Server

  • CAPEsolo includes an MCP server entrypoint for programmatic analysis workflows.
  • Install project dependencies (including mcp) in your environment.

Run

  • Start the server over stdio:
    • CAPEsolo-mcp
    • or python -m CAPEsolo.mcp_server

Available MCP Tools

  • capesolo_analyze_sample
    • Submit a sample for analysis.
    • Key args: sample_path, package (Auto-detect by default), options, timeout, enforce_timeout.
  • capesolo_analyze_password_zip
    • Submit a password-protected ZIP for analysis.
    • Key args: zip_path, optional zip_password (defaults to infected), optional archive_member_path (required when ZIP has multiple files), package, options, timeout, enforce_timeout.
    • ZIP extraction/decryption is handled by SFlock2.
  • capesolo_get_job_status
    • Get job state (queued, running, completed, failed).
  • capesolo_cancel_job
    • Request termination of a running job (same analyzer termination signal used by GUI Kill).
  • capesolo_get_results
    • Return CAPEsolo JSON results using existing keys (target, behavior, signatures, payloads, configs, detections).
  • capesolo_get_job_log_tail
    • Return the last N lines from analysis.log for a job.
  • capesolo_render_html_report
    • Generate an HTML report from completed analysis.
  • capesolo_list_payloads
    • List payload artifacts from analysis output.
  • capesolo_list_dropped_files
    • List dropped files under analysis files output.
  • capesolo_list_debug_logs
    • List debugger and analysis log artifacts.
  • capesolo_update_yara
    • Update CAPE/community YARA rules.

Typical Workflow

  1. Call capesolo_analyze_sample or capesolo_analyze_password_zip.
  2. Poll capesolo_get_job_status until completed.
  3. Call capesolo_get_results (and optionally capesolo_render_html_report).

Headless Single-Run CLI

  • CAPEsolo supports a non-MCP single-run mode that reuses the same backend job runner as the MCP server.
  • Run one analysis and exit:
    • CAPEsolo --headless-analyze "C:\path\sample.exe"
  • Optional flags:
    • --package <name>
    • --options "key=value,key2=value2"
    • --timeout <seconds>
    • --enforce-timeout
    • --headless-json
    • --headless-html-report

MCP Client Config Examples

  • Use these examples to connect CAPEsolo MCP server to common clients.
  • Server command is:
    • CAPEsolo-mcp
    • or python -m CAPEsolo.mcp_server

Claude Desktop

  • Add to Claude Desktop MCP config:
{
  "mcpServers": {
    "capesolo": {
      "command": "python",
      "args": ["-m", "CAPEsolo.mcp_server"],
      "cwd": "C:\\Users\\lkuca\\PycharmProjects\\CAPEsolo"
    }
  }
}

Cursor

  • Add in Cursor MCP servers config:
{
  "mcpServers": {
    "capesolo": {
      "command": "CAPEsolo-mcp",
      "args": []
    }
  }
}

OpenCode

  • Add in OpenCode MCP config:
{
  "mcpServers": {
    "capesolo": {
      "command": "python",
      "args": ["-m", "CAPEsolo.mcp_server"],
      "cwd": "C:\\Users\\lkuca\\PycharmProjects\\CAPEsolo"
    }
  }
}

Codex (Custom Host App)

  • If you run Codex through a custom client/app, configure the app's MCP server map with:
{
  "mcpServers": {
    "capesolo": {
      "command": "CAPEsolo-mcp",
      "args": []
    }
  }
}
  • The host app must support MCP tool calls and pass them through to the Codex model runtime.

PyCharm AI Assistant

  • Open:
    • Settings -> Tools -> AI Assistant -> Model Context Protocol (MCP)
  • Add JSON config:
{
  "mcpServers": {
    "capesolo": {
      "command": "python",
      "args": ["-m", "CAPEsolo.mcp_server"],
      "cwd": "C:\\Users\\lkuca\\PycharmProjects\\CAPEsolo"
    }
  }
}

Quick Connection Test

  1. Start your MCP-enabled client with the config above.
  2. Call capesolo_get_job_status with a fake id:
    • {"job_id":"test"}
  3. Expected response pattern:
    • {"found": false, "error": "Job not found: test"}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

capesolo-0.5.22.tar.gz (7.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

capesolo-0.5.22-py3-none-any.whl (7.7 MB view details)

Uploaded Python 3

File details

Details for the file capesolo-0.5.22.tar.gz.

File metadata

  • Download URL: capesolo-0.5.22.tar.gz
  • Upload date:
  • Size: 7.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for capesolo-0.5.22.tar.gz
Algorithm Hash digest
SHA256 c9202811d92aa14d4a8e4ee67927408b6b8d8322c3c95e8eb1f9dcbbc98fe6c1
MD5 35ad3d48d3f7b0ae5ef4cd8d72906bd6
BLAKE2b-256 56ec091f6955ca8e7ddae1d70b1d85714cc952354c2a5854036637a58ee73688

See more details on using hashes here.

File details

Details for the file capesolo-0.5.22-py3-none-any.whl.

File metadata

  • Download URL: capesolo-0.5.22-py3-none-any.whl
  • Upload date:
  • Size: 7.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for capesolo-0.5.22-py3-none-any.whl
Algorithm Hash digest
SHA256 a8d2bc0b69481d5e27e464241804221a121814b7e5d5a1dce354f780f1d4cce6
MD5 99167ac9d35ed5d6d03352521cc50939
BLAKE2b-256 bd766a575842c6bb990eca09e78606c20fd3fb17bee851df307999b9a187e6c5

See more details on using hashes here.

Release history Release notifications | RSS feed

0.5.33

2 files

0.5.32

2 files

0.5.30

2 files

0.5.29

2 files

0.5.28

2 files

0.5.27

2 files

0.5.26

2 files

0.5.25

2 files

0.5.24

2 files

0.5.23

2 files

This release

0.5.22 This release

2 files

0.5.20

2 files

0.5.19

2 files

0.5.15

2 files

0.5.9

2 files

0.5.7

2 files

0.4.27

2 files

0.4.25

2 files

0.4.24

2 files

0.4.23

2 files

0.4.22

2 files

0.4.21

2 files

0.4.20

2 files

0.4.19

2 files

0.4.18

2 files

0.4.17

2 files

0.4.16

2 files

0.4.15

2 files

0.4.14

2 files

0.4.13

2 files

0.4.12

2 files

0.4.11

2 files

0.4.10

2 files

0.4.9

2 files

0.4.8

2 files

0.4.7

2 files

0.4.6

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page