{"id":107,"date":"2022-11-18T13:27:09","date_gmt":"2022-11-18T05:27:09","guid":{"rendered":"https:\/\/www.hm-zy.cn\/?p=107"},"modified":"2022-11-18T13:29:10","modified_gmt":"2022-11-18T05:29:10","slug":"windows%e6%8f%90%e6%9d%83-windows-bypass-uac","status":"publish","type":"post","link":"https:\/\/www.hm-zy.cn\/?p=107","title":{"rendered":"Windows\u63d0\u6743-Windows bypass uac"},"content":{"rendered":"<h2>1.UAC<\/h2>\n<p>uac(user acount control)\u53ef\u4ee5\u963b\u6b62\u672a\u6388\u6743\u7684\u5e94\u7528\u7a0b\u5e8f\u81ea\u52a8\u5b89\u88c5\uff0c\u5e76\u9632\u6b62\u65e0\u610f\u4e2d\u66f4\u6539\u7cfb\u7edf\u8bbe\u7f6e\u3002\u9996\u6b21\u5728Windows7\u5bb6\u7528\u8fdb\u884c\u4eae\u76f8\uff0c<strong>\u4f8b\u5982\u666e\u901a\u7528\u6237\u6253\u5f00cmd\u548c\u4ee5\u7ba1\u7406\u5458\u8fd0\u884ccmd\u7684\u5dee\u522b\uff0c\u666e\u901a\u7528\u6237\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u5f00cmd\u5c31\u4f1a\u53d7\u5230uac\u7684\u9650\u5236\uff0c\u8f93\u5165\u7ba1\u7406\u5458\u5bc6\u7801\u3002<\/strong><\/p>\n<h2>2.UAC\u7684\u56db\u79cd\u7ea7\u522b<\/h2>\n<h3>(1)\u603b\u662f\u901a\u77e5\u5c06\u4f1a\uff1a<\/h3>\n<p>\u5f53\u7a0b\u5e8f\u8bd5\u56fe\u5b89\u88c5\u8f6f\u4ef6\u6216\u5bf9\u7535\u8111\u505a\u51fa\u66f4\u6539\u65f6\u901a\u77e5\u4f60\u3002<br \/>\n\u5f53\u4f60\u5bf9 Windows \u8bbe\u7f6e\u8fdb\u884c\u66f4\u6539\u65f6\u901a\u77e5\u4f60\u3002<br \/>\n\u51bb\u7ed3\u5176\u4ed6\u4efb\u52a1\uff0c\u76f4\u5230\u4f60\u505a\u51fa\u54cd\u5e94\u3002<br \/>\n\u6ce8\u610f\uff1a\u5982\u679c\u4f60\u7ecf\u5e38\u5b89\u88c5\u65b0\u8f6f\u4ef6\u6216\u8bbf\u95ee\u964c\u751f\u7f51\u7ad9\uff0c\u5219\u63a8\u8350\u4f7f\u7528\u6b64\u9009\u9879\u3002<\/p>\n<h3>(2)\u4ec5\u5f53\u76f8\u5173\u7a0b\u5e8f\u5c1d\u8bd5\u66f4\u6539\u6211\u7684\u8ba1\u7b97\u673a\u65f6\u901a\u77e5\u6211<\/h3>\n<p>\u5f53\u7a0b\u5e8f\u8bd5\u56fe\u5b89\u88c5\u8f6f\u4ef6\u6216\u5bf9\u7535\u8111\u505a\u51fa\u66f4\u6539\u65f6\u901a\u77e5\u4f60\u3002<br \/>\n\u5f53\u4f60\u5bf9 Windows \u8bbe\u7f6e\u8fdb\u884c\u66f4\u6539\u65f6\u4e0d\u901a\u77e5\u4f60\u3002<br \/>\n\u51bb\u7ed3\u5176\u4ed6\u4efb\u52a1\uff0c\u76f4\u5230\u4f60\u505a\u51fa\u54cd\u5e94\u3002<br \/>\n\u6ce8\u610f\uff1a\u5982\u679c\u4f60\u7ecf\u5e38\u5b89\u88c5\u65b0\u8f6f\u4ef6\u6216\u8bbf\u95ee\u4e0d\u719f\u6089\u7684\u7f51\u7ad9\uff0c\u4f46\u66f4\u6539 Windows \u8bbe\u7f6e\u65f6\u4e0d\u5e0c\u671b\u6536\u5230\u901a\u77e5\uff0c\u5219\u5efa\u8bae\u4f7f\u7528\u6b64\u9009\u9879\u3002<\/p>\n<h3>(3)\u4ec5\u5f53\u76f8\u5173\u7a0b\u5e8f\u5c1d\u8bd5\u66f4\u6539\u8ba1\u7b97\u673a\u65f6\u901a\u77e5\u6211(\u4e0d\u964d\u4f4e\u684c\u9762\u4eae\u5ea6)<\/h3>\n<p>\u5f53\u7a0b\u5e8f\u8bd5\u56fe\u5b89\u88c5\u8f6f\u4ef6\u6216\u5bf9\u7535\u8111\u505a\u51fa\u66f4\u6539\u65f6\u901a\u77e5\u4f60\u3002<br \/>\n\u5f53\u4f60\u5bf9 Windows \u8bbe\u7f6e\u8fdb\u884c\u66f4\u6539\u65f6\u4e0d\u901a\u77e5\u4f60\u3002<br \/>\n\u4e0d\u4f1a\u51bb\u7ed3\u5176\u4ed6\u4efb\u52a1\u6216\u7b49\u5f85\u54cd\u5e94\u3002<br \/>\n\u6ce8\u610f\uff1a\u5982\u679c\u9700\u8981\u82b1\u8d39\u5f88\u957f\u65f6\u95f4\u624d\u80fd\u964d\u4f4e\u8ba1\u7b97\u673a\u4e0a\u7684\u684c\u9762\u4eae\u5ea6\u65f6\uff0c\u624d\u5efa\u8bae\u9009\u62e9\u6b64\u9009\u9879\u3002\u5426\u5219\uff0c\u5efa\u8bae\u9009\u62e9\u4e0a\u9762\u7684\u4e00\u79cd\u9009\u9879\u3002<\/p>\n<h3>(4)\u4ece\u4e0d\u901a\u77e5\uff08\u7981\u7528 UAC\uff09\u5c06\u4f1a\uff1a<\/h3>\n<p>\u5f53\u7a0b\u5e8f\u8bd5\u56fe\u5b89\u88c5\u8f6f\u4ef6\u6216\u5bf9\u7535\u8111\u505a\u51fa\u66f4\u6539\u65f6\u4e0d\u901a\u77e5\u4f60\u3002<br \/>\n\u5f53\u4f60\u5bf9 Windows \u8bbe\u7f6e\u8fdb\u884c\u66f4\u6539\u65f6\u4e0d\u901a\u77e5\u4f60\u3002<br \/>\n\u4e0d\u4f1a\u51bb\u7ed3\u5176\u4ed6\u4efb\u52a1\u6216\u7b49\u5f85\u54cd\u5e94\u3002<\/p>\n<p><strong>\u6309\u76ee\u524d\u7684Windows10\u4ee5\u53caWindows11\u7684UAC\u5b89\u5168\u7b56\u7565\u6765\u770b\uff0c\u9ed8\u8ba4\u7684\u53c2\u6570\u90fd\u662f(2)<\/strong><\/p>\n<h2>3.Windows bypass uac<\/h2>\n<h3>(1)msf bypass uac<\/h3>\n<p>\u524d\u63d0\uff1a<strong>\u5df2\u7ecf\u83b7\u5f97\u4e86\u76ee\u6807\u673a\u5668\u7684meterpreter shell\uff0c\u5f53\u524d\u6743\u9650\u4e3a\u666e\u901a\u7528\u6237<\/strong><\/p>\n<p>bypassuac\u6a21\u5757\u901a\u8fc7\u8fdb\u7a0b\u6ce8\u5165\uff0c\u5229\u7528\u53d7\u4fe1\u4efb\u7684\u53d1\u5e03\u8005\u8bc1\u4e66\u7ed5\u8fc7windows UAC,\u5b83\u5c06\u4e3a\u6211\u4eec\u751f\u6210\u53e6\u4e00\u4e2a\u5173\u95edUAC\u7684shell<\/p>\n<p>bypassuac_injection\u6a21\u5757\u76f4\u63a5\u8fd0\u884c\u5728\u5185\u5b58\u7684\u53cd\u5c04DLL\u4e2d\uff0c\u4e0d\u4f1a\u63a5\u89e6\u76ee\u6807\u673a\u7684\u786c\u76d8\uff0c\u4ece\u800c\u964d\u4f4e\u4e86\u88ab\u6740\u6bd2\u8f6f\u4ef6\u68c0\u6d4b\u51fa\u6765\u7684\u6982\u7387<\/p>\n<p>bypassuac_eventwr\u6a21\u5757\u901a\u8fc7\u5728\u5f53\u524d\u7528\u6237\u914d\u7f6e\u5355\u5143\u4e0b\u52ab\u6301\u6ce8\u518c\u8868\u4e2d\u7684\u7279\u6b8a\u952e\uff0c\u5728\u542f\u52a8Windows fodhelper.exe\u5e94\u7528\u7a0b\u5e8f\u65f6\u8c03\u7528\u7684\u81ea\u5b9a\u4e49\u547d\u4ee4\u6765\u7ed5\u8fc7Windows 10 UAC<\/p>\n<p>msf exploit:&gt;use exploit\/windows\/local\/bypassuac<br \/>\n\u7136\u540e\u6839\u636emsf exp\u5bf9reverse_tcp(bind_tcp)\u3001lhost\u7b49\u8fdb\u884c\u53c2\u6570\u8bbe\u7f6e<\/p>\n<h3>(2)\u5229\u7528\u7cfb\u7edf\u6f0f\u6d1ebypass uac<\/h3>\n<p>CVE\u7f16\u53f7:CVE-2019-1388,windwos\u8bc1\u4e66\u5bf9\u8bdd\u6846\u7279\u6743\u63d0\u5347\u6f0f\u6d1e\u3002\u8865\u4e01\u53f7KB4524235 KB4525233<\/p>\n<p>\u6f0f\u6d1e\u539f\u7406\uff1a\u6b64\u6f0f\u6d1e\u662f\u56e0\u4e3aUAC\u673a\u5236\u8bbe\u5b9a\u4e0d\u4e25\u5bfc\u81f4\u7684\u3002\u9ed8\u8ba4wdnows\u4f1a\u5728\u4e00\u4e2a\u5355\u72ec\u7684\u684c\u9762secure desktop\u4e0a\u663e\u793a\u6240\u6709UAC\u63d0\u793a\u3002\u8fd9\u4e9b\u63d0\u793a\u662f\u7531consent.exe\u7684\u53ef\u6267\u884c\u6587\u4ef6\u751f\u6210\u7684\uff0c\u8be5\u6587\u4ef6\u4ee5NT AUTHORITY\\SYSTEM\u8eab\u4efd\u8fd0\u884c\uff0c\u5e76\u6709system\u7684\u5b8c\u6574\u6743\u9650\uff0c<strong>\u524d\u63d0\u662f\u80fd\u94fe\u63a53389<\/strong><\/p>\n<p><strong>\u5982\u679c\u5728\u8fd0\u884c\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u65f6\u89e6\u53d1\u4e86UAC\uff0c\u5728\u70b9\u51fb \u5c55\u793a\u8bc1\u4e66\u53d1\u884c\u8005\u7684\u8be6\u7ec6\u4fe1\u606f \u4e4b\u540e\uff0c\u8bc1\u4e66\u91cc\u7684Issued by\u5b57\u6bb5\uff0c\u8fd9\u4e2a\u5b57\u6bb5\u5bf9\u5e94\u7684\u503c\u5c31\u662fOID\u3002\u8bc1\u4e66\u4f1a\u89e3\u6790OID\u7684\u503c\uff0cwindows\u6ca1\u6709\u7981\u7528OID\u5904\u7684\u8d85\u94fe\u63a5\uff0c\u5c31\u53ef\u4ee5\u5229\u7528\u63d0\u6743<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"1.UAC uac(user acount control)\u53ef\u4ee5\u963b\u6b62\u672a\u6388\u6743\u7684\u5e94\u7528\u7a0b\u5e8f\u81ea\u52a8\u5b89\u88c5\uff0c\u5e76\u9632\u6b62\u65e0\u610f\u4e2d\u66f4\u6539\u7cfb\u7edf\u8bbe\u7f6e\u3002\u9996\u6b21\u5728Windows7\u5bb6\u7528\u8fdb\u884c\u4eae\u76f8\uff0c\u4f8b\u5982\u666e\u901a\u7528\u6237\u6253\u5f00cmd\u548c\u4ee5\u7ba1\u7406\u5458\u8fd0\u884ccmd\u7684\u5dee\u522b\uff0c\u666e\u901a\u7528\u6237\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u5f00cmd\u5c31\u4f1a\u53d7&#8230;<a rel=\"nofollow\" class=\"more-link\" href=\"https:\/\/www.hm-zy.cn\/?p=107\">Read more \u00bb<\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-12"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.hm-zy.cn\/index.php?rest_route=\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hm-zy.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hm-zy.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hm-zy.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hm-zy.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=107"}],"version-history":[{"count":3,"href":"https:\/\/www.hm-zy.cn\/index.php?rest_route=\/wp\/v2\/posts\/107\/revisions"}],"predecessor-version":[{"id":110,"href":"https:\/\/www.hm-zy.cn\/index.php?rest_route=\/wp\/v2\/posts\/107\/revisions\/110"}],"wp:attachment":[{"href":"https:\/\/www.hm-zy.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hm-zy.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hm-zy.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}