Post

HTB Linux Easy: Beep

Beep is an Easy rated Linux machine on HTB.

HTB Linux Easy: Beep

Nmap scan

Pasted image 20240715105346.png

Initial Foothold

SSL issues when connecting

Solve by changing minimum TLS requirement in Firefox.

Login page

Pasted image 20240715105338.png

Exploit Elastix

Craft script from sources. Pasted image 20240715105328.png

Setup nc listener and execute the script. Pasted image 20240715105323.png

We get a shell as the Asterisk user: Pasted image 20240715105317.png

Privilege Escalation

Sudo -l reveals a lot of binaries that can be executed with sudo. Pasted image 20240715105307.png

We can use GTFObins to become root using Nmap. Pasted image 20240715105302.png

User.txt

Pasted image 20240715105255.png

Root.txt

Pasted image 20240715105249.png

Pwned

Pasted image 20240715105244.png

Sources

This post is licensed under CC BY 4.0 by the author.