>_ DARKPC.NET

Tutorial 003 · Starting Point · Linux

Meow: Your First Root Shell

Our first Hack The Box victory! This is the actual route we took: discovering a Telnet service, connecting to the intentionally vulnerable training machine, and locating the flag. Follow along on your own authorised HTB instance.

BeginnerNmapTCP 23TelnetRoot
Authorised lab only. Do not scan or attempt to log into random public IP addresses. Start your own Meow instance inside Hack The Box and use its displayed target IP. This article deliberately does not publish the flag.

1. Launch your lab

Sign in to Hack The Box, open the Starting Point Meow machine, and select Start Machine. You can use HTB's browser-based Pwnbox, which is already connected to the lab network. Wait until the machine shows a target IP and the connection is ready.

Our session's target was 10.129.224.177. Yours may be different, so replace the example IP in every command below.

2. Discover the exposed service

Open a terminal inside Pwnbox (not the terminal on your home PC unless you have configured the HTB VPN). Run:

nmap -sV 10.129.224.177

-sV asks Nmap to identify services and their versions. In our session, the important result was:

PORT   STATE SERVICE VERSION
23/tcp open  telnet  Linux telnetd

What does that mean? TCP port 23 is accepting Telnet connections. Telnet is an old remote-login protocol that does not encrypt the session. It is generally unsuitable for administration across untrusted networks; SSH is the usual secure replacement.

Actual DarkPC Hack The Box Pwnbox terminal showing Nmap identifying Telnet on TCP port 23
Our real Pwnbox Nmap scan identified port 23 as Telnet.

3. Connect using Telnet

From that same Pwnbox terminal, connect to the service:

telnet 10.129.224.177

The target displayed a Meow login: prompt. In this intentionally misconfigured training lab, entering root allowed access without a password. This is the vulnerability: an exposed remote-login service permitting direct, unauthenticated administrative access.

DarkPC Pwnbox terminal displaying a successful Telnet login to the Meow lab
Our Telnet session reached the Meow login prompt. Never try this against systems without permission.

4. Confirm your access

At the root@Meow:~# prompt, inspect your identity:

whoami
id

Our session returned root and uid=0(root). On Linux, UID 0 identifies the superuser. We did not need privilege escalation: the insecure login had already granted full administrative privileges.

5. Find your flag

List the files in the current directory, including hidden files:

ls -la

We found flag.txt in the root user's home directory. Read it:

cat flag.txt

Copy the flag shown in your own terminal into the Meow flag submission field on HTB. We intentionally leave the actual answer out of this guide.

6. Finish cleanly

End your remote Telnet session with:

exit

Submit your flag on the HTB machine page. Our DarkPC account received a “You have solved Meow!” confirmation and 150 XP.

DarkPC account's You have solved Meow confirmation on Hack The Box
DarkPC's first completed Hack The Box machine — a proper milestone!

What did we learn?

Finding an open port is only the beginning. You must identify the service, understand its risk, and test only within an authorised scope. Here, the serious problem was not simply that Telnet existed: it was that the machine allowed a remote root login without a password.

For a real server, disable Telnet, use SSH with strong authentication, restrict management access, and prevent direct root logins where practical.

Practice checklist

Tick off each step as you go. Progress is saved locally in this browser when supported.

Back to Hack The Box labs