LazySysAdmin: 1.0

Information:
Name: LazySysAdmin 1.0
VM Creator: @TogieMcdogie
Time it took me: 2-3 hours.
Pentest Skill Level: Less than a year.

To begin use nmap:
22/tcp open ssh OpenSSH 6.6.1p1 Ubuntu 2ubuntu2.8 (Ubuntu Linux; protocol 2.0)
80/tcp open http Apache httpd 2.4.7 ((Ubuntu))
139/tcp open netbios-ssn Samba smbd 3.X (workgroup: LAZYSYSADMIN)
445/tcp open netbios-ssn Samba smbd 3.X (workgroup: LAZYSYSADMIN)
3306/tcp open mysql 6667/tcp open irc InspIRCd

The box description said "linux enumeration". Samba is a file sharing server. It can be used with Windows, Linux, and Mac. I always thought Samba was a "windows thing" but I suppose not.
Use the tool enum4linux. I used:
enum4linux -a 192.168.0.15.
[+] Attempting to map shares on 192.168.0.15
//192.168.0.15/print$ Mapping: DENIED, Listing: N/A
//192.168.0.15/share$ Mapping: OK, Listing: OK
//192.168.0.15/IPC$ Mapping: OK Listing: DENIED

We see the /share$ folder is available to everyone. Lets visit it. We see a file called deets.txt. Lets open it. The enum4linx -a scan also revealed a user named "togie". We ssh togie@192.168.0.15 and input the password "12345". We are in. We use sudo -i and we have root.

Comments

Popular posts from this blog

HTB - Jarvis MySQL

Palo Alto for GNS3 CCDC Tutorial

Trace Labs Global Missing Persons CTF V