HTB MisDIRection Challenge Walkthrough

This is a walkthrough for the misDIRection challenge on Hack The Box.

HTB WALKTHROUGHS

Jagoda Ryszka

12/13/20211 min read

Challenge: misDIRection

Difficulty: Easy
The description for this challenge is as follows:
During an assessment of a unix system the HTB team found a suspicious directory. They looked at everything within but couldn't find any files with malicious intent.
After downloading the content, you can see that the files contain a lot of folders and within them are empty number files. Some folders were empty. I wasn't exactly sure what to do at first, I looked at the hex of the file, nothing. Then I realised folder "S" had a file with number one. And folder "F" had number 2. This made me realise all the numbers and letters needed to be organised in order.
This is how the file started to look. In the end, I just deleted the numbers but as I was writing it out it helped keep track.
From previous machines and challenges, I realised that some flags start with "SFR" that then need to be decoded. Which is what I did to uncover the flag for this challenge.