@TazWake said:
OK, but that is pretty much a personal call. The scope of the engagement is to get the root > flag.
For me, the flags are just symbols for “I have owned user/root”. If I have not owned root, then why do I have access to the root.txt? But I agree, if it is more difficult to get the root.txt then root access, then it’s of course a different matter.
The problem with RE (which is retired now) is not that you can’t get NT YAUTHORITY\SYSTEM, its that you are still a few steps away from getting the root flag at that point.
This is not the only box like that. It actually makes boxes much more “fun” and teaches people about the extra steps beyond simply rooting a box.
Okay, I was not aware of that and I apologize for my simplistic view. I don’t want to spoil myself and look at a write up of the machine just for this discussion, so I’m sorry that I didn’t directly understand what you said.
However, why not look at it from a different angle:
- You want to publish a protected write up, yes?
- HTB officially says that you should use the admin/root password hash for that
- Given that they published that officially in a press release, I think it’s safe to assume that as long as we follow this rule, everything will be fine in the eyes of the HTB staff.
So what does it matter for your goal of publishing the write up that the root.txt is more difficult to get? Use the password hash and you’re good to go, you’re following the rules etc.
Of course, that leaves room for cheaters to cheat once they have access to the password hash, but not the root.txt. But I think we all agree that cheaters are only cheating themselves, right?
I’m aware that I’m assuming quite a lot here and still, there’s the possibility that the HTB staff might not like that. But what else are we to do, looking at the press release? And if they don’t like this, then they either need to put a different system in place, forbid protected write ups (which I hope they won’t) or live with their proposed solution and its inherent problems.
If we are talking about learning and it “not feeling like cheating”, for pentesters, getting root privs on a box is rarely the final goal.
Of course, this is clear.
There are about 20% of the boxes where you won’t get a root shell.
Again, i was not aware of this and I apologize. But is it truly impossible (or at least
significantly harder then getting the root.txt) to get root access to these machines?
If that is truly not possible/super impractical, then I of course agree that this new method is not well thought through.
Unfortunately, these also tend to be the boxes where reading how other people have done it carries the most benefit.
There is no dicussion from my point here. I completely agree with you and everyone else that much can be gained from studying the way others did the boxes.
It is impractical and inconsistent though.
I totally agree, as I’ve also said before. It’s also an annoyance for everyone who already has published protected write ups of the still active machines before the change.
It has also led to people on “flag sharing forums” simply sharing write-ups. This kind of undermines the goal.
Depends a bit on how you see it. At least the cheaters will have to go through the write ups and at least might learn a tiny bit, compared to just handing in the root.txt. Also it takes more time to create a write up than just publicizing the user.txt/root.txt
So the people that are still cheating are “at least” determined to do so. And there’s the problem: I think there’s no real way around cheaters here. In the extreme case, you could just share your vpn file with someone else, have them do the machine for you and then use the user/root.txt they find using your vpn file.
I believe there is no truly good way to protect against cheaters here. And like it is so often the case, the legitimate users have to live with annoying restrictions, while cheating is still quite easy.
It’s their trainset. They are clear as to the problem they want to solve and believe they have solved it. As far as I am aware, HTB doesn’t really like people sharing protected writeups on live boxes, so I’d be surprised if they took extensive steps to facilitate it.
That would be a bummer. As I said, I haven’t been here long. But so far I haven’t seen anything being said about (or against) protected write-ups from HTB directly. I was interpreting the press release in such a way that they do support these write ups…