{"id":63661,"date":"2020-04-06T09:00:00","date_gmt":"2020-04-06T01:00:00","guid":{"rendered":"https:\/\/blog.trendmicro.com.tw\/?p=63661"},"modified":"2020-03-24T15:23:11","modified_gmt":"2020-03-24T07:23:11","slug":"%e7%b7%9a%e4%b8%8a%e7%a8%8b%e5%bc%8f%e9%96%8b%e7%99%bc%e5%b9%b3%e5%8f%b0%e7%9a%84%e8%b3%87%e5%ae%89%e9%a2%a8%e9%9a%aa","status":"publish","type":"post","link":"https:\/\/blog.trendmicro.com.tw\/?p=63661","title":{"rendered":"\u7dda\u4e0a\u7a0b\u5f0f\u958b\u767c\u5e73\u53f0\u7684\u8cc7\u5b89\u98a8\u96aa"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large\"><img decoding=\"async\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2019\/12\/feature_vul-300x300-200x200.jpg\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>\u5728\u6574\u5408\u5f0f\u958b\u767c\u74b0\u5883 (IDE) \u767b\u4e0a\u96f2\u7aef\u4e4b\u524d\uff0c\u7a0b\u5f0f\u958b\u767c\u4eba\u54e1\u5f97\u5c07\u6574\u5957\u958b\u767c\u74b0\u5883\u5b89\u88dd\u5728\u81ea\u5df1\u7684\u96fb\u8166\u4e0a\u3002\u4f46\u96a8\u8457 <a rel=\"noreferrer noopener\" href=\"https:\/\/www.trendmicro.com\/vinfo\/us\/security\/definition\/devops\" target=\"_blank\">DevOps<\/a> \u65e5\u76ca\u53d7\u5230\u9752\u775e\u4ee5\u53ca\u96f2\u7aef\u904b\u7b97\u4e0d\u65b7\u6210\u9577\uff0c\u73fe\u5728\u7a0b\u5f0f\u958b\u767c\u4eba\u54e1\u4e5f\u53ef\u4ee5\u5728\u7dda\u4e0a\u64b0\u5beb\u7a0b\u5f0f\u3002\u9019\u6a23\u7684\u6a21\u5f0f\u78ba\u5be6\u65b9\u4fbf\uff0c\u4f46\u7dda\u4e0a IDE \u662f\u5426\u771f\u7684\u5b89\u5168\uff1f\u70ba\u4e86\u56de\u7b54\u9019\u500b\u554f\u984c\uff0c\u6211\u5011\u5c31\u4f86\u770b\u770b\u6642\u4e0b\u6700\u6d41\u884c\u7684\u5169\u5957\u96f2\u7aef IDE\uff1aAWS Cloud9 \u548c Visual Studio Online\u3002<\/p><\/blockquote>\n\n\n\n<p>\u7576\u60a8\u5728\u7dda\u4e0a\u64b0\u5beb\u7a0b\u5f0f\u6642\uff0cIDE\n\u5176\u5be6\u53ea\u662f\u5c07\u756b\u9762\u5448\u73fe\u5728\u700f\u89bd\u5668\u5167\uff0c\u700f\u89bd\u5668\u7684 JavaScript \u5f15\u64ce\u6703\u5728\u80cc\u5f8c\u4f7f\u7528 WebSocket \u8207\u60a8\u7684\u9060\u7aef\u76ee\u6a19\u88dd\u7f6e (\u4e5f\u5c31\u662f\u865b\u64ec\u79c1\u4eba\u4f3a\u670d\u5668\uff0cVPS) \u5efa\u7acb\nSSH (Secure Shell) \u5b89\u5168\u9023\u7dda\uff0c\u7136\u5f8c\u63d0\u4f9b\u4e00\u500b\u60a8\u6240\u719f\u6089\u7684\u7d42\u7aef\u756b\u9762\u4f86\u8b93\u60a8\u57f7\u884c\u5404\u7a2e\u6307\u4ee4\u3002\u958b\u767c\u74b0\u5883 (\u4e5f\u5c31\u662f\u9060\u7aef\u7684\u96f2\u7aef VM\/VPS \u6216\u5177\u5099 SSH \u529f\u80fd\u7684\u88dd\u7f6e)\n\u5305\u542b\u4e86\u5de5\u5177\u7d44\u614b\u8a2d\u5b9a (\u4f8b\u5982\u91d1\u9470\u6216\u96f2\u7aef\u7d44\u614b\u6a94\u6848)\u3001\u539f\u59cb\u78bc\u526f\u672c\u3001\u7d44\u8b6f\u5668\u4ee5\u53ca\u5176\u4ed6\u60a8\u53ef\u80fd\u7528\u5230\u7684\u5de5\u5177\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-1.png\" alt=\"\"\/><figcaption> \u5716 1\uff1a\u672c\u5730\u7aef\u548c\u96f2\u7aef IDE \u7684\u5dee\u7570\u3002 <\/figcaption><\/figure>\n\n\n\n<p><a href=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-1.png\"><\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u672c\u5730\u7aef\u548c\u96f2\u7aef\u7a0b\u5f0f\u958b\u767c\u5e73\u53f0\u7684\u6700\u4e3b\u8981\u5dee\u7570\u5728\u65bc\u6574\u5957\u958b\u767c\u74b0\u5883\u4f4d\u65bc\u4f55\u8655\u3002\u5c0d\u96f2\u7aef\nIDE \u4f86\u8aaa\uff0c\u958b\u767c\u74b0\u5883\u4f4d\u65bc\u96f2\u7aef\u5ee0\u5546\u7684\u865b\u64ec\u6a5f\u5668 (VM) \u5167\u3002\u4ee5\u5b89\u5168\u6027\u800c\u8a00\uff0c\u9019\u610f\u5473\u8457\u60a8\u5fc5\u9808\u4fe1\u4efb\u96f2\u7aef\u5ee0\u5546\uff0c\u4f46\u60a8\u6709\u8cac\u4efb\u9632\u7bc4\u300c\u5f8c\u9580\u300d\u6216 VM \u7d44\u614b\u8a2d\u5b9a\u932f\u8aa4\u7684\u554f\u984c\u3002\u7576\u60a8\u900f\u904e\u81ea\u5df1\u7684\u88dd\u7f6e\u4f86\u4f7f\u7528\nAWS Cloud9 \u6642\uff0c\u60a8\u6709\u8cac\u4efb\u78ba\u4fdd\u88dd\u7f6e\u8a2d\u5b9a\u7684\u5b89\u5168\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-2.png\" alt=\"\"\/><figcaption> \u5716 2\uff1aAmazon Cloud9 IDE \u64cd\u4f5c\u756b\u9762\u3002 <\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><a href=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-3.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-3.png\" alt=\"\"\/><figcaption> \u5716 3\uff1aVisual Studio Online \u64cd\u4f5c\u756b\u9762\u3002 <\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u9060\u7aef\u88dd\u7f6e\/VM \u4e0d\u4e00\u5b9a\u6c38\u9060\u5b89\u5168<\/strong><\/h3>\n\n\n\n<p>\u95dc\u9375\u5728\u65bc\u5f8c\u7aef\u6240\u904b\u884c\u7684\u662f\u4ec0\u9ebc\u3002\u6b63\u5982\u524d\u9762\u63d0\u5230\uff0c\u9019\u4e9b\u7dda\u4e0a\u7a0b\u5f0f\u8a2d\u8a08\u5e73\u53f0\u5fc5\u9808\u900f\u904e SSH \u9023\u7dda\u7684\u88dd\u7f6e\u4f86\u64cd\u4f5c\u3002\u8981\u4f7f\u7528\nVisual Studio Online (\u622a\u81f3\u672c\u6587\u64b0\u7a3f\u70ba\u6b62\u4ecd\u70ba\u9810\u89bd\u7248\u672c)\uff0c\u9060\u7aef\u7684\u9023\u7dda\u5c0d\u8c61\u662f\u6a5f\u5668\u4e0a\u57f7\u884c\u7684<a href=\"https:\/\/code.visualstudio.com\/docs\/remote\/remote-overview\" target=\"_blank\" rel=\"noreferrer noopener\">Visual Studio (VS) Code \u4f3a\u670d\u5668<\/a>\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-4.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-4.png\" alt=\"\"\/><figcaption> \u5716 4\uff1a\u5728\u9060\u7aef VM \u7576\u4e2d\u57f7\u884c\u7684 vscode-remote\u3002 <\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>\u7a0b\u5f0f\u958b\u767c\u4f3a\u670d\u5668\u662f\u60a8\u7684\u700f\u89bd\u5668\u6240\u9023\u4e0a\u7684\u4e00\u500b Node.js \u61c9\u7528\u7a0b\u5f0f\uff0c\u60a8\u4e5f\u53ef\u4ee5\u4e0b\u8f09\u6574\u500b\u300c<em>~\/.vscode-remote<\/em>\u300d\u8cc7\u6599\u593e\u5230\u672c\u5730\u7aef\u4f86\u57f7\u884c\u8a72\u4f3a\u670d\u5668\u3002<\/p>\n\n\n\n<p>\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0c\u60a8\u662f\u9060\u7aef\u88dd\u7f6e\u7684\u6301\u6709\u4eba\uff0c\u56e0\u6b64\u60a8\u53ef\u4ee5\u5c07\u81ea\u5df1\u63d0\u5347\u70ba\u7cfb\u7d71\u7ba1\u7406\u54e1\n(root)\uff0c\u7136\u5f8c\u5b89\u88dd\u6216\u8a2d\u5b9a\u4e00\u4e9b\u60a8\u6703\u7528\u5230\u7684\u8edf\u9ad4\u3002\u6b64\u5916\u5728\u9810\u8a2d\u60c5\u6cc1\u4e0b\uff0c\u60a8\u4e5f\u6703\u6709\u9810\u5148\u88dd\u597d\u7684 Docker \u548c Git \u53ef\u7528\u3002<\/p>\n\n\n\n<p>\u81f3\u65bcAWS \u4e0a\u7684\nCloud9\uff0c\u60c5\u6cc1\u7a0d\u5fae\u8907\u96dc\u4e00\u9ede\u3002\u5e73\u53f0\u6e9d\u901a\u6240\u9700\u7684\u5f8c\u7aef\u662f\u5728\u9060\u7aef\u88dd\u7f6e\u4e0a\uff0c\u4f46\u524d\u7aef\u537b\u5b58\u5728\u65bc\u53e6\u4e00\u500b\u4e0d\u540c\u7684\u4f4d\u7f6e\u3002\u4f46\u5982\u540c VS \u7684\u60c5\u6cc1\uff0c\u60a8\u4e5f\u53ef\u4ee5\u5c07\u81ea\u5df1\u63d0\u5347\u70ba root\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-5.png\" alt=\"\"\/><figcaption> \u5716 5\uff1a\u4ee5 root \u8eab\u5206\u5b58\u53d6 Cloud9\u3002 <\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>\u9019\u5c31\u662f\u6211\u5011\u7684\u7b2c\u4e00\u500b\u8cc7\u5b89\u7591\u616e\uff1a\u9060\u7aef\u88dd\u7f6e\/VM\n\u7684\u5b89\u5168\u6027\u6216\u79c1\u5bc6\u6027\u6709\u591a\u9ad8\uff1f\u9060\u7aef\u88dd\u7f6e\u542b\u6709\u4e00\u4e9b\u79c1\u5bc6\u8cc7\u8a0a\uff1a\u5b58\u53d6\u91d1\u9470\u3001\u61c9\u7528\u7a0b\u5f0f\u7d44\u614b\u8a2d\u5b9a\u3001\u539f\u59cb\u7a0b\u5f0f\u78bc\u7b49\u7b49\u3002\u7121\u5eb8\u7f6e\u7591\u5730\uff0c\u9019\u4e9b\u90fd\u5fc5\u9808\u53d7\u5230\u59a5\u5584\u4fdd\u8b77\u4ee5\u9632\u6b62\u4e0d\u7576\u5b58\u53d6\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-6.png\" alt=\"\"\/><figcaption> \u5716 6\uff1a\u5e73\u53f0\u79c1\u5bc6\u8cc7\u8a0a\u7bc4\u4f8b\u3002 <\/figcaption><\/figure>\n\n\n\n<p><a href=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-6.png\"><\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u5728\u9810\u8a2d\u60c5\u6cc1\u4e0b\uff0c\u7a0b\u5f0f\u958b\u767c\u5e73\u53f0\u662f\u7531\u4f9b\u61c9\u5ee0\u5546\u8ca0\u8cac\u4fdd\u969c\u5b89\u5168\u3002\u4f46\u60a8\u4e5f\u5fc5\u9808\u8a18\u4f4f\u60a8\u63e1\u6709\nroot \u7684\u6b0a\u9650\uff0c\u56e0\u6b64\u60a8\u4e5f\u6709\u8cac\u4efb\u9632\u6b62\u7d44\u614b\u8a2d\u5b9a\u932f\u8aa4\u65b9\u9762\u7684\u554f\u984c\uff0c\u5c24\u5176\u7576\u60a8\u5728\u4f7f\u7528\u7b2c\u4e09\u65b9\u5916\u639b\u5143\u4ef6\u6642\u3002\u6b64\u5916\uff0cAWS \u4ea6\u4e0d\u652f\u63f4\u4e0d\u662f\u4ed6\u5011\u6240\u90e8\u7f72\u7684\u5916\u639b\u5143\u4ef6\u3002<\/p>\n\n\n\n<p>\u60a8\u9084\u53ef\u80fd\u6703\u72af\u4e00\u4e9b\u5c0e\u81f4\u8cc7\u5b89\u554f\u984c\u7684\u7d44\u614b\u8a2d\u5b9a\u932f\u8aa4\uff0c\u4f8b\u5982\u60a8\u53ef\u80fd\u5c07\nIDE \u8a2d\u5b9a\u6210\u53ef\u5f9e\u5916\u90e8\u5b58\u53d6\uff0c\u4e0d\u8ad6\u662f\u70ba\u4e86\u5171\u7528\u4e0a\u7684\u65b9\u4fbf\u6216\u662f\u4e0d\u5c0f\u5fc3\u7684\u932f\u8aa4\u6240\u9020\u6210\u3002\u6b64\u5916\uff0c\u5728\u5f88\u591a\u60c5\u6cc1\u4e0b\uff0c\u5b58\u53d6\u91d1\u9470\u4e5f\u672a\u5132\u5b58\u5728\u52a0\u5bc6\u7684\u91d1\u9470\u5eab\u5167\uff0c\u800c\u662f\u5927\u524c\u524c\u5730\u5beb\u5728\u7d14\u6587\u5b57\u8a2d\u5b9a\u6a94\u6848\u5167\u3002\u5728\u7f3a\u4e4f\u984d\u5916\u8cc7\u5b89\u6a5f\u5236\u7684\u60c5\u6cc1\u4e0b\uff0c\u9019\u6a23\u7684\u4f5c\u6cd5\u5f88\u53ef\u80fd\u6703\u8b93\u60a8\u7684\u5b58\u53d6\u91d1\u9470\u843d\u5165\u5916\u4eba\u624b\u4e2d\u3002<\/p>\n\n\n\n<p>\u7db2\u8def\u72af\u7f6a\u96c6\u5718\u4e00\u65e6\u7372\u5f97\u4e0d\u7576\u5b58\u53d6\u6b0a\u9650\uff0c\u5c31\u80fd\u99ed\u5165\u60a8\u7684\u7a0b\u5f0f\u78bc\u4e26\u5c0d\u60a8\u767c\u52d5\u653b\u64ca\uff0c\u4f8b\u5982\u767c\u52d5<a href=\"https:\/\/www.wired.com\/story\/inside-the-unnerving-supply-chain-attack-that-corrupted-ccleaner\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f9b\u61c9\u93c8\u653b\u64ca<\/a>\uff0c\u7be1\u6539\u8edf\u9ad4\u5ee0\u5546\u7684\u8edf\u9ad4\u66f4\u65b0\uff0c\u5728\u66f4\u65b0\u7576\u4e2d\u52a0\u5165\u60e1\u610f\u7a0b\u5f0f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u700f\u89bd\u5668\u53ef\u80fd\u88ab\u63d2\u5165\u4e0d\u8096\u7684\u5ef6\u4f38\u529f\u80fd\u5143\u4ef6\u6216\u6f0f\u6d1e<\/strong><\/h3>\n\n\n\n<p>\u53e6\u4e00\u500b\u8cc7\u5b89\u7591\u616e\u662f\u700f\u89bd\u5668\u672c\u8eab\u7684\u554f\u984c\u3002\u7531\u65bc\u7dda\u4e0a\u7a0b\u5f0f\u958b\u767c\u5e73\u53f0\u5fc5\u9808\u900f\u904e\u7db2\u9801\u700f\u89bd\u5668\u4f86\u5b58\u53d6\uff0c\u7576\u60a8\u5728\u516c\u5171\u5834\u6240\u6216\u975e\u516c\u53f8\u7db2\u57df\u900f\u904e\u5171\u7528\u3001\u7121\u5b89\u5168\u6027\u7684\u96fb\u8166\u4f86\u5b58\u53d6\u9019\u4e9b\u7db2\u7ad9\u6642\u8981\u975e\u5e38\u5c0f\u5fc3\u3002<\/p>\n\n\n\n<p>\u4e0d\u8096\u7684\u700f\u89bd\u5668\u5ef6\u4f38\u529f\u80fd\u5143\u4ef6\u662f\u4e00\u500b\u773e\u6240\u5468\u77e5\u7684\u554f\u984c\u3002\u96d6\u7136\uff0c\u975e\u4fe1\u4efb\u7684\u96fb\u8166\u611f\u67d3\u60e1\u610f\u7a0b\u5f0f\u662f\u5e38\u6709\u7684\u4e8b\uff0c\u4f46\u7d93\u7531\u6211\u5011\u7684\u6982\u5ff5\u9a57\u8b49\u5be6\u9a57\u8b49\u660e\uff0c\u99ed\u5ba2\u5f88\u53ef\u80fd\u5229\u7528\u4e0d\u8096\u7684\u700f\u89bd\u5668\u5ef6\u4f38\u529f\u80fd\u5143\u4ef6\u4f86\u76dc\u53d6\u8edf\u9ad4\u539f\u59cb\u7a0b\u5f0f\u78bc\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-7.png\" alt=\"\"\/><figcaption> \u5716 7\uff1a\u6982\u5ff5\u9a57\u8b49\u653b\u64ca\uff1a\u5229\u7528\u4e0d\u8096\u7684\u700f\u89bd\u5668\u5ef6\u4f38\u529f\u80fd\u5143\u4ef6\u7aca\u53d6\u8cc7\u6599\u3002 <\/figcaption><\/figure>\n\n\n\n<p><a href=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-7.png\"><\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u7a0b\u5f0f\u78bc\u5ef6\u4f38\u529f\u80fd\u8207\u5916\u639b\u5143\u4ef6\u4e5f\u53ef\u80fd\u5167\u542b\u60e1\u610f\u7a0b\u5f0f<\/strong><\/h3>\n\n\n\n<p>Visual\nStudio Online (\u4e5f\u5c31\u662f VS Code \u5e73\u53f0) \u7684\u4e3b\u8981\u512a\u52e2\u5728\u65bc\u5ef6\u4f38\u529f\u80fd\u773e\u591a\uff0c\u4f46\u9019\u53cd\u800c\u662f\u53e6\u4e00\u500b\u53ef\u80fd\u7684\u53d7\u653b\u64ca\u9762\u3002<\/p>\n\n\n\n<p>\u60f3\u50cf\u4e00\u4e0b\u4e00\u500b\u529f\u80fd\u5f37\u5927\u4f46\u537b\u6697\u85cf\u5f8c\u9580\u7684\u4e0d\u8096 VS Code \u5ef6\u4f38\u529f\u80fd\u3002\u5ef6\u4f38\u529f\u80fd\u5728\u5b89\u88dd\u6216\u4f7f\u7528\u4e0a\u7f3a\u4e4f\u6b0a\u9650\u6aa2\u67e5\u6a5f\u5236\n(\u5982\u78c1\u789f\u5b58\u53d6\u3001\u7db2\u8def\u5b58\u53d6\u3001\u8655\u7406\u7a0b\u5e8f\u5b58\u53d6\u7b49\u7b49) \u5df2\u6210\u70ba\u4e00\u9805\u8cc7\u5b89\u4e0a\u7684\u6f0f\u6d1e\u3002\u76ee\u524d\uff0c<a href=\"https:\/\/code.visualstudio.com\/api\/working-with-extensions\/publishing-extension\" target=\"_blank\" rel=\"noreferrer noopener\">\u5ef6\u4f38\u529f\u80fd\u767c\u5e03<\/a>\u6642\u7684\u8cc7\u5b89\u6aa2\u67e5\u53ea\u6709\u5fc5\u9808\u64c1\u6709\u5408\u6cd5\u300cpublisherId\u300d\u4ee5\u53ca\u5c11\u6578\u5e7e\u9805\u8207\u6620\u50cf\u76f8\u95dc\u7684\u9650\u5236\u800c\u5df2\u3002\u6240\u4ee5\uff0c\u57fa\u672c\u4e0a\u60a8\u7b49\u65bc\u5fc5\u9808\u5b8c\u5168\u4fe1\u8cf4\u5ef6\u4f38\u529f\u80fd\u958b\u767c\u5ee0\u5546\u3002<\/p>\n\n\n\n<p>\u70ba\u4e86\u793a\u7bc4\uff0c\u6211\u5011\u7279\u5225\u88fd\u4f5c\u4e86\u4e00\u500b\u6982\u5ff5\u9a57\u8b49\u7528\u7684\u4e0d\u8096\u5ef6\u4f38\u529f\u80fd\uff0c\u5167\u542b\u4e00\u500b\u53cd\u5411\u6307\u4ee4\u5217\u4ecb\u9762\n(reverse shell)\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-8.png\" alt=\"\"\/><figcaption> \u5716 8\uff1a\u6211\u5011\u5be6\u9a57\u7528\u7684\u4e0d\u8096 VS Code \u5ef6\u4f38\u529f\u80fd\u8aaa\u660e\u3002 <\/figcaption><\/figure>\n\n\n\n<p><a href=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-8.png\"><\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u7576\u60a8\u60f3\u5b89\u88dd\u4e00\u500b VS Code \u5e73\u53f0\u5ef6\u4f38\u529f\u80fd\u6642\uff0c\u60a8\u6709\u5169\u7a2e\u9078\u64c7\uff1a(1) \u4e0a <a href=\"https:\/\/marketplace.visualstudio.com\/vscode\" target=\"_blank\" rel=\"noreferrer noopener\">VS Code \u5ef6\u4f38\u529f\u80fd\u5e02\u96c6<\/a>\u5c0b\u627e\uff0c\u6216\u8005 (2) \u7d93\u7531\u300c.vsix\u300d\u6a94\u6848\u4f86\u5b89\u88dd\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-9.png\" alt=\"\"\/><figcaption> \u5716 9\uff1a\u6211\u5011\u5be6\u9a57\u7528\u7684\u4e0d\u8096 VS Code \u5ef6\u4f38\u529f\u80fd\u7bc4\u4f8b\u3002 <\/figcaption><\/figure>\n\n\n\n<p><a href=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-9.png\"><\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>VS Code \u5ef6\u4f38\u529f\u80fd\u5728\u958b\u767c\u4e0a<a href=\"https:\/\/code.visualstudio.com\/api\/extension-capabilities\/overview\" target=\"_blank\" rel=\"noreferrer noopener\">\u6709\u67d0\u4e9b\u9650\u5236<\/a>\u3002\u4f46\u5ef6\u4f38\u529f\u80fd\u5728\u7522\u751f\u4e00\u500b\u65b0\u7684\u8655\u7406\u7a0b\u5e8f\u6642\u537b\u6c92\u6709\u4efb\u4f55\u9650\u5236\u6216\u8003\u91cf\u3002<\/p>\n\n\n\n<p>\u5728\u9019\u6a23\u7684\u60c5\u6cc1\u4e0b\uff0c\u6211\u5011\u5df2\u8b49\u660e\u7576\u4e0d\u8096\u5ef6\u4f38\u529f\u80fd\u5b89\u88dd\u5b8c\u6210\u4e14\u958b\u767c\u74b0\u5883\u8f09\u5165\u4e4b\u5f8c\uff0c\u5c31\u6709\u53ef\u80fd\u57f7\u884c\u53cd\u5411\u6307\u4ee4\u5217\u4ecb\u9762\u3002\u5982\u6b64\u4e00\u4f86\u5c31\u6709\u53ef\u80fd\u8b93\u99ed\u5ba2\u5728\u9060\u7aef\nVM \u4e0a\u4ee5 root \u7684\u6b0a\u9650\u57f7\u884c\u9060\u7aef\u7a0b\u5f0f\u78bc\u3002\u8acb\u6ce8\u610f\uff0c\u7576\u958b\u767c\u4eba\u54e1\u95dc\u9589\u4e00\u500b VS Online \u7db2\u9801\u6642\uff0c\u5176\u9023\u7dda\u5c31\u6703\u7d42\u6b62\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-10.png\" alt=\"\"\/><figcaption> \u5716 10\uff1a\u5728 Visual Studio Online \u5e73\u53f0\u5167\u7522\u751f\u4e00\u500b\u53cd\u5411\u6307\u4ee4\u5217\u4ecb\u9762\u3002 <\/figcaption><\/figure>\n\n\n\n<p><a href=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2020\/02\/Security-Risks-in-Online-Coding-Platforms-Figure-10.png\"><\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u6839\u64da\u904e\u53bb\u7d93\u9a57\uff0c\u5373\u4f7f\u8edf\u9ad4\u7684\u6838\u5fc3\u7a0b\u5f0f\u78bc\u662f\u5b89\u5168\u7684\uff0c\u4f46\u5982\u679c\u793e\u7fa4\u958b\u767c\u6216\u7b2c\u4e09\u65b9\u958b\u767c\u7684\u5916\u639b\u5143\u4ef6\u6709\u6f0f\u6d1e\uff0c\u4f9d\u7136\u6703\u7834\u58de\u6574\u5957\u8edf\u9ad4\u7684\u5b89\u5168\u6027\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u6c92\u6709\u8edf\u9ad4\u61c9\u7528\u7a0b\u5f0f\u662f\u5b8c\u7f8e\u7121\u932f\u7684<\/strong><\/h3>\n\n\n\n<p>\u8edf\u9ad4\u6f0f\u6d1e\u7121\u6240\u4e0d\u5728\uff0c\u4e0d\u8ad6\u4efb\u4f55\u985e\u578b\u7684\u8edf\u9ad4\u7686\u7136\uff0c\u9019\u662f\u53e6\u4e00\u500b\u5fc5\u9808\u8003\u91cf\u7684\u5c64\u9762\u3002\u800c\u7dda\u4e0a\u7a0b\u5f0f\u958b\u767c\u5e73\u53f0\u9084\u53ef\u80fd\u5fc5\u9808\u9762\u5c0d\u7db2\u9801\u76f8\u95dc\u7684\u6f0f\u6d1e\uff0c\u56e0\u70ba\u9019\u4e9b\nIDE \u57fa\u672c\u4e0a\u90fd\u662f\u7db2\u9801\u61c9\u7528\u7a0b\u5f0f\u3002\u4f8b\u5982\uff0c\u4e00\u500b\u53ef\u80fd\u8b93\u99ed\u5ba2\u57f7\u884c\u60e1\u610f JavaScript \u7a0b\u5f0f\u78bc\u7684\u6f0f\u6d1e\uff0c\u5f88\u53ef\u80fd\u4e5f\u6703\u8b93\u99ed\u5ba2\u638c\u63a7 IDE \u6216\u5f9e\u9060\u7aef\u9023\u7dda\u7684\u88dd\u7f6e\u3002<\/p>\n\n\n\n<p>\u6700\u8fd1\uff0c<a href=\"https:\/\/portal.msrc.microsoft.com\/en-US\/security-guidance\/advisory\/CVE-2019-1486\" target=\"_blank\" rel=\"noreferrer noopener\">Visual Studio Live Share \u5ef6\u4f38\u529f\u80fd<\/a>\u51fa\u73fe\u7684\u4e00\u500b\u6f0f\u6d1e\u4e5f\u540c\u6a23\u5f71\u97ff\u5230\nVS Code\uff0c\u9019\u8868\u793a\u672a\u4f86\u6211\u5011\u5f88\u5feb\u5c31\u6703\u518d\u770b\u5230\u5176\u4ed6\u5f71\u97ff\u7dda\u4e0a\u7a0b\u5f0f\u958b\u767c\u5e73\u53f0\u7684\u6f0f\u6d1e\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u78ba\u4fdd\u96f2\u7aef IDE \u5b89\u5168\u662f DevOps \u7684\u5fc5\u8981\u5de5\u4f5c<\/strong><\/h3>\n\n\n\n<p>\u85c9\u7531\u7dda\u4e0a\u7a0b\u5f0f\u958b\u767c\u5e73\u53f0\u5a01\u8105\u7684\u63a2\u8a0e\uff0c\u6211\u5011\u5c31\u80fd\u4e86\u89e3\u5404\u7a2e\u53ef\u80fd\u5371\u5bb3\u6574\u9ad4\u904b\u7b97\u74b0\u5883\u5b89\u5168\u7684\u56e0\u7d20\u3002\u96f2\u7aef\nIDE \u4e5f\u8ddf\u5176\u4ed6\u8edf\u9ad4\u4e00\u6a23\u9700\u8981\u53d7\u5230\u59a5\u5584\u7684\u5b89\u5168\u4fdd\u8b77\uff0c\u4ee5\u4e0b\u662f\u6211\u5011\u91dd\u5c0d\u524d\u8ff0\u5404\u9805\u8cc7\u5b89\u554f\u984c\u6240\u63d0\u51fa\u7684\u4e00\u4e9b\u5efa\u8b70\uff1a<\/p>\n\n\n\n<ul><li><em>\u9060\u7aef\u88dd\u7f6e\u5b89\u5168<\/em> \u2014 \u50c5\u5b89\u88dd\u53d7\u4fe1\u8cf4\u7684\u8edf\u9ad4\uff0c\u96a8\u6642\u4fdd\u6301\u8edf\u9ad4\u66f4\u65b0\uff0c\u5207\u52ff\u5c0d\u5916\u958b\u653e\u6240\u6709\u9023\u63a5\u57e0\u3002<\/li><li><em>\u700f\u89bd\u5668<\/em> \u2014 \u53ea\u5728\u4fe1\u8cf4\u4e14\u6709\u5b89\u5168\u9632\u8b77\u7684\u74b0\u5883\u5167\u5de5\u4f5c\uff0c\u76e1\u53ef\u80fd\u907f\u514d\u4f7f\u7528\u516c\u7528\u96fb\u8166\uff0c\u50c5\u5b89\u88dd\u4f86\u81ea\u4fe1\u8cf4\u5ee0\u5546\u7684\u700f\u89bd\u5668\u5ef6\u4f38\u529f\u80fd\u3002<\/li><li><em>VS Code \u5ef6\u4f38\u529f\u80fd<\/em> \u2014 \u907f\u514d\u5b89\u88dd\u4f86\u81ea\u4e0d\u660e\u4f86\u6e90\u6216\u958b\u767c\u8005\u7684\u5ef6\u4f38\u529f\u80fd\u3002<\/li><li><em>\u9632\u7bc4\u6f0f\u6d1e<\/em> \u2014 \u78ba\u4fdd\u60a8\u7684\u74b0\u5883\u5df2\u66f4\u65b0\u81f3\u6700\u65b0\u7248\u672c\u3002<\/li><\/ul>\n\n\n\n<p>\u9664\u6b64\u4e4b\u5916\uff0c\u8da8\u52e2\u79d1\u6280\u4e5f\u63d0\u4f9b\u4e00\u4e9b\u89e3\u6c7a\u65b9\u6848\u4f86\u5354\u52a9 DevOps \u5718\u968a\u5efa\u69cb\u5b89\u5168\u3001\u5feb\u901f\u4ea4\u4ed8\u3001\u96a8\u8655\u57f7\u884c\u3002\u8da8\u52e2\u79d1\u6280\n<a href=\"https:\/\/www.trendmicro.tw\/tw\/business\/cloud-data\/index.html\">Hybrid Cloud Security(\u6df7\u5408\u96f2\u9632\u8b77)<\/a> \u6df7\u5408\u96f2\u9632\u8b77\u89e3\u6c7a\u65b9\u6848\u53ef\u63d0\u4f9b\u5f37\u5927\u3001\u7c21\u5316\u3001\u81ea\u52d5\u5316\u7684\u9632\u8b77\uff0c\u8b93\u4f01\u696d\u5c07\u9632\u8b77\u878d\u5165\nDevOps \u6d41\u7a0b\uff0c\u4e26\u85c9\u7531\u591a\u91cd\u7684<a href=\"https:\/\/www.trendmicro.tw\/business\/xgen-security.html\">\u8da8\u52e2\u79d1\u6280\u7684XGen\u5b89\u5168\u9632\u8b77\u6280\u8853<\/a>\n&#x2122; \u5a01\u8105\u9632\u79a6\u6280\u5de7\u4f86\u4fdd\u969c\u5be6\u9ad4\u3001\u865b\u64ec\u53ca\u96f2\u7aef\u5de5\u4f5c\u8ca0\u8f09\u7684\u5b89\u5168\u3002<br>\n<br>\n<\/p>\n\n\n\n<p>\u539f\u6587\u51fa\u8655\uff1a<a href=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/security-risks-in-online-coding-platforms\/\">Security\nRisks in Online Coding Platforms<\/a> <strong>\u4f5c\u8005\uff1aDavid Fiser (\u8cc7\u6df1\u7db2\u8def\u5a01\u8105\u7814\u7a76\u54e1)<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u6574\u5408\u5f0f\u958b\u767c\u74b0\u5883 (IDE) \u767b\u4e0a\u96f2\u7aef\u4e4b\u524d\uff0c\u7a0b\u5f0f\u958b\u767c\u4eba\u54e1\u5f97\u5c07\u6574\u5957\u958b\u767c\u74b0\u5883\u5b89\u88dd\u5728\u81ea\u5df1\u7684\u96fb\u8166\u4e0a\u3002\u4f46\u96a8\u8457 DevOp [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_wpscppro_dont_share_socialmedia":false,"_wpscppro_custom_social_share_image":0,"_facebook_share_type":"","_twitter_share_type":"","_linkedin_share_type":"","_pinterest_share_type":"","_linkedin_share_type_page":"","_instagram_share_type":"","_medium_share_type":"","_threads_share_type":"","_google_business_share_type":"","_selected_social_profile":[],"_wpsp_enable_custom_social_template":false,"_wpsp_social_scheduling":{"enabled":false,"datetime":null,"platforms":[],"status":"template_only","dateOption":"today","timeOption":"now","customDays":"","customHours":"","customDate":"","customTime":"","schedulingType":"absolute"},"_wpsp_active_default_template":true},"categories":[3654,4513,4],"tags":[452],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/63661"}],"collection":[{"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=63661"}],"version-history":[{"count":5,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/63661\/revisions"}],"predecessor-version":[{"id":63666,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/63661\/revisions\/63666"}],"wp:attachment":[{"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=63661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=63661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=63661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}