QEMU is an open-source emulator and virtualization tool that enables running software designed for different hardware architectures on a host machine. It’s widely used in security research for testing exploits, analyzing malware, and safely simulating vulnerable environments.
In this series, several topics will be covered, including:
1. Introduction to Emulation and QEMU
2. User Mode: Emulating ARM Binaries
3. GDB with User Mode
4. System Mode: Emulating a Raspberry Pi Board
5. GDB with System Mode
– GDB Plugin
git clone https://github.com/apogiatzis/gdb-peda-pwndbg-gef.git
cd gdb-geda-pwndbg-gef
./install.sh
– GDB with QEMU
qemu-arm-static -L /usr/arm-linux-gnueabihf/ -g 1234 hello-arm-dyn
# GDB
gdb-multiarch -q -ex ‘init-gef’ -ex ‘set architecture arm’ -ex ‘set solib-absolute-prefix /usr/arm-linux-gnueabihf/’
gef-remote –qemu-user –qemu-binary /tmp/userMode/hello-arm-dyn localhost 1234
———————————————————————————————
X: https://x.com/masjadaan
LinkedIn: https://www.linkedin.com/in/mahmoud-jadaan/
Medium: https://medium.com/@masjadaan
Disclaimer: This article is for educational purposes only.
#pentesting #cybersecurity #hardwaresecurity #softwaresecuirty