Tag: TryHackMe

Capture the Flag

TryHackMe Challenge: Digital Footprint

Digital Footprint LogoThis time, we are going to take on another TryHackMe Easy Challenge called Digital Footprint. This is a free room, so anyone can play along. This is a room focusing on Open Source Intelligence (OSINT) and we won’t be doing any “hacking” in the traditional sense. We’re just going to be doing some research on the open internet or on sites they point us at.

Task 1: The Leaked Photo

An ACME Jet Solutions employee uploaded a photo of a residential property believed to be linked to ACME Jet’s early operations. Can you figure out where the picture was taken to confirm or debunk the rumour?

Flag format: THM{City}
In which city was the photo taken?

First, we download the image that is on the task. I’m showing a representation of the image here. To get the full quality image with no edits or loss of information, head to the room. I don’t want to completely take TryHackMe’s shine. That’s going to be true for all images I reference.
Task 1 Image

Let’s take a look at the EXIF information on the provided image.

$ exiftool edited-house-1763031553617.jpg 
ExifTool Version Number         : 13.55
File Name                       : edited-house-1763031553617.jpg
Directory                       : .
File Size                       : 793 kB
File Modification Date/Time     : 2026:11:17 16:10:30-05:00
File Access Date/Time           : 2026:11:19 16:39:28-05:00
File Inode Change Date/Time     : 2026:11:19 16:39:28-05:00
File Permissions                : -rwxrwxrwx
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
Exif Byte Order                 : Big-endian (Motorola, MM)
GPS Latitude                    : 26 deg 12' 14.76"
GPS Longitude                   : 28 deg 2' 50.28"
JFIF Version                    : 1.01
Resolution Unit                 : None
X Resolution                    : 1
Y Resolution                    : 1
Image Width                     : 1306
Image Height                    : 837
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:4:4 (1 1)
Image Size                      : 1306x837
Megapixels                      : 1.1
GPS Position                    : 26 deg 12' 14.76", 28 deg 2' 50.28"

So, we have some GPS positioning data on this image from when it was created. However, we don’t have information directionally. GPS data in EXIF is stored as an unsigned number. There should be 2 more fields that tell us the direction of each: GPSLatitudeRef and GPSLongitudeRef. Those aren’t present and I dug around deep in the data with a few different exiftool commands and couldn’t find it. That left us with 4 different possibilities.

  • +26.204100, +28.047300 – Somewhere in central-ish Egypt, not near a city
  • -26.204100, +28.047300 – Johannesburg, South Africa
  • +26.204100, -28.047300 – North Atlantic Ocean, West of Africa
  • -26.204100. -28.047300 – South Atlantic Ocean, east of South America

That leads me to believe that part of this CTF was doing that digging and problem solving on our own and I think it is pretty obvious which of those locations could be where this house lies.

That gives us our answer: THM{Johannesburg}

Task 2: Archived Company Website

ACME Jet Solutions (warc-acme.com/jef/), is all over social meda claiming they were founded in 2025 and that they’re the fastest-growing data company in Africa.
But something doesn’t add up, one of their ex-employees ensures you that the company existed long before that.

Your job as an OSINT investigator is to verify their founding date using only public information.

Flag Format: THM{YYYYMMDDHHMMSS}
When was the website first published on the internet?

Okay, first things first. Let’s go to the Internet Archive. If you search the Wayback Machine for warc-acme.com, you don’t find anything. But, if you just search the archive for the domain warc-acme.com, you do.

Searching the archive on the main page

Internet Archive Search Result

Internet Archive Search Result Detail

That gives us what we’re looking for. You want the numbers that are next to Firstfiledate: 20160210224602. Putting that in the requested format solves the task – THM{20160210224602}.

Task 3: Mysterious Landmark

Further Investigation uncovers another image believed to be connected to the company’s international expansion.

Research reveals that to the right of the iconic landmark is a building that played a big role in the fight for independence of a particular country. Signs on the external wall provides the name of the building.

Submit the name of building translated into English as the flag.

The flag format is THM{Landmark}

This task gives us another item to download. This image has been resized and resaved by me to appear here. To get the full, unaltered version, please consult the TryHackMe room itself.

The landmark photo, edited to appear here

There doesn’t seem to be any GPS data in the EXIF metadata for the image. My next step here is to then do a reverse image search and see what we find.

Google Reverse Image Search Results

Here, we find that this landmark is the Spire of Dublin and the AI overview actually helps us out here and says that it is near the “General Post Office”, which is exactly what the flag is: THM{General Post Office}

Task 4: Internal Documents

After uncovering ACME Jet Solutions origins and tracing their online presence through archived websites and international landmarks, investigators believe that an internal document was accidentally leaked by one of the company’s developers.

The document may contain crucial information about the individual responsible for maintaining their systems.

