<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Box on p4n4Sec</title><link>https://p4n4s.com/tags/box/</link><description>Recent content in Box on p4n4Sec</description><generator>Hugo -- 0.147.7</generator><language>en</language><lastBuildDate>Sun, 28 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://p4n4s.com/tags/box/index.xml" rel="self" type="application/rss+xml"/><item><title>HTB: Linux - Reset</title><link>https://p4n4s.com/posts/htb/box/reset/</link><pubDate>Sun, 28 Jun 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/reset/</guid><description>Reset chains a password-reset oracle and SQLi-leaked admin hash into an authenticated dashboard, an LFI that is weaponised through Apache log poisoning for RCE as www-data, a misconfigured /etc/hosts.equiv r-services trust that pivots laterally to two separate users, and finally an lxd group membership that mounts the host filesystem for root.</description></item><item><title>HTB: Linux - Trick</title><link>https://p4n4s.com/posts/htb/box/trick/</link><pubDate>Fri, 05 Jun 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/trick/</guid><description>Trick is an Easy Linux machine built around enumeration. A misconfigured DNS zone transfer plus virtual-host fuzzing reveal hidden subdomains, an LFI on one of them leaks an SSH key, and a user in the security group abuses a writable fail2ban action directory to get root once a ban fires.</description></item><item><title>HTB: Linux - Bashed</title><link>https://p4n4s.com/posts/htb/box/bashed/</link><pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/bashed/</guid><description>Bashed is a fairly easy machine which focuses mainly on fuzzing and locating important files. As basic access to the crontab is restricted</description></item><item><title>PG Practice: Linux - Plum</title><link>https://p4n4s.com/posts/offsec/plum/</link><pubDate>Thu, 12 Mar 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/plum/</guid><description>This lab emphasizes different enumeration methods, particularly web enumeration, to uncover vulnerabilities. Learners will exploit CVE-2022-25018 for initial access. The lab also teaches privilege escalation techniques to gain higher-level access within the system.</description></item><item><title>PG Practice: Linux - Nibbles</title><link>https://p4n4s.com/posts/offsec/nibbles/</link><pubDate>Wed, 11 Mar 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/nibbles/</guid><description>Leverage a misconfigured PostgreSQL database server that is listening on all interfaces with default credentials to gain code execution in this lab. Next, exploit misconfigured SUID permissions on the /usr/bin/find binary for privilege escalation. This approach enhances your skills in identifying misconfigurations and escalating privileges effectively.</description></item><item><title>PG Practice: Linux - Payday</title><link>https://p4n4s.com/posts/offsec/payday/</link><pubDate>Tue, 10 Mar 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/payday/</guid><description>In this lab, you will exploit a Local File Inclusion (LFI) vulnerability in an outdated version of CS Cart installed on the PayDay lab. This lab enhances your skills in vulnerability detection, exploitation, and system access techniques.</description></item><item><title>PG Practice: Linux - Flu</title><link>https://p4n4s.com/posts/offsec/flu/</link><pubDate>Mon, 09 Mar 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/flu/</guid><description>You are required to leverage enumeration techniques, including web enumeration, to uncover potential vulnerabilities. The lab involves exploiting CVE-2022-26134 and abusing cronjobs to gain unauthorized access. This lab focuses on understanding and exploiting vulnerabilities to enhance security awareness.</description></item><item><title>PG Practice: Windows - Mice</title><link>https://p4n4s.com/posts/offsec/mice/</link><pubDate>Fri, 06 Mar 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/mice/</guid><description>In this lab, the RemoteMouse 3.008 exploit will be used on port 1978 for remote code execution, capturing a reverse shell with Netcat. After decoding the FileZilla password, we will log in via Remote Desktop and open a Command Prompt as an administrator. This lab focuses on exploiting service vulnerabilities and privilege escalation methods.</description></item><item><title>PG Practice: Linux - LaVita</title><link>https://p4n4s.com/posts/offsec/lavita/</link><pubDate>Thu, 05 Mar 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/lavita/</guid><description>The lab will leverage enumeration techniques, including web enumeration, to uncover potential vulnerabilities. You will also exploit CVE-2021-3129 and demonstrate how to abuse SUDO permissions for unauthorized access. This lab focuses on understanding and exploiting vulnerabilities to enhance security awareness.</description></item><item><title>PG Practice: Windows - Nickel</title><link>https://p4n4s.com/posts/offsec/nickel/</link><pubDate>Wed, 04 Mar 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/nickel/</guid><description>To exploit this lab, you&amp;rsquo;ll leverage credential disclosure on a web application endpoint to gain an initial foothold. This lab helps you understand how to exploit credential disclosures, crack passwords, and bypass firewall protections for privilege escalation.</description></item><item><title>PG Practice: Windows - Algernon</title><link>https://p4n4s.com/posts/offsec/algernon/</link><pubDate>Tue, 03 Mar 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/algernon/</guid><description>This lab demonstrates exploiting a remote code execution vulnerability in SmarterMail build 6985 to gain SYSTEM-level access on a Windows server. Learners will identify the application version, leverage an RCE exploit, and use a reverse shell payload to compromise the target. This lab emphasizes web application exploitation and highlights the risks of unpatched software.</description></item><item><title>PG Practice: Linux - Exfiltrated</title><link>https://p4n4s.com/posts/offsec/exfiltrated/</link><pubDate>Fri, 27 Feb 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/exfiltrated/</guid><description>In this lab, we will exploit the target through an authenticated file upload bypass vulnerability in Subrion CMS that leads to remote code execution. We will then exploit a root cron job via a script running exiftool every minute.</description></item><item><title>PG Practice: Linux - Twiggy</title><link>https://p4n4s.com/posts/offsec/twiggy/</link><pubDate>Thu, 26 Feb 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/twiggy/</guid><description>This lab demonstrates exploiting a pre-auth remote code execution vulnerability in SaltStack Master (CVE-2020-11651). Learners will leverage the SaltStack API to execute arbitrary commands, resulting in a root shell on the target. This lab highlights the risks of unpatched critical vulnerabilities in infrastructure management tools.</description></item><item><title>HTB: AD - Administrator</title><link>https://p4n4s.com/posts/htb/box/administrator/</link><pubDate>Sat, 31 Jan 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/administrator/</guid><description>Administrator is a medium-difficulty Windows machine designed around a complete domain compromise scenario, where credentials for a low-privileged user are provided. To gain access to the michael account, ACLs (Access Control Lists) over privileged objects are enumerated, leading us to discover that the user olivia has GenericAll permissions over michael, allowing us to reset his password. With access as michael, it is revealed that he can force a password change on the user benjamin, whose password is reset. This grants access to FTP where a backup.psafe3 file is discovered, cracked, and reveals credentials for several users. These credentials are sprayed across the domain, revealing valid credentials for the user emily. Further enumeration shows that emily has GenericWrite permissions over the user ethan, allowing us to perform a targeted Kerberoasting attack. The recovered hash is cracked and reveals valid credentials for ethan, who is found to have DCSync rights ultimately allowing retrieval of the Administrator account hash and full domain compromise.</description></item><item><title>HTB: Linux - Cozyhosting</title><link>https://p4n4s.com/posts/htb/box/cozyhosting/</link><pubDate>Fri, 30 Jan 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/cozyhosting/</guid><description>CozyHosting is an easy-difficulty Linux machine that features a Spring Boot application. The application has the Actuator endpoint enabled. Enumerating the endpoint leads to the discovery of a user&amp;rsquo;s session cookie, leading to authenticated access to the main dashboard. The application is vulnerable to command injection, which is leveraged to gain a reverse shell on the remote machine. Enumerating the application&amp;rsquo;s JAR file, hardcoded credentials are discovered and used to log into the local database. The database contains a hashed password, which once cracked is used to log into the machine as the user josh. The user is allowed to run ssh as root, which is leveraged to fully escalate privileges.</description></item><item><title>HTB: AD — Cicada</title><link>https://p4n4s.com/posts/htb/box/cicada/</link><pubDate>Tue, 27 Jan 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/cicada/</guid><description>Cicada is an easy-difficult Windows machine that focuses on beginner Active Directory enumeration and exploitation. In this machine, players will enumerate the domain, identify users, navigate shares, uncover plaintext passwords stored in files, execute a password spray, and use the SeBackupPrivilege to achieve full system compromise.</description></item><item><title>HTB: AD — Flight</title><link>https://p4n4s.com/posts/htb/box/flight/</link><pubDate>Fri, 23 Jan 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/flight/</guid><description>Flight is a hard Windows machine that starts with a website with two different virtual hosts. One of them is vulnerable to LFI and allows an attacker to retrieve an NTLM hash. Once cracked, the obtained clear text password will be sprayed across a list of valid usernames to discover a password re-use scenario. Once the attacker has SMB access as the user s.moon he is able to write to a share that gets accessed by other users. Certain files can be used to steal the NTLMv2 hash of the users that access the share. Once the second hash is cracked the attacker will be able to write a reverse shell in a share that hosts the web files and gain a shell on the box as low privileged user. Having credentials for the user c.bum, it will be possible to gain a shell as this user, which will allow the attacker to write an aspx web shell on a web site that&amp;rsquo;s configured to listen only on localhost. Once the attacker has command execution as the Microsoft Virtual Account he is able to run Rubeus to get a ticket for the machine account that can be used to perform a DCSync attack ultimately obtaining the hashes for the Administrator user.</description></item><item><title>HTB: Linux — Editor</title><link>https://p4n4s.com/posts/htb/box/editor/</link><pubDate>Fri, 23 Jan 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/editor/</guid><description>Editor is an easy Linux box.</description></item><item><title>HTB: AD — CodePartTwo</title><link>https://p4n4s.com/posts/htb/box/codeparttwo/</link><pubDate>Thu, 22 Jan 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/codeparttwo/</guid><description>CodePartTwo</description></item><item><title>HTB: AD — sauna</title><link>https://p4n4s.com/posts/htb/box/sauna/</link><pubDate>Mon, 19 Jan 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/sauna/</guid><description>Sauna is an easy difficulty Windows machine that features Active Directory enumeration and exploitation. Possible usernames can be derived from employee full names listed on the website. With these usernames, an ASREPRoasting attack can be performed, which results in hash for an account that doesn&amp;rsquo;t require Kerberos pre-authentication. This hash can be subjected to an offline brute force attack, in order to recover the plaintext password for a user that is able to WinRM to the box. Running WinPEAS reveals that another system user has been configured to automatically login and it identifies their password. This second user also has Windows remote management permissions. BloodHound reveals that this user has the DS-Replication-Get-Changes-All extended right, which allows them to dump password hashes from the Domain Controller in a DCSync attack. Executing this attack returns the hash of the primary domain administrator, which can be used with Impacket&amp;rsquo;s psexec.py in order to gain a shell on the box as NT_AUTHORITY\SYSTEM.</description></item><item><title>HTB: AD — Forest</title><link>https://p4n4s.com/posts/htb/box/forest/</link><pubDate>Fri, 16 Jan 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/forest/</guid><description>Forest is an easy Windows machine that showcases a Domain Controller (DC) for a domain in which Exchange Server has been installed. The DC allows anonymous LDAP binds, which are used to enumerate domain objects. The password for a service account with Kerberos pre-authentication disabled can be cracked to gain a foothold. The service account is found to be a member of the Account Operators group, which can be used to add users to privileged Exchange groups. The Exchange group membership is leveraged to gain DCSync privileges on the domain and dump the NTLM hashes, compromising the system.</description></item><item><title>HTB: AD — Active</title><link>https://p4n4s.com/posts/htb/box/active/</link><pubDate>Wed, 14 Jan 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/active/</guid><description>Active is an easy to medium difficulty machine, which features two very prevalent techniques to gain privileges within an Active Directory environment.</description></item><item><title>HTB: Windows — Eighteen</title><link>https://p4n4s.com/posts/htb/box/eighteen/</link><pubDate>Fri, 09 Jan 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/eighteen/</guid><description>Eighteen is an easy Windows machine&amp;hellip;</description></item><item><title>HTB: Linux — Photobomb</title><link>https://p4n4s.com/posts/htb/box/photobomb/</link><pubDate>Mon, 20 Oct 2025 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/photobomb/</guid><description>Photobomb is an easy Linux machine where plaintext credentials are used to access an internal web application with a &lt;code>Download&lt;/code> functionality that is vulnerable to a blind command injection. Once a foothold as the machine&amp;rsquo;s main user is established, a poorly configured shell script that references binaries without their full paths is leveraged to obtain escalated privileges, as it can be ran with `sudo</description></item><item><title>HTB: Linux — Precious</title><link>https://p4n4s.com/posts/htb/box/precious/</link><pubDate>Sat, 18 Oct 2025 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/precious/</guid><description>Precious is an Easy Difficulty Linux machine, that focuses on the &lt;code>Ruby&lt;/code> language. It hosts a custom &lt;code>Ruby&lt;/code> web application, using an outdated library, namely pdfkit, which is vulnerable to &lt;code>CVE-2022-25765&lt;/code>, leading to an initial shell on the target machine. After a pivot using plaintext credentials that are found in a Gem repository &lt;code>config&lt;/code> file, the box concludes with an insecure deserialization attack on a custom, outdated, &lt;code>Ruby&lt;/code> script.</description></item><item><title>HTB: Windows — Signed</title><link>https://p4n4s.com/posts/htb/box/signed/</link><pubDate>Fri, 17 Oct 2025 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/signed/</guid><description>Signed is a medium Windows machine, exposing Microsoft SQL Server and a Domain Controller. It&amp;rsquo;s part of Season 9.</description></item><item><title>HTB: Linux - Titanic</title><link>https://p4n4s.com/posts/htb/box/titanic/</link><pubDate>Mon, 05 May 2025 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/titanic/</guid><description>Titanic is an easy difficulty Linux machine that features an Apache server listening on port 80. The website on port 80 advertises the amenities of the legendary Titanic ship and allows users to book trips. A second vHost is also identified after fuzzing, which points to a Gitea server. The Gitea server allows registrations, and exploration of the available repositories reveals some interesting information including the location of a mounted Gitea data folder, which is running via a Docker container. Back to the original website, the booking functionality is found to be vulnerable to an Arbitrary File Read exploit, and combining the directory identified from Gitea, it is possible to download the Gitea SQLite database locally. Said database contains hashed credentials for the developer user, which can be cracked. The credentials can then be used to login to the remote system over SSH. Enumeration of the file system reveals that a script in the /opt/scripts directory is being executed every minute. This script is running the magick binary in order to gather information about specific images. This version of magick is found to be vulnerable to an arbitrary code execution exploit assigned CVE-2024-41817. Successful exploitation of this vulnerability results in elevation of privileges to the root user.</description></item></channel></rss>