Anonymous
Anonymous
Platform: hackerdna | Category: Infrastructure | Type: Challenge | Difficulty: Easy | OS: Linux | Author: XESXOR | Date: 2026-02-16 | Status: Solved Techniques: NA
Summary
Task: Pentest machine with hidden flag. Solution: FTP anonymous login discovered via nmap ftp-anon script, flag.txt downloaded with curl.
Anonymous — HackerDNA
Description
"Start the machine, hack the system, and find the hidden flags to complete this challenge and earn points!"
Target: 54.228.25.179 Flag format: UUID
Analysis
Simple reconnaissance task. The name "Anonymous" is a direct hint at FTP anonymous login. The task tests basic scanning and FTP skills.
Reconnaissance
Nmap scan with service detection and scripts:
bash read-only • copy allowednmap -sV -sC -p 21,22,53,80,443 54.228.25.179 --open -T4
Results:
| Port | Service | Version | Details |
|---|---|---|---|
| 21/tcp | FTP | vsFTPd 3.0.5 | Anonymous login allowed, flag.txt in listing |
| 53/tcp | DNS | — | Open but not responding to queries |
| 80/tcp | HTTP | Apache 2.4.62 (Unix) | Static page "Server is Running" |
| |
Key output from nmap script ftp-anon:
21/tcp open ftp vsftpd 3.0.5
| ftp-anon: Anonymous FTP login allowed (FTP code 230)
|_-rw-r--r-- 1 0 0 37 ... flag.txt
Solution
Step 1: Scanning (nmap)
bash read-only • copy allowednmap -sV -sC -p 21,53,80 54.228.25.179 --open -T4
The ftp-anon script immediately showed:
- Anonymous login allowed (code 230)
- File
flag.txtavailable in FTP root
Step 2: Downloading the flag (curl/FTP)
bash read-only • copy allowedcurl -s ftp://54.228.25.179/flag.txt --user anonymous:
Result:
REDACTED
Done. Two steps — scanning and downloading the file.
Additional Reconnaissance (not required for the flag)
- FTP write access: Permission denied — server is read-only
- Web directory brute force (ffuf): Only
index.html(200), standard.htaccess/.htpasswd/server-status(403) - DNS (port 53): Not responding to dig queries
- Virtual hosts: Different Host headers return the same static page
- HTML source: Clean HTML, no hidden comments or flags
Lessons Learned
- Read the task name — "Anonymous" = FTP anonymous login
- Nmap scripts (
-sC) solve it —ftp-anonautomatically checks anonymous access - curl supports FTP —
curl ftp://host/file --user anonymous:is faster than a separate FTP client - Don't overcomplicate — task is solved in 30 seconds with two commands