Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Mr Robot CTF Walkthrough & Writeup — TryHackMe

Guía detallada paso a paso para resolver la máquina Mr Robot en TryHackMe , basada en la icónica serie de televisión. En este reto encontramos 3 llaves (flags) a través de enumeración web, fuerza bruta sobre WordPress, descifrado de hashes y abuso de binarios SUID desactualizados. 🎯 Resumen del Ataque [ Reconocimiento ] │ ▼ [ /robots.txt ] ────► Descarga de fsocity.dic & Lectura de Flag 1…

In order to solve the Mr Robot machine on TryHackMe, based on the popular TV series, we obtained three keys (flags) through web enumeration, brute force on WordPress, decryption of hashes, and exploitation of outdated SUID binaries.

Initial Reconnaissance:

- We performed a thorough port scan on the target IP address using Nmap, discovering open ports 80 (HTTP), 443 (HTTPS), and 22 (SSH).

- Web fuzzing with Gobuster revealed the following paths: /robots.txt, /wp-login.php, /wp-admin, /0, and /feed.

First Flag:

- We accessed the robots.txt file on the website, which provided us with the reference to the first key (key-1-of-3.txt).

- We directly downloaded the first key using curl: 073403c8a58a1f80d943455fb30724b9.

Web Exploitation and Initial Access:

- After analyzing the fsocity.dic dictionary referenced in the robots.txt, we optimized it by removing duplicates and creating a cleaner wordlist (wordlist_clean.txt) with 11,451 entries.

- Using Hydra, we brute-forced the /wp-login.php login page with the optimized wordlist and found the password for user Elliot: ER28-0652.

- With the obtained credentials, we gained a reverse shell by editing the 404.php file in the WordPress admin panel and loading it with curl.

Second Flag:

- We stabilized the TTY using Python's pty module and imported the bash shell.

- We cracked the MD5 hash for the password in the password.raw-md5 file using CrackStation, which revealed the password: robot:c3fcd3d76192e4007dfb496cca67e13b.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

useCallback

* useCallback * -> It remembers a new reference while the re-renders -> It returns the same reference value when the depedency array values are not changed -> When depedency values changes it creates…

Football in 100 Milliseconds

Part 1: What the RoboCup 2D simulator is, and why every virtual player only sees part of the pitch About this series. I am a high-school IB student.

  • RoboCup 2D simulator models football match
  • Simulator uses equations to represent hardware
  • Python models based on simulator's algorithms

More from Monday 23 November →