1. Using existing code

    2022-10-20 By qld

    I couldn't find enough time to finish that challenge yesterday. Turns out my chickens did escape. Good news, they came back on their own this morning, hence the extra time for this challenge.

    Stuff I learned:

    read more
  2. Shellcode on the stack and syscalls

    2022-10-14 By qld
    read more
  3. Simple execve template

    2022-10-13 By qld

    A single challenge tonight, busy day. This one went easier than expected, no fiddling with offsets or planting binaries. Have I shown you that piece of code I got ready just in case, thanks to man execve ?

    /* execve.c */
    
    #include <stdio.h>
    #include <stdlib.h>
    #include <unistd.h>
    
    int
    main …
    read more
  4. Simple shellcode and automation

    2022-10-12 By qld

    So, time to step up, there was no real binary exploitation so far, just some staring at the binaries and scripting with pwntools. These are gentle introductions to binary exploitation.

    Arch:     i386-32-little
    RELRO:    Partial RELRO
    Stack:    No canary found
    NX:       NX disabled
    PIE:      No PIE (0x8048000)
    RWX:      Has …
    read more
  5. Basic gdb usage

    2022-10-11 By qld

    Key takeaways here are gdb command lines as radare, uh, requires too much remembering esoteric keystrokes. Usual friends plus ida were good enough to solve it all in one day.

    gdb -x /opt/gdbinit/gdbinit ./file
    set disassembly-flavor intel
    break main
    disassemble main
    stepi
    x/s address
    x/8 …
    read more

Page 1 / 1