root@thehacksparrow:~/writeups$ SYSTEM ONLINE
root@sparrow:~/writeups$ cat keeper.md
// writeups

Keeper

12 Aug 2023 · 8 min read · root access
Keeper - maquina de Hack The Box

Executive summary — Keeper is a very current Easy Linux box built around secrets management: a Request Tracker (RT) ticketing system with a default admin account lets us read a ticket containing lnorgaard's initial password. In their home there's a memory dump of a running KeePass process and the .kdbx database; with CVE-2023-32784 we reconstruct the master password from the dump, and automating the database with pykeepass surfaces root's private SSH key, stored in PuTTY format. An RT → lnorgaard → KeePass dump (CVE) → root's key → root path.

PlatformHack The Box
Operating systemLinux
DifficultyEasy
StatusRetired
Target IP10.129.229.41

Attack map

[80] Request Tracker (RT) → default credentials root:password
   │  ticket reveals lnorgaard's initial password (Welcome2023!)
   ▼
[SSH]  lnorgaard
   │  home: KeePassDumpFull.dmp + passcodes.kdbx
   │  CVE-2023-32784 (keepass-dump-masterkey) → master: "rødgrød med fløde"
   ▼
[KeePass]  pykeepass automates the search → root's SSH key (PuTTY .ppk)
   ▼
[ROOT]  puttygen → OpenSSH → ssh root  (root.txt · user.txt)

1. Reconnaissance

nmap -sC -sV 10.129.229.41
22/tcp open  ssh
80/tcp open  http

Only two open ports: SSH and HTTP. With such a small attack surface, the entry point can only be the web application on port 80.

🔒 Clearance required

This content is Root Access only. Everything else on the site — the free tier, the whole public library — stays open.

See Root Access plans

No account? Create one free then upgrade from your console.