Post

THM: TakeOver

THM: TakeOver

Banner

This challenge revolves around subdomain enumeration. If you’re still abit “FUZZY” on url’s, i’ve got a breakdown below.

URL


Phase 1: Information Gathering

Standard port & service scan yielded:

1
2
3
4
5
6
7
PORT      STATE    SERVICE         VERSION
==================================================================
22        open     ssh             OpenSSH 8.2p1 Ubuntu 4ubuntu0.13 (Ubuntu
80        open     http            Apache httpd 2.4.41 ((Ubuntu))
443       open     ssl/http        Apache httpd 2.4.41 ((Ubuntu))
==================================================================
http-title: Did not follow redirect to https://futurevera.thm/
  • Add host to /etc/hosts

Phase 2: Enumeration

The description states that they’re getting their rebuilding support. Quite often youll see support as a subdomain so add “support.futurevera.thm” to your /etc/hosts too.

Navigating to the URL, If we click on the view certificate: Warning

We end up with yet another secret service. Cert

  • Adding that to /etc/hosts yet again and navigating to the URL resolves to support.futurevera.thm. Not what we want.

  • If you remember we had port 80 open so if we drop HTTPS to HTTP with the secret URL we’re rewarded with the flag.

Flag


Thats all folks!


Room: TakeOverPlatform: TryHackMeDifficulty: EasyFlag Method: Subdomain-Enumeration
This post is licensed under CC BY 4.0 by the author.