KMSpico 17.1.0.0 contains an unquoted service path vulnerability in the Service KMSELDI configuration that allows local attackers to potentially execute arbitrary code. Attackers can exploit the unquoted binary path in C:\Program Files\KMSpico\Service_KMS.exe to inject malicious executables and escalate privileges.
CVE-2020-36935 is a local privilege escalation vulnerability in KMSpico 17.1.0.0 affecting Windows systems through an unquoted service path in the KMSELDI service configuration. Attackers with local access can inject malicious executables into the service path to execute arbitrary code with elevated privileges. While no public exploit is available, the vulnerability poses a significant risk in environments where KMSpico is deployed, particularly in organizations using unlicensed software activation tools.
Immediate Actions:
1. Identify and inventory all systems running KMSpico 17.1.0.0 or earlier versions
2. Restrict local access to affected systems through access control lists (ACLs)
3. Disable or remove KMSpico service if not critical to operations
4. Monitor service startup and execution logs for suspicious activity
Patching Guidance:
1. Upgrade KMSpico to version 17.2.0.0 or later (patch available)
2. Alternatively, use legitimate Microsoft licensing solutions (Volume Licensing, Microsoft 365)
3. Apply Windows security updates and enable UAC (User Account Control)
Compensating Controls:
1. Implement application whitelisting to prevent unauthorized executable execution
2. Deploy endpoint detection and response (EDR) solutions to monitor process execution
3. Enable Windows Defender or equivalent antimalware with real-time protection
4. Restrict write permissions to C:\Program Files\KMSpico\ directory
5. Monitor Windows Event Viewer for Service Control Manager (SCM) events
Detection Rules:
1. Monitor for file creation/modification in C:\Program Files\KMSpico\ with suspicious extensions
2. Alert on Service_KMS.exe execution with unusual parent processes
3. Track registry modifications to HKLM\SYSTEM\CurrentControlSet\Services\KMSELDI
4. Monitor for privilege escalation attempts following KMSpico service interactions
الإجراءات الفورية:
1. تحديد وحصر جميع الأنظمة التي تعمل بـ KMSpico 17.1.0.0 أو الإصدارات الأقدم
2. تقييد الوصول المحلي للأنظمة المتأثرة من خلال قوائم التحكم في الوصول (ACLs)
3. تعطيل أو إزالة خدمة KMSpico إذا لم تكن حرجة للعمليات
4. مراقبة سجلات بدء التشغيل والتنفيذ للنشاط المريب
إرشادات التصحيح:
1. ترقية KMSpico إلى الإصدار 17.2.0.0 أو أحدث (التصحيح متاح)
2. بدلاً من ذلك، استخدم حلول الترخيص الشرعية من Microsoft (ترخيص الحجم، Microsoft 365)
3. تطبيق تحديثات أمان Windows وتفعيل UAC (التحكم في حساب المستخدم)
الضوابط البديلة:
1. تنفيذ قائمة بيضاء للتطبيقات لمنع تنفيذ الملفات التنفيذية غير المصرح بها
2. نشر حلول كشف الاستجابة على نقطة النهاية (EDR) لمراقبة تنفيذ العمليات
3. تفعيل Windows Defender أو برامج مكافحة البرامج الضارة المكافئة مع الحماية في الوقت الفعلي
4. تقييد أذونات الكتابة إلى دليل C:\Program Files\KMSpico\
5. مراقبة Windows Event Viewer لأحداث Service Control Manager (SCM)
قواعد الكشف:
1. مراقبة إنشاء/تعديل الملفات في C:\Program Files\KMSpico\ بامتدادات مريبة
2. تنبيه عند تنفيذ Service_KMS.exe مع عمليات أصلية غير عادية
3. تتبع تعديلات السجل إلى HKLM\SYSTEM\CurrentControlSet\Services\KMSELDI
4. مراقبة محاولات تصعيد الامتيازات بعد تفاعلات خدمة KMSpico