Skip to content

Latest commit

 

History

History

DungeonQuest

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Dungeon Quest

Description

Can you kill the demon and get the flag?

Running on Qemu user-level emulation with heap randomization + libc randomization.

Comments

How to solve

  1. By analysing, you can easily find double free bug @ 0x401080.
  2. Overwrite list head at global(0x4120D0) to main_arena using unsorted bin attack with double free bug (Something like in house of orange). You write any value to bss.
  3. You can get arbitrary write by modifying list structure in bss.
  4. Write shellcode into bss and make function pointer in list to point it.
  5. Call function pointer and get Shell! (qemu usermode does not have NX)