Microsoft Windows Shell Remote Code Execution Vulnerability — A remote code execution vulnerability exists when the Windows Shell does not properly validate file paths.
CVE-2018-8414 is a critical remote code execution vulnerability in the Microsoft Windows Shell that occurs due to improper validation of file paths. With a CVSS score of 9.0 and publicly available exploits, this vulnerability allows attackers to execute arbitrary code on target systems by convincing users to open specially crafted files (such as .SettingContent-ms files). This vulnerability was actively exploited in the wild and poses a severe risk to organizations that have not applied the August 2018 security updates. Immediate patching is essential as exploitation requires minimal user interaction.
Immediate Actions:
1. Apply Microsoft security update KB4343909 (August 2018 Patch Tuesday) immediately on all affected Windows systems.
2. Block .SettingContent-ms file types at email gateways, web proxies, and endpoint protection solutions.
3. Implement Application Whitelisting to prevent execution of unauthorized binaries.
Detection Rules:
4. Monitor for suspicious .SettingContent-ms file creation and execution via SIEM/EDR.
5. Create detection rules for processes spawned from Windows Shell with unusual command-line parameters.
6. Monitor for DeepLink abuse in .SettingContent-ms files.
Compensating Controls:
7. Restrict execution of .SettingContent-ms files via Group Policy by removing the file association.
8. Enable Attack Surface Reduction (ASR) rules in Windows Defender.
9. Implement network segmentation to limit lateral movement in case of compromise.
10. Ensure all endpoints have updated antivirus signatures that detect known exploit payloads.
الإجراءات الفورية:
1. تطبيق تحديث مايكروسوفت الأمني KB4343909 (تحديثات أغسطس 2018) فوراً على جميع أنظمة Windows المتأثرة.
2. حظر ملفات .SettingContent-ms على بوابات البريد الإلكتروني وخوادم الويب الوكيلة وحلول حماية نقاط النهاية.
3. تطبيق القوائم البيضاء للتطبيقات لمنع تنفيذ البرامج غير المصرح بها.
قواعد الكشف:
4. مراقبة إنشاء وتنفيذ ملفات .SettingContent-ms المشبوهة عبر SIEM/EDR.
5. إنشاء قواعد كشف للعمليات المنبثقة من Windows Shell بمعلمات سطر أوامر غير عادية.
6. مراقبة إساءة استخدام DeepLink في ملفات .SettingContent-ms.
الضوابط التعويضية:
7. تقييد تنفيذ ملفات .SettingContent-ms عبر سياسة المجموعة بإزالة ارتباط الملف.
8. تمكين قواعد تقليل سطح الهجوم (ASR) في Windows Defender.
9. تطبيق تجزئة الشبكة للحد من الحركة الجانبية في حالة الاختراق.
10. التأكد من تحديث توقيعات مكافحة الفيروسات على جميع نقاط النهاية.