Skip to content
@mwemuorg

mwemuorg

MWEMU malware analisys

mwemu

x86 / x64 / ARM64 emulator for securely emulating malware and system internals.

Emulate shellcode and PE / ELF / Mach-O binaries — step by step, scriptable, no VM required.

Website · crates.io · PyPI


The monorepo

Everything lives in mwemuorg/mwemu as a Cargo workspace under crates/:

Crate What it is
mwemu The command-line emulator — the flagship tool.
libmwemu Core emulation engine as a Rust library (crates.io).
pymwemu Python bindings (PyPI).
cmwemu C ABI bindings (cdylib / staticlib + generated header).
mwemu-mcp Model Context Protocol server — drive mwemu from AI tooling.
kohunt Linux .ko driver vuln-hunter built on libmwemu — finds UAF / double-free / slab-OOB (separate repo).

Highlights

  • x86 (32 & 64-bit) and AArch64 emulation
  • Windows / Linux / macOS userland and system internals
  • Shellcode and PE / ELF / Mach-O loaders
  • Scriptable from Rust, Python and C
  • --winver: genuine Windows system DLLs fetched on demand from Microsoft's symbol server (no ISO needed)

Contributors

Contributors

  • @sha0coder — creator & maintainer
  • @brandonros — AArch64, macOS, serialization & multi-crate architecture proposal
  • @acheron2302 — DLL emulation, loaders, heavy memory management optimization
  • @mrexodia — GDB stub
  • @ElCapor — instruction hooks & exceptions
  • @SleathCobra — pymwemu, Python type stubs .pyi for IDE autocompletion
  • @1ndahous3 — full-emulation in multiple packers
  • Claude (Anthropic) — heavy development speed boost

Thanks also to everyone who opened issues and shaped the direction — @Thell (who first proposed a library back in the scemu days), @darknessxk, @icyfox168168, @carouselcarousel, @omarandlorraine and more.

License

mwemu is licensed under Apache-2.0.

Popular repositories Loading

  1. mwemu mwemu Public

    x86 malware emulator

    Rust 320 44

  2. libmwemu libmwemu Public archive

    Rust 1 1

  3. rs-header rs-header Public archive

    Rust 1

  4. pymwemu pymwemu Public archive

    python bindings

    Python

  5. cmwemu cmwemu Public archive

    c bindings

    Rust

  6. mwemu-mcp mwemu-mcp Public archive

    MCP for conecting AI to mwemu

    Rust

Repositories

Showing 10 of 12 repositories