HTB - Scanner (Challenge)
by x1rx - Friday September 6, 2024 at 02:29 AM
#1
Let's discuss the pwn challenge
Reply
#2
(09-06-2024, 02:29 AM)x1rx Wrote: Let's discuss the pwn challenge

I haven't completed the exploit part, but this should lead you; Leak heap → leak libc → off-by-one overwrite → brute-force stack alignment → return to libc → get the flag.
Reply
#3
[Image: dwM3f8B.png]
[Image: htb_scanner_98_bf_all.jpg]

These hints should be enough to show you the path finishing the exploit part. Enjoy
Reply
#4
(09-07-2024, 03:28 AM)Axura Wrote: [Image: dwM3f8B.png]
[Image: htb_scanner_98_bf_all.jpg]

These hints should be enough to show you the path finishing the exploit part. Enjoy

My instance always gets fcked up! lol Smile
Reply
#5
1 - heap leak
2 - libc leak
3 - rbp leak
4 - stack pivot --> new rbp with off by null
5 - rop chain
6 - hijack execution flow


All steps are done and I got the flag(while loop) but my script is unstable . When I use off by null and pivoting on stack , process crashes .

What am I missing? any hint
Reply
#6
exp.py
Hidden Content
You must register or login to view this content.
Reply
#7
this is a good initiative will like to see this 
will appreciate if got it free
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 106 42,240 10-31-2026, 07:33 PM
Last Post: aistax
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 383 138,759 10-31-2026, 11:47 AM
Last Post: thaytoiyeucoay30nam
  HTB PWN- Oxidized ROP macavitysworld 4 1,046 10-29-2026, 01:01 PM
Last Post: A1Raid3r
  HTB - code + titanic walkthrough | free tony_boom23 3 7,264 10-25-2026, 06:35 AM
Last Post: A1Raid3r
  HTB apt lab note zapot 14 35,536 10-03-2026, 08:09 PM
Last Post: whuuaa



 Users browsing this thread: 2 Guest(s)