{"id":1226,"date":"2019-04-11T11:37:44","date_gmt":"2019-04-11T03:37:44","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=1226"},"modified":"2020-08-24T21:42:54","modified_gmt":"2020-08-24T13:42:54","slug":"%e5%bc%80%e6%ba%90ids%ef%bc%9asnort%e8%bf%98%e6%98%afsuricata%ef%bc%9f%e6%9b%b4%e6%96%b0%e4%ba%8e2019","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=1226","title":{"rendered":"\u5f00\u6e90IDS\uff1aSnort\u8fd8\u662fSuricata\uff1f[\u66f4\u65b0\u4e8e2019]"},"content":{"rendered":"<p style=\"text-align: justify;\">\u5c3d\u7ba1\u65e9\u671f\u7c7b\u578b\u7684\u7f51\u7edc\u5165\u4fb5\u68c0\u6d4b\u7cfb\u7edf\u4e00\u76f4\u8981\u8ffd\u6eaf\u523020\u4e16\u7eaa80\u5e74\u4ee3\u65e9\u671f\uff0c\u4f46\u5f53Martin Roesch\u521b\u5efa\u4ed6\u7684\u514d\u8d39\u548c\u5f00\u6e90IDS\u7cfb\u7edf<a href=\"https:\/\/www.snort.org\/\">SNORT<\/a>\u65f6\uff0cIDS\u7684\u6982\u5ff5\u8d77\u98de\u4e86\u3002\u7531\u4e8e\u5176\u8f7b\u5de7\u7684\u8bbe\u8ba1\u548c\u7075\u6d3b\u7684\u90e8\u7f72\u9009\u9879\uff0cSnort\u7684\u7528\u6237\u7fa4\u5728\u63a5\u4e0b\u6765\u7684\u51e0\u5e74\u4e2d\u8fc5\u901f\u589e\u957f\u30022001\u5e74\uff0cMartin Roesch\u521b\u5efa\u4e86Sourcefire\u516c\u53f8\uff082013\u5e74\u88ab\u601d\u79d1\u6536\u8d2d\uff09\uff0c\u4f7f\u7528\u57fa\u4e8eSNORT\u7684\u5546\u4e1aIDS\u4ea7\u54c1\u3002SNORT\u7684\u539f\u59cb\u514d\u8d39\u548c\u5f00\u6e90\u7248\u672c\u4ecd\u7136\u53ef\u7528\uff0c\u76ee\u524d\u5e7f\u6cdb\u7528\u4e8e\u5168\u7403\u7f51\u7edc\u3002\u4e0e\u6b64\u540c\u65f6\uff0c\u4e00\u4e9b\u7ade\u4e89\u5bf9\u624b\u5728\u5f00\u6e90IDS\u9886\u57df\u53d6\u5f97\u4e86\u8fdb\u5c55\uff0c\u5176\u4e2d\u6700\u7740\u540d\u7684\u662f<a href=\"https:\/\/suricata-ids.org\/\">Suricata<\/a>\u3002\u4e0b\u9762\u6765\u4ecb\u7ecd\u4e00\u4e0bSNORT\u548cSuricata\u7684\u4e3b\u8981\u533a\u522b\uff0c\u4ee5\u53ca\u5982\u4f55\u9009\u62e9IDS\u4ea7\u54c1\uff1f<\/p>\n<h1 style=\"text-align: justify;\">\u89c4\u5219<\/h1>\n<p style=\"text-align: justify;\">IDS\u89e3\u51b3\u65b9\u6848\u4ec5\u9002\u7528\u53ef\u5e94\u7528\u4e8e\u53d7\u76d1\u63a7\u6d41\u91cf\u7684\u53ef\u7528\u89c4\u5219\u3002Snort\u4e00\u76f4\u6709\u5f88\u591a\u793e\u533a\u652f\u6301\uff0c\u4ea7\u751f\u4e86\u4e00\u4e2a\u5b9e\u8d28\u6027\u7684\u89c4\u5219\u96c6\uff0c\u5e76\u5b9a\u671f\u66f4\u65b0\u3002\u89c4\u5219\u7684\u8bed\u6cd5\u975e\u5e38\u7b80\u5355\uff0c\u7a0b\u5e8f\u7ed3\u6784\u5141\u8bb8\u4efb\u4f55\u4eba\u5c06\u81ea\u5b9a\u4e49\u89c4\u5219\u90e8\u7f72\u5230\u5176IDS\u4e2d\u6216\u4e0e\u793e\u533a\u5171\u4eab\u3002\u4e00\u4e9b\u5546\u4e1a\u516c\u53f8\u4e5f\u5236\u5b9a\u4e86SNORT\u89c4\u5219\uff0c\u53ef\u4ee5\u6309\u6708\u6216\u6309\u5e74\u8d2d\u4e70\u3002\u5982Talos\u7684<a href=\"https:\/\/www.snort.org\/talos\">SO \/ VRT\u89c4\u5219<\/a>\u548cCrowdStrikes\u7684<a href=\"https:\/\/www.crowdstrike.com\/products\/falcon-intelligence\/\">\u5a01\u80c1\u60c5\u62a5\u670d\u52a1<\/a>\u3002<\/p>\n<p style=\"text-align: justify;\">Suricata\u53ef\u4ee5\u4f7f\u7528\u4e0eSNORT\u76f8\u540c\u7684\u89c4\u5219\u3002\u8bb8\u591a\uff08\u4f46\u4e0d\u662f\u5168\u90e8\uff09VRT\u89c4\u5219\u4ecd\u7136\u6709\u6548\u3002Suricata\u6709\u81ea\u5df1\u7684\u89c4\u5219\u96c6\uff0c\u6700\u521d\u53d1\u5e03\u7ed9\u4ed8\u8d39\u8ba2\u9605\u8005\uff0c30\u523060\u5929\u624d\u540e\u514d\u8d39\u63d0\u4f9b<a href=\"http:\/\/www.emergingthreats.net\/\">Emerging Threats<\/a>\u3002\u8fd9\u4e9b\u89c4\u5219\u66f4\u591a\u5730\u5229\u7528\u4e86Suricata\u63d0\u4f9b\u7684<a href=\"http:\/\/suricata.readthedocs.io\/en\/latest\/rules\/differences-from-snort.html\">\u9644\u52a0\u529f\u80fd<\/a>\uff0c\u4f8b\u5982\u672a\u77e5\u7aef\u53e3\u534f\u8bae\u68c0\u6d4b\u548c\u81ea\u52a8\u6587\u4ef6\u68c0\u6d4b\u4ee5\u53ca<a href=\"https:\/\/redmine.openinfosecfoundation.org\/projects\/suricata\/wiki\/File_Extraction\">\u6587\u4ef6\u63d0\u53d6<\/a>\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u5e94\u7528\u68c0\u6d4b<\/h1>\n<p style=\"text-align: justify;\">\u4eceSnorts\u8bde\u751f\u7684\u65e9\u671f\u5f00\u59cb\uff0c\u5c31\u5df2\u7ecf\u63d0\u5230Snort\u4e0d\u662f\u201c\u5e94\u7528\u7a0b\u5e8f\u611f\u77e5\u7684\u201d\u3002\u5b83\u53ea\u662f\u67e5\u770b\u7b26\u5408\u5176\u89c4\u5219\u7684\u6d41\u91cf\uff0c\u5e76\u5728\u5339\u914d\u65f6\u91c7\u53d6\u884c\u52a8\uff08\u62a5\u8b66\u3001\u4e22\u5f03\u7b49\uff09\u3002\u9884\u5904\u7406\u5668\u901a\u8fc7\u5c06\u6d41\u91cf\u6574\u5f62\u4e3a\u53ef\u5e94\u7528\u7684\u89c4\u5219\u683c\u5f0f\u6765\u534f\u52a9\u6267\u884c\uff0c\u4f8b\u5982\u6267\u884c\u89e3\u538b\u7f29\u548c\u89e3\u7801\uff0c\u4f46\u662fSnort\u4e0d\u9700\u8981\u7406\u89e3\u662f\u54ea\u4e2a\u5e94\u7528\u7a0b\u5e8f\u751f\u6210\u7684\u6570\u636e\u3002<\/p>\n<p style=\"text-align: justify;\">\u4e1a\u52a1\u9700\u6c42\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u800c\u53d1\u751f\u53d8\u5316\uff0c\u4e3a\u4e86\u9002\u5e94\u5e02\u573a\uff0cSnort\u00a0\u57282014\u5e74\u63a8\u51fa\u4e86<a href=\"http:\/\/rafeeqrehman.com\/wp-content\/uploads\/2014\/05\/OpenAppID-Public.pdf\">2.9.1<\/a>\u7248\u672c\u7684OpenAppID\u3002OpenAppID\u652f\u6301\u901a\u8fc7\u6240\u8c13\u7684\u7b2c7\u5c42\u68c0\u6d4b\u5668\u68c0\u6d4b\u5e94\u7528\u7a0b\u5e8f\u3002\u867d\u7136\u5df2\u77e5\u5e94\u7528\u7a0b\u5e8f\u7684\u5b58\u5728\u5e76\u4e0d\u603b\u662f\u76f4\u63a5\u7684\u5b89\u5168\u4e8b\u4ef6\uff08\u4f8b\u5982Dropbox\u7684\u4f7f\u7528\uff09\uff0c\u4f46\u5b83\u786e\u5b9e\u53ef\u4ee5\u66f4\u597d\u5730\u7406\u89e3\u7f51\u7edc\u4e2d\u5b58\u5728\u7684\u5185\u5bb9\u3002\u4e0d\u4ec5\u53ef\u4ee5\u627e\u5230\u4ee5\u524d\u672a\u77e5\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u800c\u4e14\u8fd8\u53ef\u4ee5\u901a\u8fc7\u5c06AppID\u94fe\u63a5\u5230\u4f20\u7edf\u7684SNORT IDS \/ IPS\u89c4\u5219\u6765\u4e22\u5f03\u6216\u8b66\u544a\u5176\u6d41\u91cf\u3002<\/p>\n<p style=\"text-align: justify;\">Suricata\u5728\u8fd9\u4e2a\u9886\u57df\u7684\u5de5\u4f5c\u7565\u6709\u4e0d\u540c\u3002\u5b83\u652f\u6301\u5e94\u7528\u5c42\u68c0\u6d4b\u89c4\u5219\uff0c\u4f8b\u5982\uff0c\u53ef\u4ee5\u6839\u636e\u534f\u8bae\u8bc6\u522b\u975e\u6807\u51c6\u7aef\u53e3\u4e0a\u7684HTTP\u6216SSH\u6d41\u91cf\u3002\u7136\u540e\uff0c\u5b83\u8fd8\u4f1a\u5c06\u534f\u8bae\u7279\u5b9a\u7684\u65e5\u5fd7\u8bbe\u7f6e\u5e94\u7528\u4e8e\u8fd9\u4e9b\u68c0\u6d4b\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728\u8fd9\u4e2a\u9886\u57df\u5e76\u6ca1\u6709\u771f\u6b63\u66f4\u597d\u6216\u66f4\u5dee\u7684\u4ea7\u54c1\uff0c\u5b83\u5b9e\u9645\u4e0a\u53d6\u51b3\u4e8e\u4f01\u4e1a\u6b63\u5728\u5bfb\u627e\u4ec0\u4e48\u3002\u7531\u4e8e\u4e24\u8005\u90fd\u662f\u5b8c\u5168\u5f00\u6e90\u7684\uff0c\u56e0\u6b64\u8bbe\u7f6e\u6d4b\u8bd5\u73af\u5883\u76f8\u5bf9\u5feb\u901f\u800c\u4e14\u5ec9\u4ef7\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u591a\u7ebf\u7a0b<\/h1>\n<p style=\"text-align: justify;\">Suricata\u7684\u4e3b\u8981\u4f18\u70b9\u4e4b\u4e00\u662f\u5b83\u6700\u8fd1\u6bd4Snort\u5f00\u53d1\u5f97\u66f4\u597d\u3002\u8fd9\u610f\u5473\u7740\u5b83\u62e5\u6709\u66f4\u591a\u7684\u529f\u80fd\uff0c\u8fd9\u4e9b\u529f\u80fd\u76ee\u524d\u51e0\u4e4e\u662f\u4e0d\u5bb9\u9519\u8fc7\u7684\u3002\u5176\u4e2d\u4e00\u4e2a\u529f\u80fd\u662f\u652f\u6301\u591a\u7ebf\u7a0b\u3002\u591a\u5e74\u6765\u7f51\u7edc\u6d41\u91cf\u7684\u589e\u52a0\u5927\u5927\u63d0\u9ad8\u4e86IDS\u8bbe\u5907\u7684<a href=\"https:\/\/www.researchgate.net\/figure\/Various-Configurations-Snort-Running-In-Multi-instance-Mode-and-Suricata-Development_236146583\">\u5904\u7406\u9700\u6c42<\/a>\uff08\u4ee5\u6bcf\u79d2\u6570\u636e\u5305\u4e3a\u5355\u4f4d\uff09\uff0c\u800cSuricata\u4e00\u5f00\u59cb\u5c31\u652f\u6301\u591a\u7ebf\u7a0b\u3002\u4f46\u662f\uff0cSnort\u4e0d\u652f\u6301\u591a\u7ebf\u7a0b\u3002\u65e0\u8bbaCPU\u5305\u542b\u591a\u5c11\u4e2a\u6838\u5fc3\uff0cSnort\u90fd\u53ea\u4f7f\u7528\u4e00\u4e2a\u6838\u5fc3\u6216\u7ebf\u7a0b\u3002\u867d\u7136\u6709\u4e00\u4e2a\u76f8\u5f53\u590d\u6742\u7684\u89e3\u51b3\u65b9\u6cd5\uff0c\u5c31\u662f\u8fd0\u884c\u591a\u4e2aSNORT\u5355\u7ebf\u7a0b\u5b9e\u4f8b\uff0c\u5168\u90e8\u8fdb\u5165\u540c\u4e00\u4e2a\u65e5\u5fd7\u3002\u4f46\u662f\uff0c\u7ba1\u7406\u6b64\u8fc7\u7a0b\uff08AutoFP\uff09\u7684\u989d\u5916\u5f00\u9500\u548c\u786c\u4ef6\u7684\u9ad8\u6210\u672c\u610f\u5473\u7740\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u5f88\u5c11\u4f1a\u53bb\u5e94\u7528\u3002<a href=\"https:\/\/www.snort.org\/snort3\">SNORT3<\/a>\u5c06\u652f\u6301\u591a\u7ebf\u7a0b\uff0c\u4f46\u5b83\u4ecd\u5904\u4e8eAlpha\u9636\u6bb5\u3002\u4e0d\u5efa\u8bae\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528Alpha\u9636\u6bb5\u4ea7\u54c1\u3002\u6beb\u65e0\u7591\u95ee\uff0c\u591a\u7ebf\u7a0b\u662f\u8003\u8651Suricata\u800c\u4e0d\u662fSnort\u7684\u5f3a\u6709\u529b\u8bba\u636e\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u6587\u4ef6\u63d0\u53d6<\/h1>\n<p style=\"text-align: justify;\">Suricata\u652f\u6301<a href=\"https:\/\/redmine.openinfosecfoundation.org\/projects\/suricata\/wiki\/File_Extraction\">\u6587\u4ef6\u63d0\u53d6<\/a>\u3002\u8fd9\u662f\u4e00\u4e2a\u975e\u5e38\u6709\u7528\u7684\u529f\u80fd\uff0c\u5141\u8bb8\u5728\u89e6\u53d1\u5305\u542b\u9009\u9879\u201cfilestore\u201d\u7684\u89c4\u5219\u540e\u81ea\u52a8\u63d0\u53d6\u6240\u9009\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u63d0\u53d6\u6240\u6709.pdf\u6587\u4ef6\u6216\u6240\u6709\u5355\u4e2a\u50cf\u7d20.png\u6587\u4ef6\uff0c\u5e76\u5c06\u5b83\u4eec\u5b58\u50a8\u5728\u9884\u914d\u7f6e\u7684\u6587\u4ef6\u5939\u4e2d\uff0c\u4ee5\u8fdb\u884c\u8fdb\u4e00\u6b65\u7684\u624b\u52a8\u5206\u6790\uff0c<a href=\"https:\/\/www.virustotal.com\/\">VirusTotal<\/a>\u67e5\u627e\u751a\u81f3\u81ea\u52a8\u6c99\u76d2\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u9009\u62e9\u65b9\u6848<\/h1>\n<p style=\"text-align: justify;\">\u867d\u7136Snort\u548cSuricata\u90fd\u662f\u6700\u53d7\u6b22\u8fce\u7684\u5f00\u6e90\u5165\u4fb5\u68c0\u6d4b\u7cfb\u7edf\uff0c\u4f46\u4e5f\u6709\u4e00\u4e9b\u66ff\u4ee3\u65b9\u6848\u3002\u524d\u9762\u63d0\u5230\u7684\u66f4\u65b0\u7684SNORT3\u7248\u672c\u975e\u5e38\u6709\u524d\u9014\uff0c\u5b83\u652f\u6301\u591a\u7ebf\u7a0b\uff0c\u670d\u52a1\u8bc6\u522b\u548c\u66f4\u76f4\u63a5\u7684\u89c4\u5219\u8bed\u8a00\u3002\u5b83\u5df2\u7ecf\u5f00\u53d1\u4e86\u5f88\u591a\u5e74\uff0cAlpha\u9636\u6bb5\u53ef\u4ee5\u8ffd\u6eaf\u5230<a href=\"http:\/\/blog.snort.org\/2014\/12\/introducing-snort-30.html\">2014\u5e74<\/a>\uff0c\u4f46\u76ee\u524d\u751f\u4ea7\u7248\u672c\u8fd8\u6ca1\u6709\u6700\u7ec8\u786e\u5b9a\u53d1\u5e03\u65e5\u671f\u3002<\/p>\n<p style=\"text-align: justify;\">\u4f20\u7edf\u7684IDS \/ IPS\u89e3\u51b3\u65b9\u6848\u4e5f\u6709\u5176\u4ed6\u9009\u62e9\uff0c\u4f46\u8fd9\u4e9b\u89e3\u51b3\u65b9\u6848\u6709\u65f6\u53ef\u80fd\u7565\u6709\u4e0d\u540c\u3002\u6bd4\u5982<a href=\"https:\/\/www.bro.org\/\">Bro Network Security Monitor<\/a>\uff0c\u66f4\u591a\u7684\u662f\u4e00\u79cd\u5f02\u5e38\u68c0\u6d4b\u7cfb\u7edf\u3002\u5728Snort\u548cSuricata\u4f7f\u7528\u4f20\u7edfIDS\u7b7e\u540d\u7684\u60c5\u51b5\u4e0b\uff0cBro\u4f7f\u7528\u811a\u672c\u6765\u5206\u6790\u6d41\u91cf\u3002Bro\u7684\u4e00\u4e2a\u663e\u8457\u4f18\u70b9\u662f\uff0c\u8fd9\u4e9b\u811a\u672c\u8fd8\u5141\u8bb8\u5728\u4e0d\u540c\u7cfb\u7edf\u4e4b\u95f4\u5b9e\u73b0\u9ad8\u5ea6\u81ea\u52a8\u5316\u7684\u5de5\u4f5c\u6d41\uff0c\u8fd9\u79cd\u65b9\u6cd5\u5141\u8bb8\u6bd4\u65e7\u7684\u4f20\u9012\u6216\u5220\u9664\u64cd\u4f5c\u66f4\u7cbe\u7ec6\u7684\u51b3\u7b56\uff0c\u4f46\u5b83\u7684\u914d\u7f6e\u975e\u5e38\u590d\u6742\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u7ed3\u8bba<\/h1>\n<p style=\"text-align: justify;\">\u8fd8\u6709\u51e0\u4e2a\u5176\u4ed6\u7684\u5f88\u597d\u5f00\u6e90IDS\u9009\u9879\uff0c\u4f46\u662f\uff0c\u7531\u4e8e\u5b83\u4eec\u7684\u4e0d\u540c\uff0c\u5e76\u975e\u6240\u6709\u89e3\u51b3\u65b9\u6848\u90fd\u80fd\u9002\u7528\u4e8e\u6240\u6709\u73af\u5883\u3002\u5e94\u57fa\u4e8e\u5df2\u7ecf\u5b58\u5728\u7684\u5176\u4ed6\u53ef\u80fd\u91cd\u53e0\u7684\u5b89\u5168\u4ea7\u54c1\u3001\u7f51\u7edc\u7684\u6d41\u91cf\u7c7b\u578b\u3001\u5e26\u5bbd\u548c\u53ef\u7528IT\u5458\u5de5\u7684\u6280\u80fd\u7ec4\u5408\u6765\u9009\u62e9\u6700\u4f73\u7684IDS\u4ea7\u54c1\u3002<\/p>\n<p>\u539f\u6587<a href=\"https:\/\/resources.infosecinstitute.com\/open-source-ids-snort-suricata\/#gref\">\u5730\u5740<\/a>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5c3d\u7ba1\u65e9\u671f\u7c7b\u578b\u7684\u7f51\u7edc\u5165\u4fb5\u68c0\u6d4b\u7cfb\u7edf\u4e00\u76f4\u8981\u8ffd\u6eaf\u523020\u4e16\u7eaa80\u5e74\u4ee3\u65e9\u671f\uff0c\u4f46\u5f53Martin &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=1226\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[163],"class_list":["post-1226","post","type-post","status-publish","format-standard","hentry","category-pfsense","tag-snort-suricata"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/1226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1226"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/1226\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}