2025-10-17 / Log: scan_the_server_2

Scan the Server II

Host: INE Labs Diff: [EASY]

Scan the Server II

Classification: Assessment Methodologies / Footprinting & Scanning
Target: demo.ine.local (192.200.111.3)

1. Executive Summary

The goal of this lab is to identify the ports running a Bind DNS server, a TFTP server and an SNMP server. Combining TCP and UDP Nmap scans with aggressive scanning and NSE discovery scripts, we locate DNS (177/tcp and 177/udp), SNMP (234/udp) and TFTP (134/udp).

2. Host Discovery & TCP Scan

We check connectivity and run a full TCP version scan.

ping -c 4 demo.ine.local
nmap -Pn -sV -p- demo.ine.local

Ping to the target

Nmap finds ISC BIND 9.10.3-P4 on port 177/tcp.

TCP version scan - Bind DNS on port 177

3. Aggressive Scan of the DNS Port

nmap -p177 -A demo.ine.local

The aggressive scan confirms bind.version: 9.10.3-P4-Ubuntu and provides OS details (Linux 4.15 - 5.8), network distance and traceroute.

Aggressive scan of port 177

4. UDP Scan

A UDP scan reveals three more services on ports 134, 177 and 234.

nmap -sU -p1-250 demo.ine.local

UDP port scan

5. UDP Service Detection

nmap -sUV -p134,177,234 demo.ine.local

Ports 177 and 234 run DNS and SNMP (SNMPv1/SNMPv3, community public) respectively, so port 134 is the likely TFTP server.

UDP service detection

6. Confirming TFTP with a Discovery Script

nmap -sUV -p134 --script=discovery demo.ine.local

The discovery scripts confirm port 134 as the TFTP service.

Discovery script on port 134

Finally we confirm access with the tftp client.

tftp 134 demo.ine.local

Connecting with the tftp client

7. Remediation Recommendations

  1. Restrict UDP services: DNS, SNMP and TFTP on UDP are easy to overlook; firewall and monitor them.
  2. Harden SNMP: change the default public community string and prefer SNMPv3 with authentication and encryption.
  3. Disable TFTP where possible; it has no authentication and transfers data in clear text.
  4. Keep Bind updated and disable version disclosure (version.bind).