π Day 68 β Testing Network Connectivity and Verifying Open Ports
π Topic
Testing connectivity between systems and verifying whether services are reachable over the network.
π― Goal
Understand how to verify whether a remote service is accessible and correctly listening on a port.
π What I Did
Used tools like:
- Test-NetConnection (Windows)
- netcat (nc)
- ss -tulpn (Linux)
to check:
- whether port 22 was reachable
- whether services were listening
π Key Cybersecurity Connections
Port connectivity testing is essential for:
- troubleshooting infrastructure
- validating service availability
- detecting exposed services
Attackers use the same techniques during:
- reconnaissance
- network scanning
- lateral movement
π Investigation Questions
- Is the target port open?
- Is a service actually listening?
- Is the issue network-level or host-level?
π¨ Detection Opportunities
- port scanning activity (multiple connection attempts)
- unusual probing across multiple hosts
- repeated connection failures
π§ MITRE ATT&CK Techniques
- T1046 β Network Service Discovery
β Challenges
Distinguishing between:
- network reachability
- service availability
A host can be reachable but still not accept connections.
π What I Learned
- open port β reachable service
- tools must be used together for validation
- connectivity issues must be broken down step by step
β‘ Next Steps
- simulate port scanning scenarios
- analyze logs generated by connection attempts
π§ Reflection
This reinforced a key principle:
Always test assumptions at the network level.
π§© Lessons Learned
What worked
Using multiple tools to verify connectivity.
What broke
Assuming reachability meant service availability.
Why it broke
Incomplete understanding of networking layers.
Fix / takeaway
Validate each layer independently.
π Skill Progression Context
This builds core networking and investigation skills used daily in SOC environments.
π TL;DR
Just because you can ping itβ¦
doesnβt mean you can talk to it.
