{"id":535392,"date":"2021-09-05T15:33:26","date_gmt":"2021-09-05T07:33:26","guid":{"rendered":"http:\/\/4563.org\/?p=535392"},"modified":"2021-09-05T15:33:26","modified_gmt":"2021-09-05T07:33:26","slug":"%e8%af%b7%e6%95%99%e5%8a%ab%e6%8c%81-dll-%e9%9d%9e-win32-api-%e7%9a%84%e7%ae%80%e5%8d%95%e6%96%b9%e6%b3%95-%e6%9c%89%e5%ae%8c%e6%95%b4%e5%a4%b4%e6%96%87%e4%bb%b6","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=535392","title":{"rendered":"\u8bf7\u6559\u52ab\u6301 DLL (\u975e Win32 API) \u7684\u7b80\u5355\u65b9\u6cd5 &#8211; \u6709\u5b8c\u6574\u5934\u6587\u4ef6"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1> \u8bf7\u6559\u52ab\u6301 DLL (\u975e Win32 API) \u7684\u7b80\u5355\u65b9\u6cd5 &#8211; \u6709\u5b8c\u6574\u5934\u6587\u4ef6 <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nealot <\/span>  <span><i><\/i> 10<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> \u5047\u8bbe\u6709\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f x.exe \u5728\u8fd0\u884c\u65f6\u4f1a\u8c03\u7528 y.dll \uff1b\u5047\u8bbe y \u662f\u7528 C \u8bed\u8a00\u7f16\u5199\u7684\uff0c\u5df2\u7ecf\u62ff\u5230\u4e86 y.dll \u7684\u5934\u6587\u4ef6 (.h)<br \/>\u73b0\u5728\u6211\u60f3\u5728 y.dll \u4e2d\u7684\u90e8\u5206\u51fd\u6570\u88ab\u8c03\u7528\u65f6\uff0c\u8f93\u51fa\u51fd\u6570\u7684\u8c03\u7528\u53c2\u6570\u4ee5\u4fbf\u89c2\u5bdf (\u53ef\u4ee5\u8f93\u51fa\u5230\u4e34\u65f6\u6587\u4ef6)\uff0c\u8bf7\u95ee\u6bd4\u8f83\u7b80\u5355\u7684\u65b9\u6cd5\u6709\u54ea\u4e9b\uff1f<br \/>API \u4e2d\u603b\u5171\u6709\u4e03\u516b\u5341\u4e2a\u51fd\u6570\u7684\u6837\u5b50\uff0c\u9700\u8981\u6253\u5370\u4fe1\u606f\u51fd\u6570\u7684\u6709\u4e24\u4e09\u4e2a  <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>9<\/span>) <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"6704404\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ysc3839 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u53ea\u8981\u6539\u5176\u4e2d\u5c11\u6570\u51e0\u4e2a\u7684\u8bdd\uff0c\u53ef\u80fd\u7528 hook \u66f4\u7b80\u5355\uff0c\u4f46\u662f\u4f60\u5f97\u5728 x.exe \u8c03\u7528 y.dll \u4e4b\u524d\u5c31 hook \u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6704405\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : codehz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u6709\u5934\u6587\u4ef6\u7684\u8bdd\u3002\u3002\u4f60\u76f4\u63a5\u628a\u539f dll \u6539\u4e2a\u540d\uff0c\u7136\u540e\u4f60\u505a\u4e2a\u5047\u7684 dll \u8f6c\u53d1\u6bcf\u4e2a\u51fd\u6570\u8fdb\u53bb\u5c31\u597d\u4e86\u3002\u3002\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6704406\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : janxin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u542c\u4e0a\u53bb AheadLib \u4e4b\u7c7b\u7684\u5de5\u5177\u5c31\u80fd\u6ee1\u8db3\u4f60\u7684\u9700\u6c42 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6704407\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mingl0280 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u51fd\u6570\u6253\u6869\uff08\u4f60\u53ef\u4ee5\u81ea\u5df1\u641c\u4e00\u4e0b\uff09\u5c31\u884c\u4e86\uff0c\u8fd9\u4e2a\u6bd4\u8f83\u7b80\u5355\uff0c\u539f\u7406\u5c31\u662f\u66ff\u6362\u6389\u51fd\u6570\u5165\u53e3\u5730\u5740\u4e0a\u7684\u6307\u4ee4\uff0c\u6539\u6210 jmp \u5230\u4f60\u81ea\u5df1\u7684\u5730\u5740\u5904\u7406\u5b8c\u4e86\u518d\u63a5\u7740\u8c03\u7528\u539f\u6765\u7684\u51fd\u6570\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6704408\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : typetraits <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> 2 \u7684\u65b9\u6cd5\u662f\u6700\u5feb\u7684\uff0c\u81ea\u5df1\u5199\u4e2a\u7b7e\u540d\u76f8\u540c\u7684 wrapper \u51fd\u6570\u7f16\u8bd1\u6210 dll\uff0c\u5728\u4f60\u81ea\u5df1\u7684 dll \u91cc\u8c03\u7528 LoadLibrary GetProcAddress \u52a0\u8f7d y.dll \u7684\u51fd\u6570\u5c31\u53ef\u4ee5\u4e86 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6704409\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liberize <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u4ee5\u524d\u505a\u8fc7\u4e00\u4e2a\u7c7b\u4f3c\u7684<br \/>https:\/\/github.com\/liberize\/pecmd-decrypt <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6704410\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : IsaacYoung <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u5fae\u8f6f\u6709 detours \u7684\u5e93 \u4e13\u95e8 hook \u7528\u7684 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6704411\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : thedrwu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u5982\u679c\u4e0d\u60f3\u6302\u51fd\u6570\u94a9\u5b50\u4e5f\u4e0d\u60f3 wrap \u6574\u4e2a dll\uff0c\u90a3\u5c31\u518d\u6302\u4e2a\u81ea\u5df1\u7684 dll \u628a\u539f\u672c\u7684\u51fd\u6570\u5730\u4e3b\u6539\u4e86\u6216\u8005\u8bbe\u4e2a jmp \u518d\u8df3\u56de\u53bb\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6704412\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jones2000 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u4e00\u5b9a\u8981\u5c0f\u5fc3\u3002 \u5426\u5219\u8981\u88ab\u8bf7\u53bb\u559d\u8336\u3002<br \/>\u300a\u5211\u6cd5\u300b\u7b2c\u4e8c\u767e\u516b\u5341\u4e94\u6761 [\u975e\u6cd5\u4fb5\u5165\u8ba1\u7b97\u673a\u4fe1\u606f\u7cfb\u7edf\u7f6a\uff1b\u975e\u6cd5\u83b7\u53d6\u8ba1\u7b97\u673a\u4fe1\u606f\u7cfb\u7edf\u6570\u636e\u3001\u975e\u6cd5\u63a7\u5236\u8ba1\u7b97\u673a\u4fe1\u606f\u7cfb\u7edf\u7f6a\uff1b\u63d0\u4f9b\u4fb5\u5165\u3001\u975e\u6cd5\u63a7\u5236\u8ba1\u7b97\u673a\u4fe1\u606f\u7cfb\u7edf\u7a0b\u5e8f\u3001\u5de5\u5177\u7f6a] <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8bf7\u6559\u52ab\u6301 DLL (\u975e Win32&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/535392"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=535392"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/535392\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=535392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=535392"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=535392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}