Hardening systemd Services: Sandboxing Linux Daemons
A hands-on Ubuntu walkthrough: sandbox a real systemd service with the directives that cut attack surface, and watch the systemd-analyze security score drop from 9.6 to 3.1.…
A hands-on Ubuntu walkthrough: sandbox a real systemd service with the directives that cut attack surface, and watch the systemd-analyze security score drop from 9.6 to 3.1.…
The journey begins on Hack The Box, navigating through Season 5 Machines. It starts by exploiting a Server-Side Request Forgery (SSRF), which exposes access credentials in an endpoint, allowing you to pwn a machine. The response endpoint leaks critical information that leads to owning a user account. Following this,…
This box was very interesting, starting with exploiting a vulnerability in the ClearML open-source platform, which is used to automate the development of machine learning solutions, to get a shell as a user. By exploiting CVE-2024-24590, we were able to gain initial access. The process involved creating…
This box involves exploiting Dolibarr 17.0.0 for remote code execution (RCE) as an authenticated user, gaining access as the www-data user. By understanding the exploit and examining the configuration files, credentials can be found to escalate privileges to user. Additionally, the system is vulnerable to CVE-2022-…
The journey begins by using a custom word list to find a subdomain running TeamCity 2023.05.03, which is vulnerable to CVE-2023-42793. This vulnerability allows the creation of a privileged user without authentication. Next, a backup containing a private key is found, providing the first SSH access…
Learn how to set up DNS-over-HTTPS (DoH) on your Raspberry Pi for enhanced internet privacy and security. Follow our step-by-step guide to install dnscrypt-proxy, configure DNS resolvers, and integrate with dnsmasq and pi-hole…
Learn how to securely set up SFTP jail on Linux with our step-by-step guide. Enhance file transfer security and restrict user access effectively.…
Box overview MonitorsTwo is an easy box created by kavigihan combining the exploitation of Cacti (CVE-2022-46169) as entry point then privilege escalation by exploiting the CVE-2021-41091. Initial foothold Add the IP to the hosts file Firstly, I will update the hosts file entry with the box…