pwnmedium

Evil Corp

hackthebox

Task: 64-bit PIE binary with wide character API (fgetws, wchar_t) and adjacent mmap regions (RW + RWX). Solution: Exploit wchar_t to char16_t type confusion to overflow into RWX region, inject shellcode at fixed address, then stack overflow in login to redirect execution.

$ ls tags/ techniques/
mmap_overflow_to_rwxwchar_type_confusionstack_bof_ret2fixedshellcode_encoding_via_wcharnull_byte_via_fgetws

🔒

Permission denied (requires tier.pro)

Sign in to access full writeups

Create a free account with GitHub, then upgrade to Pro.

$ssh [email protected]