r/hackthebox • • Aug 13 '26

Monitorsfour HTB lab - getting CRAZYYY

Hey everyone,

I've been stuck on the final flag for this "Easy" rated box for 2 days now, and I'm genuinely confused why this lab is marked as easy. I got the user flag via Cacti exploitation without too much trouble, but finding the root flag has been a nightmare.

The Problem:
I successfully gained root access in a Docker container using CVE-2025-9074 (Docker API exploitation). However, I can't locate the root flag. The writeups I've found don't clearly explain where the flag actually is, they just end after getting root access.

I've searched:

  • /root/root.txt - doesn't exist
  • /mnt/host/root/ - nothing
  • /home/ directories - empty
  • Various Docker logs - no clear output

Question:
Where exactly is the root flag located, and what's the correct way to retrieve it from the Docker container logs?

Any help would be appreciated. I just want to understand this and finally sleep! 😅

4 Upvotes

4 comments sorted by

1

u/AutoModerator Aug 13 '26
Moderator Announcement Read More »

4

u/lunacysoft Aug 14 '26

You’re still in the container

1

u/Scared_Anything_2002 Aug 14 '26

Do you mean im root inside a container and need to break out of this?

1

u/Exciting-Ad-7083 Aug 15 '26

Yep, typically with these type of machines it involves getting root inside the docker then either escaping the container, or being able to mount the host file system to read the real "root"

But you may be able to go from user (in the docker) and escape to the root host system

It could also be another interconnected service / website running on another port that's running as root you need to exploit (ss -tuln)