CTF Writeups

0

CTF Writeups: Collection of CTF "technical" writeups by PersianCats.

Security

Preparing the Docker Containers

In order to run the challenge POCs without any problem, I prepared docker containers for various Ubuntu releases. The instructions for using the containers can be found here.

Writeups

CTFChallengeInfoExploitationLinks
UTCTF 2019babyechox86_32 NX Partial RELRO ASLRGOT format string libc databaseCTFtime Writeups Archives
BSidesSF 2019slowfirex86_64 Partial RELRO ASLRGOT PLT shellcode socket stack overflow syscallCTFtime Writeups Archives
TAMUctf 2019pwn3x86_32 Full RELRO PIE ASLRshellcode stack overflow syscallCTFtime Writeups Archives
TAMUctf 2019pwn5x86_32 NX Partial RELRO ASLRret2libc stack overflowCTFtime Writeups Archives
ASIS 2018 Finalsasvdbx86_64 NX Canary Full RELRO ASLR__free_hook double free heap one gadget smallbin tcache dup tcache poisoning tcache unsorted bin use after freeCTFtime Writeups Archives
ASIS 2018 Finalsinceptionx86_64 NX Partial RELRO ASLRGOT ROP fork one gadget pipe return-to-csu stack overflowCTFtime Writeups Archives
SECCON 2018 Qualsprofilex86_64 NX Canary Partial RELRO ASLRC++ GOT arbitrary read buffer overflow one gadget stringCTFtime Writeups Archives
SECCON 2018 Qualsclassicx86_64 NX Partial RELRO ASLRGOT ROP one gadget stack overflow stack pivotingCTFtime Writeups Archives
BSidesDelhi 2018data_bankx86_64 NX Canary Full RELRO PIE ASLR__malloc_hook heap one gadget tcache poisoning tcache use after freeCTFtime Writeups Archives
HITCON 2018children_tcachex86_64 NX Canary Full RELRO PIE ASLR__malloc_hook double free heap off-by-one overlapping chunks poison-null-byte tcache dup tcache poisoning tcacheCTFtime Writeups Archives
Hack.lu 2018babyphpWeb PHPassert code injection unintended behaviors unsanitized inputCTFtime Writeups Archives
InCTF 2018warmuparm arm32 armhf Partial RELRO ASLRshellcode stack overflow syscallCTFtime Writeups Archives
InCTF 2018yawnx86_64 NX Canary Full RELRO ASLRGOT __malloc_hook fastbin dup heap off-by-one one gadgetCTFtime Writeups Archives
InCTF 2018securepadx86_64 NX Canary Full RELRO PIE ASLR__free_hook arbitrary free fastbin dup heap uninitialized var unsorted binCTFtime Writeups Archives
CSAW 2018 Qualsalien_invasionx86_64 NX Canary Partial RELRO PIE ASLRGOT heap off-by-one overlapping chunks poison-null-byteCTFtime Writeups Archives
CSAW 2018 Qualsbigboyx86_64 NX Canary Partial RELRO ASLRstack overflowCTFtime Writeups Archives
CSAW 2018 Qualsget_itx86_64 NX Partial RELRO ASLRstack overflowCTFtime Writeups Archives
CSAW 2018 Qualsshell_codex86_64 Full RELRO PIE ASLRshellcode stack overflowCTFtime Writeups Archives
WhiteHat 2018 Qualspwn02x86_64 NX Canary Full RELRO FORTIFY ASLRglibc tcache heap off-by-one overlapping chunks poison-null-byteCTFtime Writeups Archives
MeePwn 2018 Qualsbabysandboxx86_32 NX Partial RELRO PIE ASLRopenat readv shellcode socket syscall writevCTFtime Writeups Archives
0CTF 2018 Finalsfreenote2018x86_64 NX Canary Full RELRO PIE ASLR__malloc_hook double free fastbin dup heap metadata heap overlapping chunksCTFtime Writeups Archives
RCTF 2018rnote3x86_64 NX Canary Full RELRO PIE ASLR__free_hook fastbin heap one gadget overlapping chunks uninitialized varCTFtime Writeups Archives
RCTF 2018babyheapx86_64 NX Canary Full RELRO PIE ASLRPREV_IN_USE bit __malloc_hook heap off-by-one poison-null-byteCTFtime Writeups Archives
RCTF 2018stringerx86_64 NX Canary Full RELRO PIE ASLRIS_MMAPED __malloc_hook calloc double free fastbin dup heap off-by-oneCTFtime Writeups Archives
PlaidCTF 2018shopx86_64 NX Canary Partial RELRO ASLRGOT buffer overflow heap one gadgetCTFtime Writeups Archives
ASIS 2018 Qualscatx86_64 NX Canary Partial RELRO ASLRGOT fastbin heapCTFtime Writeups Archives
ASIS 2018 Qualsfifty_dollarsx86_64 NX Canary Full RELRO PIE ASLRdouble free fastbin heap use after freeCTFtime Writeups Archives
ASIS 2018 Qualsjust_sortx86_64 NX Canary Partial RELRO ASLRGOT heap overflow one gadgetCTFtime Writeups Archives
ASIS 2018 Qualsmessage_mex86_64 NX Canary Partial RELRO ASLR__malloc_hook double free fastbins heap overlapping chunks use after freeCTFtime Writeups Archives
StarCTF 2018babystackx86_64 NX Canary Full RELRO ASLRGOT pthread stack overflow stack_guard thread local storageCTFtime Writeups Archives
StarCTF 2018notex86_64 NX Full RELRO ASLRGOT LSB ROP off-by-one saved rbp stack overflowCTFtime Writeups Archives
StarCTF 2018warmupx86_64 NX Full RELRO ASLRGOT one gadget stack overflowCTFtime Writeups Archives
WPICTF 2018forker.level1x86_64 Partial RELRO ASLRGOT ROP return-to-csu shellcode stack overflowCTFtime Writeups Archives
WPICTF 2018forker.level2x86_64 NX Canary Partial RELRO ASLRfork socket stack canary stack cookie stack overflowCTFtime Writeups Archives
UIUCTF 2018how2heapx86_64 NX Canary Full RELRO PIE ASLRheap one gadgetCTFtime Writeups Archives
0CTF 2018 Qualsbabyheapx86_64 NX Canary Full RELRO PIE ASLR__malloc_hook double free fastbin dup heap off-by-one one gadget top chunkCTFtime Writeups Archives
0CTF 2018 Qualsbabystackx86_32 NX Partial RELRO ASLRElf_Rel Elf_Sym GOT PLT ROP dynstr dynsym rel_plt stack overflowCTFtime Writeups Archives
iCTF 2018fantasticiotx86_32 NX Canary ASLRattack & defense binary patching strncmpCTFtime Writeups Archives
TAMUctf 2018pwn5x86_32 NX Partial RELRO ASLRROP stack overflow syscallCTFtime Writeups Archives
NullconHackIM 2018pwn2-boxx86_64 Partial RELRO ASLRROP one gadget shellcode syscallCTFtime Writeups Archives
Codegate 2018 Qualsbaskin_robins31x86_64 NX Partial RELRO ASLRGOT ROP one gadget stack overflow stack pivotCTFtime Writeups Archives
Codegate 2018 Qualssuper_marimox86_64 NX Canary Partial RELRO ASLRGOT fastbin heap one gadgetCTFtime Writeups Archives
0CTF 2017 Qualsbabyheapx86_64 NX Canary Full RELRO PIE ASLRIS_MMAPED __malloc_hook calloc fastbin attack fastbin heap overflow one gadget smallbinCTFtime Writeups Archives
C3CTF 2017simplegcx86_64 NX Canary Partial RELRO ASLRGOT fastbin glibc tcache heap use after freeCTFtime Writeups Archives
SECCON 2017 Qualselectionx86_64 NX Canary Full RELRO ASLRGOT __malloc_hook fastbin null byte overflow null byte poisoning off-by-one one gadgetCTFtime Writeups Archives
SECCON 2017 Qualssecure_keymanagerx86_64 NX Canary Partial RELRO ASLRGOT PLT double free fastbin format string heapCTFtime Writeups Archives
SECCON 2017 Qualsvideo_playerx86_64 NX Canary Partial RELRO ASLRGOT __malloc_hook fastbin heap one gadget overlapping chunks use after free virtual calls vtableCTFtime Writeups Archives
CSAW 2017 Qualsscvx86_64 NX Canary Partial RELRO ASLRROP buffer over-read buffer overflow information disclosure one gadget stack overflowCTFtime Writeups Archives