{"id":127311,"date":"2018-12-04T08:48:53","date_gmt":"2018-12-04T00:48:53","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=127311"},"modified":"2018-11-08T09:53:12","modified_gmt":"2018-11-08T01:53:12","slug":"intel-cpu-portsmash","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/intel-cpu-portsmash.html","title":{"rendered":"\u82f1\u7279\u5c14 CPU \u66dd\u4e25\u91cd\u7684 PortSmash \u8d85\u7ebf\u7a0b\u6f0f\u6d1e \u654f\u611f\u6570\u636e\u53ef\u88ab\u76d7"},"content":{"rendered":"
\u7814\u7a76\u4eba\u5458\u5728\u82f1\u7279\u5c14 CPU \u4e2d\u53d1\u73b0\u4e86\u4e00\u4e2a\u65b0\u7684\u4fa7\u4fe1\u9053\u6f0f\u6d1e PortSmash\uff0c\u5229\u7528\u5b9a\u65f6\u653b\u51fb\u4ece\u5728\u548c\u542f\u7528 SMT\/\u8d85\u7ebf\u7a0b\u529f\u80fd\u7684\u540c\u6837\u7684 CPU \u5185\u6838\u4e2d\u8fd0\u884c\u7684\u5176\u5b83\u8fdb\u7a0b\u4e2d\u7a83\u53d6\u4fe1\u606f\u3002\u7814\u7a76\u4eba\u5458\u5229\u7528\u8fd9\u79cd\u653b\u51fb\u80fd\u591f\u4ece\u5728\u540c\u6837\u5185\u6838\u4e2d\u8fd0\u884c\u7684 OpenSSL\u7ebf\u7a0b\u4e2d\u7a83\u53d6\u89e3\u5bc6\u79c1\u94a5\u3002<\/p>\n
\u8fd9\u4e2a\u6f0f\u6d1e\u88ab\u79f0\u4e3a PortSmash (CVE-2018-5407)\uff0c\u548c\u53bb\u5e74\u51fa\u73b0\u7684\u5371\u9669\u7684\u4fa7\u4fe1\u9053\u6f0f\u6d1e Meltdown\u548c Specture\u3001TLBleed \u4ee5\u53ca Foreshadow \u540c\u6837\u4e25\u91cd\u3002<\/p>\n
\u8fd9\u4e2a\u6f0f\u6d1e\u662f\u7531\u82ac\u5170\u5766\u4f69\u96f7\u7406\u5de5\u5927\u5b66\u4ee5\u53ca\u53e4\u5df4\u54c8\u74e6\u90a3\u79d1\u6280\u5927\u5b66 (Universidad Tecnologica de la Habana CUJAE) \u7684\u7814\u7a76\u4eba\u5458\u53d1\u73b0\u7684\u3002\u8fd9\u4e2a\u65b0\u7684\u4fa7\u4fe1\u9053\u6f0f\u6d1e\u5b58\u5728\u4e0e\u82f1\u7279\u5c14\u7684\u8d85\u7ebf\u7a0b\u6280\u672f\u5373\u82f1\u7279\u5c14\u5bf9\u540c\u6b65\u591a\u7ebf\u7a0b (SMT) \u7684\u5b9e\u73b0\u4e2d\u3002<\/p>\n
\u540c\u6b65\u591a\u7ebf\u7a0b\u662f\u4e00\u79cd\u6027\u80fd\u529f\u80fd\uff0c\u5b83\u5c06\u5904\u7406\u5668\u7684\u6bcf\u4e2a\u7269\u7406\u5185\u6838\u5206\u5272\u6210\u4e24\u4e2a\u865a\u62df\u5185\u6838\u5373\u7ebf\u7a0b\uff0c\u5141\u8bb8\u6bcf\u4e2a\u5185\u6838\u540c\u65f6\u8fd0\u884c\u4e24\u4e2a\u6307\u4ee4\u6d41\u3002\u7531\u4e8e SMT \u5728\u4e24\u4e2a\u4f4d\u4e8e\u540c\u4e00\u4e2a\u7269\u7406\u5185\u6838\u4e2d\u7684\u72ec\u7acb\u8fdb\u7a0b\u4e2d\u8fd0\u884c\u4e24\u4e2a\u7ebf\u7a0b\u4ee5\u63d0\u5347\u6027\u80fd\uff0c\u56e0\u6b64\u5176\u4e2d\u4e00\u4e2a\u8fdb\u7a0b\u5c31\u5f88\u53ef\u80fd\u770b\u5230\u53e6\u5916\u4e00\u4e2a\u8fdb\u7a0b\u6b63\u5728\u8fd0\u884c\u7684\u5927\u91cf\u5185\u5bb9\u3002<\/p>\n
\u4fa7\u4fe1\u9053\u5b9a\u65f6\u653b\u51fb\u662f\u6307\uff0c\u653b\u51fb\u8005\u5206\u6790\u67d0\u4e2a\u8fdb\u7a0b\u6267\u884c\u67d0\u4e9b\u7279\u5b9a\u6307\u4ee4\u7684\u901f\u5ea6\u6709\u591a\u5feb\uff0c\u4e4b\u540e\u5229\u7528\u8fd9\u4e00\u4fe1\u606f\u627e\u51fa\u54ea\u4e9b\u4fe1\u606f\u88ab\u7528\u4f5c\u8f93\u5165\u3002<\/p>\n
\u5982\u6b64\uff0c\u653b\u51fb\u8005\u5c31\u80fd\u548c\u4e00\u4e2a\u4f4d\u4e8e\u540c\u6837 CPU \u5185\u6838\u4e0a\u7684\u7cbe\u9009\u7684\u53d7\u5bb3\u8005\u8fdb\u7a0b\u4e00\u8d77\u8fd0\u884c\u6076\u610f\u7684 PortSmash \u8fdb\u7a0b\uff0c\u4ece\u800c\u5bfc\u81f4 PortSmash \u4ee3\u7801\u901a\u8fc7\u8861\u91cf\u6bcf\u6b21\u64cd\u4f5c\u8017\u8d39\u7684\u7cbe\u786e\u65f6\u95f4\u6765\u55c5\u63a2\u53e6\u5916\u4e00\u4e2a\u8fdb\u7a0b\u6240\u6267\u884c\u7684\u64cd\u4f5c\u3002<\/p>\n
\u7814\u7a76\u4eba\u5458\u5728 GitHub \u4e0a\u53d1\u5e03 PoC\uff0c\u6d4b\u8bd5\u4e86 PortSmash \u662f\u5426\u9002\u7528\u4e8e OpenSSL\uff081.1.0h \u53ca\u66f4\u65e9\u7248\u672c\uff09\u5bc6\u7801\u5e93\uff0c\u7ed3\u679c\u663e\u793a\u80fd\u591f\u901a\u8fc7\u8fd0\u884c\u5728\u548c OpenSSL \u7ebf\u7a0b\uff08\u53d7\u5bb3\u8005\uff09\u540c\u6837\u7269\u7406\u5185\u6838\u4e0a\u7684\u6076\u610f\u8fdb\u7a0b\uff08\u5229\u7528\uff09\u7a83\u53d6\u89e3\u5bc6\u79c1\u94a5\u3002<\/p>\n
\u867d\u7136\u76ee\u524d PortSmash \u653b\u51fb\u5df2\u88ab\u8bc1\u5b9e\u80fd\u5728\u82f1\u7279\u5c14 Kaby Lake \u548cSkylake \u5904\u7406\u5668\u4e0a\u8d77\u4f5c\u7528\uff0c\u4f46\u7814\u7a76\u4eba\u5458\u8868\u793a\u201c\u5f3a\u70c8\u6000\u7591\u201d\u653b\u51fb\u4e5f\u9002\u7528\u4e8e\u5176\u5b83 SMT \u57fa\u7840\u67b6\u6784\u4e0a\uff0c\u5305\u62ec AMD \u7684\u57fa\u7840\u67b6\u6784\uff0c\u53ea\u9700\u5bf9\u4ee3\u7801\u505a\u51fa\u5fae\u8c03\u5373\u53ef\u3002<\/p>\n
\u4eca\u5e748\u6708\u4efd\uff0cTLBleed \u548c ForeShadow \u653b\u51fb\u88ab\u62ab\u9732\u540e\uff0cOpenBSD \u517c OpenSSH \u9879\u76ee\u7275\u5934\u4eba Theo de Raadt \u5c31\u5efa\u8bae\u7528\u6237\u5728\u6240\u6709\u7684\u82f1\u7279\u5c14 BIOS \u4e2d\u7981\u7528 SMT\/\u8d85\u7ebf\u7a0b\u3002<\/p>\n
Theo \u8868\u793a\uff0c\u201cSMT \u4ece\u6839\u672c\u4e0a\u5d29\u6e83\u4e86\uff0c\u56e0\u4e3a\u5b83\u5728\u4e24\u4e2a CPU \u5b9e\u4f8b\u4e4b\u95f4\u5171\u4eab\u8d44\u6e90\uff0c\u800c\u8fd9\u4e9b\u88ab\u5171\u4eab\u7684\u8d44\u6e90\u7f3a\u4e4f\u5b89\u5168\u5dee\u5f02\u56e0\u5b50\u3002\u201d<\/p>\n
\u4ed6\u8fd8\u6307\u51fa\uff0c\u201c\u4e4b\u540e\u5c06\u62ab\u9732\u66f4\u591a\u7684\u786c\u4ef6 bug \u548c\u96f6\u90e8\u4ef6\u3002\u4ece SMT \u548c\u82f1\u7279\u5c14 CPU \u4e0a\u7684\u63a8\u65ad\u6027\u6267\u884c\u7684\u4ea4\u4e92\u6765\u770b\uff0c\u6211\u8ba4\u4e3a SMT \u5c06\u4f1a\u4f7f\u672a\u6765\u7684\u591a\u6570\u95ee\u9898\u6076\u5316\u3002\u201d<\/p>\n
\u4e0a\u4e2a\u6708\u6708\u521d\uff0c\u7814\u7a76\u4eba\u5458\u5c06\u8fd9\u4e2a\u65b0\u7684\u4fa7\u4fe1\u9053\u6f0f\u6d1e\u544a\u77e5\u82f1\u7279\u5c14\u5b89\u5168\u56e2\u961f\uff0c\u4f46\u82f1\u7279\u5c14\u572811\u67081\u65e5\u524d\u4ecd\u672a\u80fd\u63a8\u51fa\u5b89\u5168\u8865\u4e01\uff0c\u56e0\u6b64\u7814\u7a76\u5458\u516c\u5f00\u8be5\u6f0f\u6d1e\u4ee5\u53ca PoC\u3002<\/p>\n
\u5b89\u5168\u7814\u7a76\u5458\u627f\u8bfa\u5c06\u5728\u51e0\u5929\u540e\u53d1\u5e03\u8be6\u7ec6\u7684 PortSmash \u653b\u51fb\u8bba\u6587\u300a\u7aef\u53e3\u4e89\u593a\u7684\u4e50\u8da3\u548c\u5229\u76ca (Port Contention for Fun and Profit)\u300b\u3002<\/p>\n
\u4fee\u590d PortSmash \u6f0f\u6d1e\u7684\u7b80\u5355\u65b9\u6848\u662f\u7981\u7528 CPU \u82af\u7247 BIOS \u4e2d\u7684 SMT\/\u8d85\u7ebf\u7a0b\u529f\u80fd\uff0c\u7136\u540e\u7b49\u5f85\u5b89\u5168\u8865\u4e01\u7684\u53d1\u5e03\u3002OpenSSL \u7528\u6237\u53ef\u66f4\u65b0\u81f3 OpenSSL 1.1.1 \uff08\u62161.1.0i \u7248\u672c\u4ee5\u4e0a\uff09\u3002<\/p>\n
\u4eca\u5e746\u6708\u4efd\uff0cOpenBSD \u9879\u76ee\u5c31\u7981\u7528\u4e86\u82f1\u7279\u5c14\u7684\u8d85\u7ebf\u7a0b\u529f\u80fd\u4ee5\u963b\u6b62\u7528\u6237\u906d\u6b64\u524d\u62ab\u9732\u7684 Spectre \u7ea7\u522b\u7684\u653b\u51fb\u4ee5\u53ca\u672a\u6765\u7684\u5b9a\u65f6\u653b\u51fb\u3002<\/p>\n
AMD \u516c\u53f8\u6b63\u5728\u8c03\u67e5 PortSmash \u4fa7\u4fe1\u9053\u6f0f\u6d1e\u62a5\u544a\u4ee5\u83b7\u6089\u4efb\u4f55\u6f5c\u5728\u7684 AMD \u4ea7\u54c1\u53d7\u5f71\u54cd\u60c5\u51b5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u7814\u7a76\u4eba\u5458\u5728\u82f1\u7279\u5c14 CPU \u4e2d\u53d1\u73b0\u4e86\u4e00\u4e2a\u65b0\u7684\u4fa7\u4fe1\u9053\u6f0f\u6d1e PortSmash\uff0c\u5229\u7528\u5b9a\u65f6\u653b\u51fb\u4ece\u5728\u548c\u542f\u7528 SMT\/\u8d85\u7ebf […]<\/p>\n","protected":false},"author":1903,"featured_media":127313,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-127311","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/127311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1903"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=127311"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/127311\/revisions"}],"predecessor-version":[{"id":127394,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/127311\/revisions\/127394"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/127313"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=127311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=127311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=127311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}