NSA Codebreaker 2025 - Task 1: Getting Started
Finding a suspicious artifact in an EXT2 image
You arrive on site and immediately get to work. The DAFIN-SOC team quickly briefs you on the situation. They have noticed numerous anomalous behaviors, such as: tools randomly failing tests and anti-virus flagging on seemingly clean workstations. They have narrowed in on one machine they would like NSA to thoroughly evaluate.
They have provided a zipped EXT2 image from this development machine. Help DAFIN-SOC perform a forensic analysis on this - looking for any suspicious artifacts.
Downloads
- zipped EXT2 image:
image.ext2.zip
Task
- Provide the SHA-1 hash of the suspicious artifact.
Writeup
I started by mounting the EXT2 image in read-only mode so I could safely explore its contents.

The first place I looked was the root user’s .bash_history, since that often tells the story of what happened on the system. The history revealed a pattern: lots of local network probing (using curl, wget, nc, netstat, etc.), checks against DNS, and even repeated calls to http://localhost/app/test. Mixed in were commands to mount /dev/sdb1 to /mnt/usb and edits to the crontab. In other words, whoever was on this box was hammering on a local web service, staging files via USB, and attempting persistence through cron.

I searched the filesystem with grep for references to /app/test. One match stood out:

/etc/terminfo/s/nsuvzemaow
The file references /app/www, an unexpected connection to the web application in a directory meant for terminal capability definitions. Alongside its unusual filename, that made it worth a closer look.
I calculated the file’s SHA-1 hash for submission:
0068e0c3cba711e775fa374b201d5d04ffcef96c

Success! My first ever NSA Codebreaker challenge complete.