{"id":11296,"date":"2015-03-05T09:00:49","date_gmt":"2015-03-05T01:00:49","guid":{"rendered":"https:\/\/blog.trendmicro.com.tw\/?p=11296"},"modified":"2015-02-24T17:40:26","modified_gmt":"2015-02-24T09:40:26","slug":"%e6%8e%a2%e7%b4%a2-windows-10%e7%9a%84%e5%9f%b7%e8%a1%8c%e6%b5%81%e4%bf%9d%e8%ad%b7","status":"publish","type":"post","link":"https:\/\/blog.trendmicro.com.tw\/?p=11296","title":{"rendered":"\u63a2\u7d22 Windows 10\u7684\u57f7\u884c\u6d41\u4fdd\u8b77"},"content":{"rendered":"<p>\u4f5c\u696d\u7cfb\u7d71\u5ee0\u5546\u90fd\u6703\u6301\u7e8c\u5730\u52a0\u5f37\u6f0f\u6d1e\u9632\u8b77\u6280\u8853\uff0c\u5c31\u50cf\u5fae\u8edf\u5728Windows 10\u548cWindows 8.1 Update 3\uff08\u65bc\u53bb\u5e7411\u6708\u767c\u5e03\uff09\u5f15\u5165\u7684\u65b0\u6280\u8853\u3002\u9019\u9805\u6280\u8853\u88ab\u7a31\u70ba\u57f7\u884c\u6d41\u4fdd\u8b77\uff08CFG\uff09\u3002<\/p>\n<p>\u4e4b\u524d\u7684\u9632\u8b77\u6280\u8853\u50cf\u300c\u4f4d\u5740\u7a7a\u9593\u96a8\u6a5f\u8f09\u5165\uff08ASLR\uff09\u300d\u548c\u300c\u8cc7\u6599\u57f7\u884c\u9632\u6b62\uff08DEP\uff09\u300d\u90fd\u6210\u529f\u5730\u8b93\u6f0f\u6d1e\u653b\u64ca\u8b8a\u5f97\u66f4\u52a0\u56f0\u96e3\uff0c\u96d6\u7136\u9019\u4e9b\u6280\u8853\u9084\u4e0d\u5b8c\u7f8e\u3002ASLR\u8b93\u99ed\u5ba2\u958b\u767c\u4e86Head-Spray\u653b\u64ca\u65b9\u5f0f\uff0cDEP\u8b93\u300c\u8fd4\u56de\u6307\u6a19\u7a0b\u5f0f\u8a2d\u8a08\uff08ROP\uff09\u300d\u6280\u8853\u51fa\u73fe\u5728\u6f0f\u6d1e\u653b\u64ca\u78bc\u88e1\u3002<\/p>\n<p>\u70ba\u4e86\u63a2\u7d22\u6b64\u4e00\u65b0\u6280\u8853\uff0c\u6211\u4f7f\u7528Windows 10\u6280\u8853\u9810\u89bd\u7248\uff08build 6.4.9841\uff09\u6e2c\u8a66\uff0c\u7528Visual Studio 2015\u9810\u89bd\u7248\u4f86\u88fd\u4f5c\u6e2c\u8a66\u7528\u7a0b\u5f0f\u3002\u56e0\u70ba\u6700\u65b0\u7684Windows 10\u6280\u8853\u9810\u89bd\u7248\uff0810.0.9926\uff09\u5167\u7684CFG\u5be6\u4f5c\u65b9\u5f0f\u6709\u4e9b\u8a31\u8b8a\u5316\uff0c\u6211\u6703\u6307\u51fa\u5176\u4e0d\u540c\u4e4b\u8655\u3002<\/p>\n<p>\u82e5\u8981\u5b8c\u5168\u5be6\u73feCFG\uff0c\u7de8\u8b6f\u7a0b\u5f0f\u548c\u4f5c\u696d\u7cfb\u7d71\u90fd\u5fc5\u9808\u6b63\u78ba\u5730\u52a0\u4ee5\u652f\u63f4\u3002\u56e0\u70ba\u662f\u7cfb\u7d71\u5c64\u7d1a\u7684\u6f0f\u6d1e\u9632\u8b77\u63aa\u65bd\uff0c\u8981\u5be6\u73feCFG\u5fc5\u9808\u9760\u7de8\u8b6f\u7a0b\u5f0f\u3001\u4f5c\u696d\u7cfb\u7d71\u4f7f\u7528\u8005\u6a21\u5f0f\u7a0b\u5f0f\u5eab\u548c\u6838\u5fc3\u6a21\u5f0f\u7d44\u4ef6\u9593\u5171\u540c\u5408\u4f5c\u3002<a href=\"https:\/\/blogs.msdn.com\/b\/vcblog\/archive\/2014\/12\/08\/visual-studio-2015-preview-work-in-progress-security-feature.aspx\">MSDN\u4e0a\u7684\u4e00\u7bc7\u90e8\u843d\u683c\u6587\u7ae0<\/a>\u6982\u8ff0\u4e86\u958b\u767c\u4eba\u54e1\u652f\u63f4CFG\u6240\u9700\u8981\u7684\u6b65\u9a5f\u3002<\/p>\n<p>\u5fae\u8edf\u5be6\u4f5cCFG\u7684\u91cd\u9ede\u5728\u65bc\u9593\u63a5\u547c\u53eb\u4fdd\u8b77\u3002\u770b\u770b\u6211\u6240\u5efa\u7acb\u6e2c\u8a66\u7528\u7a0b\u5f0f\u7684\u7a0b\u5f0f\u78bc\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2015\/01\/cfg1.png\" alt=\"\" width=\"359\" height=\"326\" \/><\/p>\n<p><em>\u57161<\/em><em>\u3001\u6e2c\u8a66\u7528\u7a0b\u5f0f\u7684\u7a0b\u5f0f\u78bc<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>\u8b93\u6211\u5011\u770b\u770b\u5982\u679c\u4e0d\u555f\u7528CFG\uff0c\u7d05\u5708\u5167\u7684\u7a0b\u5f0f\u78bc\u6703\u7de8\u8b6f\u6210\u4ec0\u9ebc\u6a23\u5b50\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2015\/01\/cfg2.png\" alt=\"\" width=\"225\" height=\"145\" \/><\/p>\n<p><em>\u57162<\/em><em>\u3001\u6e2c\u8a66\u7528\u7a0b\u5f0f\u7684\u7d44\u5408\u8a9e\u8a00\u7a0b\u5f0f\u78bc<\/em><\/p>\n<p><!--more--><\/p>\n<p>\u5728\u4e0a\u5716\u4e2d\uff0c\u6709\u4e00\u7a2e\u985e\u578b\u7684\u9593\u63a5\u547c\u53eb\u5176\u76ee\u6a19\u4f4d\u5740\u4e0d\u662f\u5728\u7de8\u8b6f\u6642\u6c7a\u5b9a\uff0c\u800c\u5728\u57f7\u884c\u6642\u6c7a\u5b9a\u3002\u8b93\u6f0f\u6d1e\u653b\u64ca\u53ef\u4ee5\u52a0\u4ee5\u5229\u7528\uff0c\u5982\u4e0b\u5716\u6240\u793a\uff1a<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2015\/01\/cfg3.png\" alt=\"\" width=\"440\" height=\"137\" \/><\/p>\n<p><em>\u57163<\/em><em>\u3001\u5982\u4f55\u5229\u7528\u9593\u63a5\u547c\u53eb<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>\u5fae\u8edf\u5be6\u4f5cCFG\u8457\u91cd\u5728\u89e3\u6c7a\u5229\u7528\u9593\u63a5\u547c\u53eb\u53ca\u547c\u53eb\u7121\u6548\u4e09\u500b\u4f4d\u5143\u7d44\u662f\ufdfd\ufdfd\ufdfd\ufdfd\ufdfd\ufdfd\ufdfd\ufdfd\ufdfd\ufdfd\u76ee\u6a19\u6240\u5e36\u4f86\u7684\u554f\u984c\uff08\u5728\u6f0f\u6d1e\u653b\u64ca\u4e2d\uff0c\u9019\u6703\u662f\u7b2c\u4e00\u6b65\uff09\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u7121\u6548\u76ee\u6a19\u6709\u500b\u986f\u8457\u7684\u7279\u5fb5\uff1a\u5728\u5927\u591a\u6578\u60c5\u6cc1\u4e0b\uff0c\u5b83\u4e0d\u662f\u500b\u6709\u6548\u7684\u51fd\u6578\u8d77\u59cb\u4f4d\u5740\u3002\u5fae\u8edf\u5be6\u4f5cCFG\u7684\u60f3\u6cd5\u662f\u57fa\u65bc\u9593\u63a5\u547c\u53eb\u76ee\u6a19\u5fc5\u9808\u662f\u500b\u6709\u6548\u7684\u51fd\u6578\u8d77\u59cb\u4f4d\u5740\u3002\u555f\u7528 CFG\u5f8c\uff0c\u7d44\u5408\u8a9e\u8a00\u7a0b\u5f0f\u78bc\u6703\u8b8a\u6210\u5982\u4f55\uff1f<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2015\/01\/cfg4.png\" alt=\"\" width=\"493\" height=\"169\" \/><\/p>\n<p><em>\u57164<\/em><em>\u3001\u555f\u7528CFG<\/em><em>\u7684\u7d44\u5408\u8a9e\u8a00\u7a0b\u5f0f\u78bc<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>\u5728\u9032\u884c\u9593\u63a5\u547c\u53eb\u524d\uff0c\u76ee\u6a19\u4f4d\u5740\u6703\u88ab\u50b3\u905e\u7d66<em>_guard_check_icall<\/em>\u51fd\u6578\uff0c\u9019\u662f\u5be6\u4f5cCFG\u7684\u5730\u65b9\u3002\u5728\u6c92\u6709\u652f\u63f4CFG\u7684Windows\u7248\u672c\u4e0a\uff0c\u9019\u51fd\u6578\u4e0d\u6703\u505a\u4efb\u4f55\u4e8b\u60c5\u3002\u5728\u652f\u63f4CFG\u7684Windows 10\u4e0a\uff0c\u5b83\u6703\u6307\u5411<em>ntdll!LdrpValidateUserCallTarget<\/em>\u3002\u6b64\u51fd\u6578\u63a5\u6536\u76ee\u6a19\u4f4d\u5740\u4f5c\u70ba\u53c3\u6578\u4e26\u57f7\u884c\u4ee5\u4e0b\u52d5\u4f5c\uff1a<\/p>\n<p>&nbsp;<\/p>\n<ol>\n<li>\u5b58\u53d6\u4e00\u500b\u9ede\u9663\u5716\uff08\u7a31\u70ba<em>CFGBitmap<\/em>\uff09\uff0c\u5b83\u4ee3\u8868\u7a0b\u5e8f\u7a7a\u9593\u5167\u6240\u6709\u51fd\u6578\u7684\u8d77\u59cb\u4f4d\u7f6e\u3002\u7a0b\u5e8f\u7a7a\u9593\u4e2d\u6bcf8\u500b\u4f4d\u5143\u7d44\u7684\u72c0\u614b\u5c0d\u61c9CFGBitmap\u7684\u4e00\u500b\u4f4d\u5143\u3002\u5982\u679c\u57288\u500b\u4f4d\u5143\u7d44\u5167\u6709\u500b\u51fd\u6578\u8d77\u59cb\u4f4d\u5740\uff0c\u5247CFGBitmap\u4e2d\u7684\u5c0d\u61c9\u4f4d\u5143\u6703\u88ab\u8a2d\u70ba1\uff1b\u5426\u5247\u8a2d\u70ba0\u3002\u4e0b\u5716\u7bc4\u4f8b\u5c55\u793aCFGBitmap\u7684\u4e00\u90e8\u5206\uff1a<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2015\/01\/cfg5.png\" alt=\"\" width=\"482\" height=\"139\" \/><\/p>\n<p><em>\u57165<\/em><em>\u3001CFGBitmap<\/em><em>\u8868\u73fe\u65b9\u5f0f<\/em><\/p>\n<p>&nbsp;<\/p>\n<ol start=\"2\">\n<li>\u5c07\u76ee\u6a19\u4f4d\u5740\u8f49\u63db\u70baCFGBitmap\u4e2d\u7684\u4e00\u500b\u4f4d\u5143\u3002\u8b93\u6211\u5011\u4ee500b01030\u70ba\u4f8b\uff1a<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2015\/01\/cfg6.png\" alt=\"\" width=\"506\" height=\"73\" \/><\/p>\n<p><em>\u57166<\/em><em>\u3001\u76ee\u6a19\u4f4d\u7f6e<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>\u6700\u9ad8\u4f4d\u76843\u500b\u4f4d\u5143\u7d44\uff08\u85cd\u5708\u5167\u768424\u500b\u4f4d\u5143\uff09\u7684\u76ee\u6a19\u4f4d\u5740\u4ee3\u8868CFGBitmap\u7684\u504f\u79fb\u91cf\uff08\u55ae\u4f4d\u70ba4\u500b\u4f4d\u5143\u7d44\/32\u500b\u4f4d\u5143\uff09\u3002\u5728\u6b64\u7bc4\u4f8b\u4e2d\uff0c\u6700\u9ad8\u4f4d\u76843\u500b\u4f4d\u5143\u7d44\u76f8\u7576\u65bc0xb010\u3002\u56e0\u6b64\uff0c\u6307\u5411CFGBitmap\u5167\u4e00\u500b4\u4f4d\u5143\u7d44\u55ae\u4f4d\u7684\u6307\u6a19\u5c31\u662fCFGBitmap\u7684\u57fa\u790e\u4f4d\u5740\u52a0\u4e0a0xb010\u3002<\/p>\n<p>\u540c\u6642\uff0c\u7b2c4\u4f4d\u5143\u5230\u7b2c8\u4f4d\u5143\uff08\u7d05\u5708\u5167\u76845\u500b\u4f4d\u5143\uff09\u4ee3\u8868\u503cX\u3002\u5982\u679c\u76ee\u6a19\u4f4d\u5740\u82070x10\u5c0d\u9f4a\uff08\u76ee\u6a19\u4f4d\u5740 &amp; 0xf == 0\uff09\uff0c\u5247X\u662f\u55ae\u4f4d\u5167\u7684\u4f4d\u5143\u504f\u79fb\u91cf\u3002\u5982\u679c\u76ee\u6a19\u4f4d\u5740\u6c92\u6709\u82070x10\u5c0d\u9f4a\uff08\u76ee\u6a19\u4f4d\u5740 &amp; 0xf != 0\uff09\uff0c\u5247X | 0x1\u662f\u4f4d\u5143\u504f\u79fb\u91cf\u3002<\/p>\n<p>\u5728\u6b64\u7bc4\u4f8b\u4e2d\uff0c\u76ee\u6a19\u4f4d\u5740\u662f0x00b01030\u3002X\u7684\u503c\u70ba6\u3002\u516c\u5f0f0x00b01030 &amp; 0xf \u7d50\u679c\u70ba\u96f6\uff1b\u9019\u4ee3\u8868\u4f4d\u5143\u504f\u79fb\u91cf\u4e5f\u662f6\u3002<\/p>\n<p>&nbsp;<\/p>\n<ol start=\"3\">\n<li>\u8b93\u6211\u5011\u770b\u770b\u5728\u7b2c2\u6b65\u4e2d\u6240\u78ba\u8a8d\u7684\u4f4d\u5143\u3002\u5982\u679c\u8a72\u4f4d\u5143\u7b49\u65bc1\uff0c\u610f\u5473\u8457\u9593\u63a5\u547c\u53eb\u76ee\u6a19\u6709\u6548\uff0c\u56e0\u70ba\u5b83\u662f\u4e00\u500b\u51fd\u6578\u8d77\u59cb\u4f4d\u5740\u3002\u5982\u679c\u8a72\u4f4d\u5143\u70ba0\uff0c\u9019\u4ee3\u8868\u9593\u63a5\u547c\u53eb\u76ee\u6a19\u7121\u6548\uff0c\u56e0\u70ba\u5b83\u4e0d\u662f\u4e00\u500b\u51fd\u6578\u8d77\u59cb\u4f4d\u5740\u3002\u5982\u679c\u9593\u63a5\u547c\u53eb\u76ee\u6a19\u6709\u6548\uff0c\u5247\u51fd\u6578\u4ec0\u9ebc\u4e5f\u4e0d\u505a\u3002\u5982\u679c\u9593\u63a5\u547c\u53eb\u76ee\u6a19\u7121\u6548\uff0c\u5247\u6703\u89f8\u767c\u7570\u5e38\u4ee5\u9632\u6b62\u6f0f\u6d1e\u653b\u64ca\u78bc\u88ab\u9032\u4e00\u6b65\u57f7\u884c\u3002<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"   https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2015\/01\/cfg7.png\" alt=\"\" width=\"464\" height=\"41\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u57167\u3001CFGBitmap\u5167\u7684\u503c<\/p>\n<p>&nbsp;<\/p>\n<p>\u5be6\u4f5cCFG\u61c9\u8a72\u6709\u52a9\u65bc\u9632\u6b62\u67d0\u4e9b\u985e\u578b\u7684\u6f0f\u6d1e\u3002\u9577\u9060\u4f86\u770b\u5c07\u6709\u52a9\u65bc\u6e1b\u5c11\u8edf\u9ad4\u6f0f\u6d1e\u6240\u5e36\u4f86\u7684\u5a01\u8105\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\uff20\u539f\u6587\u51fa\u8655\uff1a<a href=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/exploring-control-flow-guard-in-windows-10\/\">Exploring Control Flow Guard in Windows 10<\/a>\u4f5c\u8005\uff1a<a href=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/author\/jacktang\/\">Jack Tang\uff08\u5a01\u8105\u5206\u6790\u5e2b\uff09<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u696d\u7cfb\u7d71\u5ee0\u5546\u90fd\u6703\u6301\u7e8c\u5730\u52a0\u5f37\u6f0f\u6d1e\u9632\u8b77\u6280\u8853\uff0c\u5c31\u50cf\u5fae\u8edf\u5728Windows 10\u548cWindows 8.1 Update  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_wpscppro_dont_share_socialmedia":false,"_wpscppro_custom_social_share_image":0,"_facebook_share_type":"","_twitter_share_type":"","_linkedin_share_type":"","_pinterest_share_type":"","_linkedin_share_type_page":"","_instagram_share_type":"","_medium_share_type":"","_threads_share_type":"","_google_business_share_type":"","_selected_social_profile":[],"_wpsp_enable_custom_social_template":false,"_wpsp_social_scheduling":{"enabled":false,"datetime":null,"platforms":[],"status":"template_only","dateOption":"today","timeOption":"now","customDays":"","customHours":"","customDate":"","customTime":"","schedulingType":"absolute"},"_wpsp_active_default_template":true},"categories":[339],"tags":[1957],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/11296"}],"collection":[{"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11296"}],"version-history":[{"count":0,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/11296\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}