
악성코드 분석, 셸코드 에뮬레이션 및 페이로드 언패킹을 위한 순수 Rust x86 하드웨어 에뮬레이터 및 Windows 프로세스 시뮬레이터입니다. 32/64비트 PE 실행 파일, Metasploit, Cobalt Strike 및 복잡한 악성코드 계열을 지원합니다.
It's a hardware emulator + OS process simulator implemented in Rust.
This approach is very useful for malware analysis, including PE files and shellcode.
Supports x86 32/64-bit and AArch64 architectures. The primary target OS is Windows (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.
command-line tool, Rust library, and C and Python bindings.
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).
syscall emulation on Windows and Linux.
kernel-mode driver emulation (.sys and .ko) with --ioctl, pool ledger, BYOVD detection.
memory allocator.
react with int3.
non debugged cpuid.
32bits and 64bits shellcode emulation.
loaders for ELF (Linux) and Mach-O (macOS) binaries.
full emulation of 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.
Selected options are shown below. Run mwemu --help for the full list.
MWEMU emulator for malware
@sha0coder
USAGE:
mwemu [FLAGS] [OPTIONS]
FLAGS:
-6, --64bits enable 64bits architecture emulation
--banzai enable instruction skipping and fallback x86 stack cleanup.
Defaults to simulate-success unless an API mode is specified.
--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 iterations, it is slow.
-m, --trace_memory trace all the memory accesses read and write.
-n, --nocolors print without colors for redirecting to a file >out
-r, --trace_registers 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