Welcome to Forgotten Implant, a TryHackMe challenge in which, with almost no attack surface, you will have to use a forgotten C2 implant on the machine in order to get initial access.
With limited attack surface comes limited possibilities. – TryHackMe
The room has been released on TryHackMe as Forgotten Implant on July 28th, 2023.
This room is meant as a learning experience for intermediate and experienced hackers – beginners can absolutely do it, but it will be stretch! On TryHackMe, the room is ranked as medium. Based on reviewer feedback, it is on the top end of medium.
If learners have no experience with Command and Control (C2), TryHackMe's Intro to C2 is a recommended prerequisite.
Hacking your way through this room, you will learn how to ...
- use tools like
Wireshark
to monitor network traffic. - use
HTTP
,Base64
, andJSON
in the context of a simple HTTP client-server architecture. - reverse engineer a simple C2 protocol.
- build a simple C2 interface using
Python
in order to interface with a C2 implant. - leverage stored credentials in order to move laterally.
- exploit
phpMyAdmin
(4.8.1) using a public RCE exploit. - leverage
sudo
andPHP
in order to escalate privileges.
If you are interested in the Learning Experience Design (LXD), consider looking at the accompanying article discussing some of the LXD considerations.
A creator walkthrough is available that demonstrates and discusses how the room can be solved.
There are also several community writeups and walkthroughs available. Some of these cover highly interesting (alternative) approaches.
Before looking at this (or any other) walkthrough or the hints towards building your own machine, try to go through the machine on your own!
As this is an active challenge machine on TryHackMe, some of the files in this repository contain REDACTED information.
While the information in this repository clearly is enough to solve the challenge, the redacted information (e.g., flags or credentials) could be used to simply grab the points/challenge without even attempting to do it. Hence, they have been removed.
If you are interested in building your own VM, have a look at CREATE_VM.md.