bi0s
  •  Home
  •  Categories
  •  Archives
  •  Tags
  •  Home
  •  Categories
  •  Archives
  •  Tags

palindromatic - bi0sCTF 2024

k1R4
2024-02-26
Pwn

tl;dr

  • Sanitizing request causes null byte overflow which corrupts type
  • Processing corrupted request doesn’t remove it from incoming_queue
  • Reaping corrupted request still leaves it in incoming_queue causing UAF
  • Setup crosscache to abuse UAF
  • UAF provides free primitive through double reset
Read More
bi0sCTF Exploitation Heap Kernel

Text editor v2 - ASIS CTF Finals 2023

k1R4
2024-01-01
Pwn

tl;dr

  • Adding the last character to a tab causes null byte overflow
  • Use said overflow to unset prev_inuse bit
  • Coalesce upwards with fake chunk to perform unlink attack
  • Unlink attack places .bss pointer in place of heap pointer
  • Editing .bss allows for Arbitrary R/W
Read More
Exploitation Heap

k32 - bi0sCTF 2022

k1R4
2023-01-23
Pwn

tl;dr

  • Giving size > 48 causes heap OOB r/w of 16 bytes
  • Use OOB r/w get leaks and overwrite objects for rip control
Read More
bi0sCTF Exploitation Heap Kernel

MultiStorage - InCTF Internationals 2021

3agl3
2021-08-18
Pwn

tl;dr

  • Race condition to change the type.
  • Leak using uninitialized memory and get rip with overflow.
Read More
InCTFi Exploitation Heap Kernel

Baby Glob - InCTF Internationals 2021

Cyb0rG
2021-08-17
Pwn

tl;dr

  • Heap Overflow in glob function while handling Tilde operator.
  • Abuse null byte overflow to gain RCE.
Read More
InCTFi Exploitation Heap CVE-2017-15804

Ancient House - InCTF Internationals 2021

Pwn-Solo
2021-08-15
Pwn

tl;dr

  • Jemalloc heap challenge
  • A buggy implementation of strncat in merge allows for an overwrite onto the next region
Read More
InCTFi Exploitation Linux Heap Jemalloc

Pawn - Angstrom CTF 2021

d4rk_kn1gh7
2021-04-08
Pwn

tl;dr

  • UAF in chess game, overwrite __malloc_hook to one_gadget
Read More
Linux Heap AngstromCTF

Diary - Balsn 2020

3agl3
2020-11-17
Pwn

tl;dr

  • Overflow from stdin stucture till main_arena.
  • Create fake fastbin chunks to get overlapping chunk and leak.
  • Overwrite __malloc_hook using fastbin attack.
Read More
Heap Balsn

Leakguard - HackTheVote 2020

Cyb0rG
2020-10-30
Pwn

tl;dr

  • overflow the char candle counter stored in the wax structure and trigger uaf.
  • Use the uaf to trigger double free and get shell.
Read More
Linux Heap HackTheVote

Official blog of team bi0s

  Projects
  •   bi0s-wargame
    (Unraveling)
  •   bi0s-wiki
    (Free Encyclopedia)
  •   InCTF
    (Nationals CTF)
  •   InCTFj
    (Juniors CTF)

Made With Love and Coffee



Blog content follows the Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) License

Use Material X as theme, total visits times.