Skip to main content

Day 3 Advent of Cyber 2024 - TryHackMe Walkthrough

 Welcome to Day 3 of the Advent of Cyber 2024 challenge by TryHackMe! Today’s challenge is focused on detecting and analyzing web shells and understanding their role in exploiting vulnerable systems. Let's walk through the steps to answer the questions for “Even if I wanted to go, their vulnerabilities wouldn't allow it.”


Step-by-Step Solution

BLUE Team: Where was the web shell uploaded to?

  • Analysis: By examining the web server logs and monitoring file upload paths, the directory and file name of the web shell were identified.
  • Answer: /media/images/rooms/shell.php

BLUE Team: What IP address accessed the web shell?

  • Analysis: Reviewing the server access logs revealed the IP address that interacted with the uploaded web shell.
  • Answer: 10.11.83.34

RED Team: What is the contents of the flag.txt?

To access the flag, we need to simulate an attacker's steps to exploit the vulnerability in the Frosty Pines system.

Answer: THM{Gl1tch_Was_H3r3}


If you liked today's task, you can learn how to harness the power of advance ELK queries.

Comments

Popular posts from this blog

TryHackMe | Advent of Cyber 2024 | Day 1 | by INDCRYPT

  Dive into the wonderful world of cyber security by engaging in festive beginner-friendly exercises every day in the lead-up to Christmas! Day 1: Maybe SOC-mas music, he thought, doesn't come from a store? Answer the questions below 1. Looks like the song.mp3 file is not what we expected! Run "exiftool song.mp3" in your terminal to find out the author of the song. Who is the author? 

Weak Registration Mechanism Vulnerability (P4)

The user registration and account verification process in the application is vulnerable due to a weak implementation of the verification link. Specifically, the verification link is sent via HTTP rather than the more secure HTTPS . This exposes the system to potential man-in-the-middle (MITM) attacks and account takeover risks . While this issue does not necessarily lead to immediate access to user accounts, attackers could intercept and manipulate the verification link, potentially gaining unauthorized access to accounts or causing data leakage .       Steps to Reproduce: Open the URL: example.com/signup . Complete the registration process to trigger the verification email. Open your inbox and locate the verification email. Right-click on the verification link and select "Copy link address." Paste the link into a text editor or directly into your browser's address bar. Check if the URL uses HTTP instead of HTTPS . Press Enter to open the link and observe the behavio...

How to Resolve VirtualBox Clipboard and File Sharing Issues

Overview If you’re encountering the following issues while using VirtualBox: Clipboard not functioning Copy-paste failing between host and guest File sharing difficulties between host and guest VirtualBox Guest Additions services crashing or not running This guide provides a step-by-step solution to resolve these problems. Step 1: Verify VirtualBox Advanced Settings Open VirtualBox and select the virtual machine (VM) experiencing issues. Click Settings and navigate to the General > Advanced tab. Set Shared Clipboard to Bidirectional . Set Drag and Drop to Bidirectional . Click OK to save your changes and start the VM to test if the issue is resolved. Step 2: Use the Devices Menu While the VM is running, go to the top menu and click on Devices . Select Insert Guest Additions CD Image . If prompted, follow the on-screen instructions to install or update the Guest Additions. Restart the VM after installation. If this step does not resolve the issue, proceed to the next solution. ...