Anthem
https://tryhackme.com/room/anthem#
First of all, this room seemed very unstable, so I had to restart it several times and my RDP connection keep dropping. Anyway, we get a lot of help along the way.
Enumeration
The first thing we are asked to is to run a Nmap scan and then answer the port of the web server and the remote desktop protocol. Theses are the usual ports 80 and 3389.
Next we check the robots.txt file. This gives us the possible password UmbracoIsTheBest! and a sub page umbraco. If we head to that page we see that it is the CMS login page and we therefore know that the CMS used is Umbraco.
Now we take a look at the website it self to answer the remaining questions.
Looking at the posts, we see a post by Jane Doe and her email jd@anthem.com. We also find a poem attributed to the administrator. If we google this poem we find that it by Solomon Grundy.
By looking at Jane Doe's email we can see how Anthem emails are constructed, so the admins email must be sg@anthem.com.
The domain of the website is written at the end of the blog posts, not surprisingly anthem.com
Flags
We are told that several flags have been hidden. These can all be found in the source code of websites the pages. Search for "THM" at these pages:
Login and escalated to admin
We can login at the CMS page with the credentials found (admin email and password), but this does not help us much. However, if we RDP into the machine rdesktop $IP
we can login with the username sg and the password we found.
Once logged in we see the user.txt file on the Desktop which contains the first flag.
We are then asked to find the administrator's password which is "hidden". With that hint I open file explore and enabled show hidden files. Starting from C:/ I notice a hidden folder called "backup". In the folder we find a file "restore.txt". However, we can not view the content because we lack permissions. But it turned out that we could just add permissions to the User group and then read the file. The password is ChangeMeBaby1MoreTime
Login as administrator and locate the final flag at the Desktop.
Last updated