qemu
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.
v2026.11.13-21cd5683 installs+3 in 7 days39 StarsMITsynced 11 hours ago
Install
No NotHoly CLI yet? Install it first.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/qemuWrites to ~/.notholy/skills after checking the signature and the SHA-256.
SignatureSigned, ed25519
Package53ec3d79…74706847
53ec3d79a56c…e0db747068471 file · 1.8 KBScanLowno findings
Sourcegithub.com/AeonDave/malskill/tree/main/offensive-tools/rev/qemu@21cd568
On this page
QEMU is the default public tool for cross-architecture user-mode execution and full-system virtual machines.
Choose mode
| Need | Mode |
|---|---|
| Run one Linux/BSD ELF with syscalls forwarded to host | qemu-<arch> user-mode |
| Run a process inside an extracted rootfs | qemu-<arch>-static in chroot/proot/container |
| Boot kernel/initrd/rootfs/disk/firmware | qemu-system-<arch> |
| Debug kernel, bootloader, or process before start | -S -gdb ... or user-mode -g |
| Expose serial/UART | -serial stdio, -serial unix:..., -chardev ... |
| Expose guest services | -netdev user,hostfwd=tcp:127.0.0.1:<host>-:<guest> |
User-mode patterns
qemu-arm -L ./sysroot ./target arg1
qemu-mipsel -L ./rootfs -strace ./usr/sbin/httpd
QEMU_LD_PREFIX=./rootfs qemu-aarch64 ./bin/app
qemu-riscv64 -g 1234 -L ./rootfs ./bin/appIf an existing file reports "No such file or directory", check the ELF interpreter and shared libraries:
readelf -lW ./target | grep 'Requesting program interpreter'
readelf -dW ./target | grep NEEDEDUse -strace for syscall evidence. Use -g <port> plus gdb-multiarch when register/memory proof is needed.
Full-system patterns
qemu-system-x86_64 \
-kernel bzImage \
-initrd initramfs.cpio.gz \
-append "console=ttyS0 panic=-1" \
-serial stdio -display none
qemu-system-mipsel \
-M malta -kernel vmlinux \
-drive file=rootfs.ext2,format=raw \
-append "root=/dev/sda console=ttyS0" \
-netdev user,id=n0,hostfwd=tcp:127.0.0.1:8080-:80 \
-device e1000,netdev=n0 \
-nographicDiscover available hardware:
qemu-system-arm -machine help
qemu-system-arm -device help
qemu-system-aarch64 -cpu helpDo not assume the virt machine or virtio devices match vendor firmware. Old router kernels often need e1000, rtl8139, IDE, SD, or board-specific devices.
Debugging
qemu-system-x86_64 -S -gdb tcp:127.0.0.1:1234 ...
gdb vmlinux
(gdb) target remote 127.0.0.1:1234Use nokaslr or a deterministic load setup when setting breakpoints by symbol address. For boot sectors, set the GDB architecture to i8086.
Storage and images
qemu-img info disk.img
qemu-img convert -O raw vendor.vmdk rootfs.raw
qemu-img resize scratch.qcow2 +256MPrefer read-only source images and copy-on-write scratch layers for experiments. Record image format explicitly; guessing raw vs qcow2/vmdk causes misleading boot failures.
Validation signals
- user-mode syscall trace reaches the behavior under study
- serial console prints the expected boot/init line
- GDB can halt at a relevant symbol/address
- guest service responds through a localhost-bound forward
- disk or filesystem mutation is visible in a scratch image
Failure triage
- No output: wrong console, machine, DTB, storage root, or guest waiting before serial init.
- Kernel panic: capture the full first panic line and root-device hints.
- Network dead: check NIC model, guest IP, service process, firewall, and hostfwd syntax.
- Illegal instruction: wrong CPU model or missing extension.
- User-mode loader error: wrong sysroot/interpreter/libc version.
Files in this version
- SKILL.md3.5 KB
Permissions
| Permission | Declared | Found by the scan |
|---|---|---|
| Reads files | No | No |
| Writes files | No | No |
| Runs shell commands | Yes | Yes |
| Uses the network | No | No |
| Uses connectors | No | No |
| Drives a browser | No | No |
Scan findings
Reviewed on Nov 13, 2026
The scan found nothing to flag in this version.
A clean scan lowers the risk but does not prove a package is safe. Read what you install.
| Version | Published | Commit | SHA-256 | Signature | Permission change |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | Nov 13, 2026 | 21cd568 | 53ec3d79 | Signed | – |
More from AeonDave
All from this publisherMore in Reverse engineering and fuzzing
See the categoryAsk anything your scope allows.
Create an account, add credits and ask the first question in the chat or the terminal.
- 1/3
Create the account
Individual or company. You can switch to a company later without losing balance or keys.
IndividualCompany - 2/3
Add credits
By card. Pay per token, no subscription.
$5.00minimum deposit - 3/3
Ask
In the chat, or install the CLI and run notholy login in your terminal.
$ notholy login