
Pure Rust x86 hardware emulator and Windows process simulator for malware analysis, shellcode emulation, and payload unpacking. Supports 32/64-bit PE executables, Metasploit, Cobalt Strike, and complex malware families.
It's a hardware emulator + OS process simulator implemented in pure rust.
This approach is very convenient to malware analysis and other stuff (PE, shellcode etc)
Supports x86 32/64-bit and AArch64 architectures. The primary target OS is Windows (full process emulation with PEB/TEB/LDR, WinAPI and syscall interception), with growing support for Linux and macOS (syscalls, ELF/Mach-O loaders, libc shims).

The project was renamed from scemu to mwemu.
r2con2025 using radare2 from mwemu for doing static analisys and visualization inside an emulation moment.
📦 rust safety, good for emulating malware.
⚡ very fast emulation
make test_speed (builds release and emulates 20M instructions of enigma, reporting elapsed time)powered by iced-x86 rust disassembler awesome library.
commandline tool, rust library, and python library.
iteration detector.
memory and register tracking.
colorized.
stop at specific moment and explore the state or modify it.
850+ CPU instructions implemented (x86/x64, growing AArch64).
Windows API emulation across 13 DLLs (32-bit and 64-bit parity).
Windows and Linux syscall emulation.
kernel-mode driver emulation (.sys and .ko) with --ioctl, pool ledger, BYOVD detection.
SEH chains.
vectored exception handler.
PEB, TEB structures.
dynamic linking.
IAT binding.
delay loading.
memory allocator.
react with int3.
non debugged cpuid.
32bits and 64bits shellcode emulation.
pe32 and pe64 executables emulation.
ELF and Mach-O loaders (Linux and macOS binaries).
fully emulation with known payloads:
partial emulation with complex malware functions:
During the emulation you can see the number of cpu instructions emulated, that's a unique ID for an emulation moment.
With -c flag you stop the emulation in a specific moment and inspect what is going on with the console.
MWEMU emulator for malware
@sha0coder
USAGE:
mwemu [FLAGS] [OPTIONS]
FLAGS:
-6, --64bits enable 64bits architecture emulation
--banzai allow skipping APIs without full or partial handlers
--flags trace the flags hex value in every instruction.
-F, --fpu trace the fpu states.
-h, --handle handle Ctrl+C to spawn console
--help Prints help information
-l, --loops show loop interations, it is slow.
-m, --memory trace all the memory accesses read and write.
-n, --nocolors print without colors for redirectin to a file >out
-r, --regs print the register values in every step.
-p, --stack_trace trace stack on push/pop
-t, --test test mode
--version Prints version information
-v, --verbose -vv for view the assembly, -v only messages, without verbose only see the api calls and goes
faster