System Information — Linux Fundamentals Module — HTB Walkthrough

The Malware Mender
2 min readJul 9, 2024

--

TIER 0 MODULE: LINUX FUNDAMENTALS

SECTION: System Information

Please open your pwnbox or connect to the vpn, and connect with ssh in order to complete the tasks.

ssh htb-student@<target-ip>
# Enter password 'HTB_@cademy_stdnt!' when asked!

If you are not registered in HTB Academy, then use this link to register now: https://referral.hackthebox.com/mzxKOJt

1. Find out the machine hardware name and submit it as the answer.

Open terminal and use the uname command.

uname -m

💡 See the man page of the command uname.

Answer: x86_64

2. What is the path to htb-student’s home directory?

Check the contents of /home directory, and see if there is any ‘htb-student’.

ls /home

If yes, then copy the file path of that directory and submit as the answer.

Answer: /home/htb-student

3. What is the path to the htb-student’s mail?

In the target machine, the path to the mail is stored in $MAIL variable.

echo $MAIL

Answer: /var/mail/htb-student

4. Which shell is specified for the htb-student user?

By default the name of shell is stored in the $SHELL variable.

echo $SHELL

Answer: /bin/bash

5. Which kernel version is installed on the system? (Format: 1.22.3)

Again, use the uname utility.

uname -r

Answer: 4.15.0

6. What is the name of the network interface that MTU is set to 1500?

The command ifconfig shows the network configuration on the system.

ifconfig

And search mtu 1500., submit the name of the interface (interface would be written as <interface-name>: <details>) as the answer.

Answer: ens192

Still stuck? Watch Video!

☣️ HAPPY ETHICAL HACKING ☣️

DISCLAIMER: THIS CONTENT DOES NOT BELONG TO ME, I AM JUST WRITING A WALK-THROUGH OF A FREE MODULE OF HACK THE BOX ACADEMY. (WRITING WALKTHROUGHS OF FREE MODULES IS PERMITTED BY HTB ACADEMY)

The Malware Mender Walk-Throughs

--

--

The Malware Mender
The Malware Mender

No responses yet