┌──(kali㉿kali)-[~/HTB/expressway] └─$ sudo nmap -p- --min-rate 10000 10.10.11.87 -oA ports [sudo] password for kali: Starting Nmap 7.95 ( https://nmap.org ) at 2025-12-05 19:23 CST Nmap scan report for 10.10.11.87 Host is up (0.072s latency). Not shown: 65534 closed tcp ports (reset) PORT STATE SERVICE 22/tcp open ssh
Nmap done: 1 IP address (1 host up) scanned in 10.66 seconds
Nmap done: 1 IP address (1 host up) scanned in 1.53 seconds
看到 500 端口是开放的,对于 500 端口开启的常见服务我并不是很熟悉,继续详细信息扫描:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
┌──(kali㉿kali)-[~/HTB/expressway] └─$ sudo nmap -sU -sC -sV -O -p 500 10.10.11.87 -oA details [sudo] password for kali: Starting Nmap 7.95 ( https://nmap.org ) at 2025-12-05 19:56 CST Nmap scan report for 10.10.11.87 Host is up (0.070s latency).
PORT STATE SERVICE VERSION 500/udp open isakmp? | ike-version: | attributes: | XAUTH |_ Dead Peer Detection v1.0 Too many fingerprints match this host to give specific OS details Network Distance: 2 hops
OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 130.49 seconds
IKE 渗透
这里看上去扫出来了一个叫 ike-version 的信息,把这段信息拿给 AI ,他说这运行的是 ISAKMP/IKE 服务,支持 XAUTH(通常用于用户名、密码认证)。
想到前面有个 ID 为 ike@expressway.htb ,因此 ike 可能是靶机上的一个合法用户,而 freakingrockstarontheroad 可能是他的 ssh 密码,因此我们尝试用 ssh 进行登录:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
┌──(kali㉿kali)-[~/HTB/expressway] └─$ ssh ike@expressway.htb The authenticity of host 'expressway.htb (10.10.11.87)' can't be established. ED25519 key fingerprint is SHA256:fZLjHktV7oXzFz9v3ylWFE4BS9rECyxSHdlLrfxRM8g. This host key is known by the following other names/addresses: ~/.ssh/known_hosts:80: [hashed name] Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added 'expressway.htb' (ED25519) to the list of known hosts. ike@expressway.htb's password: Linux expressway.htb 6.16.7+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.16.7-1 (2025-09-11) x86_64
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. ike@expressway:~$