HTB - KHP Protocol
by Th3B4h0z - Monday July 29, 2024 at 01:53 PM
#1
let's discuss HTB - KHP Protocol
Reply
#2
anyone solved this ? any hints ?
Reply
#3
(08-29-2024, 11:51 AM)x1rx Wrote: anyone solved this ? any hints ?

Bit late to the party, but some hints for anyone still looking... this challenge is a heap overflow exploit.

I'd recommend installing pwndbg extension to gdb to run the server process and inspect the heap.

From pwndbg / gdb you can then e.g. run these commands:

p (char*[10])IN_MEM_KEYS
p (char*)KEYS_BUF

... in order to see where on the heap things are being created when malloc() and free() do their thing.

Don't forget: malloc() is quite deterministic in re-using bins that have been freed().
Reply
#4
Any hint i am stuck!!
Ban reason: Compromised - Malware Logs (Permanent)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 360 88,710 03-28-2026, 09:28 AM
Last Post: catsweet
  [FREE] HTB-ProLabs APTLABS Just Flags kewlsunny 23 2,348 03-28-2026, 03:30 AM
Last Post: lulaladrow
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 87 7,490 03-27-2026, 07:22 PM
Last Post: stn
  HTB Eloquia User and Root Flags - Insane Box 69646B 13 350 03-27-2026, 06:14 PM
Last Post: vlxw
  HTB - ALL Challenges you Stuck in osamy7593 2 646 03-27-2026, 04:24 PM
Last Post: catsweet



 Users browsing this thread: 1 Guest(s)