Microsoft Windows Support Diagnostic Tool (MSDT) Remote Code Execution Vulnerability — A remote code execution vulnerability exists when Microsoft Windows MSDT is called using the URL protocol from a calling application.
CVE-2022-34713 is a critical remote code execution vulnerability in Microsoft Windows Support Diagnostic Tool (MSDT) with a CVSS score of 9.0. The vulnerability allows attackers to execute arbitrary code by invoking MSDT through URL protocol handlers, typically via malicious documents or phishing emails. This vulnerability has active exploits available and poses an immediate threat to all Windows-based systems across Saudi organizations.
IMMEDIATE ACTIONS:
1. Apply Microsoft security patch KB5014666 or later immediately to all Windows systems
2. Disable MSDT URL protocol handler if patching is delayed: Set registry key HKEY_CLASSES_ROOT\ms-msdt to empty or remove the URL protocol association
3. Block ms-msdt:// protocol at email gateway and web proxy level
4. Implement application whitelisting to prevent MSDT execution from suspicious processes
DETECTION:
- Monitor for ms-msdt:// URL invocations in process creation logs
- Alert on MSDT.exe spawning child processes (cmd.exe, powershell.exe)
- Search for suspicious .diagcab files or ms-msdt protocol handlers in recent files
- Monitor registry modifications to HKEY_CLASSES_ROOT\ms-msdt
COMPENSATING CONTROLS:
- Enforce strict email attachment policies (block .diagcab, .zip containing diagcab)
- Implement network segmentation to limit lateral movement
- Deploy EDR solutions with behavioral detection for MSDT abuse
- Conduct immediate phishing awareness training
الإجراءات الفورية:
1. تطبيق تصحيح أمان Microsoft KB5014666 أو أحدث على جميع أنظمة Windows فوراً
2. تعطيل معالج بروتوكول MSDT URL إذا تأخر التصحيح: تعيين مفتاح السجل HKEY_CLASSES_ROOT\ms-msdt إلى فارغ أو إزالة ارتباط بروتوكول URL
3. حظر بروتوكول ms-msdt:// على مستوى بوابة البريد الإلكتروني والوكيل
4. تطبيق قائمة التطبيقات المسموحة لمنع تنفيذ MSDT من العمليات المريبة
الكشف:
- مراقبة استدعاءات عنوان URL ms-msdt:// في سجلات إنشاء العمليات
- تنبيهات عند قيام MSDT.exe بإنشاء عمليات فرعية (cmd.exe, powershell.exe)
- البحث عن ملفات .diagcab المريبة أو معالجات بروتوكول ms-msdt في الملفات الحديثة
- مراقبة تعديلات السجل على HKEY_CLASSES_ROOT\ms-msdt
الضوابط البديلة:
- فرض سياسات صارمة لمرفقات البريد الإلكتروني (حظر .diagcab و .zip التي تحتوي على diagcab)
- تطبيق تقسيم الشبكة لتحديد الحركة الجانبية
- نشر حلول EDR مع الكشف السلوكي لإساءة استخدام MSDT
- إجراء تدريب فوري على الوعي بالتصيد الاحتيالي