{"id":593,"date":"2022-04-24T15:09:13","date_gmt":"2022-04-24T07:09:13","guid":{"rendered":"https:\/\/www.hgostand.com\/?p=593"},"modified":"2022-04-27T09:13:41","modified_gmt":"2022-04-27T01:13:41","slug":"%e5%9c%a8windows%e4%b8%ad%e5%ae%9e%e7%8e%b0%e5%85%a8%e5%b1%80%e6%b3%a8%e5%85%a5","status":"publish","type":"post","link":"https:\/\/wite.oxoooo.com\/?p=593","title":{"rendered":"\u5728Windows\u4e2d\u5b9e\u73b0\u5168\u5c40\u6ce8\u5165"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u51e0\u5468\u524d\uff0cWindhawk\uff0c\u5373Windows\u7a0b\u5e8f\u7684\u5b9a\u5236\u5e02\u573a\uff0c\u5df2\u7ecf\u53d1\u5e03\u3002\u4f60\u53ef\u4ee5\u9605\u8bfb\u516c\u544a\uff08https:\/\/ramensoftware.com\/windhawk\uff09\u4ee5\u4e86\u89e3\u66f4\u591a\u7ec6\u8282\u548c\u521b\u5efa\u5b83\u80cc\u540e\u7684\u52a8\u673a\u3002\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u5c06\u91cd\u70b9\u4ecb\u7ecd\u6211\u5728\u5b9e\u73b0Windhawk\u7684\u6280\u672f\u65b9\u9762\u7684\u5386\u7a0b\u3002\u5982\u679c\u4f60\u559c\u6b22\u8bfb\u4ee3\u7801\u800c\u4e0d\u662f\u8bfb\u6587\u5b57\uff0c\u53ef\u4ee5\u770b\u770b\u6f14\u793a\u5b9e\u73b0\uff08https:\/\/github.com\/m417z\/global-inject-demo\uff09\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Windhawk\u5141\u8bb8\u521b\u5efamods\uff0c\u8fd9\u4e9bmods\u662f\u88ab\u7f16\u8bd1\u6210DLLs\u7684C++\u7247\u6bb5\uff0c\u5e76\u88ab\u52a0\u8f7d\u5230\u7b2c\u4e09\u65b9\u7a0b\u5e8f\u4e2d\u4ee5\u8fdb\u884c\u5b9a\u5236\u3002\u6280\u672f\u4e0a\u7684\u6311\u6218\u662f\u8981\u80fd\u591f\u5728\u6240\u9700\u8fdb\u7a0b\u7684\u80cc\u666f\u4e0b\u52a0\u8f7d\u8fd9\u4e9bDLL\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2aMOD\uff0c\u94a9\u4f4fMessageBoxW\uff09WinAPI\u51fd\u6570\uff0c\u5e76\u5b9a\u4e49\u8be5MOD\u5e94\u9002\u7528\u4e8e\u6240\u6709\u8fdb\u7a0b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"790\" height=\"640\" src=\"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/04\/image-38.png\" alt=\"\" class=\"wp-image-594\" srcset=\"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-38.png 790w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-38-300x243.png 300w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-38-768x622.png 768w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-38-535x433.png 535w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-38-500x405.png 500w\" sizes=\"(max-width: 790px) 100vw, 790px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Windhawk\u5b9e\u73b0\u4e86\u4e00\u4e2a\u88ab\u6ce8\u5165\u5230\u6240\u6709\u8fdb\u7a0b\u4e2d\u7684mod\u7ba1\u7406\u5668\u3002\u5c06\u4e00\u4e2aDLL\u6ce8\u5165\u5230\u6240\u6709\u8fdb\u7a0b\u4e2d\u5e76\u4e0d\u662f\u4e00\u9879\u65b0\u7684\u4efb\u52a1\uff0c\u5b83\u4ee5\u524d\u5df2\u7ecf\u88ab\u53cd\u75c5\u6bd2\u8f6f\u4ef6\u3001\u5b9a\u5236\u5de5\u5177\u548c\u5176\u4ed6\u7a0b\u5e8f\u505a\u8fc7\u591a\u6b21\u3002\u5c31\u6211\u6240\u77e5\uff0c\u8fd9\u4e9b\u662f\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>\u4f7f\u7528\u5185\u6838\u9a71\u52a8<\/em> &#8211; \u53ef\u4ee5\u5728\u8fd9\u91cc\u627e\u5230\u4e00\u4e2a\u5f88\u597d\u7684\u6982\u5ff5\u9a8c\u8bc1\u5b9e\u73b0\uff08<a href=\"https:\/\/github.com\/wbenny\/injdrv\uff09\u3002\">https:\/\/github.com\/wbenny\/injdrv\uff09\u3002<\/a><br><em>\u4f7f\u7528 <\/em>* SetWindowsHookEx (<a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/winuser\/nf-winuser-setwindowshookexw\">https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/winuser\/nf-winuser-setwindowshookexw<\/a>)* &#8211; \u53ef\u4ee5\u7528\u6765\u5b89\u88c5\u4e00\u4e2a\u94a9\u5b50\u7a0b\u5e8f\u6765\u76d1\u89c6\u7cfb\u7edf\u7684\u67d0\u4e9b\u7c7b\u578b\u7684\u4e8b\u4ef6\u3002\u53ea\u9002\u7528\u4e8e\u52a0\u8f7duser32.dll\u7684\u8fdb\u7a0b\u3002\u9650\u4e8e\u540c\u4e00\u684c\u9762\u4e2d\u7684\u8fdb\u7a0b\u3002\u5bf9UWP\u5e94\u7528\u7a0b\u5e8f\u6709\u9650\u5236\u3002<br><strong>\u4f7f\u7528<\/strong>AppInit_Dlls (<a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/dlls\/secure-boot-and-appinit-dlls\">https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/dlls\/secure-boot-and-appinit-dlls<\/a>)* &#8211; \u4e00\u4e2a\u4f20\u7edf\u7684\u57fa\u7840\u8bbe\u65bd\uff0c\u4e3a\u5b9a\u5236\u7684DLLs\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u52a0\u8f7d\u5230\u6bcf\u4e2a\u4ea4\u4e92\u5f0f\u5e94\u7528\u7a0b\u5e8f\u7684\u5730\u5740\u7a7a\u95f4\u3002\u53ea\u9002\u7528\u4e8e\u52a0\u8f7duser32.dll\u7684\u8fdb\u7a0b\u3002\u4eceWindows 8\u5f00\u59cb\uff0c\u5f53\u5b89\u5168\u542f\u52a8\u88ab\u542f\u7528\u65f6\uff0cAppInit_DLLs\u57fa\u7840\u8bbe\u65bd\u88ab\u7981\u7528\u3002<br><em>\u4f7f\u7528\u6df1\u5965\u7684\u3001\u65e0\u6587\u4ef6\u8bb0\u5f55\u7684\u94a9\u5b50<\/em> &#8211; \u4f60\u53ef\u4ee5\u5728Alex Ionescu\u7684Hooking Nirvana\uff08<a href=\"https:\/\/www.youtube.com\/watch?v=pHyWyH804xE\uff09\u6f14\u8bb2\u4e2d\u770b\u5230\u51e0\u4e2a\u8fd9\u6837\u7684\u4f8b\u5b50\u3002\">https:\/\/www.youtube.com\/watch?v=pHyWyH804xE\uff09\u6f14\u8bb2\u4e2d\u770b\u5230\u51e0\u4e2a\u8fd9\u6837\u7684\u4f8b\u5b50\u3002<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e9b\u662f\u6211\u5bf9\u5168\u5c40\u6ce8\u5165\u89e3\u51b3\u65b9\u6848\u7684\u76ee\u6807\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u6700\u5c11\u7684\u6743\u9650* &#8211; \u6211\u5e0c\u671bWindhawk\u5373\u4f7f\u6ca1\u6709\u7ba1\u7406\u5458\u6743\u9650\u4e5f\u80fd\u8fd0\u884c\u3002\u800c\u4e14\uff0c\u4e00\u822c\u6765\u8bf4\uff0c\u6211\u66f4\u5e0c\u671b\u907f\u514d\u5b89\u88c5\u4e00\u4e2a\u5bf9\u6211\u6765\u8bf4\u592a\u5177\u4fb5\u5165\u6027\u7684\u9a71\u52a8\u7a0b\u5e8f\uff0c\u800c\u4e14\u4f1a\u5f71\u54cd\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u3002<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><em>\u6700\u5c0f\u7684\u5e72\u6270\u6027<\/em> &#8211; \u6211\u66f4\u5e0c\u671b\u907f\u514d\u4fee\u6539\u7cfb\u7edf\u6587\u4ef6\u6216\u6ce8\u518c\u8868\u9879\uff0c\u5728\u5185\u5b58\u4e2d\u505a\u6240\u6709\u7684\u5de5\u4f5c\uff0c\u8fd9\u6837\u6240\u6709\u7684\u6539\u53d8\u90fd\u662f\u6682\u65f6\u7684\uff0c\u4e0d\u4f1a\u6709\u5bf9\u7cfb\u7edf\u9020\u6210\u6c38\u4e45\u6027\u635f\u5bb3\u7684\u98ce\u9669\u3002<br><em>\u6700\u5c11\u7684\u9650\u5236<\/em> &#8211; \u6211\u52aa\u529b\u5141\u8bb8\u5c3d\u53ef\u80fd\u591a\u7684\u7a0b\u5e8f\u8fdb\u884c\u5b9a\u5236\u3002\u4f8b\u5982\uff0c\u6211\u8bd5\u56fe\u627e\u5230\u4e00\u4e2a\u89e3\u51b3\u65b9\u6848\uff0c\u4e0d\u9650\u4e8e\u52a0\u8f7duser32.dll\u7684\u8fdb\u7a0b\uff0c\u800c\u4e14\u5bf9UWP\u5e94\u7528\u7a0b\u5e8f\u6ca1\u6709\u9650\u5236\u3002<br><em>*\u901a\u7528\u7684\u89e3\u51b3\u65b9\u6848<\/em> &#8211; \u6211\u5bfb\u627e\u4e00\u4e2a\u80fd\u5728\u6240\u6709\u6216\u5927\u591a\u6570Windows\u7248\u672c\u4e0a\u5de5\u4f5c\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u5e76\u4e14\u5728\u672a\u6765\u4e0d\u592a\u53ef\u80fd\u505c\u6b62\u5de5\u4f5c\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u53e6\u5916\uff0c\u503c\u5f97\u5217\u4e3e\u7684\u662f\uff0c\u8be5\u89e3\u51b3\u65b9\u6848\u7684\u4e00\u4e9b\u975e\u76ee\u6807\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u9690\u853d\u6027* &#8211; DLL\u6ce8\u5165\u7ecf\u5e38\u88ab\u6076\u610f\u8f6f\u4ef6\u6ee5\u7528\uff0c\u4ed6\u4eec\u7684\u76ee\u6807\u4e4b\u4e00\u662f\u5c3d\u53ef\u80fd\u957f\u65f6\u95f4\u5730\u4e0d\u88ab\u53d1\u73b0\u3002\u4e3a\u4e86\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\uff0c\u6076\u610f\u8f6f\u4ef6\u4f5c\u8005\u8bd5\u56fe\u627e\u5230\u65b0\u7684\u6ce8\u5165\u65b9\u6cd5\uff0c\u8fd9\u4e9b\u65b9\u6cd5\u4e0d\u4e3a\u5b89\u5168\u5382\u5546\u6240\u77e5\uff0c\u4e5f\u4e0d\u4f1a\u88ab\u5b89\u5168\u8f6f\u4ef6\u68c0\u6d4b\u5230\u3002\u7531\u4e8e\u6211\u7684\u9879\u76ee\u6ca1\u6709\u6076\u610f\uff0c\u9690\u85cf\u6ce8\u5165\u65b9\u6cd5\u662f\u6ca1\u6709\u5fc5\u8981\u7684\u3002\u4e8b\u5b9e\u4e0a\uff0c\u6211\u66f4\u503e\u5411\u4e8e\u91c7\u7528\u4e00\u79cd\u5c3d\u53ef\u80fd\u900f\u660e\u7684\u6807\u51c6\u89e3\u51b3\u65b9\u6848\u3002<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><em>\u5b89\u5168<\/em> &#8211; DLL\u6ce8\u5165\u7ecf\u5e38\u88ab\u5b89\u5168\u8f6f\u4ef6\u4f7f\u7528\u3002\u4f8b\u5982\uff0c\u4e00\u4e2a\u53cd\u75c5\u6bd2\u8f6f\u4ef6\u53ef\u80fd\u51b3\u5b9a\u62e6\u622a\u6240\u6709\u7684\u6587\u4ef6\u8bbf\u95ee\uff0c\u5e76\u9650\u5236\u5bf9\u654f\u611f\u6587\u4ef6\u7684\u8bbf\u95ee\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u786e\u4fdd\u9650\u5236\u4e0d\u80fd\u88ab\u7ed5\u8fc7\u662f\u5f88\u91cd\u8981\u7684\u3002\u6211\u7684\u9879\u76ee\u6ca1\u6709\u5b89\u5168\u95ee\u9898\uff0c\u4e0d\u9700\u8981\u4fdd\u62a4\u5b83\u4e0d\u88ab\u7ed5\u8fc7\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5bfb\u627e\u6700\u4f73\u65b9\u6cd5<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u6211\u5f00\u59cb\u5bfb\u627e\u6700\u9002\u5408\u6211\u7684\u76ee\u6807\u7684\u65b9\u6cd5\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u8868\u683c\uff0c\u5b83\u603b\u7ed3\u4e86\u6211\u7684\u53d1\u73b0\uff08\u6ce8\u610f\uff0c\u8fd9\u4e9b\u5e76\u4e0d\u662f\u80af\u5b9a\/\u5426\u5b9a\u7684\u6807\u51c6\uff0c\u8868\u683c\u4e3b\u8981\u662f\u4e00\u79cd\u5224\u65ad\uff09\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th><\/th><th>Minimal privileges<\/th><th>Minimal intrusiveness<\/th><th>Minimal limitations<\/th><th>Universal solution<\/th><\/tr><tr><td>A kernel driver<\/td><td>\u274c<\/td><td>\u274c<\/td><td>\u2705<\/td><td>\u2705<\/td><\/tr><tr><td><code>SetWindowsHookEx<\/code><\/td><td>\u2705<\/td><td>\u2705<\/td><td>\u274c<\/td><td>\u2705<\/td><\/tr><tr><td><code>AppInit_Dlls<\/code><\/td><td>\u274c<\/td><td>\u2705<\/td><td>\u274c<\/td><td>\u274c<\/td><\/tr><tr><td>Esoteric hooks<\/td><td>\u274c<\/td><td>\u274c<\/td><td>\u2705<\/td><td>\u274c<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u8fd9\u56db\u79cd\u65b9\u6cd5\u4e2d\uff0cSetWindowsHookEx\u7684\u65b9\u6cd5\u4f3c\u4e4e\u662f\u6700\u9002\u5408\u7684\uff0c\u4f46\u5b83\u6709\u5176\u5c40\u9650\u6027\uff0c\u6211\u5e0c\u671b\u80fd\u907f\u514d\u3002\u53e6\u5916\uff0c\u4f7f\u7528SetWindowsHookEx\u611f\u89c9\u50cf\u662f\u6ee5\u7528\u4e86\u4e00\u4e2a\u4e3a\u4e0d\u540c\u76ee\u7684\u800c\u8bbe\u8ba1\u7684\u5de5\u5177\uff0c\u56e0\u4e3a\u6211\u5fc5\u987b\u9009\u62e9\u4e00\u4e2a\u4e8b\u4ef6\u6765\u83b7\u5f97\u901a\u77e5\uff0c\u5373\u4f7f\u6211\u4e0d\u9700\u8981\u4efb\u4f55\u4e8b\u4ef6\u3002<br>\u7ecf\u8fc7\u4e00\u756a\u601d\u8003\uff0c\u6211\u51b3\u5b9a\u5c1d\u8bd5\u53e6\u4e00\u79cd\u65b9\u6cd5\u3002\u4e0d\u4f7f\u7528\u4e13\u95e8\u7684\u5168\u5c40\u6ce8\u5165\u673a\u5236\uff0c\u800c\u662f\u4e3a\u5355\u4e2a\u8fdb\u7a0b\u5b9e\u73b0\u6ce8\u5165\u3002\u7136\u540e\uff0c\u7528\u5b83\u6765\u5b9e\u73b0\u5168\u5c40\u6ce8\u5165\uff0c\u5982\u4e0b\u6240\u793a\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u6700\u521d\uff0c\u679a\u4e3e\u6240\u6709\u8fdb\u7a0b\u5e76\u6ce8\u5165\u6bcf\u4e2a\u8fdb\u7a0b\u3002<\/li><li>\u5bf9\u4e8e\u6bcf\u4e2a\u88ab\u6ce8\u5165\u7684\u8fdb\u7a0b\uff0c\u62e6\u622a\u65b0\u7684\u8fdb\u7a0b\u7684\u521b\u5efa\uff08\u4f8b\u5982\uff0c\u901a\u8fc7\u94a9\u4f4fCreateProcess (<a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/processthreadsapi\/nf-processthreadsapi-createprocessw\">https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/processthreadsapi\/nf-processthreadsapi-createprocessw<\/a>) WinAPI\u51fd\u6570\uff09\u5e76\u6ce8\u5165\u5230\u6bcf\u4e2a\u65b0\u521b\u5efa\u7684\u8fdb\u7a0b\u4e2d\u3002<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u79cd\u65b9\u6cd5\u770b\u8d77\u6765\u76f8\u5f53\u660e\u663e\uff0c\u5b9e\u65bd\u8d77\u6765\u4e5f\u5f88\u7b80\u5355\uff0c\u4f46\u5b9e\u9645\u4e0a\u6709\u5404\u79cd\u68d8\u624b\u7684\u7ec6\u8282\u9700\u8981\u5904\u7406\u3002\u6211\u5c06\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\u4ecb\u7ecd\u8fd9\u4e9b\u7ec6\u8282\u3002\u6211\u786e\u4fe1\u8fd9\u79cd\u65b9\u6cd5\u4ee5\u524d\u5c31\u5df2\u7ecf\u5b9e\u73b0\u548c\u4f7f\u7528\u8fc7\u4e86\uff0c\u4f46\u6211\u6ca1\u6709\u627e\u5230\u4e00\u4e2a\u5b8c\u5168\u6709\u6548\u7684\u5b9e\u73b0\uff0c\u6211\u53ef\u4ee5\u628a\u5b83\u4f5c\u4e3a\u4e00\u4e2a\u53c2\u8003\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5c06DLL\u6ce8\u5165\u5230\u4e00\u4e2a\u8fdb\u7a0b\u4e2d<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u8fdb\u7a0b\u6ce8\u5165\u9075\u5faa\u8fd9\u4e9b\u6b65\u9aa4\u3002\u5185\u5b58\u5206\u914d\uff0c\u5185\u5b58\u5199\u5165\uff0c\u4ee3\u7801\u6267\u884c\u3002\u6211\u4f7f\u7528\u4e86\u7ecf\u5178\u800c\u76f4\u63a5\u7684\u6ce8\u5165\u65b9\u6cd5\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>VirtualAllocEx\u7528\u4e8e\u5728\u76ee\u6807\u8fdb\u7a0b\u4e2d\u5206\u914d\u5185\u5b58\u3002<\/li><li>WriteProcessMemory\u7528\u4e8e\u5c06\u4ee3\u7801\u5199\u5165\u5206\u914d\u7684\u5185\u5b58\u4e2d\u3002<\/li><li>CreateRemoteThread\u7528\u4e8e\u5728\u76ee\u6807\u8fdb\u7a0b\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u7ebf\u7a0b\u6765\u8fd0\u884c\u6240\u5199\u7684\u4ee3\u7801\u3002<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u6ce8\u5165\u7684\u4ee3\u7801\u52a0\u8f7dDLL\uff0c\u5b9e\u73b0\u6240\u9700\u7684\u4efb\u52a1\u3002<br>\u8fd9\u79cd\u6ce8\u5165\u65b9\u6cd5\u662f\u975e\u5e38\u53e4\u8001\u7684\uff0c\u4e5f\u662f\u4f17\u6240\u5468\u77e5\u7684\uff0c\u4e92\u8054\u7f51\u4e0a\u6709\u5f88\u591a\u5173\u4e8e\u5b83\u7684\u6559\u7a0b\u548c\u4f8b\u5b50\uff0c\u6240\u4ee5\u6211\u4e0d\u4f1a\u8fdb\u4e00\u6b65\u9610\u8ff0\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5c06\u4e00\u4e2aDLL\u6ce8\u5165\u5230\u6240\u6709\u8fdb\u7a0b\u4e2d<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u524d\u6240\u8ff0\uff0c\u6211\u4eec\u7684\u60f3\u6cd5\u662f\u679a\u4e3e\u6240\u6709\u7684\u8fdb\u7a0b\uff0c\u5e76\u5c06DLL\u6ce8\u5165\u5230\u6bcf\u4e2a\u8fdb\u7a0b\u4e2d\u3002\u4e3a\u4e86\u786e\u4fddDLL\u4e5f\u88ab\u52a0\u8f7d\u5230\u65b0\u521b\u5efa\u7684\u8fdb\u7a0b\u4e2d\uff0c\u62e6\u622a\u65b0\u8fdb\u7a0b\u7684\u521b\u5efa\uff0c\u5e76\u6ce8\u5165\u5230\u6bcf\u4e2a\u65b0\u521b\u5efa\u7684\u8fdb\u7a0b\u4e2d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"314\" src=\"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/04\/image-39-1024x314.png\" alt=\"\" class=\"wp-image-595\" srcset=\"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-39-1024x314.png 1024w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-39-300x92.png 300w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-39-768x235.png 768w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-39-535x164.png 535w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-39-900x276.png 900w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-39-500x153.png 500w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-39.png 1202w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u4e2a\u7b80\u5355\u7684\u5b9e\u73b0\u53ef\u4ee5\u5728\u8fd9\u91cc\u627e\u5230\uff08<a href=\"https:\/\/github.com\/m417z\/global-inject-demo\/tree\/686b81b8ed70ababad350f4438eb10023c49443c\uff09\u3002\u5173\u4e8e\u8fd9\u4e2a\u5b9e\u73b0\u7684\u4e00\u4e9b\u8bf4\u660e\u3002\">https:\/\/github.com\/m417z\/global-inject-demo\/tree\/686b81b8ed70ababad350f4438eb10023c49443c\uff09\u3002\u5173\u4e8e\u8fd9\u4e2a\u5b9e\u73b0\u7684\u4e00\u4e9b\u8bf4\u660e\u3002<\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u5f53\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u542f\u52a8\u65f6\uff0c\u8be5\u7a0b\u5e8f\u4f1a\u542f\u7528\u8c03\u8bd5\u6743\u9650\uff08<a href=\"https:\/\/docs.microsoft.com\/en-us\/windows-hardware\/drivers\/debugger\/debug-privilege\uff09\u3002\u8fd9\u5141\u8bb8\u5c06DLL\u6ce8\u5165\u5230\u7cfb\u7edf\u670d\u52a1\u4e2d\u3002\u56e0\u6b64\uff0c\u8fd9\u53ef\u4ee5\u5c06DLL\u6ce8\u5165\u5230\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u542f\u52a8\u7684\u65b0\u521b\u5efa\u7684\u8fdb\u7a0b\u4e2d\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u8fdb\u7a0b\u5b9e\u9645\u4e0a\u662f\u7531AppInfo\u670d\u52a1\u521b\u5efa\u7684\uff0c\u6240\u4ee5\u9700\u8981\u94a9\u4f4f\u5176CreateProcessInternalW\u51fd\u6570\u3002\u8be6\u60c5\u8bf7\u53c2\u8003Pavel\">https:\/\/docs.microsoft.com\/en-us\/windows-hardware\/drivers\/debugger\/debug-privilege\uff09\u3002\u8fd9\u5141\u8bb8\u5c06DLL\u6ce8\u5165\u5230\u7cfb\u7edf\u670d\u52a1\u4e2d\u3002\u56e0\u6b64\uff0c\u8fd9\u53ef\u4ee5\u5c06DLL\u6ce8\u5165\u5230\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u542f\u52a8\u7684\u65b0\u521b\u5efa\u7684\u8fdb\u7a0b\u4e2d\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u8fdb\u7a0b\u5b9e\u9645\u4e0a\u662f\u7531AppInfo\u670d\u52a1\u521b\u5efa\u7684\uff0c\u6240\u4ee5\u9700\u8981\u94a9\u4f4f\u5176CreateProcessInternalW\u51fd\u6570\u3002\u8be6\u60c5\u8bf7\u53c2\u8003Pavel<\/a> Yosifovich\u7684\u535a\u6587Parent Process vs. Creator Process\uff08<a href=\"https:\/\/scorpiosoftware.net\/2021\/01\/10\/parent-process-vs-creator-process\/\uff09\u3002\">https:\/\/scorpiosoftware.net\/2021\/01\/10\/parent-process-vs-creator-process\/\uff09\u3002<\/a><\/li><li>CreateRemoteThread\u4e0d\u5141\u8bb8\uff08<a href=\"https:\/\/stackoverflow.com\/questions\/494284\/createremotethread-32-64-and-or-64-32\uff09\u4ece\u4e00\u4e2a32\u4f4d\u8fdb\u7a0b\u5728\u4e00\u4e2a\u8fdc\u7a0b64\u4f4d\u8fdb\u7a0b\u4e2d\u521b\u5efa\u7ebf\u7a0b\u3002wow64ext\u5e93\uff08https:\/\/github.com\/rwfpl\/rewolf-wow64ext\uff09\u88ab\u7528\u6765\u514b\u670d\u8fd9\u4e00\u9650\u5236\u3002\">https:\/\/stackoverflow.com\/questions\/494284\/createremotethread-32-64-and-or-64-32\uff09\u4ece\u4e00\u4e2a32\u4f4d\u8fdb\u7a0b\u5728\u4e00\u4e2a\u8fdc\u7a0b64\u4f4d\u8fdb\u7a0b\u4e2d\u521b\u5efa\u7ebf\u7a0b\u3002wow64ext\u5e93\uff08https:\/\/github.com\/rwfpl\/rewolf-wow64ext\uff09\u88ab\u7528\u6765\u514b\u670d\u8fd9\u4e00\u9650\u5236\u3002<\/a><\/li><li>\u5728Windows 7\u4e2d\uff0c\u5982\u679c\u76ee\u6807\u8fdb\u7a0b\u4e0e\u8c03\u7528\u8fdb\u7a0b\u5904\u4e8e\u4e0d\u540c\u7684\u4f1a\u8bdd\u4e2d\uff0cCreateRemoteThread\u4f1a\u5931\u8d25\u3002\u4e00\u4e2a\u89e3\u51b3\u65b9\u6cd5\u662f\u4f7f\u7528NtCreateThreadEx\u4ee3\u66ff\uff08<a href=\"https:\/\/securityxploded.com\/ntcreatethreadex.php\uff09\u3002\">https:\/\/securityxploded.com\/ntcreatethreadex.php\uff09\u3002<\/a><\/li><li>\u4e3a\u4e86\u62e6\u622a\u65b0\u8fdb\u7a0b\u7684\u521b\u5efa\uff0cCreateProcessInternalW\u88ab\u94a9\u4f4f\u4e86\u3002\u770b\u8d77\u6765\u6240\u6709\u8bb0\u5f55\u7684\u8fdb\u7a0b\u521b\u5efa\u51fd\u6570\u6700\u540e\u90fd\u4f1a\u8c03\u7528\u5b83\u3002<ul><li>CreateProcessA \u2192 CreateProcessInternalA \u2192 CreateProcessInternalW<\/li><li>CreateProcessW \u2192 CreateProcessInternalW<\/li><li>CreateProcessAsUserA \u2192 CreateProcessInternalA \u2192 CreateProcessInternalW<\/li><li>CreateProcessAsUserW \u2192 CreateProcessInternalW<\/li><\/ul><\/li><li>MinHook\u5e93\uff08<a href=\"https:\/\/github.com\/TsudaKageyu\/minhook\uff09\u7528\u4e8e\u94a9\u4f4fCreateProcessInternalW\">https:\/\/github.com\/TsudaKageyu\/minhook\uff09\u7528\u4e8e\u94a9\u4f4fCreateProcessInternalW<\/a>, MessageBoxW\u51fd\u6570\u3002<\/li><li>\u88ab\u6ce8\u5165\u540e\uff0cDLL\u7b49\u5f85\u4e8b\u4ef6\u7684\u4fe1\u53f7\uff0c\u7136\u540e\u5378\u8f7d\u81ea\u5df1\u3002<\/li><li>\u5173\u4e8e\u7f16\u8bd1\u548c\u8fd0\u884c\u8bf4\u660e\uff0c\u8bf7\u53c2\u8003\u8d44\u6e90\u5e93\u7684README\u6587\u4ef6\u3002<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e4d\u4e00\u770b\uff0c\u5b83\u4f3c\u4e4e\u5de5\u4f5c\u5f97\u5f88\u597d\uff0c\u770b\u8d77\u6765\u76f8\u5f53\u5b8c\u6574\u3002\u4f46\u5728\u4ed4\u7ec6\u68c0\u67e5\u5e76\u7ecf\u8fc7\u4e00\u4e9b\u4ed4\u7ec6\u7684\u6d4b\u8bd5\u540e\uff0c\u6211\u53d1\u73b0\u6709\u51e0\u4e2a\u9650\u5236\u5fc5\u987b\u89e3\u51b3\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u65e0\u6cd5\u8fdb\u5165\u7684\u6d41\u7a0b\u548c\u5931\u8d25\u7684\u6ce8\u5165<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5373\u4f7f\u6ce8\u5165\u7a0b\u5e8f\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\uff0c\u5373\u4f7f\u8c03\u8bd5\u6743\u9650\u88ab\u542f\u7528\uff0c\u4e5f\u6709\u4e00\u4e9b\u8fdb\u7a0b\u662f\u65e0\u6cd5\u8fbe\u5230\u7684\u3002Windows\u4e2d\u7684\u51e0\u4e2a\u6838\u5fc3\u7cfb\u7edf\u8fdb\u7a0b\u88ab\u6807\u8bb0\u4e3a\u53d7\u4fdd\u62a4\u8fdb\u7a0b\uff0c\u987e\u540d\u601d\u4e49\uff0c\u5b83\u4eec\u88ab\u4fdd\u62a4\u8d77\u6765\u4e0d\u88ab\u7be1\u6539\uff0c\u6ce8\u5165\u7a0b\u5e8f\u65e0\u6cd5\u5c06DLL\u6ce8\u5165\u5176\u4e2d\u3002\u8fd9\u672c\u8eab\u5e76\u4e0d\u662f\u4e00\u4e2a\u95ee\u9898\uff0c\u8fd9\u4e9b\u8fdb\u7a0b\u88ab\u4fdd\u62a4\u662f\u6709\u539f\u56e0\u7684\uff0c\u6211\u5bf9\u4e0d\u80fd\u7be1\u6539\u5b83\u4eec\u6ca1\u6709\u610f\u89c1\u3002\u771f\u6b63\u7684\u95ee\u9898\u662f\uff0c\u56e0\u4e3a\u5b83\u4eec\u88ab\u4fdd\u62a4\u4e86\uff0cCreateProcessInternalW\u6ca1\u6709\u88ab\u94a9\u4f4f\uff0c\u6ca1\u6709\u673a\u4f1a\u5c06DLL\u6ce8\u5165\u5230\u88ab\u4fdd\u62a4\u8fdb\u7a0b\u6240\u521b\u5efa\u7684\u8fdb\u7a0b\u4e2d\uff0c\u5373\u4f7f\u521b\u5efa\u7684\u8fdb\u7a0b\u672c\u8eab\u6ca1\u6709\u88ab\u4fdd\u62a4\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"802\" height=\"402\" src=\"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/04\/image-40.png\" alt=\"\" class=\"wp-image-596\" srcset=\"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-40.png 802w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-40-300x150.png 300w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-40-768x385.png 768w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-40-535x268.png 535w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-40-500x251.png 500w\" sizes=\"(max-width: 802px) 100vw, 802px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f8b\u5982\uff0c\u4f60\u53ef\u4ee5\u5728\u4e0b\u9762\u7684\u622a\u56fe\u4e2d\u770b\u5230services.exe\u662f\u4e00\u4e2a\u53d7\u4fdd\u62a4\u7684\u8fdb\u7a0b\u3002\u56e0\u6b64\uff0cDLL\u4e0d\u4f1a\u88ab\u6ce8\u5165\u5230\u6ce8\u5165\u7a0b\u5e8f\u540e\u542f\u52a8\u7684\u5b50svchost.exe\u8fdb\u7a0b\u4e2d\u3002\u5df2\u7ecf\u8fd0\u884c\u7684svchost.exe\u8fdb\u7a0b\u7531\u8fdb\u7a0b\u679a\u4e3e\u5904\u7406\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"417\" height=\"365\" src=\"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/04\/image-41.png\" alt=\"\" class=\"wp-image-597\" srcset=\"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-41.png 417w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-41-300x263.png 300w\" sizes=\"(max-width: 417px) 100vw, 417px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u6ce8\u5165\u7a0b\u5e8f\u4e0d\u662f\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u65f6\uff0c\u4e5f\u5b58\u5728\u7c7b\u4f3c\u7684\u95ee\u9898\u2014\u5b83\u4e0d\u80fd\u5c06DLL\u6ce8\u5165\u5230\u5347\u9ad8\u7684\u8fdb\u7a0b\u4e2d\uff0c\u8fd9\u662f\u4e00\u4e2a\u5b89\u5168\u9650\u5236\uff0c\u8fd9\u6ca1\u6709\u95ee\u9898\uff0c\u4f46\u5b83\u4e5f\u5931\u53bb\u4e86\u6ce8\u5165\u7531\u5347\u9ad8\u7684\u8fdb\u7a0b\u521b\u5efa\u7684\u672a\u5347\u9ad8\u7684\u8fdb\u7a0b\u7684\u673a\u4f1a\u3002<br>\u4f8b\u5982\uff0c\u5728\u4e0b\u9762\u7684\u622a\u56fe\u4e2d\uff0cWindows Explorer\u901a\u8fc7\u4efb\u52a1\u7ba1\u7406\u5668\u88ab\u91cd\u65b0\u542f\u52a8\u3002\u65b0\u7684explorer.exe\u8fdb\u7a0b\u662f\u7531winlogon.exe\u521b\u5efa\u7684\uff0c\u5b83\u662f\u9ad8\u67b6\u7684\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"431\" height=\"195\" src=\"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/04\/image-42.png\" alt=\"\" class=\"wp-image-598\" srcset=\"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-42.png 431w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-42-300x136.png 300w\" sizes=\"(max-width: 431px) 100vw, 431px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u53e6\u4e00\u4e2a\u5e38\u89c1\u7684\u4f8b\u5b50\u662f\uff0c\u5f53\u4e00\u4e2a\u8fdb\u7a0b\u5d29\u6e83\u65f6\uff0c\u5347\u9ad8\u7684\u8fdb\u7a0b\u4f1a\u521b\u5efa\u4e00\u4e2a\u4e0d\u5347\u9ad8\u7684\u8fdb\u7a0b\u3002\u8bf7\u770b\u4e0b\u9762\u7684\u622a\u56fe\uff0c\u6765\u81eaGal De Leon\u7684\u6f14\u8bb2\u300a\u5229\u7528Windows\u9519\u8bef\u62a5\u544a\u4e2d\u7684\u9519\u8bef\u300b\uff08<a href=\"https:\/\/msrnd-cdn-stor.azureedge.net\/bluehat\/bluehatil\/2019\/assets\/doc\/Exploiting%20Errors%20in%20Windows%20Error%20Reporting.pdf\uff09\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u6ce8\u5165\u7a0b\u5e8f\u9519\u8fc7\u4e86\u5c06DLL\u6ce8\u5165\u5230\u672a\u63d0\u5347\u7684WerFault.exe\u7684\u673a\u4f1a\u3002WerFault.exe\u53ef\u80fd\u53cd\u8fc7\u6765\u91cd\u65b0\u542f\u52a8\u5d29\u6e83\u7684\u7a0b\u5e8f\uff08https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/winbase\/nf-winbase-registerapplicationrestart\uff09\uff0c\u5b83\u4e5f\u4f1a\u88ab\u9519\u8fc7\u3002\">https:\/\/msrnd-cdn-stor.azureedge.net\/bluehat\/bluehatil\/2019\/assets\/doc\/Exploiting%20Errors%20in%20Windows%20Error%20Reporting.pdf\uff09\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u6ce8\u5165\u7a0b\u5e8f\u9519\u8fc7\u4e86\u5c06DLL\u6ce8\u5165\u5230\u672a\u63d0\u5347\u7684WerFault.exe\u7684\u673a\u4f1a\u3002WerFault.exe\u53ef\u80fd\u53cd\u8fc7\u6765\u91cd\u65b0\u542f\u52a8\u5d29\u6e83\u7684\u7a0b\u5e8f\uff08https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/winbase\/nf-winbase-registerapplicationrestart\uff09\uff0c\u5b83\u4e5f\u4f1a\u88ab\u9519\u8fc7\u3002<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"507\" src=\"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/04\/image-44.png\" alt=\"\" class=\"wp-image-600\" srcset=\"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-44.png 900w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-44-300x169.png 300w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-44-768x433.png 768w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-44-535x301.png 535w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-44-500x282.png 500w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u6211\u60f3\u51fa\u7684\u89e3\u51b3\u65b9\u6848\u662f\u8ba9\u6ce8\u5165\u7a0b\u5e8f\u76d1\u63a7\u65b0\u8fdb\u7a0b\u7684\u521b\u5efa\uff0c\u5bf9\u4e8e\u6bcf\u4e2a\u65b0\u521b\u5efa\u7684\u8fdb\u7a0b\uff0c\u5c1d\u8bd5\u4ece\u6ce8\u5165\u7a0b\u5e8f\u6ce8\u5165\u5230\u5176\u4e2d\u3002<br>\u5982\u679c\u65b0\u8fdb\u7a0b\u662f\u7531\u4e00\u4e2a\u65e0\u6cd5\u8bbf\u95ee\u7684\u8fdb\u7a0b\u521b\u5efa\u7684\uff0c\u6ce8\u5165\u7a0b\u5e8f\u5c31\u4f1a\u6ce8\u5165DLL\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"802\" height=\"402\" src=\"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/04\/image-45.png\" alt=\"\" class=\"wp-image-601\" srcset=\"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-45.png 802w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-45-300x150.png 300w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-45-768x385.png 768w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-45-535x268.png 535w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-45-500x251.png 500w\" sizes=\"(max-width: 802px) 100vw, 802px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u53e6\u4e00\u65b9\u9762\uff0c\u5982\u679c\u65b0\u8fdb\u7a0b\u662f\u7531\u4e00\u4e2a\u6ce8\u5165\u4e86DLL\u7684\u8fdb\u7a0b\u521b\u5efa\u7684\uff0c\u90a3\u4e48\u5728\u521b\u5efa\u8fdb\u7a0b\u548c\u6ce8\u5165\u7a0b\u5e8f\u4e4b\u95f4\u5c31\u4f1a\u51fa\u73b0\u7ade\u8d5b\u3002\u6211\u4f7f\u7528\u4e86\u4e00\u4e2amutex\u6765\u786e\u4fdd\u53ea\u6709\u5176\u4e2d\u4e00\u4e2a\u6ce8\u5165DLL\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"802\" height=\"562\" src=\"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/04\/image-46.png\" alt=\"\" class=\"wp-image-602\" srcset=\"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-46.png 802w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-46-300x210.png 300w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-46-768x538.png 768w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-46-535x375.png 535w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-46-500x350.png 500w\" sizes=\"(max-width: 802px) 100vw, 802px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u79cd\u65b9\u6cd5\u53ef\u884c\uff0c\u4f46\u5b83\u6709\u4e00\u4e2a\u4e25\u91cd\u7684\u7f3a\u70b9\u2014\u5982\u679c\u65b0\u8fdb\u7a0b\u662f\u7531\u4e00\u4e2a\u4e0d\u53ef\u8bbf\u95ee\u7684\u8fdb\u7a0b\u521b\u5efa\u7684\uff0c\u90a3\u4e48DLL\u5c31\u4f1a\u88ab\u5f02\u6b65\u6ce8\u5165\uff0c\u53ef\u80fd\u662f\u5728\u65b0\u8fdb\u7a0b\u5f00\u59cb\u8fd0\u884c\u4e4b\u540e\uff0c\u6839\u636e\u5b9a\u5236\u7684\u7528\u4f8b\uff0c\u8fd9\u53ef\u80fd\u592a\u665a\u4e86\u3002\u4e0d\u5e78\u7684\u662f\uff0c\u6211\u6ca1\u6709\u627e\u5230\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u7531\u4e8e\u8fd9\u4e2a\u95ee\u9898\u4e0d\u662f\u5f88\u5e38\u89c1\uff08\u7279\u522b\u662f\u5982\u679c\u6ce8\u5165\u7a0b\u5e8f\u662f\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u7684\uff09\uff0c\u6240\u4ee5\u5b83\u4e0d\u662f\u592a\u7cdf\u7cd5\u3002<br>\u53e6\u5916\uff0c\u8fd9\u4e2a\u89e3\u51b3\u65b9\u6848\u4ea7\u751f\u4e86\u4e00\u4e2a\u65b0\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u4ecb\u7ecd\u8fd9\u4e2a\u95ee\u9898\uff0c\u5b83\u662f\u5728\u6ce8\u5165\u7a0b\u5e8f\u8fc7\u65e9\u6ce8\u5165DLL\u65f6\u53d1\u751f\u7684\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8fc7\u65e9\u6ce8\u5165\u7684\u98ce\u9669<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u5b9e\u65bd\u4e0a\u8ff0\u89e3\u51b3\u65b9\u6848\u540e\uff0c\u6211\u6ce8\u610f\u5230\u6709\u65f6\u65b0\u8fdb\u7a0b\u65e0\u6cd5\u542f\u52a8\u3002\u7ecf\u8fc7\u4e00\u756a\u8c03\u67e5\uff0c\u6211\u53d1\u73b0\u8fd9\u53ea\u53d1\u751f\u5728\u63a7\u5236\u53f0\u7a0b\u5e8f\u4e0a\u3002\u7ecf\u8fc7\u8fdb\u4e00\u6b65\u8c03\u67e5\uff0c\u6211\u627e\u5230\u4e86\u6839\u672c\u539f\u56e0\u3002<br>\u6240\u6709\u7528\u6237\u6a21\u5f0f\u7684\u7ebf\u7a0b\u90fd\u5728LdrInitializeThunk\u51fd\u6570\u4e2d\u5f00\u59cb\u6267\u884c\u3002\u8fdb\u7a0b\u8fd0\u884c\u7684\u7b2c\u4e00\u4e2a\u7ebf\u7a0b\u5728\u6267\u884c\u8f6c\u79fb\u5230\u7528\u6237\u63d0\u4f9b\u7684\u7ebf\u7a0b\u5165\u53e3\u70b9\u4e4b\u524d\uff0c\u4f1a\u6267\u884c\u8fdb\u7a0b\u521d\u59cb\u5316\u4efb\u52a1\u3002\u8fdb\u7a0b\u521d\u59cb\u5316\u4efb\u52a1\u4e4b\u4e00\u662f\u5728\u8be5\u8fdb\u7a0b\u662f\u4e00\u4e2a\u63a7\u5236\u53f0\u8fdb\u7a0b\u7684\u60c5\u51b5\u4e0b\u521b\u5efa\u63a7\u5236\u53f0\u7a97\u53e3\u3002\u5173\u4e8eLdrInitializeThunk\u51fd\u6570\u7684\u66f4\u591a\u7ec6\u8282\uff0c\u8bf7\u67e5\u770bKen Johnson\u7684\u8fd9\u7bc7\u535a\u6587\uff08<a href=\"http:\/\/www.nynaeve.net\/?p=205\uff09\u3002\">http:\/\/www.nynaeve.net\/?p=205\uff09\u3002<\/a><br>\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u4e00\u4e2a\u65b0\u7684\u8fdb\u7a0b\u4ee5\u4e00\u4e2a\u6682\u505c\u7684\u7ebf\u7a0b\u5f00\u59cb\u3002\u7136\u540e\uff0c\u5ba2\u6237\/\u670d\u52a1\u5668\u8fd0\u884c\u65f6\u5b50\u7cfb\u7edf\uff08csrss.exe\uff09\u5f97\u5230\u5173\u4e8e\u521a\u521a\u521b\u5efa\u7684\u65b0\u8fdb\u7a0b\u7684\u901a\u77e5\uff0c\u5e76\u8fdb\u884c\u81ea\u5df1\u7684\u5904\u7406\u3002\u6700\u540e\uff0c\u6682\u505c\u7684\u7ebf\u7a0b\u88ab\u6062\u590d\uff0cLdrInitializeThunk\u51fd\u6570\u6267\u884c\u8fdb\u7a0b\u521d\u59cb\u5316\u4efb\u52a1\u5e76\u5c06\u6267\u884c\u8f6c\u79fb\u5230\u8fdb\u7a0b\u5165\u53e3\u70b9\u3002<br>\u7531\u4e8e\u6ce8\u5165\u7a0b\u5e8f\u8fc7\u65e9\u5730\u6ce8\u5165\u4e86DLL\uff0c\u65b0\u8fdb\u7a0b\u50cf\u5f80\u5e38\u4e00\u6837\uff0c\u4ee5\u4e00\u4e2a\u6682\u505c\u7684\u7ebf\u7a0b\u5f00\u59cb\u3002\u4f46\u5728\u5ba2\u6237\/\u670d\u52a1\u5668\u8fd0\u884c\u65f6\u5b50\u7cfb\u7edf\uff08csrss.exe\uff09\u5f97\u5230\u901a\u77e5\u4e4b\u524d\uff0c\u6ce8\u5165\u7a0b\u5e8f\u5728\u65b0\u8fdb\u7a0b\u4e2d\u521b\u5efa\u4e86\u4e00\u4e2a\u65b0\u7684\u7ebf\u7a0b\uff0c\u5e76\u7acb\u5373\u5f00\u59cb\u6267\u884c\uff08\u5728\u4e0b\u9762\u7684\u56fe\u7247\u4e2d\u7528\u7ea2\u8272\u6807\u8bb0\uff09\u3002\u4f5c\u4e3a\u7b2c\u4e00\u4e2a\u8fd0\u884c\u7684\u7ebf\u7a0b\uff0c\u5b83\u6267\u884c\u8fdb\u7a0b\u7684\u521d\u59cb\u5316\u4efb\u52a1\u3002\u53ea\u6709\u5728\u8fd9\u65f6\uff0ccsrss.exe\u624d\u5f97\u5230\u5173\u4e8e\u65b0\u8fdb\u7a0b\u7684\u901a\u77e5\uff0c\u4f46\u5b83\u5e76\u4e0d\u671f\u671b\u8be5\u8fdb\u7a0b\u6709\u4e00\u4e2a\u521d\u59cb\u5316\u7684\u63a7\u5236\u53f0\uff0c\u5e76\u8fd4\u56de\u4e00\u4e2a\u9519\u8bef\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"995\" src=\"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/04\/image-47-1024x995.png\" alt=\"\" class=\"wp-image-603\" srcset=\"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-47-1024x995.png 1024w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-47-300x291.png 300w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-47-768x746.png 768w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-47-535x520.png 535w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-47-900x874.png 900w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-47-500x486.png 500w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-47.png 1266w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e3a\u4e86\u514b\u670d\u8fd9\u4e2a\u95ee\u9898\u548c\u5176\u4ed6\u7531\u65e9\u671f\u6ce8\u5165\u7684\u7ebf\u7a0b\u6267\u884c\u5f15\u8d77\u7684\u6f5c\u5728\u95ee\u9898\uff0c\u6211\u4ece\u7528CreateRemoteThread\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u7ebf\u7a0b\u8f6c\u4e3a\u5728\u8fdb\u7a0b\u8fd8\u6ca1\u6709\u5f00\u59cb\u6267\u884c\u7684\u60c5\u51b5\u4e0b\u6392\u961f\u7b49\u5f85APC\uff08\u5f02\u6b65\u7a0b\u5e8f\u8c03\u7528\uff09\u3002\u5173\u4e8eAPC\u7684\u4e00\u7bc7\u4f1f\u5927\u7684\u6280\u672f\u535a\u6587\uff0c\u8bf7\u770bAPC\u7cfb\u5217\u3002Ori Damari\u7684\u300a\u7528\u6237APC API\u300b\uff08<a href=\"https:\/\/repnz.github.io\/posts\/apc\/user-apc\/\uff09\u3002\u5173\u4e8e\u5b9e\u73b0\u7684\u4e00\u4e9b\u8bf4\u660e\u3002\">https:\/\/repnz.github.io\/posts\/apc\/user-apc\/\uff09\u3002\u5173\u4e8e\u5b9e\u73b0\u7684\u4e00\u4e9b\u8bf4\u660e:<\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u7528\u4e86\u672a\u8bb0\u5f55\u7684NtQueueApcThread\u51fd\u6570\uff0c\u56e0\u4e3a\u8bb0\u5f55\u7684QueueUserAPC\u51fd\u6570\u7531\u4e8e\u6fc0\u6d3b\u4e0a\u4e0b\u6587\u7684\u5904\u7406\u800c\u4e0d\u9002\u5408\u8fdb\u7a0b\u95f4APC\u6392\u961f\u3002<\/li><li>NtQueueApcThread\u4e0d\u5141\u8bb8\u5728\u8fdc\u7a0b64\u4f4d\u8fdb\u7a0b\u4e2d\u4ece32\u4f4d\u8fdb\u7a0b\u4e2d\u6392\u961f\u8d2d\u4e70APC\u3002wow64ext\u5e93\uff08<a href=\"https:\/\/github.com\/rwfpl\/rewolf-wow64ext\uff09\u88ab\u7528\u6765\u514b\u670d\u8fd9\u4e2a\u9650\u5236\u3002\">https:\/\/github.com\/rwfpl\/rewolf-wow64ext\uff09\u88ab\u7528\u6765\u514b\u670d\u8fd9\u4e2a\u9650\u5236\u3002<\/a><\/li><li>\u5bf9\u4e8e\u4ece64\u4f4d\u8fdb\u7a0b\u5728\u8fdc\u7a0b32\u4f4d\u8fdb\u7a0b\u4e2d\u6392\u961f\u7684APC\uff0c\u5fc5\u987b\u5bf9\u5730\u5740\u53c2\u6570\u8fdb\u884c\u7f16\u7801\u3002\u6211\u4f7f\u7528\u4e86APC\u7cfb\u5217\u3002KiUserApcDispatcher\u548cWow64\uff08<a href=\"https:\/\/repnz.github.io\/posts\/apc\/wow64-user-apc\/\uff09\u7684\u535a\u6587\uff0c\u7531Ori\">https:\/\/repnz.github.io\/posts\/apc\/wow64-user-apc\/\uff09\u7684\u535a\u6587\uff0c\u7531Ori<\/a> Damari\u4f5c\u4e3a\u53c2\u8003\u3002<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f46\u6ce8\u5165\u7a0b\u5e8f\u5982\u4f55\u77e5\u9053\u8fdb\u7a0b\u662f\u5426\u5f00\u59cb\u6267\u884c\uff08\u7136\u540e\u50cf\u4ee5\u524d\u4e00\u6837\u4f7f\u7528CreateRemoteThread\uff09\u6216\u4e0d\u6267\u884c\uff08\u7136\u540e\u6392\u4e00\u4e2aAPC\uff09\uff1f\u5b83\u68c0\u67e5\u662f\u5426\u53ea\u6709\u4e00\u4e2a\u7ebf\u7a0b\uff0c\u5982\u679c\u662f\u7684\u8bdd\uff0c\u5b83\u662f\u5426\u7528RtlUserThreadStart\u7684\u6307\u4ee4\u6307\u9488\u6682\u505c\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5b83\u5f97\u51fa\u7ed3\u8bba\uff0c\u8be5\u8fdb\u7a0b\u6ca1\u6709\u5f00\u59cb\u6267\u884c\uff0c\u5e76\u6392\u961f\u7b49\u5f85APC\uff0c\u800c\u4e0d\u662f\u521b\u5efa\u4e00\u4e2a\u8fdc\u7a0b\u7ebf\u7a0b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u652f\u6301UWP\u5e94\u7528\u7a0b\u5e8f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u6211\u6ce8\u610f\u5230\u7684\u4e0b\u4e00\u4ef6\u4e8b\u662f\uff0cDLL\u6ca1\u6709\u88ab\u6ce8\u5165\u5230UWP\u5e94\u7528\u7a0b\u5e8f\u7684\u8fdb\u7a0b\u4e2d\uff0c\u5982Windows Calculator\u3002\u52a0\u8f7dDLL\u7684\u4ee3\u7801\u88ab\u6210\u529f\u6ce8\u5165\uff0c\u4f46DLL\u52a0\u8f7d\u5931\u8d25\uff0c\u51fa\u73b0ERROR_ACCESS_DENIED\u3002\u95ee\u9898\u662f\uff0cUWP\u5e94\u7528\u7a0b\u5e8f\u5bf9\u6587\u4ef6\u7cfb\u7edf\u7684\u8bbf\u95ee\u662f\u6709\u9650\u7684\uff0c\u5b83\u4eec\u6ca1\u6709\u6743\u9650\u52a0\u8f7dDLL\u3002\u6539\u53d8DLL\u6587\u4ef6\u7684\u6743\u9650\u53ef\u4ee5\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u6539\u53d8DLL\u6587\u4ef6\u7684\u6743\u9650\uff0c\u4f7fUWP\u5e94\u7528\u7a0b\u5e8f\u80fd\u591f\u52a0\u8f7d\u5b83:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>icacls global-inject-lib.dll \/grant everyone:RX<br>icacls global-inject-lib.dll \/grant *S-1-15-2-1:RX<br>icacls global-inject-lib.dll \/grant *S-1-15-2-2:RX<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u53e6\u4e00\u4e2a\u95ee\u9898\u662f\uff0c\u6ce8\u5c04\u7a0b\u5e8f\u548cUWP\u5e94\u7528\u7a0b\u5e8f\u4e4b\u95f4\u4e0d\u80fd\u901a\u8fc7\u4f7f\u7528\u76f8\u540c\u7684\u4e92\u65a5\u540d\u79f0\u6765\u5171\u4eab\u4e92\u65a5\u3002UWP\u5e94\u7528\u7a0b\u5e8f\u662f\u6c99\u76d2\u7684\uff0c\u6bcf\u4e2aUWP\u5e94\u7528\u7a0b\u5e8f\u90fd\u6709\u81ea\u5df1\u7684\u5bf9\u8c61\u76ee\u5f55\u3002\u4e00\u4e2aUWP\u5e94\u7528\u7a0b\u5e8f\u4e0d\u80fd\u4ee5\u540d\u79f0\u5f15\u7528\u5176\u5bf9\u8c61\u76ee\u5f55\u4e4b\u5916\u7684\u5bf9\u8c61\u3002\u6211\u80fd\u591f\u901a\u8fc7\u4f7f\u7528\u9c9c\u4e3a\u4eba\u77e5\u7684\u79c1\u6709\u547d\u540d\u7a7a\u95f4API\uff08<a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/namespaceapi\/nf-namespaceapi-createprivatenamespacew\uff09\u6765\u514b\u670d\u8fd9\u4e00\u9650\u5236\u3002\u5173\u4e8eWindows\u4e2d\u547d\u540d\u5bf9\u8c61\u7684\u4f1f\u5927\u6982\u8ff0\uff0c\u5305\u62ecUWP\u6c99\u76d2\u548c\u79c1\u6709\u547d\u540d\u7a7a\u95f4\uff0c\u8bf7\u67e5\u770bJames\">https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/namespaceapi\/nf-namespaceapi-createprivatenamespacew\uff09\u6765\u514b\u670d\u8fd9\u4e00\u9650\u5236\u3002\u5173\u4e8eWindows\u4e2d\u547d\u540d\u5bf9\u8c61\u7684\u4f1f\u5927\u6982\u8ff0\uff0c\u5305\u62ecUWP\u6c99\u76d2\u548c\u79c1\u6709\u547d\u540d\u7a7a\u95f4\uff0c\u8bf7\u67e5\u770bJames<\/a> Forshaw\u7684\u535a\u6587\u300aWindows NT\u4e0aBaseNamedObjects\u7684\u7b80\u53f2\u300b\uff08<a href=\"https:\/\/www.tiraniddo.dev\/2019\/02\/a-brief-history-of-basenamedobjects-on.html\uff09\u3002\">https:\/\/www.tiraniddo.dev\/2019\/02\/a-brief-history-of-basenamedobjects-on.html\uff09\u3002<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6d41\u7a0b\u7f13\u89e3\u653f\u7b56\u548c\u7cfb\u7edf\u9519\u8bef<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u53e6\u4e00\u79cd\u60c5\u51b5\u662f\uff0cDLL\u6ca1\u6709\u88ab\u6ce8\u5165\u5230\u8fdb\u7a0b\u4e2d\u7684\u60c5\u51b5\u662f\uff0c\u8fdb\u7a0b\u6709\u4e00\u4e2a\u7f13\u89e3\u7b56\u7565\uff0c\u9650\u5236\u56fe\u50cf\u52a0\u8f7d\u5230\u5df2\u7b7e\u540d\u7684\u56fe\u50cf\u3002\u5728\u6211\u6d4b\u8bd5\u7684Windows 10\u673a\u5668\u4e0a\u6709\u4e24\u4e2a\u8fd9\u6837\u7684\u8fdb\u7a0b\uff1afontdrvhost.exe\u548c\u4e3b\u6301DiagTrack\u670d\u52a1\uff08diagtrack.dll\uff09\u7684svchost.exe\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"693\" height=\"565\" src=\"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/04\/image-48.png\" alt=\"\" class=\"wp-image-604\" srcset=\"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-48.png 693w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-48-300x245.png 300w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-48-535x436.png 535w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-48-500x408.png 500w\" sizes=\"(max-width: 693px) 100vw, 693px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0eUWP\u7684\u60c5\u51b5\u7c7b\u4f3c\uff0c\u52a0\u8f7dDLL\u7684\u4ee3\u7801\u88ab\u6210\u529f\u6ce8\u5165\uff0c\u4f46DLL\u52a0\u8f7d\u5931\u8d25\uff0c\u8fd9\u6b21\u662fERROR_INVALID_IMAGE_HASH\u3002\u4f46\u4e0eUWP\u7684\u60c5\u51b5\u4e0d\u540c\uff0c\u6ca1\u6709\u76f4\u63a5\u7684\u89e3\u51b3\u65b9\u6cd5\u3002\u6211\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528\u53cd\u5c04\u5f0fDLL\u6ce8\u5165\uff08<a href=\"https:\/\/github.com\/stephenfewer\/ReflectiveDLLInjection\uff09\uff08\u4ece\u5185\u5b58\u4e2d\u624b\u52a8\u52a0\u8f7dDLL\uff09\uff0c\u4f46\u6211\u6ca1\u6709\u7406\u4f1a\uff0c\u56e0\u4e3a\u5b83\u4f7f\u89e3\u51b3\u65b9\u6848\u590d\u6742\u5316\uff0c\u800c\u4e14\u53ef\u80fd\u4f1a\u6709\u9677\u9631\uff0c\u56e0\u4e3a\u80fd\u591f\u5b9a\u5236\u7a0b\u5e8f\u7684\u597d\u5904\u4e0d\u591a\uff0c\u53cd\u6b63\u4e0d\u662f\u5f88\u6709\u8da3\u3002\">https:\/\/github.com\/stephenfewer\/ReflectiveDLLInjection\uff09\uff08\u4ece\u5185\u5b58\u4e2d\u624b\u52a8\u52a0\u8f7dDLL\uff09\uff0c\u4f46\u6211\u6ca1\u6709\u7406\u4f1a\uff0c\u56e0\u4e3a\u5b83\u4f7f\u89e3\u51b3\u65b9\u6848\u590d\u6742\u5316\uff0c\u800c\u4e14\u53ef\u80fd\u4f1a\u6709\u9677\u9631\uff0c\u56e0\u4e3a\u80fd\u591f\u5b9a\u5236\u7a0b\u5e8f\u7684\u597d\u5904\u4e0d\u591a\uff0c\u53cd\u6b63\u4e0d\u662f\u5f88\u6709\u8da3\u3002<\/a><br>\u6211\u5bf9\u4e0d\u80fd\u7528\u8fd9\u79cd\u7f13\u89e3\u63aa\u65bd\u6765\u5b9a\u5236\u7a0b\u5e8f\u6ca1\u6709\u610f\u89c1\uff0c\u4f46\u8fd9\u79cd\u9650\u5236\u6709\u4e00\u4e2a\u4ee4\u4eba\u4e0d\u5feb\u7684\u526f\u4f5c\u7528\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u5f53DLL\u52a0\u8f7d\u5931\u8d25\u65f6\uff0cWindows\u4f1a\u663e\u793a\u4e00\u4e2a\u7cfb\u7edf\u9519\u8bef\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"440\" height=\"225\" src=\"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/04\/image-49.png\" alt=\"\" class=\"wp-image-605\" srcset=\"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-49.png 440w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-49-300x153.png 300w\" sizes=\"(max-width: 440px) 100vw, 440px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>he system error can be reproduced by running the following program and then running the injection program:\n\u901a\u8fc7\u8fd0\u884c\u4ee5\u4e0b\u7a0b\u5e8f\uff0c\u7136\u540e\u8fd0\u884c\u6ce8\u5165\u7a0b\u5e8f\uff0c\u53ef\u4ee5\u91cd\u73b0\u7cfb\u7edf\u9519\u8bef\u3002\n#include &lt;windows.h>\n\nint WINAPI WinMain(\n    HINSTANCE hInstance,\n    HINSTANCE hPrevInstance,\n    LPSTR     lpCmdLine,\n    int       nShowCmd\n)\n{\n    PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY p = { 0 };\n    p.MicrosoftSignedOnly = 1;\n    if (SetProcessMitigationPolicy(ProcessSignaturePolicy, &amp;p, sizeof(p))) {\n        MessageBox(NULL, L\"Mitigation applied, press OK to exit\", L\"\", MB_OK);\n    }\n}\nAfter some investigation, I found that this behavior can be controlled with the SetErrorMode, SetThreadErrorMode WinAPI functions. I used SetThreadErrorMode to turn off the critical-error-handler message box while trying to load the DLL.\n\nHooking performance\nAfter handling all of the limitations above, the solution felt pretty solid and I didn\u2019t encounter any other problems. But after using the computer with it for a while, I noticed that it takes noticeably longer for some programs to launch. The reason for this was that MinHook, the hooking library that I used, enumerates all the threads on the system and looks for threads that belong to the current process to suspend them. Enumerating all system threads can be very slow, on my system it took more than 300 milliseconds. I improved this by doing the following:\n\nInstead of enumerating all threads on the system, I use the undocumented NtGetNextThread function to directly enumerate threads that belong to the current process. In addition to improving performance, it also improves stability by avoiding race conditions. For a comprehensive overview, check out the Suspending Techniques research by diversenok.\nWhen injecting into a process which didn\u2019t start executing yet, I skip the thread enumeration altogether, since there should be no other running threads anyway.\nYou can find the code that enables this in my MinHook multihook branch. Among other changes the branch has is the ability for a function to be hooked more than once. In general, I found that reliable function hooking is more tricky than it might seem at first. For example, consider what happens if a DLL sets a hook and then needs to be unloaded. When is it safe to unload it? Can you be sure? But that\u2019s a topic for another post.\n\nImplementation code and summary\nAn implementation that handles all the limitations mentioned in this post can be found here. I\u2019m pretty satisfied with the result. I\u2019ve been using my computer with Windhawk, which uses this global injection and hooking implementation, for several months, and I didn\u2019t experience any stability, performance, or any other problems. I hope that Windhawk will prove itself as a reliable tool for customizing Windows programs, and I invite you to try it out.<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u6240\u9700\u8fdb\u7a0b\u7684\u80cc\u666f\u4e0b\u52a0\u8f7d\u8fd9\u4e9bDLL\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2aMOD\uff0c\u94a9\u4f4fMessageBoxW\uff09WinAPI\u51fd\u6570\uff0c\u5e76\u5b9a\u4e49\u8be5MOD\u5e94\u9002\u7528\u4e8e\u6240\u6709\u8fdb\u7a0b\u3002<\/p>\n","protected":false},"author":1,"featured_media":142,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-593","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technews","col-md-12"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u5728Windows\u4e2d\u5b9e\u73b0\u5168\u5c40\u6ce8\u5165 - WITE<\/title>\n<meta name=\"description\" content=\"\u5728\u6240\u9700\u8fdb\u7a0b\u7684\u80cc\u666f\u4e0b\u52a0\u8f7d\u8fd9\u4e9bDLL\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2aMOD\uff0c\u94a9\u4f4fMessageBoxW\uff09WinAPI\u51fd\u6570\uff0c\u5e76\u5b9a\u4e49\u8be5MOD\u5e94\u9002\u7528\u4e8e\u6240\u6709\u8fdb\u7a0b\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wite.oxoooo.com\/?p=593\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728Windows\u4e2d\u5b9e\u73b0\u5168\u5c40\u6ce8\u5165 - WITE\" \/>\n<meta property=\"og:description\" content=\"\u5728\u6240\u9700\u8fdb\u7a0b\u7684\u80cc\u666f\u4e0b\u52a0\u8f7d\u8fd9\u4e9bDLL\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2aMOD\uff0c\u94a9\u4f4fMessageBoxW\uff09WinAPI\u51fd\u6570\uff0c\u5e76\u5b9a\u4e49\u8be5MOD\u5e94\u9002\u7528\u4e8e\u6240\u6709\u8fdb\u7a0b\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wite.oxoooo.com\/?p=593\" \/>\n<meta property=\"og:site_name\" content=\"WITE\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-24T07:09:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-27T01:13:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/03\/Untitled-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=593#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=593\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/#\\\/schema\\\/person\\\/6de7ebedd5138c5fc355c9211e2cd445\"},\"headline\":\"\u5728Windows\u4e2d\u5b9e\u73b0\u5168\u5c40\u6ce8\u5165\",\"datePublished\":\"2022-04-24T07:09:13+00:00\",\"dateModified\":\"2022-04-27T01:13:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=593\"},\"wordCount\":402,\"publisher\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/#\\\/schema\\\/person\\\/00c6377b90c41a8d0789bd572010a7ea\"},\"image\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=593#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wite.oxoooo.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/Untitled-1.jpg\",\"articleSection\":[\"\u65f6\u523b\"],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=593\",\"url\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=593\",\"name\":\"\u5728Windows\u4e2d\u5b9e\u73b0\u5168\u5c40\u6ce8\u5165 - WITE\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=593#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=593#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wite.oxoooo.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/Untitled-1.jpg\",\"datePublished\":\"2022-04-24T07:09:13+00:00\",\"dateModified\":\"2022-04-27T01:13:41+00:00\",\"description\":\"\u5728\u6240\u9700\u8fdb\u7a0b\u7684\u80cc\u666f\u4e0b\u52a0\u8f7d\u8fd9\u4e9bDLL\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2aMOD\uff0c\u94a9\u4f4fMessageBoxW\uff09WinAPI\u51fd\u6570\uff0c\u5e76\u5b9a\u4e49\u8be5MOD\u5e94\u9002\u7528\u4e8e\u6240\u6709\u8fdb\u7a0b\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=593#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wite.oxoooo.com\\\/?p=593\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=593#primaryimage\",\"url\":\"https:\\\/\\\/wite.oxoooo.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/Untitled-1.jpg\",\"contentUrl\":\"https:\\\/\\\/wite.oxoooo.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/Untitled-1.jpg\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=593#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/wite.oxoooo.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728Windows\u4e2d\u5b9e\u73b0\u5168\u5c40\u6ce8\u5165\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/#website\",\"url\":\"https:\\\/\\\/wite.oxoooo.com\\\/\",\"name\":\"WITE\",\"description\":\"\u805a\u7126\u6280\u672f\u9886\u57df\u521b\u65b0\",\"publisher\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/#\\\/schema\\\/person\\\/00c6377b90c41a8d0789bd572010a7ea\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wite.oxoooo.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/#\\\/schema\\\/person\\\/00c6377b90c41a8d0789bd572010a7ea\",\"name\":\"hgostand\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.hgostand.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/\u8d44\u6e90-4@4x.png\",\"url\":\"https:\\\/\\\/www.hgostand.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/\u8d44\u6e90-4@4x.png\",\"contentUrl\":\"https:\\\/\\\/www.hgostand.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/\u8d44\u6e90-4@4x.png\",\"width\":824,\"height\":618,\"caption\":\"hgostand\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.hgostand.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/\u8d44\u6e90-4@4x.png\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/#\\\/schema\\\/person\\\/6de7ebedd5138c5fc355c9211e2cd445\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/cropped-cropped-logo-1-150x150.png\",\"url\":\"https:\\\/\\\/wite.oxoooo.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/cropped-cropped-logo-1-150x150.png\",\"contentUrl\":\"https:\\\/\\\/wite.oxoooo.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/cropped-cropped-logo-1-150x150.png\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.hgostand.com\"],\"url\":\"https:\\\/\\\/wite.oxoooo.com\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5728Windows\u4e2d\u5b9e\u73b0\u5168\u5c40\u6ce8\u5165 - WITE","description":"\u5728\u6240\u9700\u8fdb\u7a0b\u7684\u80cc\u666f\u4e0b\u52a0\u8f7d\u8fd9\u4e9bDLL\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2aMOD\uff0c\u94a9\u4f4fMessageBoxW\uff09WinAPI\u51fd\u6570\uff0c\u5e76\u5b9a\u4e49\u8be5MOD\u5e94\u9002\u7528\u4e8e\u6240\u6709\u8fdb\u7a0b\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wite.oxoooo.com\/?p=593","og_locale":"zh_CN","og_type":"article","og_title":"\u5728Windows\u4e2d\u5b9e\u73b0\u5168\u5c40\u6ce8\u5165 - WITE","og_description":"\u5728\u6240\u9700\u8fdb\u7a0b\u7684\u80cc\u666f\u4e0b\u52a0\u8f7d\u8fd9\u4e9bDLL\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2aMOD\uff0c\u94a9\u4f4fMessageBoxW\uff09WinAPI\u51fd\u6570\uff0c\u5e76\u5b9a\u4e49\u8be5MOD\u5e94\u9002\u7528\u4e8e\u6240\u6709\u8fdb\u7a0b\u3002","og_url":"https:\/\/wite.oxoooo.com\/?p=593","og_site_name":"WITE","article_published_time":"2022-04-24T07:09:13+00:00","article_modified_time":"2022-04-27T01:13:41+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/03\/Untitled-1.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"6 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wite.oxoooo.com\/?p=593#article","isPartOf":{"@id":"https:\/\/wite.oxoooo.com\/?p=593"},"author":{"name":"admin","@id":"https:\/\/wite.oxoooo.com\/#\/schema\/person\/6de7ebedd5138c5fc355c9211e2cd445"},"headline":"\u5728Windows\u4e2d\u5b9e\u73b0\u5168\u5c40\u6ce8\u5165","datePublished":"2022-04-24T07:09:13+00:00","dateModified":"2022-04-27T01:13:41+00:00","mainEntityOfPage":{"@id":"https:\/\/wite.oxoooo.com\/?p=593"},"wordCount":402,"publisher":{"@id":"https:\/\/wite.oxoooo.com\/#\/schema\/person\/00c6377b90c41a8d0789bd572010a7ea"},"image":{"@id":"https:\/\/wite.oxoooo.com\/?p=593#primaryimage"},"thumbnailUrl":"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/03\/Untitled-1.jpg","articleSection":["\u65f6\u523b"],"inLanguage":"zh-Hans"},{"@type":"WebPage","@id":"https:\/\/wite.oxoooo.com\/?p=593","url":"https:\/\/wite.oxoooo.com\/?p=593","name":"\u5728Windows\u4e2d\u5b9e\u73b0\u5168\u5c40\u6ce8\u5165 - WITE","isPartOf":{"@id":"https:\/\/wite.oxoooo.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wite.oxoooo.com\/?p=593#primaryimage"},"image":{"@id":"https:\/\/wite.oxoooo.com\/?p=593#primaryimage"},"thumbnailUrl":"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/03\/Untitled-1.jpg","datePublished":"2022-04-24T07:09:13+00:00","dateModified":"2022-04-27T01:13:41+00:00","description":"\u5728\u6240\u9700\u8fdb\u7a0b\u7684\u80cc\u666f\u4e0b\u52a0\u8f7d\u8fd9\u4e9bDLL\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2aMOD\uff0c\u94a9\u4f4fMessageBoxW\uff09WinAPI\u51fd\u6570\uff0c\u5e76\u5b9a\u4e49\u8be5MOD\u5e94\u9002\u7528\u4e8e\u6240\u6709\u8fdb\u7a0b\u3002","breadcrumb":{"@id":"https:\/\/wite.oxoooo.com\/?p=593#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wite.oxoooo.com\/?p=593"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/wite.oxoooo.com\/?p=593#primaryimage","url":"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/03\/Untitled-1.jpg","contentUrl":"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/03\/Untitled-1.jpg","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/wite.oxoooo.com\/?p=593#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/wite.oxoooo.com\/"},{"@type":"ListItem","position":2,"name":"\u5728Windows\u4e2d\u5b9e\u73b0\u5168\u5c40\u6ce8\u5165"}]},{"@type":"WebSite","@id":"https:\/\/wite.oxoooo.com\/#website","url":"https:\/\/wite.oxoooo.com\/","name":"WITE","description":"\u805a\u7126\u6280\u672f\u9886\u57df\u521b\u65b0","publisher":{"@id":"https:\/\/wite.oxoooo.com\/#\/schema\/person\/00c6377b90c41a8d0789bd572010a7ea"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wite.oxoooo.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/wite.oxoooo.com\/#\/schema\/person\/00c6377b90c41a8d0789bd572010a7ea","name":"hgostand","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/03\/\u8d44\u6e90-4@4x.png","url":"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/03\/\u8d44\u6e90-4@4x.png","contentUrl":"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/03\/\u8d44\u6e90-4@4x.png","width":824,"height":618,"caption":"hgostand"},"logo":{"@id":"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/03\/\u8d44\u6e90-4@4x.png"}},{"@type":"Person","@id":"https:\/\/wite.oxoooo.com\/#\/schema\/person\/6de7ebedd5138c5fc355c9211e2cd445","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/11\/cropped-cropped-logo-1-150x150.png","url":"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/11\/cropped-cropped-logo-1-150x150.png","contentUrl":"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/11\/cropped-cropped-logo-1-150x150.png","caption":"admin"},"sameAs":["http:\/\/www.hgostand.com"],"url":"https:\/\/wite.oxoooo.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=\/wp\/v2\/posts\/593","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=593"}],"version-history":[{"count":2,"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=\/wp\/v2\/posts\/593\/revisions"}],"predecessor-version":[{"id":607,"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=\/wp\/v2\/posts\/593\/revisions\/607"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=\/wp\/v2\/media\/142"}],"wp:attachment":[{"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}