What is the final flag?

We have something else to download. This time it is a file with the extension “.odt”. That makes it an Open Document Text format (basically like an open source Microsoft Word). You should always be wary of opening files like this that you come across on the open internet, because it is possible to put programming within them that could infect your machine. So I’m going to approach this safely and cautiously.

Using the file command on Linux, I’m able to confirm that this does appear to be an Open Document Text file.

$ file internal-docs-1769695301727.odt 
internal-docs-1769695301727.odt: OpenDocument Text

Because it is this format, it is really just a zip file (just like .docx files with Microsoft). We can peek what’s inside without unzipping like this

$ unzip -l internal-docs-1769695301727.odt 
Archive:  internal-docs-1769695301727.odt
  Length      Date    Time    Name
---------  ---------- -----   ----
       39  2026-01-29 13:50   mimetype
        0  2026-01-29 13:50   Configurations2/
    14675  2026-01-29 13:50   styles.xml
      899  2026-01-29 13:50   manifest.rdf
     4398  2026-01-29 13:50   content.xml
     1249  2026-01-29 13:50   meta.xml
    15722  2026-01-29 13:50   settings.xml
     6403  2026-01-29 13:50   Thumbnails/thumbnail.png
     1061  2026-01-29 13:50   META-INF/manifest.xml
---------                     -------
    44446                     9 files

If we run our exiftool command on it, we do see that it has a document description reminding Robin to not publish this externally. So, this is juicy stuff 😉

$ exiftool internal-docs-1769695301727.odt      
ExifTool Version Number         : 13.55
File Name                       : internal-docs-1769695301727.odt
Directory                       : .
File Size                       : 15 kB
File Modification Date/Time     : 2026:11:30 12:47:58-05:00
File Access Date/Time           : 2026:11:30 12:51:49-05:00
File Inode Change Date/Time     : 2026:11:30 12:51:42-05:00
File Permissions                : -rwxrwxrwx
File Type                       : ODT
File Type Extension             : odt
MIME Type                       : application/vnd.oasis.opendocument.text
Creation-date                   : 2026:01:29 14:59:44
Description                     : Just remember Robin, don't publish this externally!
Language                        : en-US
Date                            : 2026:01:29 15:50:57.170215644
Editing-cycles                  : 4
Subject                         : Key Updates
Title                           : Internal Document
Editing-duration                : PT29M54S
Generator                       : LibreOffice/25.8.4.2$Linux_X86_64 LibreOffice_project/580$Build-2
Document-statistic Table-count  : 0
Document-statistic Image-count  : 0
Document-statistic Object-count : 0
Document-statistic Page-count   : 1
Document-statistic Paragraph-count: 7
Document-statistic Word-count   : 73
Document-statistic Character-count: 449
Document-statistic Non-whitespace-character-count: 380
User-defined Name               : Internal username
User-defined                    : markwilliams7243
Preview PNG                     : (Binary data 6403 bytes, use -b option to extract)

I can extract the contents of the file to just the XML, which is kind of readable, but I can also just isolate the text. I have to admit that ChatGPT gave me this sed argument to get it… I understand what it does now to find and remove tags, but will have to look back here to do it again! Essentially, we are using the unzip command to work with this file and only the content.xml within it and output it. But, we pipe that output to sed, which finds XML tags and removes them from the output with a global replace, replacing them with a space.

$ unzip -p internal-docs-1769695301727.odt content.xml | sed 's/<[^>]*>/ /g'       
 
                       From: Mark  To: Robin   This document outlines recent updates made to the internal tracking system. I will be releasing a video very soon, I implore everyone to watch it!  There have been multiple improvements we've made:  - Optimised database queries  - Improved user authentication logging  - Minor bug fixes across the platform  - More fixes mentioned but they’d be too long to list   All developers are reminded not to share interal documentation externally.              

After this, I also unzipped the archive and poked around myself and didn’t find anything. That leaves me with one more avenue, the username we saw in the EXIF data: markwilliams7243. There are a lot of changes he’s talking about. He also said he’s releasing a video very soon about these secret-not-for-the-outside-world changes. Let’s search that name and see if we find an open github or reference to that video.

Google Search Results for markwilliams7243

Well, THAT’s promising. Right at that link is this text (you have to expand it to see it all)

I'll be uploading a video on the key changes made to our internal tracking system. I'll be sure to private the video as well. Hopefully this community post isn't public







THM{Y0u_f0und_7h3_fin4l_fl4g!}

That gives us the answer: THM{Y0u_f0und_7h3_fin4l_fl4g!}

That’s it and that’s all. The last task was a tough one and it took me over twice as long as the other tasks combined. The clue was there, so I’m not mad about it and the document did point us there with his words and his username left in the metadata, so good times were had by all! If you have any questions, let me know.