HackTheBox - Meow
Tags: cybersecurity
Published: 2022-10-07 16:59:48

> The obstacle is the way, to triumph, undertake smaller challenge and in the long run you will become an expert of your own doing. Be better than yesterday.

**How To:**
- Connect to the VPN
- Click **connect to HTB**
- Choose the appropriate VPN access and the protocol to use either TCP or UDP
- Download the file and save it.
- Open  the terminal and traverse to downloads
- Install the VPN
- sudo openvpn [finame].ovpn
- Enter the password prompted. Let to load till initialization is complete.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ybznu9nou7migvattqtk.PNG)
Reload the app.hackthebox.com page

we are now connected.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/76xg6b2xp40aldo357x9.png)
You are now ready to tackle the challenge!

Navigate to Meow and click spawn machine
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vnb0odfy7mzzspzm2q4l.png)

The instance of our target machine has been created:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0vhc8gqysd77evy57yd6.png)
This machine is in the same network we are on on the VPN.

**Task 1:**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c64nowoe1s7c1wqshaga.png)
A Virtual Machine abbreviated as VM is virtual environment that functions as a virtual computer system with its own CPU, memory, network interface, and storage, created on a physical hardware system (located off- or on-premises)

Attack machine we have spawned on our computer.

**Task 2:**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xinrl8tmxrdf6o7tqvm2.png)
We use terminal to interact with our machine

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/umpln61ogs9y47s9y241.png)

**Task 3:**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zwopdg4yp7q7jzbk2dmi.png)
OpenVPN is a virtual private network system that implements techniques to create secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/np6ml88zr0b0jr2trho1.png)

**Task 4:**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gxdlvfo5y46wycebomyw.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gvohj6uqjb916m1d1jae.png)
tun0 - is the tunnel interface. It tunnels our connection to the target machine. The IP:10.18.9.134 is of the target machine.

**Task 5:**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5b38n4jekf8gullyzzzy.png)
We use **Ping** to test the connection with an end-server.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8ae1zehuludnnrqz8u6s.png)

**Task 6:**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/feqzlmbwhrnsnjatc5wp.png)

Network mapper - scan for open ports in the target machine.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/db46mfb08zuss37j9t79.png)
**Task 7:**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4s4uwrvtyrbpv22m2i9u.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4m08h0tgv0aa1utx3thg.png)

**Task 8:**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/304nirtf11sjfln9nn96.png)

Telnet is open. It will provide us with a like command-like interface, it lets us get a terminal on the remote machine.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/khap6qm9wkerwkj2zdxd.png)

**Task 9:**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nqvjoby8w4uw9mug62h5.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kfjmvuj1a4i9kwwav93i.png)

_> Seneca, “Associate with people who are likely to improve you. Welcome those who you are capable of improving. The process is a mutual one: we learn as we teach.”_