Daily Bugle

Room Link: https://tryhackme.com/room/dailybuglearrow-up-right

Deploy

Access the web server, who robbed the bank?

Initial Shell

Python Script

Cracking the hash

We can now login to Joomla with the credentials we have found

Reverse Shell

All I did was follow this tutorial to get a reverse shell.

Tutorial: https://www.hackingarticles.in/joomla-reverse-shell/arrow-up-right

Kali

Browser

Used this PHP reverse shell, just needed to change the IP to my own.

PHP Reverse Shell: https://github.com/pentestmonkey/php-reverse-shell/blob/master/php-reverse-shell.phparrow-up-right

Get autocomplete

Privilege Escalation

Option #1 - Create malicious rpm file

Found a password in the configuration file. The password worked for the user jjameson which was found in the home directory.

jjamerson is able to run yum with no password as sudo

Kali

Our fpm file is now created

Victim

Option #2 - Spawn interactive root shell by loading a custom plugin

Exploit Link: https://gtfobins.github.io/gtfobins/yum/arrow-up-right

Just had to copy paste from gtfobins and it worked right away

Last updated