{"id":6992,"date":"2016-11-17T11:12:22","date_gmt":"2016-11-17T03:12:22","guid":{"rendered":"https:\/\/aqzt.com\/6992.html"},"modified":"2016-11-17T11:12:22","modified_gmt":"2016-11-17T03:12:22","slug":"linux-%e7%88%86%e6%96%b0%e6%bc%8f%e6%b4%9e%ef%bc%8c%e9%95%bf%e6%8c%89%e5%9b%9e%e8%bd%a6-70-%e7%a7%92%e5%8f%af%e8%8e%b7%e5%be%97-root-%e6%9d%83%e9%99%90","status":"publish","type":"post","link":"https:\/\/aqzt.com\/6992.html","title":{"rendered":"Linux \u7206\u65b0\u6f0f\u6d1e\uff0c\u957f\u6309\u56de\u8f66 70 \u79d2\u53ef\u83b7\u5f97 root \u6743\u9650"},"content":{"rendered":"<p><a href=\"https:\/\/www.oschina.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u6587\u7ae0\u8f6c\u8f7d\u5f00\u6e90\u4e2d\u56fd<\/a><\/p>\n<p><img decoding=\"async\" alt=\"how-to-detect-pressing-Enter-on-keyboard-using-jQuery.jpg\" data-original=\"http:\/\/image.3001.net\/images\/20161117\/14793642607510.jpg!small\" src=\"https:\/\/aqzt.com\/wp-content\/uploads\/img\/17161033_YlIA.jpg\" width=\"572\" style=\"border: 0px;vertical-align: middle;max-width: 100%\" \/> &nbsp; &nbsp;<\/p>\n<p>\u6309\u4f4f\u56de\u8f6670\u79d2\uff0c\u9ed1\u5ba2\u5c31\u80fd\u5728linux\u7cfb\u7edf\u7ed5\u8fc7\u8ba4\u8bc1\uff0c\u8fdb\u800c\u83b7\u53d6root\u6743\u9650\uff0c\u5e76\u80fd\u8fdc\u7a0b\u63a7\u5236\u7ecf\u8fc7\u52a0\u5bc6\u7684linux\u7cfb\u7edf\u3002<\/p>\n<h2>\u6f0f\u6d1e\u6765\u6e90<br \/><\/h2>\n<p>\u8fd9\u4e2a\u5b89\u5168\u95ee\u9898\u6765\u6e90\u4e8eCryptsetup\u5b58\u5728\u7684\u4e00\u4e2a\u6f0f\u6d1e(CVE-2016-4484)\u3002Cryptsetup\u662f\u5728Linux\u7edf\u4e00\u5bc6\u94a5\u8bbe\u7f6e(Linux Unified Key Setup, LUKS)\u4e2d\u7528\u6765\u52a0\u5bc6\u78c1\u76d8\u7684\u8f6f\u4ef6\uff0c\u800cLUKS\u5219\u662fLinux\u7cfb\u7edf\u4e2d\u6807\u51c6\u7684\u78c1\u76d8\u52a0\u5bc6\u3002<\/p>\n<p><img decoding=\"async\" alt=\"install-ubuntu-luks.png\" data-original=\"http:\/\/image.3001.net\/images\/20161117\/14793643178826.png!small\" src=\"https:\/\/aqzt.com\/wp-content\/uploads\/img\/17161033_ED0o.jpg\" width=\"690\" style=\"border: 0px;vertical-align: middle;max-width: 100%\" \/> &nbsp; &nbsp;<\/p>\n<p>\u6f0f\u6d1e\u5176\u5b9e\u662f\u51fa\u73b0\u5728\u7cfb\u7edf\u540eCryptsetup\u5904\u7406\u5bc6\u7801\u8f93\u5165\u9519\u8bef\u7684\u65f6\u5019\uff0c\u5b83\u4f1a\u5141\u8bb8\u7528\u6237\u591a\u6b21\u91cd\u8bd5\u8f93\u5165\u5bc6\u7801\u3002\u800c\u5f53\u7528\u6237\u8f93\u5165\u9519\u8bef93\u6b21\u540e\uff0c\u7a0b\u5e8f\u5c31\u4f1a\u7ed9\u7528\u6237\u4e00\u4e2a\u5e26root\u6743\u9650\u7684shell(busybox)\u3002<\/p>\n<p>\u4e5f\u5c31\u662f\u8bf4\uff0c\u5982\u679c\u4f60\u91cd\u590d93\u6b21\u8f93\u9519\u5bc6\u7801\uff0c\u6216\u8005\u6301\u7eed\u6309\u56de\u8f66\u952e\u5927\u698270\u79d2\uff0c\u4f60\u5c31\u80fd\u591f\u83b7\u5f97root initramfs (initial RAM filesystem) shell\u3002\u83b7\u53d6shell\u4e4b\u540e\uff0c\u4f60\u5c31\u53ef\u4ee5\u590d\u5236\u3001\u4fee\u6539\u6216\u8005\u7834\u574f\u6574\u4e2a\u786c\u76d8\uff0c\u6216\u8005\u4e5f\u53ef\u4ee5\u4f7f\u7528\u7f51\u7edc\u4f20\u8f93\u6570\u636e\u3002<\/p>\n<h2>\u6f0f\u6d1e\u80fd\u88ab\u8fdc\u7a0b\u5229\u7528<\/h2>\n<p>\u897f\u73ed\u7259\u5b89\u5168\u7814\u7a76\u5458Hector Marco\u548cIsmael Ripoll<a href=\"http:\/\/hmarco.org\/bugs\/CVE-2016-4484\/CVE-2016-4484_cryptsetup_initrd_shell.html\" target=\"_blank\" style=\"background: 0px 0px\" rel=\"noopener noreferrer\">\u53d1\u73b0<\/a>\u4e86\u8fd9\u4e00\u6f0f\u6d1e\uff0c\u5f71\u54cd\u8303\u56f4\u8986\u76d6\u51e0\u4e4e\u6240\u6709\u7684Linux\u53d1\u884c\u7248\uff0c\u5305\u62ecDebian, Ubuntu, Fedora, Red Hat Enterprise Linux (RHEL)\u548cSUSE\u3002<\/p>\n<p><a href=\"http:\/\/image.3001.net\/images\/20161117\/14793643506053.png\" class=\"highslide-image\" target=\"_blank\" style=\"background: 0px 0px\" rel=\"noopener noreferrer\"><img decoding=\"async\" alt=\"vul.PNG\" data-original=\"http:\/\/image.3001.net\/images\/20161117\/14793643506053.png!small\" src=\"https:\/\/aqzt.com\/wp-content\/uploads\/img\/17161033_mNNh.jpg\" width=\"690\" style=\"border: 0px;vertical-align: middle;max-width: 100%\" \/><\/a> &nbsp; &nbsp;<\/p>\n<p>\u7814\u7a76\u4eba\u5458\u5728\u4eca\u5e74\u5965\u5730\u5229\u7ef4\u4e5f\u7eb3\u4e3e\u884c\u7684DeepSec\u4f1a\u8bae\u4e0a\u6f14\u793a\u4e86\u7ec6\u8282\uff1a<\/p>\n<p>&nbsp;\u201c\u9ed1\u5ba2\u53ef\u4ee5\u4ece\u53d7\u5f71\u54cd\u7cfb\u7edf\u4e2d\u83b7\u53d6root initramfs shell\u3002\u5e76\u4e14\u6f0f\u6d1e\u7684\u6210\u529f\u7387\u975e\u5e38\u9ad8\uff0c\u56e0\u4e3a\u4ed6\u4e0d\u4f9d\u8d56\u67d0\u4e2a\u7279\u5b9a\u7684\u7cfb\u7edf\u6216\u8005\u67d0\u4e2a\u914d\u7f6e\u2026\u2026\u8fd9\u4e2a\u6f0f\u6d1e\u5728\u56fe\u4e66\u9986\u3001ATM\u673a\u3001\u673a\u573a\u3001\u5b9e\u9a8c\u5ba4\u7b49\u573a\u666f\u4e0b\u7279\u522b\u6709\u7528\uff0c\u56e0\u4e3a\u5728\u8fd9\u4e9b\u573a\u666f\u4e0b\uff0c\u5f00\u673a\u7684\u8fc7\u7a0b\u53d7\u5230\uff08\u52a0\u5bc6\uff09\u4fdd\u62a4\uff0c\u800c\u6211\u4eec\u53ea\u6709\u952e\u76d8\/\u9f20\u6807\u3002\u201d<\/p>\n<p>\u770b\u5230\u8fd9\u91cc\uff0c\u4f60\u53ef\u80fd\u4f1a\u8ba4\u4e3a\u6f0f\u6d1e\u53ea\u80fd\u5728\u653b\u51fb\u8005\u6709\u7269\u7406\u63a5\u89e6\u7684\u60c5\u51b5\u4e0b\u624d\u6709\u53ef\u80fd\u53d1\u751f\u3002\u4f46\u5b9e\u9645\u4e0a\uff0c\u6f0f\u6d1e\u4e5f\u53ef\u4ee5\u88ab\u8fdc\u7a0b\u89e6\u53d1\u3002\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662f\u57fa\u4e8elinux\u7684\u4e91\u670d\u52a1\uff0c\u5c31\u53ef\u4ee5\u5728\u6ca1\u6709\u7269\u7406\u63a5\u89e6\u7684\u6761\u4ef6\u4e0b\u5229\u7528\u6f0f\u6d1e\u3002<\/p>\n<h2>\u6f0f\u6d1e\u5230\u5e95\u6709\u591a\u4e25\u91cd<\/h2>\n<p>\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0c\u653b\u51fb\u8005\u65e0\u6cd5\u5229\u7528\u8fd9\u4e2a\u6f0f\u6d1e\u6765\u83b7\u53d6\u52a0\u5bc6\u78c1\u76d8\u7684\u5185\u5bb9\uff0c\u4f46\u80fd\u8fdb\u884c\u4e0b\u9762\u7684\u8fd9\u4e9b\u64cd\u4f5c\uff1a<\/p>\n<h3>\u6743\u9650\u63d0\u5347\uff1a<\/h3>\n<p>\u7531\u4e8eboot\u5206\u533a\u4e00\u822c\u90fd\u662f\u4e0d\u52a0\u5bc6\u7684\uff0c\u56e0\u6b64\u5229\u7528\u6f0f\u6d1e\u9ed1\u5ba2\u53ef\u4ee5\u7528SetUID\u5b58\u50a8\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u7136\u540e\u518d\u7528\u672c\u5730\u7528\u6237\u8eab\u4efd\u6267\u884c\u8fdb\u884c\u63d0\u6743\u3002<\/p>\n<p>\u653b\u51fb\u8005\u4e5f\u53ef\u4ee5\u66ff\u6362\u5185\u6838\u548cinitrd\u955c\u50cf\u3002<\/p>\n<h3>\u4fe1\u606f\u6cc4\u9732\uff1a<\/h3>\n<p>\u867d\u7136\u653b\u51fb\u8005\u65e0\u6cd5\u76f4\u63a5\u8bfb\u53d6\u52a0\u5bc6\u7684\u78c1\u76d8\uff0c\u4f46\u4ed6\u80fd\u505a\u7684\u4e8b\u8fd8\u662f\u5f88\u591a\u7684\u3002\u6bd4\u5982\uff0c\u4ed6\u53ef\u4ee5\u628a\u78c1\u76d8\u590d\u5236\u5230\u5916\u90e8\u8bbe\u5907\uff0c\u4e4b\u540e\u8fdb\u884c\u66b4\u529b\u7834\u89e3\uff0c<\/p>\n<h3>DoS\u653b\u51fb\uff1a<\/h3>\n<p>\u9ed1\u5ba2\u53ef\u4ee5\u5220\u9664\u78c1\u76d8\u4e0a\u7684\u5185\u5bb9\u3002<\/p>\n<p>\u8fd9\u4e2a\u6f0f\u6d1e\u7684\u5f71\u54cd\u8303\u56f4\u5305\u62ecDebian, Ubuntu, Fedora\u548c\u5176\u4ed6\u4e00\u4e9bLinux\u53d1\u884c\u7248\u672c\u3002Arch Linux\u548cSolus\u7528\u6237\u4e0d\u53d7\u5f71\u54cd\u3002<\/p>\n<h2>\u89e3\u51b3\u65b9\u6848<\/h2>\n<p>\u5c3d\u7ba1\u6f0f\u6d1e\u80fd\u8f7b\u6613\u89e6\u53d1\u5e76\u4e14\u5f71\u54cd\u8303\u56f4\u5927\uff0c\u4f46\u5b83\u7684\u4fee\u590d\u65b9\u6848\u4e5f\u5f02\u5e38\u7b80\u5355\uff1a<\/p>\n<p>\u9996\u5148\uff0c\u5728LUKS\u5bc6\u7801\u63d0\u793a\u7a97\u5904\u6309\u538b\u56de\u8f66\u952e70\u79d2\uff0c\u68c0\u67e5\u7cfb\u7edf\u662f\u5426\u5b58\u5728\u6f0f\u6d1e\u3002<\/p>\n<p>\u5982\u679c\u5b58\u5728\u6f0f\u6d1e\uff0c\u68c0\u67e5\u4e0b\u4f60\u6240\u4f7f\u7528\u7684Linux\u662f\u5426\u53d1\u5e03\u4e86\u8865\u4e01\u3002<\/p>\n<p>\u5982\u679c\u5b98\u65b9\u6ca1\u6709\u53d1\u5e03\u8865\u4e01\uff0c\u4f60\u53ef\u4ee5\u81ea\u884c\u4fee\u6539cryptroot\u6587\u4ef6\uff1a<\/p>\n<p><img decoding=\"async\" alt=\"patch.png\" data-original=\"http:\/\/image.3001.net\/images\/20161117\/14793643851419.png!small\" src=\"https:\/\/aqzt.com\/wp-content\/uploads\/img\/17161033_9MtP.jpg\" width=\"690\" style=\"border: 0px;vertical-align: middle;max-width: 100%\" \/><\/p>\n<p>*<span>\u53c2\u8003\u6765\u6e90\uff1a<\/span><a target=\"_blank\" href=\"http:\/\/thehackernews.com\/2016\/11\/hacking-linux-system.html\" style=\"background: 0px 0px\" rel=\"noopener noreferrer\">THN<\/a>\uff0c\u672c\u6587\u4f5c\u8005\uff1aSphinx\uff0c\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u6765\u81ea<a href=\"http:\/\/www.freebuf.com\/articles\/system\/120280.html\" target=\"_blank\" rel=\"noopener noreferrer\">FreeBuf\uff08FreeBuf.com\uff09 <\/a>&nbsp; &nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u8f6c\u8f7d\u5f00\u6e90\u4e2d\u56fd &nbsp; &nbsp; \u6309\u4f4f\u56de\u8f6670\u79d2\uff0c\u9ed1\u5ba2\u5c31\u80fd\u5728linux\u7cfb\u7edf\u7ed5\u8fc7\u8ba4\u8bc1\uff0c\u8fdb\u800c\u83b7\u53d6root\u6743\u9650\uff0c\u5e76\u80fd\u8fdc\u7a0b\u63a7\u5236\u7ecf\u8fc7\u52a0\u5bc6\u7684linux\u7cfb\u7edf\u3002 \u6f0f\u6d1e\u6765\u6e90 \u8fd9\u4e2a\u5b89\u5168\u95ee\u9898\u6765\u6e90\u4e8eCryptsetup\u5b58\u5728\u7684\u4e00\u4e2a\u6f0f\u6d1e(CVE-2016-4484)\u3002Cryptsetup\u662f\u5728Linux\u7edf\u4e00\u5bc6\u94a5\u8bbe\u7f6e(Linux Unified Key Setup, LUKS)\u4e2d\u7528\u6765\u52a0\u5bc6\u78c1\u76d8\u7684\u8f6f\u4ef6\uff0c\u800cLUKS\u5219\u662fLinux\u7cfb\u7edf\u4e2d\u6807\u51c6\u7684\u78c1\u76d8\u52a0\u5bc6\u3002 &nbsp; &nbsp; \u6f0f\u6d1e\u5176\u5b9e\u662f\u51fa\u73b0\u5728\u7cfb\u7edf\u540eCryptsetup\u5904\u7406\u5bc6\u7801\u8f93\u5165\u9519\u8bef\u7684\u65f6<\/p>\n","protected":false},"author":1,"featured_media":6522,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[27],"tags":[292,227,17,9,226,13,21,11,289,64,65],"collection":[],"_links":{"self":[{"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/posts\/6992"}],"collection":[{"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/comments?post=6992"}],"version-history":[{"count":0,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/posts\/6992\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/media\/6522"}],"wp:attachment":[{"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/media?parent=6992"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/categories?post=6992"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/tags?post=6992"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/collection?post=6992"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}