Network Service Enumeration: practice machines and key commands
By Daniel Dayan ยท Updated
Good enumeration of network services decides most boxes before any exploit is run. After a full TCP scan and a quick UDP check, visit each port by hand: anonymous FTP may expose files, NFS exports can be mounted, SNMP community strings reveal users and processes, and unauthenticated Redis can write SSH keys or web shells. Grab banners, note versions and search for matching advisories, then look at default credentials for the product. Keep scan output per host and re-scan after you gain internal access, because new ports appear on localhost. Do not skip uncommon ports. The machines below are solved through careful service enumeration rather than a single exploit. Re-run the scans once credentials are known, since authenticated views expose far more detail. Compare the results of different tools instead of trusting one.
Key commands
Placeholders in braces, such as {TARGET_IP}, are values you fill in for your target.
Fast SYN Scan (Top 1000 Ports)
Speedy initial discovery of open TCP ports with version detection and default safe scripts.
nmap -sC -sV -Pn --min-rate 2000 -oN nmap_quick.txt {TARGET_IP}All-Port TCP Exhaustive Scan
Scan all 65,535 TCP ports at a high packet rate, saving output to all formats.
nmap -p- -sC -sV -Pn --min-rate 3000 -oA nmap_full {TARGET_IP}Top UDP Service Discovery Scan
Quick scan of the most common 20 UDP ports (SNMP, TFTP, DNS, NTP, DHCP).
sudo nmap -sU --top-ports 20 -Pn --open -oN nmap_udp.txt {TARGET_IP}SNMPwalk v2c Community Enumeration
Query SNMP management information base using default public community string.
snmpwalk -v 2c -c public {TARGET_IP}DNS Zone Transfer (AXFR) Audit
Attempt full DNS zone transfer from target nameserver to expose all subdomains.
dig axfr @{TARGET_IP} {DOMAIN}
Keep going
- Methodology: Phase 02: Protocol & Service Enumeration
- Cheatsheet: Recon & Port Scanning
Network Service Enumeration machines (49)
16 of these are machines I solved myself and are listed first within each difficulty. 40 Linux, 8 Windows, 1 Other.
Listed when a machine has a catalog tag that is one of: mysql, mariadb, mssql, mongodb, rsync, anonymous, ftp anonymous, anonymous login, subdomain takeover, port scanning, reconnaissance, ftp, nfs, snmp, ldap, redis, nmap, telnet, dns, tshark. Capital letters, hyphens and underscores are ignored, and the tags that matched come first in each row. "Editor-mapped" marks machines assigned to this topic by hand because none of their tags match.
Network Service Enumeration at a glance
- By platform: 26 TryHackMe, 23 Hack The Box.
- On these practice lists: HTB Starting Point (9), OSCP (7), CPTS (6), Unofficial IppSec CPTS (5), HTB Active Directory (4), CWEE (3).
- Tags that most often appear alongside it: gobuster (7), Hydra (5), Active Directory (4), Cron (3), John The Ripper (3), Sudo (3).
- Solved by me, with a page here: Archetype (Windows Very Easy), Crocodile (Linux Very Easy), Dancing (Windows Very Easy), Fawn (Linux Very Easy), Meow (Linux Very Easy), Redeemer (Linux Very Easy), Sequel (Linux Very Easy), Vaccine (Linux Very Easy).
Very Easy (9)
| Machine | Platform | OS |
|---|---|---|
| Archetype | HTB | Windows |
| Crocodile | HTB | Linux |
| Dancing | HTB | Windows |
| Fawn | HTB | Linux |
| Meow | HTB | Linux |
| Redeemer | HTB | Linux |
| Sequel | HTB | Linux |
| Vaccine | HTB | Linux |
| Unified | HTB | Linux |
Easy (26)
| Machine | Platform | OS |
|---|---|---|
| Bounty Hacker | THM | Linux |
| Cap IppSec | HTB | Linux |
| Intermediate Nmap | THM | Linux |
| Mongod | HTB | Linux |
| Netmon IppSec | HTB | Windows |
| Preignition | HTB | Linux |
| Synced | HTB | Linux |
| TakeOver | THM | Other |
| Anonforce | THM | Linux |
| Antique | HTB | Linux |
| Dav | THM | Linux |
| Fowsniff CTF | THM | Linux |
| GamingServer | THM | Linux |
| IDE | THM | Linux |
| Lian_Yu | THM | Linux |
| Library | THM | Linux |
| Net Sec Challenge | THM | Linux |
| Pandora IppSec | HTB | Linux |
| Postman IppSec | HTB | Linux |
| Res | THM | Linux |
| Thompson | THM | Linux |
| ToolsRus | THM | Linux |
| TShark Challenge I: Teamwork | THM | Linux |
| TShark Challenge II: Directory | THM | Linux |
| VulnNet: Internal | THM | Linux |
| Whiterose | THM | Linux |
Medium (13)
| Machine | Platform | OS |
|---|---|---|
| Anonymous | THM | Linux |
| Brainstorm | THM | Windows |
| Carrier IppSec | HTB | Linux |
| Cascade IppSec | HTB | Windows |
| Clicker IppSec | HTB | Linux |
| Format IppSec | HTB | Linux |
| HA Joker CTF | THM | Linux |
| Manager IppSec | HTB | Windows |
| Scrambled IppSec | HTB | Windows |
| SeeTwo | THM | Linux |
| Smol | THM | Linux |
| VulnNet: Active (Retired) | THM | Windows |
| Watcher | THM | Linux |
Hard (1)
| Machine | Platform | OS |
|---|---|---|
| CherryBlossom | THM | Linux |
Related techniques
Related guides: TJ Null OSCP list, OSCP exam scoring and time budget, OSCP vs CPTS, OSCP report template.
Practise it, then track it.
Log every box and the commands you used in ZeroBox.