TryHackMe LazyAdmin Walkthrough

by Vince
in Blog
Hits: 2809

The description states:  "Easy linux machine to practice your skills" and "Have some fun! There might be multiple ways to get user access."

I thought this was worthy of writing up because you have to chain several pieces together in order to get on the box.  I saw something recently that described the various capture the flag boxes by level.  Based on the description for this box and how I gained my low privilege shell, I would call this easy.5 because it wasn't one step to the next.  The idea of chaining pieces together is more of an intermediate kind of process.  That said, maybe there was an easier avenue that I missed?  Anyway, I really liked the box so let's kick off with Nmap:

Read more

Exploiting Tar Wildcards

by Vince
in Blog
Hits: 602

This is kind of an interesting exploit because it's one of those things where you really don't understand the consequences of your actions.  Granted, this is a made up scenario in part but the exploitation part is not made up -- it's the real deal.

In this scenario, we have a low privileged user account and in their home directory we find this backup folder.

Read more

Jpg Repair with Hexedit

by Vince
in Blog
Hits: 463

According to the description:  "hexedit - view and edit files in hexadecimal or in ASCII".  So how did I end up here?  I was playing a ctf challenge and I came across a picture that was supposed to be a jpg file but was intentionally altered.  Much Googling followed and after trying some fixit-type tools (that didn't work), I ended up on a post that talked about manually repairing the image file with hexedit.

Read more