Hack The Box Network Security Easy
HTB — Cap: Network Enumeration & Traffic Analysis
Comprehensive walkthrough of the Cap machine on Hack The Box, demonstrating network enumeration, service analysis, traffic capture analysis, and Linux privilege escalation techniques.
Date
2025
Tools
5
Skills
4
Platform
Hack The Box
Overview
Cap is an Easy-rated Linux machine on Hack The Box that demonstrates the importance of proper network traffic analysis and capability-based privilege escalation.
Enumeration
Initial Nmap scan revealed open ports for HTTP and SSH services.
Key Findings
- Unprotected network traffic capture endpoint
- Cleartext credentials in PCAP files
- Linux capabilities misconfiguration enabling privilege escalation
Methodology
- Port scanning and service enumeration
- Web application exploration
- Traffic capture download and analysis
- Credential extraction from PCAP
- SSH access with discovered credentials
- Capability enumeration and exploitation
Lessons Learned
Network traffic should never contain sensitive data in cleartext. Linux capabilities require careful auditing to prevent privilege escalation vectors.