
spectre v4 : Linux용 Speculative Store Bypass (CVE-2018-3639) 개념 증명
spectre v4 : Linux용 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
질문:
동일한 victim 함수를 사용하여 다른 비밀 데이터를 얻으려고 할 때마다 실패합니다.
두 명령어가 의존적인 load와 store로 표시되어 load 명령어를 추측 실행하지 않기 때문인 것 같습니다.