{"id":16411,"date":"2022-10-10T13:14:05","date_gmt":"2022-10-10T05:14:05","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=16411"},"modified":"2022-10-10T13:14:38","modified_gmt":"2022-10-10T05:14:38","slug":"protection-system-linux","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/protection-system-linux.html","title":{"rendered":"\u5982\u4f55\u4fdd\u62a4\u4f60\u7684linux\u64cd\u4f5c\u7cfb\u7edf"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u5728\u73b0\u5728\u8fd9\u4e2a\u4e16\u9053\u4e2d\uff0cLinux\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u5168\u662f\u5341\u5206\u91cd\u8981\u7684\u3002\u4f46\u662f\uff0c\u4f60\u5f97\u77e5\u9053\u600e\u4e48\u5e72\u3002\u4e00\u4e2a\u7b80\u5355\u53cd\u6076\u610f\u7a0b\u5e8f\u8f6f\u4ef6\u662f\u8fdc\u8fdc\u4e0d\u591f\u7684\uff0c\u4f60\u9700\u8981\u91c7\u53d6\u5176\u5b83\u63aa\u65bd\u6765\u534f\u540c\u5de5\u4f5c\u3002\u90a3\u4e48\u8bd5\u8bd5\u4e0b\u9762\u8fd9\u4e9b\u624b\u6bb5\u5427\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <\/p>\n \u4f7f\u7528SELinux<\/strong><\/div>\n SELinux\u662f\u7528\u6765\u5bf9Linux\u8fdb\u884c\u5b89\u5168\u52a0\u56fa\u7684\uff0c\u6709\u4e86\u5b83\uff0c\u7528\u6237\u548c\u7ba1\u7406\u5458\u4eec\u5c31\u53ef\u4ee5\u5bf9\u8bbf\u95ee\u63a7\u5236\u8fdb\u884c\u66f4\u591a\u63a7\u5236\u3002SELinux\u4e3a\u8bbf\u95ee\u63a7\u5236\u6dfb\u52a0\u4e86\u66f4\u7ec6\u7684\u9897\u7c92\u5ea6\u63a7\u5236\u3002\u4e0e\u4ec5\u53ef\u4ee5\u6307\u5b9a\u8c01\u53ef\u4ee5\u8bfb\u3001\u5199\u6216\u6267\u884c\u4e00\u4e2a\u6587\u4ef6\u7684\u6743\u9650\u4e0d\u540c\u7684\u662f\uff0cSELinux\u53ef\u4ee5\u8ba9\u4f60\u6307\u5b9a\u8c01\u53ef\u4ee5\u5220\u9664\u94fe\u63a5\u3001\u53ea\u80fd\u8ffd\u52a0\u3001\u79fb\u52a8\u4e00\u4e2a\u6587\u4ef6\u4e4b\u7c7b\u7684\u66f4\u591a\u63a7\u5236\u3002\uff08LCTT\u8bd1\u6ce8\uff1a\u867d\u7136NSA\u4e5f\u7ed9SELinux\u8d21\u732e\u8fc7\u5f88\u591a\u4ee3\u7801\uff0c\u4f46\u662f\u76ee\u524d\u5c1a\u65e0\u8bc1\u636e\u8bc1\u660eSELinux\u6709\u6f5c\u5728\u540e\u95e8\uff09<\/p>\n \u8ba2\u9605\u6f0f\u6d1e\u8b66\u62a5\u670d\u52a1<\/strong><\/div>\n <\/p>\n \u5b89\u5168\u7f3a\u9677\u4e0d\u4e00\u5b9a\u662f\u5728\u4f60\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u3002\u4e8b\u5b9e\u4e0a\uff0c\u6f0f\u6d1e\u591a\u89c1\u4e8e\u5b89\u88c5\u7684\u5e94\u7528\u7a0b\u5e8f\u4e4b\u4e2d\u3002\u4e3a\u4e86\u907f\u514d\u8fd9\u4e2a\u95ee\u9898\u7684\u53d1\u751f\uff0c\u4f60\u5fc5\u987b\u4fdd\u6301\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\u3002\u6b64\u5916\uff0c\u8ba2\u9605\u6f0f\u6d1e\u8b66\u62a5\u670d\u52a1\uff0c\u5982SecurityFocus\u3002<\/p>\n \u7981\u7528\u4e0d\u7528\u7684\u670d\u52a1\u548c\u5e94\u7528<\/strong><\/div>\n \u901a\u5e38\u6765\u8bb2\uff0c\u7528\u6237\u5927\u591a\u6570\u65f6\u5019\u90fd\u7528\u4e0d\u5230\u4ed6\u4eec\u7cfb\u7edf\u4e0a\u7684\u670d\u52a1\u548c\u5e94\u7528\u7684\u4e00\u534a\u3002\u7136\u800c\uff0c\u8fd9\u4e9b\u670d\u52a1\u548c\u5e94\u7528\u8fd8\u662f\u4f1a\u8fd0\u884c\uff0c\u8fd9\u4f1a\u62db\u6765\u653b\u51fb\u8005\u3002\u56e0\u800c\uff0c\u6700\u597d\u662f\u628a\u8fd9\u4e9b\u4e0d\u7528\u7684\u670d\u52a1\u505c\u6389\u3002\uff08LCTT\u8bd1\u6ce8\uff1a\u6216\u8005\u5e72\u8106\u4e0d\u5b89\u88c5\u90a3\u4e9b\u7528\u4e0d\u5230\u7684\u670d\u52a1\uff0c\u8fd9\u6837\u6839\u672c\u5c31\u4e0d\u7528\u5173\u6ce8\u5b83\u4eec\u662f\u5426\u6709\u5b89\u5168\u6f0f\u6d1e\u548c\u8be5\u5347\u7ea7\u4e86\u3002\uff09<\/p>\n \u68c0\u67e5\u7cfb\u7edf\u65e5\u5fd7<\/strong><\/div>\n \u4f60\u7684\u7cfb\u7edf\u65e5\u5fd7\u544a\u8bc9\u4f60\u5728\u7cfb\u7edf\u4e0a\u53d1\u751f\u4e86\u4ec0\u4e48\u6d3b\u52a8\uff0c\u5305\u62ec\u653b\u51fb\u8005\u662f\u5426\u6210\u529f\u8fdb\u5165\u6216\u8bd5\u7740\u8bbf\u95ee\u7cfb\u7edf\u3002\u65f6\u523b\u4fdd\u6301\u8b66\u60d5\uff0c\u8fd9\u662f\u4f60\u7b2c\u4e00\u6761\u9632\u7ebf\uff0c\u800c\u7ecf\u5e38\u6027\u5730\u76d1\u63a7\u7cfb\u7edf\u65e5\u5fd7\u5c31\u662f\u4e3a\u4e86\u5b88\u597d\u8fd9\u9053\u9632\u7ebf\u3002<\/p>\n \u8003\u8651\u4f7f\u7528\u7aef\u53e3\u8bd5\u63a2<\/strong><\/div>\n \u8bbe\u7f6e\u7aef\u53e3\u8bd5\u63a2\uff08Port knocking\uff09\u662f\u5efa\u7acb\u670d\u52a1\u5668\u5b89\u5168\u8fde\u63a5\u7684\u597d\u65b9\u6cd5\u3002\u4e00\u822c\u505a\u6cd5\u662f\u53d1\u751f\u7279\u5b9a\u7684\u5305\u7ed9\u670d\u52a1\u5668\uff0c\u4ee5\u89e6\u53d1\u670d\u52a1\u5668\u7684\u56de\u5e94\/\u8fde\u63a5\uff08\u6253\u5f00\u9632\u706b\u5899\uff09\u3002\u7aef\u53e3\u6572\u95e8\u5bf9\u4e8e\u90a3\u4e9b\u6709\u5f00\u653e\u7aef\u53e3\u7684\u7cfb\u7edf\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u9632\u62a4\u63aa\u65bd\u3002<\/p>\n \u4f7f\u7528Iptables<\/strong><\/div>\n <\/p>\n Iptables\u662f\u4ec0\u4e48\uff1f\u8fd9\u662f\u4e00\u4e2a\u5e94\u7528\u6846\u67b6\uff0c\u5b83\u5141\u8bb8\u7528\u6237\u81ea\u5df1\u4e3a\u7cfb\u7edf\u5efa\u7acb\u4e00\u4e2a\u5f3a\u5927\u7684\u9632\u706b\u5899\u3002\u56e0\u6b64\uff0c\u8981\u63d0\u5347\u5b89\u5168\u9632\u62a4\u80fd\u529b\uff0c\u5c31\u8981\u5b66\u4e60\u600e\u6837\u4e00\u4e2a\u597d\u7684\u9632\u706b\u5899\u4ee5\u53ca\u600e\u6837\u4f7f\u7528Iptables\u6846\u67b6\u3002<\/p>\n \u9ed8\u8ba4\u62d2\u7edd\u6240\u6709 <\/strong><\/div>\n \u9632\u706b\u5899\u6709\u4e24\u79cd\u601d\u8def\uff1a\u4e00\u4e2a\u662f\u5141\u8bb8\u6bcf\u4e00\u70b9\u901a\u4fe1\uff0c\u53e6\u4e00\u4e2a\u662f\u62d2\u7edd\u6240\u6709\u8bbf\u95ee\uff0c\u63d0\u793a\u4f60\u662f\u5426\u8bb8\u53ef\u3002\u7b2c\u4e8c\u79cd\u66f4\u597d\u4e00\u4e9b\u3002\u4f60\u5e94\u8be5\u53ea\u5141\u8bb8\u90a3\u4e9b\u91cd\u8981\u7684\u901a\u4fe1\u8fdb\u5165\u3002\uff08LCTT\u8bd1\u6ce8\uff1a\u5373\u9ed8\u8ba4\u8bb8\u53ef\u7b56\u7565\u548c\u9ed8\u8ba4\u7981\u6b62\u7b56\u7565\uff0c\u524d\u8005\u4f60\u9700\u8981\u6307\u5b9a\u54ea\u4e9b\u5e94\u8be5\u7981\u6b62\uff0c\u9664\u6b64\u4e4b\u5916\u7edf\u7edf\u653e\u884c\uff1b\u540e\u8005\u4f60\u9700\u8981\u6307\u5b9a\u54ea\u4e9b\u53ef\u4ee5\u653e\u884c\uff0c\u9664\u6b64\u4e4b\u5916\u5168\u90e8\u7981\u6b62\u3002\uff09<\/p>\n \u4f7f\u7528\u5165\u4fb5\u68c0\u6d4b\u7cfb\u7edf<\/strong><\/div>\n \u5165\u4fb5\u68c0\u6d4b\u7cfb\u7edf\uff0c\u6216\u8005\u53ebIDS\uff0c\u5141\u8bb8\u4f60\u66f4\u597d\u5730\u7ba1\u7406\u7cfb\u7edf\u4e0a\u7684\u901a\u4fe1\u548c\u53d7\u5230\u7684\u653b\u51fb\u3002Snort\u662f\u76ee\u524d\u516c\u8ba4\u7684Linux\u4e0a\u7684\u6700\u597d\u7684IDS\u3002<\/p>\n \u4f7f\u7528\u5168\u76d8\u52a0\u5bc6<\/strong><\/div>\n <\/p>\n \u52a0\u5bc6\u7684\u6570\u636e\u66f4\u96be\u7a83\u53d6\uff0c\u6709\u65f6\u5019\u6839\u672c\u4e0d\u53ef\u80fd\u88ab\u7a83\u53d6\uff0c\u8fd9\u5c31\u662f\u4f60\u5e94\u8be5\u5bf9\u6574\u4e2a\u9a71\u52a8\u5668\u52a0\u5bc6\u7684\u539f\u56e0\u3002\u91c7\u7528\u8fd9\u79cd\u65b9\u5f0f\u540e\uff0c\u5982\u679c\u6709\u67d0\u4e2a\u4eba\u8fdb\u5165\u5230\u4f60\u7684\u7cfb\u7edf\uff0c\u90a3\u4e48\u4ed6\u770b\u5230\u8fd9\u4e9b\u52a0\u5bc6\u7684\u6570\u636e\u540e\uff0c\u5c31\u6709\u5f97\u5934\u75db\u4e86\u3002\u6839\u636e\u4e00\u4e9b\u62a5\u544a\uff0c\u5927\u591a\u6570\u6570\u636e\u4e22\u5931\u6e90\u4e8e\u673a\u5668\u88ab\u76d7\u3002<\/p>\n \n |