Use Nmap to discover live hosts on my network and identify their open ports for basic enumeration.
- Nmap: For scanning and discovering hosts
- VMware: Testing environment
- Kali Linux: Scanning OS
- Mode:
Bridged
Reason: NAT mode prevented the VM from accessing other devices on my home Wi-Fi. Bridged mode allowed the VM to act like a separate device on the same network.
-
VM IP:
192.168.0.192
-
Host IP:
192.168.0.156
-
Target Devices:
- iPhone:
192.168.0.169
- Mystery Device:
192.168.0.150
- iPhone:
-
Identify VM IP Address
ip a
Used this instead of
ifconfig
to avoid unnecessary noise. -
Confirm Network Range
ip route
Output:
default via 192.168.0.1 dev eth0 proto dhcp src 192.168.0.192 metric 100 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.192 metric 100
-
Scan for Live Hosts in the Subnet
nmap -sn 192.168.0.0/24
Initially used
192.168.0.1/24
which missed a device. Updating to192.168.0.0/24
caught all active devices.
My iPhone wasn't detected in the initial scan.
-
✅ Checked Wi-Fi and connection status
-
✅ Confirmed the IP manually
-
✅ Scanned directly with:
nmap 192.168.0.169
-
✅ Realized I was using the wrong subnet start (
192.168.0.1
instead of192.168.0.0
)
- Used individual scans and
nmap -p-
to check port response - 🧪 Later planned to check firewall rules or test with
--reason
flag
Decision | Reason |
---|---|
Used -sn ping scan |
To detect live hosts without scanning ports. Faster and stealthier |
Didn’t use -sV or -A |
Too noisy and unnecessary at this phase |
Scanned /24 range |
Most home networks use this subnet size; covers 254 hosts |
- Scan Command:
nmap -sn 192.168.0.0/24
- Scan Date: 2025-05-30
- Total Devices Found: 3 (excluding host + VM)
IP Address | MAC Vendor / Hostname | Notes |
---|---|---|
192.168.0.1 |
Guangzhou Tozed Kangwei | MTN Router, Ports: 53, 80, 443, 5555 |
192.168.0.169 |
Apple Inc. (iPhone) | My Personal iPhone |
192.168.0.150 |
Intel Corp. (No Hostname) | Mystery Device (Brother’s PC) |
- Difference between
-sn
,-sS
, and-sV
- How to accurately identify devices on a subnet
- Importance of choosing the right subnet range
- First-hand experience documenting real-world problems
- Port 80 & 443 → Likely used for Web Admin Interface
- Port 53 → Internal DNS Resolution
- Port 5555/7777 → Possibly remote management (could be worth investigating)
- No open ports (expected)
- Identified via MAC
- No hostname
- Detected MAC suggests it's a PC
How did it feel? Felt good overall—I've used Nmap before, but this time I did it with a purpose and a plan.
What frustrated me? Not seeing all devices in the scan threw me off at first. Turns out it was a subnet start issue.
What am I proud of? That I finally completed and documented this properly. Not just screenshots—actual thinking and reflection.