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? 

Exposing Login Page Vulnerabilities with Time-Based SQL Injection

In the realm of cybersecurity, SQL injection remains a notorious threat, with time-based SQL injection being one of the most elusive methods. This tutorial will guide you through exploiting a login page vulnerability using two powerful tools: SQLMap and Burp Suite. By the end of this demonstration, you’ll understand how these attacks work and learn crucial defense mechanisms to protect your web applications. The Basics of SQL Injection SQL injection is a technique where an attacker exploits improperly sanitized user inputs to execute arbitrary SQL commands on a database. In time-based SQL injection, the attacker leverages the database’s response time to infer whether the input was successful, without needing direct feedback from the application. vulnerable webpage Practical Demonstration: Lets dive into the practical demonstration: Step 1 : Open Burp Suite and navigate to the “Proxy” tab. Ensure the proxy is running. Step 2 : Configure your browser to use Burp Suite as a...

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...