Binary Exploitationدرس وتحدٍّ آلة حيّةمجانية

Ghost in the Stack

No win() to jump to. Borrow the library's code instead.

A step up from ret2win: there is no win() function. Use a libc pointer the service leaks to defeat ASLR, then build a ret2libc ROP chain (pop rdi; /bin/sh; system) to pop a shell and read the flag. The binary and its libc are provided.

الصعوبة
متوسط
الوقت المتوقّع
60 د
النقاط
275 نقطة
مرات الإكمال
أكملها لاعب واحد
المؤلفون
إعداد Cyber Academy 4 U

ما ستتعلّمه

  • Turn a single leaked pointer into the full libc base (defeat ASLR)
  • Resolve system(), the /bin/sh string, and gadgets from a real libc.so.6
  • Build and fire a pop rdi; /bin/sh; system ret2libc chain
  • Handle modern glibc's 16-byte stack-alignment requirement

ماذا تتضمّن

  1. المهمة 1 · Ghost in the Stackسؤال واحد

سجّل الدخول لقراءة المهام وتشغيل الجهاز والإجابة عن الأسئلة.