{"id":6803,"date":"2013-11-15T09:00:20","date_gmt":"2013-11-15T01:00:20","guid":{"rendered":"https:\/\/blog.trendmicro.com.tw\/?p=6803"},"modified":"2013-11-11T18:22:38","modified_gmt":"2013-11-11T10:22:38","slug":"%e5%88%a9%e7%94%a8%e4%b8%bb%e6%a9%9f%e5%85%a5%e4%be%b5%e5%81%b5%e6%b8%ac%e6%8f%90%e9%ab%98hadoop%e5%ae%89%e5%85%a8%e6%80%a72","status":"publish","type":"post","link":"https:\/\/blog.trendmicro.com.tw\/?p=6803","title":{"rendered":"\u5229\u7528\u4e3b\u6a5f\u5165\u4fb5\u5075\u6e2c\u63d0\u9ad8Hadoop\u5b89\u5168\u6027-2"},"content":{"rendered":"<p>\u6b63\u5982\u6211\u5011\u5728<a href=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/improving-hadoop-security-with-host-intrusion-detection-part-1\/\">\u524d\u9762\u6587\u7ae0<\/a>\u6240\u63d0\u5230\u7684\uff0c\u6211\u5011\u53ef\u4ee5\u5229\u7528OSSEC\u4f86\u5075\u6e2c\u73fe\u6709Hadoop\u548cHBase\u7cfb\u7d71\u6a94\u6848\u7684\u5b8c\u6574\u6027\u3002OSSEC\u6703\u7522\u751f\u7d00\u9304\uff0c\u8b93\u7cfb\u7d71\u7ba1\u7406\u54e1\u7528\u4ee5\u6aa2\u67e5\u5404\u7a2e\u7cfb\u7d71\u4e8b\u4ef6\u3002<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/blog.trendmicro.com.tw\/wp-content\/uploads\/2013\/11\/big-data5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-6799\" alt=\"big data5\" src=\"https:\/\/blog.trendmicro.com.tw\/wp-content\/uploads\/2013\/11\/big-data5.jpg\" width=\"591\" height=\"602\" srcset=\"https:\/\/blog.trendmicro.com.tw\/wp-content\/uploads\/2013\/11\/big-data5.jpg 844w, https:\/\/blog.trendmicro.com.tw\/wp-content\/uploads\/2013\/11\/big-data5-294x300.jpg 294w, https:\/\/blog.trendmicro.com.tw\/wp-content\/uploads\/2013\/11\/big-data5-800x815.jpg 800w\" sizes=\"(max-width: 591px) 100vw, 591px\" \/><\/a><\/p>\n<p>\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0c\u5404\u7a2e\u5de8\u91cf\u8cc7\u6599\u7cfb\u7d71(Big Data System)\uff0c\u4e0d\u53ea\u662fHadoop\u548cHBase\uff0c\u90fd\u6703\u7522\u751f\u9a5a\u4eba\u6578\u91cf\u7684\u8a18\u9304\u8cc7\u6599\u3002\u81f3\u5c11\u53ef\u4ee5\u8aaa\uff0c\u8981\u5b89\u88dd\u4e00\u500b\u5de8\u91cf\u8cc7\u6599\u53e2\u96c6\u4e26\u4e0d\u7c21\u55ae\uff0c\u9019\u4e9b\u65e5\u8a8c\u5c0d\u65bc\u5e6b\u52a9IT\u4eba\u54e1\u5efa\u7acb\u53e2\u96c6\u548c\u8a3a\u65b7\u7cfb\u7d71\u554f\u984c\u4e0a\u767c\u63ee\u81f3\u95dc\u91cd\u8981\u7684\u4f5c\u7528\u3002\u5de8\u91cf\u8cc7\u6599\u7cfb\u7d71\u7ba1\u7406\u54e1\u5be6\u969b\u4e0a\u5df2\u7d93\u7fd2\u6163\u65bc\u900f\u904e\u6aa2\u67e5\u65e5\u8a8c\u6a94\u4f86\u627e\u5230\u6f5b\u5728\u554f\u984c\u3002<\/p>\n<p>OSSEC\u53ef\u4ee5\u76e3\u63a7\u7684\u91cd\u8981Hadoop\u5b89\u5168\u4e8b\u4ef6\u6709\uff1a<\/p>\n<ul>\n<li>HDFS\u4f5c\u696d\u5931\u6557<\/li>\n<li>HBase\u767b\u9304<\/li>\n<li>Kerberos\u7968\u8b49\u6388\u4e88<\/li>\n<li>Root\u767b\u5165\u7bc0\u9ede<\/li>\n<\/ul>\n<p>\u8a2d\u5b9aOSSEC\u4ee3\u7406\u7a0b\u5f0f\u4f86\u76e3\u63a7\u4e00\u500b\u6216\u591a\u500bHadoop\u65e5\u8a8c\u6a94\uff0c\u9700\u8981\u5c07\u65e5\u8a8c\u6a94\u6848\u76ee\u9304\u8def\u5f91\u52a0\u5165\u4ee3\u7406\u7a0b\u5f0f\u7684<i>ossec.conf<\/i>\u6a94\u6848\u3002\u5c0d\u65bcHDFS NameNode\uff0c\u6211\u5011\u5e0c\u671b\u76e3\u63a7<i>hadoop-hdfs-namenode-{host}.log<\/i>\u6a94\uff0c<i>{host}<\/i>\u662fNameNode\u540d\u7a31\u6216IP\u5730\u5740\u3002\u9019\u6a94\u6848\u901a\u5e38\u4f4d\u5728<i>\/var\/log\/hadoop-hdfs\/<\/i>\u76ee\u9304\u3002\u540c\u6a23\u5730\uff0c\u5c0d\u65bcHMASTER\u7bc0\u9ede\uff0c\u6211\u5011\u6703\u60f3\u8981\u76e3\u63a7<i>\/var\/log\/hbase<\/i>\u76ee\u9304\u4e0b\u7684<i>hbase-hbase-master-{host}.log<\/i>\u3002\u9019\u6a23\u5c31\u53ef\u4ee5\u5f9eOSSEC\u4ee3\u7406\u7a0b\u5f0f\u53d6\u5f97\u6211\u5011Hadoop\u548cHBase\u7684\u65e5\u8a8c\u6a94\u6848\u5230\u4f3a\u670d\u5668\u4e0a\u3002<\/p>\n<p>\u4e0b\u4e00\u6b65\u5c31\u662f\u64b0\u5beb\u89e3\u78bc\u898f\u5247\u4f86\u89e3\u6790\u65e5\u8a8c\uff0c\u9084\u6709\u8b66\u5831\u898f\u5247\u4f86\u6839\u64da\u65e5\u8a8c\u5167\u5bb9\u751f\u6210\u8b66\u5831\u3002\u89e3\u78bc\u5668\u7528\u6b63\u898f\u8868\u793a\u6cd5\u7d44\u6210\uff0c\u8b93OSSEC\u4f3a\u670d\u5668\u7528\u4f86\u627e\u5230\u611f\u8208\u8da3\u7684\u5167\u5bb9\uff0c\u4ee5\u53ca\u5c07\u6587\u5b57\u5c0d\u61c9\u5230\u4f3a\u670d\u5668\u6240\u80fd\u8fa8\u8a8d\u7684\u6a19\u6e96\u6b04\u4f4d\u3002\u898f\u5247\u8b93\u4f3a\u670d\u5668\u53ef\u4ee5\u6aa2\u9a57\u89e3\u78bc\u5f8c\u7684\u6b04\u4f4d\u4f86\u627e\u5230\u6307\u793a\u91cd\u8981\u5b89\u5168\u4e8b\u4ef6\u7684\u5167\u5bb9\u3002\u7576\u4e00\u500b\u7d66\u5b9a\u898f\u5247\u627e\u5230\u4f86\u81ea\u67d0\u4e00\u89e3\u78bc\u5668\u7684\u4e8b\u4ef6\u8cc7\u6599\uff0c\u4f3a\u670d\u5668\u6703\u751f\u6210\u4e00\u500b\u7531\u898f\u5247\u5b9a\u7fa9\u7684\u8b66\u5831\u3002<\/p>\n<p><strong><i>\u8996\u89ba\u5316Hadoop<\/i><i>\u7684\u5b89\u5168\u4e8b\u4ef6<\/i><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>\u8996\u89ba\u5316OSSEC\u5b89\u5168\u8b66\u5831\u6700\u7c21\u55ae\u7684\u65b9\u6cd5\u662f\u4e0d\u65b7\u5730\u986f\u793a\u8b66\u5831\u65e5\u8a8c\u6a94\u3002\u96d6\u7136\u9019\u4e5f\u884c\uff0c\u4f46\u5b83\u5c31\u50cf\u662f\u5728\u770b\u8868\u683c\u5167\u7684\u539f\u59cb\u8cc7\u6599\u3002\u5f88\u96e3\u6216\u5e7e\u8fd1\u4e0d\u53ef\u80fd\u53bb\u5f9e\u8cc7\u6599\u4e2d\u627e\u51fa\u8da8\u52e2\u3002<\/p>\n<p>OSSEC\u53ef\u4ee5\u900f\u904e<i>syslog<\/i>\u4f86\u767c\u9001\u8b66\u5831\u8cc7\u6599\u7d66\u4efb\u4f55\u5b89\u5168\u8cc7\u8a0a\u548c\u4e8b\u4ef6\u7ba1\u7406\u7a0b\u5f0f\uff08SIEM\uff09\uff0c\u63d0\u4f9b<i>syslog<\/i>\u76f8\u5bb9\u6027\u3002\u6211\u5011\u559c\u6b61\u7528\u7684\u4e00\u500bSIEM\u662fSplunk\uff0c\u548c\u4e00\u500b\u958b\u653e\u539f\u59cb\u78bc\u61c9\u7528\u7a0b\u5f0f\u7a31<i>Splunk for OSSEC<\/i>\u3002\u9019\u53ef\u4ee5\u76f4\u63a5\u5f9eSplunk\u7684\u61c9\u7528\u7a0b\u5f0f\u4e3b\u63a7\u53f0\u4f86\u5b89\u88dd\u5230OSSEC\u4f3a\u670d\u5668\u4e0a\u3002<\/p>\n<p>Splunk for OSSEC\u662f\u8a2d\u8a08\u7528\u4f86\u53d6\u5f97OSSEC\u8b66\u5831\uff0c\u7136\u5f8c\u6b78\u7d0d\u7e3d\u7d50\u8ddf\u9032\u884c\u8da8\u52e2\u5206\u6790\u3002\u4e0b\u9762\u986f\u793a\u7684\u662fSplunk\u4e0aOSSEC\u5100\u8868\u677f\u7684\u4f8b\u5b50\u3002\u4f60\u53ef\u4ee5\u5728\u9019\u88e1\u770b\u5230\u4e8b\u4ef6\u96a8\u8457\u6642\u9593\u63a8\u79fb\u7684\u6458\u8981\uff0c\u5305\u62ec\u4e4b\u524d\u6240\u8a0e\u8ad6\u5230\u7684HBase\u548cHDFS\u4e8b\u4ef6\u3002<\/p>\n<p>&nbsp;<\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" alt=\"\" src=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/files\/2013\/10\/ossec2.png\" width=\"551\" height=\"383\" \/><\/p>\n<p align=\"center\">\u00a0<i>\u5716\u4e8c\u3001Splunk for OPSSEC<\/i><\/p>\n<p align=\"center\"><i>\uff08\u5716\u7247\u4f86\u81ea<\/i><a href=\"https:\/\/vichargrave.com\/securing-hadoop-with-ossec\/\"><i>https:\/\/vichargrave.com\/securing-hadoop-with-ossec\/<\/i><\/a><i>\uff09<\/i><\/p>\n<p>\u00a0<!--more--><\/p>\n<p><strong><i>\u7e3d\u7d50<\/i><\/strong><\/p>\n<p>\u5de8\u91cf\u8cc7\u6599\u7cfb\u7d71\u53ef\u4ee5\u5f9e\u50cfOSSEC\u9019\u6a23\u7684HIDS\u4f86\u7372\u5f97\u4e3b\u6a5f\u5165\u4fb5\u6aa2\u6e2c\u670d\u52d9\u7684\u597d\u8655\u3002\u9019\u4e9b\u7cfb\u7d71\u53ef\u4ee5\u78ba\u4fdd\u5de8\u91cf\u8cc7\u6599\u7684\u5b89\u5168\u6027\uff0c\u9019\u4e5f\u662f\u8a31\u591a\u55ae\u4f4d\u63a1\u7528\u5de8\u91cf\u8cc7\u6599\u6240\u4e0d\u53ef\u6216\u7f3a\u7684\u3002\u6211\u5011\u4e00\u76f4\u5728\u8ca2\u737bHadoop\u6240\u7528\u7684OSSEC\u898f\u5247\u7d66OSSEC\u8a08\u756b\uff0c\u4ee5\u63a8\u52d5OSSEC\u548cHadoop\u793e\u7fa4\u4f86\u4f7f\u7528\u5b83\u5011\uff0c\u9019\u548c\u6211\u5011\u4e4b\u524d\u652f\u6301\u958b\u653e\u539f\u59cb\u78bc\u8a08\u756b\u662f\u4e00\u81f4\u7684\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>@\u539f\u6587\u51fa\u8655\uff1a<a href=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/improving-hadoop-security-with-host-intrusion-detection-part-2\/\">Improving Hadoop Security with Host Intrusion Detection (Part 2)<\/a><br \/>\n\u4f5c\u8005\uff1a<a href=\"https:\/\/blog.trendmicro.com\/trendlabs-security-intelligence\/author\/vichargrave\/\">Vic Hargrave<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6b63\u5982\u6211\u5011\u5728\u524d\u9762\u6587\u7ae0\u6240\u63d0\u5230\u7684\uff0c\u6211\u5011\u53ef\u4ee5\u5229\u7528OSSEC\u4f86\u5075\u6e2c\u73fe\u6709Hadoop\u548cHBase\u7cfb\u7d71\u6a94\u6848\u7684\u5b8c\u6574\u6027\u3002OSSE [&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":[1068,1069,4],"tags":[1077,1273,1274,635,1275,1076],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/6803"}],"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=6803"}],"version-history":[{"count":0,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/6803\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}