Solving Flare-On 11 Challenge 5 without Emulation or Patching
The challenge is called “sshd” and provides the fileystem of a debian machine, which is pretty empty. In var/lib/systemd/coredump, there is a core dump file of a crashed sshd process, which is worth investigating.In order to do that, we can chroot to the extracted file system, and examine the core dump with gdb: gdb /usr/sbin/sshd /var/lib/systemd/coredump/sshd.core.93794.0.0.11.1725917676. Displaying the backtrace with bt, we see: (gdb) bt #0 0x0000000000000000 in ?? () #1 0x00007f4a18c8f88f in ?
…