Hack The Box - HTB Enigma Writeup - Easy - Weekly - June 27th, 2026
June 28, 2026

Placeholders used Token Meaning $TARGET the target machine's IP $ATTACKER your VPN (tun0) IP $LPORT your reverse-shell listener port (e.g. 9001) [REDACTED] value intentionally removed 0. Setup & a network gotcha Add the vhosts (discovered along the way: enigma.htb, mail001.enigma.htb, support_001.enigma.htb ): echo "$TARGET enigma.htb mail001.enigma.htb support_001.enigma.htb" | sudo tee -a /etc/hosts This is the classic HTB tun0 MTU black-hole: large packets (TLS ClientHello certificate) get dropped on the VPN. Fix by lowering the interface MTU: sudo ip link set dev tun0 mtu 1300 After t…