Skip to main content

Starting the box


Link to the box: https://app.hackthebox.com/machines/fries.

Port Scan

We start off the box by running a port scan on the provided IP.
Attacker Linux
Output of Rustscan:
Terminal Output
Output of Nmap:
Terminal Output
A few key notes:
  • The Domain Controller (DC)‘s fully qualified domain name (FQDN): DC01.fries.htb.
  • Port 22 (SSH) is open.
  • Port 80 & 443 (Web Server) is open.
  • Port 5985 (WinRM) is open.

Edit the Hosts file

As always, we edit the /etc/hosts file to add the hostname: Attacker Linux
Attacker Linux
/etc/hosts
Nano Interface
  • Adding dc01.fries.htb since this is a Windows domain controller.
  • Putting dc01.fries.htb before fries.htb to make sure tools like NetExec works properly (KDC_ERR_S_PRINCIPAL_UNKNOWN).

Active Box


This box is currently still active on Hack the Box - Full writeup will be available when the box is retired. Feel free to reach out to me on LinkedIn or Discord for nudges & sanity checks.
Last modified on February 18, 2026