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
(Aug 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!!

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Compromised - Malware Logs
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Heart [FREE] HackTheBox All Cheatsheets Tamarisk 13 701 14 minutes ago
Last Post: louikizzz
  [FREE] HackTheBox Academy - CBBH CDSA CPTS All Modules Flags Techtom 31 2,950 1 hour ago
Last Post: hwzus47431
  CBBH Write Ups hiddenhacker 24 6,451 1 hour ago
Last Post: reze
  [FREE] CPTS 12 FLAGS pulsebreaker 77 2,526 1 hour ago
Last Post: reze
  HTB Eloquia User and Root Flags - Insane Box 69646B 14 526 2 hours ago
Last Post: zamizamo

Forum Jump:


 Users browsing this forum: 1 Guest(s)