Hack The Box: Blurry

Description Blurry is a medium Hack The Box machine that features: Access to an unauthenticated ClearML server Remote Command Execution in ClearML 1.13.1 application due to Unsafe Deserialization of Untrusted Data Privilege Escalation by using a Pickle file inside a machine learning model and the ability to run a command that can load models as the root user Footprinting First, we are going to check with ping command if the machine is active and the system operating system. The target machine IP address is 10.129.127.228. ...

October 12, 2024 · 10 min

Hack The Box: EvilCUPS

Description EvilCUPS is a medium Hack The Box machine that features: CUPS Remote Command Execution Privilege Escalation via leaked credential in past print job Footprinting First, we are going to check with ping command if the machine is active and the system operating system. The target machine IP address is 10.10.11.40. $ ping -c 3 10.10.11.40 PING 10.10.11.40 (10.10.11.40) 56(84) bytes of data. 64 bytes from 10.10.11.40: icmp_seq=1 ttl=63 time=118 ms 64 bytes from 10.10.11.40: icmp_seq=2 ttl=63 time=117 ms 64 bytes from 10.10.11.40: icmp_seq=3 ttl=63 time=117 ms --- 10.10.11.40 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 116.944/117.494/118.123/0.484 ms The machine is active and with the TTL that equals 63 (64 minus 1 jump) we can assure that it is an Unix machine. Now we are going to do a Nmap TCP SYN port scan to check all opened ports. ...

October 2, 2024 · 5 min

Escape from the restricted shell of a router

Introduction️ Various devices marketed in the market both for acquisition by consumers and for rental by Internet service providers’ clients allow their administration through a web portal. This portal may be limited in features and if more advanced configurations are needed, such as configuring the firewall, with the iptables tool, access via console is necessary. The operating system of routers usually is GNU/Linux.️ The console access is usually blocked to prevent problems with incorrect configurations made by inexperienced users, which makes it necessary, for example, to access the serial port by removing the device casing. In other cases, access to the console is allowed through the SSH (Secure Shell) protocol, but access is limited to a restricted console, with pre-defined commands from the manufacturer. These devices usually have a backdoor that allows deploying a command terminal sh or bash with the introduction of specific commands.️ ...

October 1, 2024 · 6 min

Hack The Box: BoardLight

Description BoardLight is an easy Hack The Box machine that features: Subdomain Enumeration Dolibarr vulnerability that allows remote command execution Password reuse that allows user pivoting Privilege Escalation via a vulnerable SUID Enlightement window manager binary Footprinting First, we are going to check with ping command if the machine is active and the system operating system. The target machine IP address is 10.129.62.232. $ ping -c 3 10.129.62.232 PING 10.129.62.232 (10.129.62.232) 56(84) bytes of data. 64 bytes from 10.129.62.232: icmp_seq=1 ttl=63 time=55.3 ms 64 bytes from 10.129.62.232: icmp_seq=2 ttl=63 time=57.4 ms 64 bytes from 10.129.62.232: icmp_seq=3 ttl=63 time=56.5 ms --- 10.129.62.232 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 55.290/56.404/57.401/0.865 ms The machine is active and with the TTL that equals 63 (64 minus 1 jump) we can assure that it is an Unix machine. Now we are going to do a Nmap TCP SYN port scan to check all opened ports. ...

September 28, 2024 · 6 min

Hack The Box: SolarLab

Description SolarLab is a medium Hack The Box machine that features: SMB share enumeration and the download of a file with credentials / SMB user enumeration Password Reuse in a web application ReportLab Library Remote Command Execution vulnerability Sensitive Data Exposure in a database and Password Reuse of an user running an Openfire service Privilege Escalation via a password Blowfish hash cracking of an Openfire service Footprinting First, we are going to check with ping command if the machine is active and the system operating system. The target machine IP address is 10.129.52.107. ...

September 21, 2024 · 9 min

Hack The Box: Mailing

Description Mailing is an easy Hack The Box machine that features: Directory Traversal and Local File Inclusion in a web server Recovery of an user email password using a hash obtained from a configuration file Microsoft Outlook CVE-2024-21413 Remote Command Execution vulnerability to gain an user credential Privilege Escalation via LibreOffice CVE-2023-2255 Local Command Execution vulnerability Footprinting First, we are going to check with ping command if the machine is active and the system operating system. The target machine IP address is 10.129.51.252. ...

September 7, 2024 · 9 min

Dynamic Analysis in Android️ - IV - Analysis of symmetric encrypted traffic️

Introduction️ There are additional protections related to the requirement for a specific TLS certificate (pinning). There is also the possibility of encrypting network communications over the HTTP protocol. In the case of symmetric encryption, the application will obtain the key from the server or obtain it from the application’s own source code, statically (stored in a variable), or dynamically, where several obfuscated methods will be executed to create the key to use. ...

September 1, 2024 · 4 min

Hack The Box: Runner

Description Runner is an medium Hack The Box machine that features: Subdomain Enumeration to find a TeamCity instance TeamCity vulnerability CVE-2024-27198 that allows unauthenticated administrative account creation Export of a id_rsa SSH private key from a Linux user by exporting a TeamCity project Enumeration of Linux system to find a Portainer instance Remote Command Execution in TeamCity using a malicious plugin to get access to the database Cracking of a TeamCity password hash to obtain the access to Portainer instance Privilege Escalation via mounting a block device as a volume in a container with Portainer Footprinting First, we are going to check with ping command if the machine is active and the system operating system. The target machine IP address is 10.129.81.22. ...

August 24, 2024 · 11 min

Hack The Box: Usage

Description Usage is an easy Hack The Box machine that features: SQL Injection in a Laravel database to obtain credentials of administrator dashboard Insecure File Upload of PHP files in the administrator dashboard (bypass client filter) User pivoting using hardcoded password in a configuration file Privilege Escalation via a 7z archive application executed as root user Footprinting First, we are going to check with ping command if the machine is active and the system operating system. The target machine IP address is 10.129.104.234. ...

August 10, 2024 · 9 min

Hack The Box: IClean

Description IClean is a medium Hack The Box machine that features: Cross-Site-Scripting in a contact form (obtains administrator cookie) Python Server Side Template Injection for Command Execution Weak password from an user (reused) obtained from a database with unprotected credentials in hash format Access to privileged files using qpdf tool and its attachments feature Footprinting First, we are going to check with ping command if the machine is active and the system operating system. The target machine IP address is 10.129.235.68. ...

August 3, 2024 · 8 min