Kpwn tecniques: struct msg_msg

msg_msg is a really powerful and elastic kernel struct that can be abused to obtain strong primitives, such as arbitrary read/write/free.

January 14, 2025 · leo_something

CTE24 - DiDUP

This is an hard pwn challenge I wrote for Compete Against TeamEurope, this CTF was part of the training for ECSC2024. The vulnerability is a double-free triggerable through a race condition. No bruteforce is needed.

September 16, 2024 · leo_something

UIUCTF24 - Pwnymalloc

Pwnymalloc is a nice custom allocator challenge from UIUCTF 2024. The vulnerability was about an incorrect handling of the prev_size during consolitation.

July 8, 2024 · leo_something

Ret2dlresolve in 64bit binaries

Ret2dlresolve is a really powerful tecnique to use in pwn challenges (even tho it’s not frequently seen). It’s useful when we don’t have libc leaks or don’t know the libc version.

June 12, 2024 · leo_something

CodegateJunior24 - Othernote

Simple web challenge about prototype pollution in python. It was part of the Codegate quals for juniors of 2024 (I made the writeup only because it was required to move to the finals).

June 3, 2024 · leo_something

CodegateJunior24 - Baby Heap

Heap challenge from the Codegate quals for juniors of 2024. The vulnerability was an heap overflow that enabled an attacker to gain overlapping chunks, therefore arb read and write.

June 3, 2024 · leo_something