๐Ÿ”„ Topic

Understanding why a service may fail even when a system is reachable.


๐ŸŽฏ Goal

Identify the difference between a reachable host and a working service.


๐Ÿ›  What I Did

Investigated SSH connection failures by checking:

  • if the service was running
  • if the port was open
  • if the system was reachable

Used tools like:

ss -tulpn

to verify listening services.

This helped separate three different questions that are easy to mix together:

  • can I reach the host?
  • is the service actually listening?
  • is something in the path blocking the connection?

๐Ÿ”— Key Cybersecurity Connections

Attackers and defenders both rely on:

  • service enumeration
  • identifying open ports
  • validating reachable services

๐Ÿ” Investigation Questions

  • Is the service running?
  • Is the port listening?
  • Is the firewall blocking access?

๐Ÿšจ Detection Opportunities

  • unusual service exposure
  • unexpected open ports
  • abnormal listening processes

๐Ÿงญ MITRE ATT&CK Techniques

  • T1046 โ€” Network Service Discovery

โš  Challenges

Confusing:

  • network reachability
  • service availability

๐Ÿ“š What I Learned

  • a host can respond but still refuse connections
  • services must be explicitly running
  • verification requires multiple checks
  • troubleshooting improves when each layer is tested separately
  • โ€œconnection refusedโ€ and โ€œhost unreachableโ€ point to different problems

โžก Next Steps

  • explore firewall configurations
  • simulate blocked vs open services

๐Ÿง  Reflection

This reinforced a critical mindset:

Never assume โ€” always verify.


๐Ÿงฉ Lessons Learned

What worked

Layered troubleshooting.

What broke

Assuming connectivity equals functionality.

Why it broke

Different layers behave independently.

Fix / takeaway

Validate network, then service.

This is the kind of small distinction that matters in alert triage. A reachable host with a closed port is a different story from a missing host, a firewall block, or a broken route.


๐Ÿ“ˆ Skill Progression Context

This strengthens troubleshooting and investigative thinking.


๐Ÿ˜„ TL;DR

The server wasnโ€™t brokenโ€ฆ
it just wasnโ€™t listening.