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.0.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.0.0
File Size Uploaded Provenance Actions
speakeasy_emulator-2.0.0.tar.gz 1.9 MB With provenance Details for speakeasy_emulator-2.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 4.1 MB

Release files / speakeasy_emulator-2.0.0.tar.gz

Download URL speakeasy_emulator-2.0.0.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
eda3822393639c0813aea7b98702f0a239090077843a11899d4b5aed6727764a
BLAKE2b-256 checksum
How to use checksums
0ead4c6c594e46a193cade53d1d554cbe9efb3fa46c2020697ce9b7a67a9ba80
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 17, 2026.

Transparency log

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

Download URL speakeasy_emulator-2.0.0-py3-none-any.whl
Size 2.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
357868e3e4b4fd262a291671dd2b7655031b012a15f3743fdc70837ad58406b9
BLAKE2b-256 checksum
How to use checksums
198be28171003c22b97b4b8add65285df992aa4c637ebfd4a5ba277fa2fe2c2d
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 17, 2026.

Transparency log

Security for speakeasy-emulator 2.0.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.0.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 17, 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