Microsoft Office Memory Corruption Vulnerability — Microsoft Office contains a memory corruption vulnerability that allows remote code execution in the context of the current user.
CVE-2017-11882 is a critical memory corruption vulnerability in Microsoft Office's Equation Editor (EQNEDT32.EXE) that allows remote code execution when a user opens a specially crafted document. This vulnerability has a CVSS score of 9.0 and has been extensively exploited in the wild by numerous threat actors including APT groups targeting Middle Eastern organizations. The vulnerability requires no user interaction beyond opening a malicious document, making it extremely dangerous for phishing campaigns. It remains one of the most commonly exploited vulnerabilities globally years after its disclosure, with active exploitation confirmed by CISA's Known Exploited Vulnerabilities catalog.
IMMEDIATE ACTIONS:
1. Apply Microsoft security update KB4011604 (November 2017) and all subsequent Office cumulative updates immediately across all systems
2. Disable the Equation Editor component by running: reg delete "HKLM\SOFTWARE\Microsoft\Office\Common\COM Compatibility\{0002CE02-0000-0000-C000-000000000046}" and reg add "HKLM\SOFTWARE\Microsoft\Office\Common\COM Compatibility\{0002CE02-0000-0000-C000-000000000046}" /v "Compatibility Flags" /t REG_DWORD /d 0x400
3. Block RTF files at email gateways and web proxies as a compensating control
PATCHING GUIDANCE:
- Ensure all Microsoft Office versions (2007, 2010, 2013, 2016) are updated to latest security patches
- Consider migrating to Microsoft 365 which has removed the vulnerable Equation Editor component
- Verify patch deployment using vulnerability scanners
DETECTION RULES:
- Monitor for EQNEDT32.EXE spawning child processes (cmd.exe, powershell.exe, mshta.exe, wscript.exe)
- Deploy YARA rules for RTF documents containing OLE objects with Equation Editor class IDs
- Enable Microsoft Defender ASR rule: Block Office applications from creating child processes
- Monitor for network connections originating from EQNEDT32.EXE
- Implement email attachment sandboxing for Office documents
COMPENSATING CONTROLS:
- Enable Protected View for all Office documents from external sources
- Implement application whitelisting to prevent unauthorized process execution
- Deploy endpoint detection and response (EDR) solutions with behavioral analysis
الإجراءات الفورية:
1. تطبيق تحديث الأمان من Microsoft رقم KB4011604 (نوفمبر 2017) وجميع التحديثات التراكمية اللاحقة لـ Office فوراً على جميع الأنظمة
2. تعطيل مكون محرر المعادلات عبر تشغيل أوامر السجل المناسبة لحظر EQNEDT32.EXE
3. حظر ملفات RTF على بوابات البريد الإلكتروني وخوادم الوكيل كإجراء تعويضي
إرشادات التصحيح:
- التأكد من تحديث جميع إصدارات Microsoft Office (2007، 2010، 2013، 2016) بأحدث تصحيحات الأمان
- النظر في الترحيل إلى Microsoft 365 الذي أزال مكون محرر المعادلات الضعيف
- التحقق من نشر التصحيحات باستخدام أدوات فحص الثغرات
قواعد الكشف:
- مراقبة عملية EQNEDT32.EXE التي تنشئ عمليات فرعية مثل cmd.exe و powershell.exe و mshta.exe
- نشر قواعد YARA لمستندات RTF التي تحتوي على كائنات OLE مع معرفات فئة محرر المعادلات
- تفعيل قاعدة ASR في Microsoft Defender لحظر تطبيقات Office من إنشاء عمليات فرعية
- مراقبة اتصالات الشبكة الصادرة من EQNEDT32.EXE
- تنفيذ وضع الحماية لمرفقات البريد الإلكتروني لمستندات Office
الضوابط التعويضية:
- تفعيل العرض المحمي لجميع مستندات Office من مصادر خارجية
- تنفيذ القوائم البيضاء للتطبيقات لمنع تنفيذ العمليات غير المصرح بها
- نشر حلول الكشف والاستجابة لنقاط النهاية مع التحليل السلوكي