D23R Cybersecurity Blog

Primed for Action - HTB Very Easy Coding Challenge | Prime Detection via Trial Division

Complete walkthrough of Primed for Action from Hack The Box. A very easy coding challenge where an intercepted list of numbers hides exactly two primes among the garbage, and the key is the product of the two. Reading the space-separated list from standard input, testing each value for primality by trial division from 2 up to its rounded square root (skipping anything ≤ 1), and multiplying the two surviving primes directly yields the flag.

Preview Image

Zero Walkthrough - HTB Insane | Apache ap_expr Arbitrary File Read & pgrep Abuse

Complete walkthrough of Zero from Hack The Box. An insane Linux machine that hands out per-user SFTP credentials, giving control of the user's .htaccess. This is abused for an Apache ap_expr arbitrary file read (LFI via ErrorDocument) to leak the site's source code, exposing hardcoded MySQL credentials that grant SSH access and the user flag. A root-run, Monit-scheduled script runs an apache2ctl config syntax check against a process whose command line we control; by starting a process with a crafted command line and pointing it at an Apache config that Includes /root/root.txt, the root flag is disclosed.

Preview Image

Delegate Walkthrough - HTB Medium | Unconstrained Delegation Abuse & DCSync

Complete walkthrough of Delegate from Hack The Box. A medium Windows Active Directory machine where a logon script left in the SYSVOL share leaks plaintext credentials for A.Briggs. BloodHound reveals a GenericWrite over N.Thompson, abused with a targeted Kerberoast to crack his password and gain a WinRM shell. N.Thompson holds SeEnableDelegationPrivilege, which is leveraged to create a computer account, flag it for unconstrained delegation, coerce the DC, and capture its TGT — leading to a DCSync and full domain compromise via Pass-the-Hash.

Preview Image

Data Walkthrough - HTB Easy | Grafana CVE-2021-43798 & Docker Privilege Escalation

Complete walkthrough of Data from Hack The Box. An easy Linux machine running Grafana v8.0.0, vulnerable to the CVE-2021-43798 path traversal that allows dumping the internal SQLite database. Boris's Grafana hash is converted with grafana2hashcat, cracked, and reused to log in over SSH. A sudo-allowed docker exec command is then abused to enter a privileged container and mount the host filesystem to read the root flag.

Preview Image

Pressed Walkthrough - HTB Hard | WordPress XML-RPC Abuse & PwnKit Privilege Escalation

Complete walkthrough of Pressed from Hack The Box. A hard Linux machine running WordPress 5.9, where a leaked wp-config.php.bak reveals admin credentials guarded by two-factor authentication. A custom htb.get_flag XML-RPC method yields the user flag, while editing a post through XML-RPC provides code execution. With all reverse and bind shells blocked by a strict iptables firewall, a forward shell is used to interact with the target, and a PwnKit (CVE-2021-4034) exploit delivers root.

Toll Schedule - HTB Easy Coding Challenge | Greedy Minimum-Wait Assignment

Walkthrough for the Toll Schedule challenge from Hack The Box. An easy coding challenge where convoys with known arrival times must each be seated at a distinct clearance opening no earlier than their arrival, minimizing the total wait. Sorting both lists and greedily assigning each convoy the earliest still-available clearance yields the optimal total.

False Ferry - HTB Easy Cloud Sherlock | AWS SSM Parameter Disclosure

Walkthrough for the False Ferry sherlock from Hack The Box. An easy cloud challenge where a locked-down IAM user is still allowed to run ssm:DescribeParameters, exposing an AUTHORIZED crossing parameter. Reading it leaks an IAM role to assume along with its external ID, and assuming that role grants access to a versioned S3 object that holds the flag.

Preview Image

Administrator Walkthrough - HTB Medium | AD ACL Abuse & Kerberoasting to DCSync

Complete walkthrough of Administrator from Hack The Box. A medium Windows Active Directory machine started with a set of provided credentials. Abusing an ACL chain (GenericAll and ForceChangePassword) grants control over additional users, one of which can reach an FTP share hosting a Password Safe backup. Cracking the backup yields credentials for a WinRM shell, and a targeted Kerberoast followed by a DCSync leads to full domain compromise.

Preview Image

Orion Walkthrough - HTB Very Easy | CraftCMS Pre-Auth RCE & Telnet Privilege Escalation

Complete walkthrough of Orion from Hack The Box. A very easy Linux machine running Craft CMS, vulnerable to the pre-authentication RCE CVE-2025-32432, which grants a foothold as www-data. Environment variables leak MySQL credentials that expose the admin password hash, which is cracked and reused to log in via SSH as adam. Finally, a local-only Telnet service running as root is exploited through CVE-2026-24061 to achieve full root access.