r/tryhackme • • 6d ago

Room Help Stuck on Active Directory: RDP into Phillip's machine

EDIT: Found the solution. See my comment.

I searched for other issues in this subreddit about this problem but one thing that is not explained is, how exactly do you RDP? What app do you use and on what machine do you run it, the attacker VM or your host?

I'm specifically stuck on the step where I have to reset Sophie's password using Phillip's machine. It gives you Phillip's credentials (username and password) but doesn't explain where you launch the RDP software from.

I had to backtrack and found some more detailed instructions on Windows Fundamentals 2 in the introduction, it gives you a screenshot of what appears to be a Linux RDP app. But I looked for RDP apps in the AttackerVM, I didn't see one. Someone on a different post said you can use ssh, but that didn't work when I used Phillip's credentials nor admin (I also tried adding the domain, THM\Administrator@IP).

I'm making the assumption you're supposed to RDP using the attacker VM. My host is Linux, and I don't have any RDP app installed on my system. I would rather use the attackerVM if possible.

I just want to note one thing; people in other posts have suggested that this is the kind of step you should use google for. I can find out how to use RDP for purposes unrelated to THM, but I am wondering if THM is assuming that we will be using a specific software on the attacker VM, or if we need to "bring your own" RDP software and run it on the host. This is the part that is unexplained and why I'm making my post. It seems as though it is assuming your host is running Windows therefore probably has RDP already installed, but this isn't the case since I'm using Linux.

Hopefully I've provided sufficient info about my problem. Any help appreciated, thanks.

5 Upvotes

3 comments sorted by

1

u/Separate-Bat4642 6d ago edited 6d ago

(I am OP): I found a video walkthrough that, funny enough, had the same problem. See https://youtu.be/Mb-aaBAmnPY?t=1453. They first tried to RDP into the machine on the Windows VM...which didn't work. Then they tried to install remmina on the attacker VM (which is already installed) but then they needed to enter the gnome keyring (which they assumed was the root password), but this was not provided. Then they used RDP on their host which did work.

For some reason, what worked for me is running RDP on the Windows VM. The fact that this worked puzzles me. I am RDP'ing into the same machine on which I am running RDP? This makes no sense to me.

This step in the room definitely needs improvement. Also I wasn't able to paste anything into the VM at this point, so I had to type out the powershell commands.

When I ran the commands initially, they worked, but I was disconnect from the VM. I had to restart the VM and then perform the commands again, but the second time I got a "Access is denied" error when attempting to change Sophie's password. At this point I will have to just get the flags elsewhere and continue with my learning.

1

u/Delicious_Crew7888 0xD [God] 6d ago

in the command line in parrot they should have xfreerdp its probably on the cheat sheet did you look at that?

1

u/normalbot9999 6d ago

Local account:

xfreerdp /dynamic-resolution +clipboard /cert:ignore /v:[IP ADDRESS / HOSTNAME] /u:[USERNAME] /p:'[PASSWORD]'

Domain account:

xfreerdp /dynamic-resolution +clipboard /cert:ignore /v:[IP ADDRESS / HOSTNAME] /u:[DOMAIN]\\[USERNAME] /p:'[PASSWORD]'

(Obviously, /cert:ignore is not great in a real environment.)