[HackTheBox]Lame

So lets start HTB TJNull’s list with this.

Reconnaissance:

Initial scan

Initial impression gives three possible public CVEs that might give us a foothold. Namely:

  • vsftpd
  • samba
  • distccd

Enumeration:

Practically useless ftp
We can put stuff there, but not really useful stuff available here

This code gives us a distcc exploit which gives us a reverse shell as daemon.

Foothold:

After a super long time trying to look for a privilege escalation route, I decided to go back and see if ftp and samba services give me access as some other user.

FTP exploit didn’t work.
Damn. This worked, lets see what user we are.
Woah!!

PWNED!!!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Siddharth Johri
Siddharth Johri

Written by Siddharth Johri

To hack the world, first you need to make coffee

No responses yet

Write a response