
spectre v4: إثبات المفهوم لثغرة Speculative Store Bypass (CVE-2018-3639) لنظام Linux
spectre v4 : إثبات مفهوم لثغرة Speculative Store Bypass (CVE-2018-3639) على نظام لينكس
بناء: gcc spectre-v4.cpp -o spectre
تشغيل: ./spectre
النتيجة:
--------attack--------
low than threshold:155
low than threshold:144
low than threshold:133
low than threshold:0
low than threshold:1
--------attack--------
low than threshold:133
low than threshold:0
low than threshold:1
--------attack--------
low than threshold:0
low than threshold:1
سؤال:
في كل مرة أريد فيها استخدام نفس الدالة الضحية للحصول على بيانات سرية أخرى، سيفشل الأمر.
أعتقد أن السبب هو أن التعليمتين ستُعلَّمان كتعليمتي تحميل وتخزين تابعتين (dependent load and store)، لذلك لن يخمّن تعليمة التحميل.