Skip to main content

Speakeasy

Speakeasy is a Windows malware emulation framework that executes binaries, drivers and shellcode in a modeled Windows runtime instead of a full VM. It emulates the Windows APIs, processes, threads, file system, registry and network that a sample uses, so the sample runs further than in a bare CPU emulator. The speakeasy CLI writes the report as JSON for triage, and the Python library returns the same report to your code.

For background, see Mandiant's introduction to Speakeasy.

Quick start

Install from PyPI:

python3 -m pip install speakeasy-emulator

Emulate a sample and print some fields of the report. Replace sample.dll with your file:

speakeasy -t sample.dll --no-mp -o report.json 2>/dev/null
jq '{sha256, arch, file_type, runs: (.runs | length)}' report.json

The values depend on the sample:

{
  "sha256": "…",
  "arch": "x86",
  "file_type": "dll",
  "runs": 3
}

By default, Speakeasy turns on all its features: it runs the exports and the child processes, and the report has coverage, memory access counts and the final memory contents. Each feature has a --no- flag that turns it off, for example --no-code-coverage. A run with fewer features is faster and gives a smaller report. The CLI reference lists the flags.

Documentation

Start with installation, Python library usage and the CLI reference. The documentation index lists all pages.

For help, see doc/help.md or open an issue at github.com/mandiant/speakeasy/issues.

Metadata

Release files for speakeasy-emulator 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for speakeasy-emulator 2.1.0
File Size Uploaded Provenance Actions
speakeasy_emulator-2.1.0.tar.gz 1.9 MB With provenance Details for speakeasy_emulator-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for speakeasy-emulator 2.1.0
File Interpreter ABI Platform Actions
speakeasy_emulator-2.1.0-py3-none-any.whl Python 3 none any Details for speakeasy_emulator-2.1.0-py3-none-any.whl

Total release size: 4.1 MB

Release files / speakeasy_emulator-2.1.0.tar.gz

Download URL speakeasy_emulator-2.1.0.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
c760403917b7c564d8f1ccd050e9b3f7de5b5959509be01b0f020498773bf2f5
BLAKE2b-256 checksum
How to use checksums
bf790fb67722752a5c46afa23ec5e03fb0cad62b3adb320864bdad15ba7cb4e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / speakeasy_emulator-2.1.0-py3-none-any.whl

Download URL speakeasy_emulator-2.1.0-py3-none-any.whl
Size 2.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1a77d1dc2aa876e27cedff8eca725ee1a17908045185012df595c215fe3480b8
BLAKE2b-256 checksum
How to use checksums
f44c930562e36f4309f775f98e78794076edbd2dd3eed61fa48568ff74ec708b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for speakeasy-emulator 2.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for speakeasy_emulator-2.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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