Ancient Fossil Writeup | Huntress CTF 2024

0xh4lpy
Nov 1, 2024

All things are lost to time…

Ancient Fossil was a Forensics challenge released on Day #24 of the Huntress Capture the Flag (CTF) competition. We were provided a Fossil repository file, ancient.fossil, and tasked with finding the flag within the repository.

Using the fossil command-line tool, we see that there are 403 commits within the timeline:

$ fossil timeline -n 0 --type ci -R ancient.fossil | grep '^20' | wc -l
403

We then used the deconstruct option to extract all of the file artifacts from the repository:

$ fossil deconstruct -R ancient.fossil .

With all of these artifacts now extracted, we then searched recursively for the flag via grep:

$ grep -R "flag" .
Extracting artifacts via fossil and searching for the flag
flag{2ed33f365669ea9f10b1a4ea4566fe8c}

References

[1] Fossil. Fossil File Formats. https://fossil-scm.org/home/doc/hierarchical-manifests/www/fileformat.wiki

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

0xh4lpy
0xh4lpy

Written by 0xh4lpy

Cybersecurity professional with a focus on digital forensics, incident response, and CTFs. Sharing insightand experience to enhance security knowledge.

Responses (1)

Write a response

thanks for the writeups