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

kowaiiVm - bi0sCTF 2024

k1R4
2024-02-28
Pwn

tl;dr

  • The VM takes a custom binary as input
  • Binary contains function table, code and bss sections
  • Code can overlap with bss and be modified at runtime
  • The JIT compiler assumes that a function is safe since it ran many times
  • Functions modified right before JIT bypass security checks
Read More
bi0sCTF Exploitation VM JIT

cs2100 - HackTM CTF Quals 2023

k1R4
2023-02-23
Pwn

tl;dr

  • LOAD and S_TYPE opcodes lead to OOB when addr > DRAM_BASE+DRAM_SIZE
  • Get libc and stack pointers and offset to obtain RIP offset and base
  • Write ropchain on stack using libc gadgets
  • Perform ORW on flag file
Read More
Exploitation VM

kawaii_vm - bi0sCTF 2022

k1R4
2023-01-25
Pwn

tl;dr

  • Giving custom array size of NaN, passes checks while allowing OOB r/w
  • Use OOB r/w to get libc, stack (environ) addresses
  • Craft fake chunk on array and overwrite fastbin fd
  • Reset machine to allocate register context on fake chunk
  • Overwrite VM sp with real stack
  • Push ropchain onto stack and halt VM to execute ropchain
Read More
bi0sCTF Exploitation VM

Eerie_Jit - bi0sCTF 2022

Abhishek Barla
Abhishek Bharadwaj
2023-01-25
RE

tl;dr

  • This challenge is a JIT VM
  • The VM logic implements modular equations
Read More
VM bi0sCTF2022 JIT

2k - redpwnctf 2021

AmunRha
2021-07-22
Reversing / Linux

tl;dr

  • This is a simple stack based VM
  • 25-27 opcodes and 8 different constraints
  • Extract the constraints
  • Use z3 to find a satisfying model
Read More
Linux VM Reversing

Wannavmbe - InCTF Internationals 2019

Freakston
2019-09-30
Reversing / Windows

Intended solution of Wannavmbe challenge from InCTF Internationals 2019

tl;dr

  • Challenge is a VM.
  • Reverse Instruction types and implementation.
  • Understand that it has a fucntion which takes the base64 of CWD (Current working directory).
  • Find the corrcect directory where it needs to be placed.
Read More
VM Windows Reversing Automation

Signal VM de1ta (Part 2) - de1CTF 2019

R3x
2019-08-09
Reversing / Linux

tl;dr

  • Challenge is a VM implemented over signals and ptrace
  • Reverse Instruction types and implementation
  • Use gdb scripting to find the executed code and get the pseudo VM code
  • Find out the algorithm (Max triangle sum) from VM instructions
  • Find an more optimized way to solve the problem (Or lazy solve it!).
Read More
Linux VM Reversing Automation

Signal VM (Part 1) - de1CTF 2019

R3x
2019-08-08
Reversing / Linux

tl;dr

  • Challenge is a VM implemented over signals and ptrace
  • Reverse Instruction types and implementation
  • Use gdb scripting to find the executed code and get the pseudo VM code
  • Reverse the VM functionality (Hill cipher) for flag and profit
Read More
Linux VM Reversing Automation

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.