{"id":33498,"date":"2025-04-28T05:15:26","date_gmt":"2025-04-27T21:15:26","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/33498.html"},"modified":"2025-04-28T05:15:26","modified_gmt":"2025-04-27T21:15:26","slug":"%e8%9c%9c%e7%bd%90%e7%ae%a1%e7%90%86%e5%92%8c%e6%95%b0%e6%8d%ae%e6%94%b6%e9%9b%86%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%9amodern-honey-network-mhn","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/33498.html","title":{"rendered":"\u871c\u7f50\u7ba1\u7406\u548c\u6570\u636e\u6536\u96c6\u670d\u52a1\u5668\uff1aModern Honey Network (MHN)"},"content":{"rendered":"<h2>\u4e00\u3001Modern Honey Network (MHN)\u4ecb\u7ecd<\/h2>\n<p>Modern Honey Network (MHN) \u662f\u4e00\u4e2a\u96c6\u4e2d\u5316\u7684\u871c\u7f50\u7ba1\u7406\u548c\u6570\u636e\u6536\u96c6\u670d\u52a1\u5668\u3002\u5b83\u65e8\u5728\u7b80\u5316\u871c\u7f50\u7684\u90e8\u7f72\u548c\u7ba1\u7406&#xff0c;\u5e76\u63d0\u4f9b\u4e00\u4e2a\u7b80\u6d01\u7684 Web \u754c\u9762\u6765\u67e5\u770b\u6355\u83b7\u7684\u6570\u636e\u3002<\/p>\n<h3>1\u3001\u4e3b\u8981\u529f\u80fd:<\/h3>\n<ul>\n<li>\u96c6\u4e2d\u5316\u7ba1\u7406: \u901a\u8fc7\u4e00\u4e2a\u4e2d\u5fc3\u670d\u52a1\u5668\u7ba1\u7406\u591a\u4e2a\u871c\u7f50\u4f20\u611f\u5668\u3002<\/li>\n<li>\u5feb\u901f\u90e8\u7f72: \u63d0\u4f9b\u811a\u672c&#xff0c;\u53ef\u4ee5\u5feb\u901f\u5728\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u5404\u79cd\u871c\u7f50\u6280\u672f\u3002<\/li>\n<li>\u591a\u79cd\u871c\u7f50\u652f\u6301: \u652f\u6301\u591a\u79cd\u5e38\u89c1\u7684\u871c\u7f50\u6280\u672f&#xff0c;\u5305\u62ec Snort\u3001Cowrie\u3001Dionaea \u548c Glastopf \u7b49\u3002<\/li>\n<li>\u5b9e\u65f6\u6570\u636e\u67e5\u770b: \u901a\u8fc7 Web \u754c\u9762\u5b9e\u65f6\u67e5\u770b\u871c\u7f50\u6355\u83b7\u7684\u653b\u51fb\u6570\u636e\u3002<\/li>\n<li>\u6570\u636e\u5206\u6790: \u63d0\u4f9b\u57fa\u672c\u7684\u653b\u51fb\u7edf\u8ba1\u548c\u53ef\u89c6\u5316&#xff0c;\u5e76\u80fd\u4e0e Splunk \u548c ArcSight \u7b49\u5b89\u5168\u4fe1\u606f\u548c\u4e8b\u4ef6\u7ba1\u7406 (SIEM) \u7cfb\u7edf\u96c6\u6210&#xff0c;\u8fdb\u884c\u66f4\u6df1\u5165\u7684\u5206\u6790\u3002<\/li>\n<li>\u90e8\u7f72\u811a\u672c\u4e0b\u8f7d: \u871c\u7f50\u53ef\u4ee5\u901a\u8fc7 MHN \u670d\u52a1\u5668\u4e0b\u8f7d\u90e8\u7f72\u811a\u672c\u3002<\/li>\n<li>\u8fde\u63a5\u548c\u6ce8\u518c: \u871c\u7f50\u53ef\u4ee5\u8fde\u63a5\u5230 MHN \u670d\u52a1\u5668\u5e76\u6ce8\u518c\u3002<\/li>\n<li>Snort \u89c4\u5219\u4e0b\u8f7d: \u652f\u6301\u96c6\u4e2d\u7ba1\u7406\u548c\u5206\u53d1 Snort \u5165\u4fb5\u68c0\u6d4b\u89c4\u5219\u3002<\/li>\n<li>\u5165\u4fb5\u68c0\u6d4b\u65e5\u5fd7\u53d1\u9001: \u871c\u7f50\u53ef\u4ee5\u5c06\u5165\u4fb5\u68c0\u6d4b\u65e5\u5fd7\u53d1\u9001\u5230 MHN \u670d\u52a1\u5668\u8fdb\u884c\u7edf\u4e00\u7ba1\u7406\u3002<\/li>\n<\/ul>\n<h3>2\u3001\u90e8\u7f72 MHN \u7684\u6b65\u9aa4\u901a\u5e38\u5982\u4e0b:<\/h3>\n<li>\u5b89\u88c5 MHN \u670d\u52a1\u5668: \u5728\u4e00\u53f0\u670d\u52a1\u5668\u4e0a\u5b89\u88c5 MHN \u8f6f\u4ef6\u3002MHN \u670d\u52a1\u5668\u901a\u5e38\u8fd0\u884c\u4e00\u4e2a Flask Web \u5e94\u7528\u7a0b\u5e8f\u3002<\/li>\n<li>\u90e8\u7f72\u871c\u7f50\u4f20\u611f\u5668: \u901a\u8fc7 MHN Web \u754c\u9762\u751f\u6210\u90e8\u7f72\u811a\u672c&#xff0c;\u7136\u540e\u5728\u9700\u8981\u90e8\u7f72\u871c\u7f50\u7684\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\u8fd9\u4e9b\u811a\u672c\u3002<\/li>\n<li>\u96c6\u4e2d\u76d1\u63a7: \u90e8\u7f72\u6210\u529f\u7684\u871c\u7f50\u4f20\u611f\u5668\u4f1a\u81ea\u52a8\u8fde\u63a5\u5230 MHN \u670d\u52a1\u5668&#xff0c;\u5e76\u5728 Web \u754c\u9762\u4e0a\u663e\u793a\u6355\u83b7\u7684\u653b\u51fb\u6570\u636e\u3002<\/li>\n<h3>3\u3001 \u4ee3\u7801\u5730\u5740<\/h3>\n<p>MHN \u7684\u4e3b\u8981\u4fe1\u606f\u548c\u4ee3\u7801\u6258\u7ba1\u5728 GitHub \u4e0a&#xff1a;<\/p>\n<ul>\n<li>\u4e3b\u4ee3\u7801\u4ed3\u5e93: https:\/\/github.com\/pwnlandia\/mhn<\/li>\n<\/ul>\n<p>\u53ef\u4ee5\u5728\u8fd9\u4e2a GitHub \u4ed3\u5e93\u4e2d\u627e\u5230&#xff1a;<\/p>\n<ul>\n<li>\u6e90\u4ee3\u7801: MHN \u8f6f\u4ef6\u7684\u5b8c\u6574\u4ee3\u7801\u3002<\/li>\n<li>\u6587\u6863: \u5173\u4e8e MHN \u7684\u5b89\u88c5\u3001\u914d\u7f6e\u548c\u4f7f\u7528\u8bf4\u660e&#xff08;\u867d\u7136\u53ef\u80fd\u9700\u8981\u60a8\u4ed4\u7ec6\u9605\u8bfb README.md \u6587\u4ef6\u548c Wiki&#xff09;\u3002<\/li>\n<li>\u95ee\u9898\u8ddf\u8e2a: \u7528\u4e8e\u62a5\u544a Bug \u548c\u63d0\u51fa\u529f\u80fd\u8bf7\u6c42\u3002<\/li>\n<li>\u793e\u533a: \u901a\u8fc7 Issues \u548c Pull Requests \u4e0e\u5f00\u53d1\u8005\u548c\u793e\u533a\u6210\u5458\u4e92\u52a8\u3002<\/li>\n<\/ul>\n<h3>4\u3001\u603b\u7ed3\u6765\u8bf4&#xff0c;MHN \u7684\u4e3b\u8981\u4f18\u52bf\u5728\u4e8e:<\/h3>\n<ul>\n<li>\u7b80\u5316\u871c\u7f50\u90e8\u7f72\u548c\u7ba1\u7406\u6d41\u7a0b\u3002<\/li>\n<li>\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7edf\u4e00\u7684\u5e73\u53f0\u6765\u76d1\u63a7\u548c\u5206\u6790\u6765\u81ea\u4e0d\u540c\u871c\u7f50\u7684\u6570\u636e\u3002<\/li>\n<li>\u964d\u4f4e\u4e86\u6784\u5efa\u548c\u7ef4\u62a4\u871c\u7f50\u7f51\u7edc\u7684\u590d\u6742\u6027\u3002<\/li>\n<\/ul>\n<h2>\u4e8c\u3001\u00a0Modern Honey Network (MHN)\u5b89\u88c5<\/h2>\n<p>\u5728\u4e2d\u56fd\u5b89\u88c5 Modern Honey Network (MHN) \u7684\u8be6\u7ec6\u6b65\u9aa4\u5982\u4e0b\u3002\u8bf7\u6ce8\u610f&#xff0c;\u7531\u4e8e\u56fd\u5185\u7f51\u7edc\u73af\u5883\u7684\u7279\u6b8a\u6027&#xff0c;\u60a8\u53ef\u80fd\u9700\u8981\u91c7\u53d6\u4e00\u4e9b\u989d\u5916\u7684\u6b65\u9aa4\u6765\u786e\u4fdd\u987a\u5229\u5b89\u88c5\u548c\u8fd0\u884c\u3002<\/p>\n<h3>1\u3001\u524d\u63d0\u6761\u4ef6:<\/h3>\n<ul>\n<li>\u4e00\u53f0\u8fd0\u884c Ubuntu Server 16.04 \u6216\u66f4\u9ad8\u7248\u672c\u7684\u670d\u52a1\u5668: \u63a8\u8350\u4f7f\u7528\u5e72\u51c0\u7684 Ubuntu Server \u7cfb\u7edf\u3002<\/li>\n<li>sudo \u6743\u9650\u7684\u7528\u6237: \u60a8\u9700\u8981\u5177\u6709\u7ba1\u7406\u5458\u6743\u9650\u624d\u80fd\u6267\u884c\u5b89\u88c5\u547d\u4ee4\u3002<\/li>\n<li>\u7a33\u5b9a\u7684\u7f51\u7edc\u8fde\u63a5: \u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9700\u8981\u4e0b\u8f7d\u8f6f\u4ef6\u5305\u3002<\/li>\n<li>Python 2.7: MHN \u4e3b\u8981\u57fa\u4e8e Python 2.7 \u5f00\u53d1\u3002<\/li>\n<li>(\u53ef\u9009\u4f46\u5f3a\u70c8\u63a8\u8350) \u914d\u7f6e\u597d\u7684 DNS \u89e3\u6790: \u786e\u4fdd\u60a8\u7684\u670d\u52a1\u5668\u53ef\u4ee5\u6b63\u786e\u89e3\u6790\u57df\u540d\u3002<\/li>\n<\/ul>\n<h3>2\u3001\u5b89\u88c5\u6b65\u9aa4:<\/h3>\n<h4>1. \u66f4\u65b0\u7cfb\u7edf\u8f6f\u4ef6\u5305:<\/h4>\n<p>\u9996\u5148&#xff0c;\u901a\u8fc7 SSH \u8fde\u63a5\u5230\u60a8\u7684 Ubuntu \u670d\u52a1\u5668&#xff0c;\u5e76\u66f4\u65b0\u8f6f\u4ef6\u5305\u5217\u8868\u548c\u5df2\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305&#xff1a;<\/p>\n<p>sudo apt update<br \/>\nsudo apt upgrade -y<\/p>\n<h4>2. \u5b89\u88c5\u5fc5\u8981\u7684\u4f9d\u8d56\u5305:<\/h4>\n<p>MHN \u4f9d\u8d56\u4e00\u4e9b\u7cfb\u7edf\u8f6f\u4ef6\u5305&#xff0c;\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u5b83\u4eec&#xff1a;<\/p>\n<p>sudo apt install -y git python-dev libffi-dev libssl-dev python-pip virtualenv<\/p>\n<h4>3. \u514b\u9686 MHN \u4ee3\u7801\u4ed3\u5e93:<\/h4>\n<p>\u4f7f\u7528 git \u547d\u4ee4\u4ece GitHub \u514b\u9686 MHN \u7684\u4ee3\u7801\u4ed3\u5e93&#xff1a;<\/p>\n<p>git clone https:\/\/github.com\/threatstream\/mhn.git \/opt\/mhn<br \/>\ncd \/opt\/mhn<\/p>\n<p>\u6ce8\u610f: \u5982\u679c\u60a8\u5728\u56fd\u5185\u8bbf\u95ee GitHub \u6bd4\u8f83\u6162&#xff0c;\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u56fd\u5185\u7684\u955c\u50cf\u7ad9\u70b9\u6216\u8005\u914d\u7f6e\u4ee3\u7406\u3002<\/p>\n<h4>4. \u521b\u5efa\u548c\u6fc0\u6d3b\u865a\u62df\u73af\u5883:<\/h4>\n<p>\u4e3a\u4e86\u9694\u79bb MHN \u7684\u4f9d\u8d56\u5305&#xff0c;\u5efa\u8bae\u521b\u5efa\u4e00\u4e2a Python \u865a\u62df\u73af\u5883&#xff1a;<\/p>\n<p>sudo pip install virtualenv  # \u5982\u679c\u5c1a\u672a\u5b89\u88c5 virtualenv<br \/>\nvirtualenv env<br \/>\nsource env\/bin\/activate<\/p>\n<p>\u6fc0\u6d3b\u865a\u62df\u73af\u5883\u540e&#xff0c;\u60a8\u7684\u547d\u4ee4\u63d0\u793a\u7b26\u5e94\u8be5\u4f1a\u4ee5 (env) \u5f00\u5934\u3002<\/p>\n<h4>5. \u5b89\u88c5 MHN \u4f9d\u8d56:<\/h4>\n<p>\u5728\u865a\u62df\u73af\u5883\u4e2d&#xff0c;\u4f7f\u7528 pip \u5b89\u88c5 MHN \u6240\u9700\u7684 Python \u5305&#xff1a;<\/p>\n<p>pip install -r requirements.txt<\/p>\n<p>\u6ce8\u610f: \u56fd\u5185\u7f51\u7edc\u73af\u5883\u4e0b&#xff0c;pip \u4e0b\u8f7d\u901f\u5ea6\u53ef\u80fd\u4f1a\u6bd4\u8f83\u6162\u6216\u51fa\u73b0\u8fde\u63a5\u95ee\u9898\u3002\u60a8\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u56fd\u5185\u7684 PyPI \u955c\u50cf\u6e90\u6765\u52a0\u901f\u4e0b\u8f7d\u3002\u4f8b\u5982&#xff0c;\u4f7f\u7528\u963f\u91cc\u4e91\u955c\u50cf&#xff1a;<\/p>\n<p>pip install -r requirements.txt -i https:\/\/mirrors.aliyun.com\/pypi\/simple\/<\/p>\n<p>\u6216\u8005\u6e05\u534e\u5927\u5b66\u955c\u50cf&#xff1a;<\/p>\n<p>pip install -r requirements.txt -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple<\/p>\n<h4>6. \u590d\u5236\u5e76\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6:<\/h4>\n<p>\u590d\u5236 MHN \u7684\u9ed8\u8ba4\u914d\u7f6e\u6587\u4ef6\u5e76\u8fdb\u884c\u5fc5\u8981\u7684\u7f16\u8f91&#xff1a;<\/p>\n<p>cp mhn\/mhn.conf.example mhn\/mhn.conf<br \/>\nnano mhn\/mhn.conf<\/p>\n<p>\u5728 mhn.conf \u6587\u4ef6\u4e2d&#xff0c;\u60a8\u9700\u8981\u81f3\u5c11\u914d\u7f6e\u4ee5\u4e0b\u9009\u9879&#xff1a;<\/p>\n<ul>\n<li>mhn_ip: MHN \u670d\u52a1\u5668\u7684 IP \u5730\u5740\u3002\u786e\u4fdd\u8bbe\u7f6e\u4e3a\u60a8\u7684\u670d\u52a1\u5668\u7684\u516c\u7f51 IP \u6216\u60a8\u5e0c\u671b MHN \u76d1\u542c\u7684 IP \u5730\u5740\u3002<\/li>\n<li>web_ip: Web \u754c\u9762\u7684\u76d1\u542c IP \u5730\u5740&#xff0c;\u901a\u5e38\u8bbe\u7f6e\u4e3a 0.0.0.0 \u5141\u8bb8\u6240\u6709 IP \u8bbf\u95ee\u3002<\/li>\n<li>web_port: Web \u754c\u9762\u7684\u76d1\u542c\u7aef\u53e3&#xff0c;\u9ed8\u8ba4\u4e3a 80\u3002\u5982\u679c\u4f7f\u7528 80 \u7aef\u53e3&#xff0c;\u8bf7\u786e\u4fdd\u6ca1\u6709\u5176\u4ed6\u670d\u52a1\u5360\u7528\u3002<\/li>\n<li>amqp_uri: RabbitMQ \u7684\u8fde\u63a5 URI\u3002MHN \u9ed8\u8ba4\u4f7f\u7528\u672c\u5730 RabbitMQ\u3002<\/li>\n<li>database_uri: MongoDB \u7684\u8fde\u63a5 URI\u3002MHN \u9ed8\u8ba4\u4f7f\u7528\u672c\u5730 MongoDB\u3002<\/li>\n<\/ul>\n<p>\u60a8\u53ef\u4ee5\u6839\u636e\u60a8\u7684\u5b9e\u9645\u73af\u5883\u4fee\u6539\u5176\u4ed6\u914d\u7f6e\u9009\u9879\u3002\u4fdd\u5b58\u5e76\u5173\u95ed\u6587\u4ef6\u3002<\/p>\n<h4>7. \u5b89\u88c5\u548c\u914d\u7f6e MongoDB:<\/h4>\n<p>MHN \u4f7f\u7528 MongoDB \u5b58\u50a8\u6355\u83b7\u7684\u6570\u636e\u3002\u5982\u679c\u60a8\u7684\u670d\u52a1\u5668\u4e0a\u5c1a\u672a\u5b89\u88c5 MongoDB&#xff0c;\u8bf7\u8fdb\u884c\u5b89\u88c5&#xff1a;<\/p>\n<p>sudo apt install -y mongodb<br \/>\nsudo systemctl enable mongodb<br \/>\nsudo systemctl start mongodb<\/p>\n<p>\u60a8\u53ef\u80fd\u9700\u8981\u6839\u636e\u60a8\u7684 MongoDB \u914d\u7f6e\u8fdb\u884c\u4e00\u4e9b\u8c03\u6574&#xff0c;\u4f8b\u5982\u8bbe\u7f6e\u7528\u6237\u8ba4\u8bc1\u3002<\/p>\n<h4>8. \u5b89\u88c5\u548c\u914d\u7f6e RabbitMQ:<\/h4>\n<p>MHN \u4f7f\u7528 RabbitMQ \u4f5c\u4e3a\u6d88\u606f\u961f\u5217\u3002\u5982\u679c\u60a8\u7684\u670d\u52a1\u5668\u4e0a\u5c1a\u672a\u5b89\u88c5 RabbitMQ&#xff0c;\u8bf7\u8fdb\u884c\u5b89\u88c5&#xff1a;<\/p>\n<p>sudo apt install -y rabbitmq-server<br \/>\nsudo systemctl enable rabbitmq-server<br \/>\nsudo systemctl start rabbitmq-server<\/p>\n<h4>9. \u521d\u59cb\u5316 MHN \u6570\u636e\u5e93:<\/h4>\n<p>\u8fd0\u884c MHN \u7684\u7ba1\u7406\u811a\u672c\u6765\u521d\u59cb\u5316\u6570\u636e\u5e93&#xff1a;<\/p>\n<p>python mhn\/manage.py db upgrade<\/p>\n<h4>10. \u521b\u5efa\u7ba1\u7406\u5458\u7528\u6237:<\/h4>\n<p>\u4f7f\u7528\u7ba1\u7406\u811a\u672c\u521b\u5efa\u4e00\u4e2a MHN Web \u754c\u9762\u7684\u7ba1\u7406\u5458\u7528\u6237&#xff1a;<\/p>\n<p>python mhn\/manage.py createsuperuser<\/p>\n<p>\u6309\u7167\u63d0\u793a\u8f93\u5165\u7528\u6237\u540d\u3001\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u548c\u5bc6\u7801\u3002<\/p>\n<h4>11. \u8fd0\u884c MHN \u670d\u52a1:<\/h4>\n<p>\u4f7f\u7528 honssh \u547d\u4ee4\u542f\u52a8 MHN \u7684\u6838\u5fc3\u670d\u52a1&#xff1a;<\/p>\n<p>honssh &amp;<\/p>\n<p>\u8fd9\u5c06\u4f7f MHN \u5728\u540e\u53f0\u8fd0\u884c\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528 jobs \u547d\u4ee4\u67e5\u770b\u540e\u53f0\u8fd0\u884c\u7684\u8fdb\u7a0b\u3002<\/p>\n<h4>12. \u8fd0\u884c MHN Web \u754c\u9762:<\/h4>\n<p>\u4f7f\u7528 python mhn\/run.py \u547d\u4ee4\u542f\u52a8 Web \u754c\u9762&#xff1a;<\/p>\n<p>python mhn\/run.py &amp;<\/p>\n<p>\u540c\u6837&#xff0c;\u8fd9\u5c06\u5728\u540e\u53f0\u8fd0\u884c Web \u754c\u9762\u3002<\/p>\n<h4>13. \u8bbf\u95ee MHN Web \u754c\u9762:<\/h4>\n<p>\u5728 Web \u6d4f\u89c8\u5668\u4e2d&#xff0c;\u8bbf\u95ee http:\/\/&lt;\u60a8\u7684\u670d\u52a1\u5668IP\u5730\u5740&gt;:&lt;\u60a8\u5728 mhn.conf \u4e2d\u914d\u7f6e\u7684 web_port&gt;\u3002\u4f8b\u5982&#xff0c;\u5982\u679c\u60a8\u7684\u670d\u52a1\u5668 IP \u662f 192.168.1.100 \u5e76\u4e14\u60a8\u4f7f\u7528\u9ed8\u8ba4\u7684 80 \u7aef\u53e3&#xff0c;\u5219\u8bbf\u95ee http:\/\/192.168.1.100\/\u3002<\/p>\n<p>\u4f7f\u7528\u60a8\u5728\u6b65\u9aa4 10 \u4e2d\u521b\u5efa\u7684\u7ba1\u7406\u5458\u7528\u6237\u540d\u548c\u5bc6\u7801\u767b\u5f55\u3002<\/p>\n<h4>14. \u914d\u7f6e\u871c\u7f50:<\/h4>\n<p>\u767b\u5f55 Web \u754c\u9762\u540e&#xff0c;\u60a8\u53ef\u4ee5\u5f00\u59cb\u914d\u7f6e\u548c\u90e8\u7f72\u5404\u79cd\u871c\u7f50\u4f20\u611f\u5668\u3002\u5728 &#034;Deploy&#034; \u9009\u9879\u5361\u4e2d&#xff0c;\u60a8\u53ef\u4ee5\u9009\u62e9\u8981\u90e8\u7f72\u7684\u871c\u7f50\u7c7b\u578b&#xff0c;\u5e76\u83b7\u53d6\u90e8\u7f72\u811a\u672c\u3002<\/p>\n<h4>15. \u90e8\u7f72\u871c\u7f50\u4f20\u611f\u5668:<\/h4>\n<p>\u5c06\u751f\u6210\u7684\u90e8\u7f72\u811a\u672c\u590d\u5236\u5230\u60a8\u8981\u90e8\u7f72\u871c\u7f50\u7684\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a&#xff0c;\u5e76\u8fd0\u884c\u8be5\u811a\u672c\u3002\u871c\u7f50\u4f20\u611f\u5668\u5c06\u81ea\u52a8\u8fde\u63a5\u5230\u60a8\u7684 MHN \u670d\u52a1\u5668\u5e76\u5f00\u59cb\u53d1\u9001\u6570\u636e\u3002<\/p>\n<p>16.\u56fd\u5185\u73af\u5883\u53ef\u80fd\u9047\u5230\u7684\u95ee\u9898\u548c\u89e3\u51b3\u65b9\u6848:<\/p>\n<ul>\n<li>GitHub \u514b\u9686\u6162\u6216\u5931\u8d25: \u5c1d\u8bd5\u4f7f\u7528\u56fd\u5185\u955c\u50cf\u7ad9\u70b9\u6216\u914d\u7f6e VPN\/\u4ee3\u7406\u3002<\/li>\n<li>pip \u4e0b\u8f7d\u6162\u6216\u8fde\u63a5\u95ee\u9898: \u4f7f\u7528\u56fd\u5185 PyPI \u955c\u50cf\u6e90&#xff08;\u5982\u963f\u91cc\u4e91\u3001\u6e05\u534e\u5927\u5b66\u7b49&#xff09;\u3002<\/li>\n<li>\u7f51\u7edc\u9632\u706b\u5899\u963b\u6b62\u8fde\u63a5: \u786e\u4fdd\u60a8\u7684\u670d\u52a1\u5668\u9632\u706b\u5899\u5141\u8bb8 MHN \u4f7f\u7528\u7684\u7aef\u53e3&#xff08;\u9ed8\u8ba4\u4e3a 80 \u548c\u5176\u4ed6\u871c\u7f50\u6240\u9700\u7684\u7aef\u53e3&#xff09;\u7684\u5165\u7ad9\u8fde\u63a5\u3002<\/li>\n<li>\u67d0\u4e9b\u871c\u7f50\u5728\u56fd\u5185\u53ef\u80fd\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c: \u7531\u4e8e\u7f51\u7edc\u9650\u5236\u6216\u670d\u52a1\u53ef\u7528\u6027\u95ee\u9898&#xff0c;\u67d0\u4e9b\u871c\u7f50\u6280\u672f\u53ef\u80fd\u65e0\u6cd5\u5728\u4e2d\u56fd\u5927\u9646\u5730\u533a\u6b63\u5e38\u5de5\u4f5c\u3002<\/li>\n<\/ul>\n<p>17.\u540e\u7eed\u6b65\u9aa4:<\/p>\n<ul>\n<li>\u63a2\u7d22 MHN Web \u754c\u9762: \u719f\u6089 Web \u754c\u9762\u7684\u5404\u4e2a\u529f\u80fd&#xff0c;\u4f8b\u5982\u67e5\u770b\u4e8b\u4ef6\u3001\u7ba1\u7406\u871c\u7f50\u3001\u914d\u7f6e\u89c4\u5219\u7b49\u3002<\/li>\n<li>\u90e8\u7f72\u66f4\u591a\u871c\u7f50: \u6839\u636e\u60a8\u7684\u9700\u6c42\u90e8\u7f72\u4e0d\u540c\u7c7b\u578b\u7684\u871c\u7f50\u4f20\u611f\u5668\u3002<\/li>\n<li>\u96c6\u6210 SIEM \u7cfb\u7edf (\u53ef\u9009): \u914d\u7f6e MHN \u4e0e Splunk\u3001ArcSight \u7b49 SIEM \u7cfb\u7edf\u96c6\u6210&#xff0c;\u8fdb\u884c\u66f4\u9ad8\u7ea7\u7684\u5206\u6790\u548c\u544a\u8b66\u3002<\/li>\n<li>\u76d1\u63a7 MHN \u670d\u52a1: \u786e\u4fdd honssh \u548c run.py \u8fdb\u7a0b\u7a33\u5b9a\u8fd0\u884c\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528 nohup \u6216 screen \u7b49\u5de5\u5177\u6765\u7ba1\u7406\u540e\u53f0\u8fdb\u7a0b&#xff0c;\u6216\u8005\u914d\u7f6e systemd \u670d\u52a1\u3002<\/li>\n<\/ul>\n<p>\u5e0c\u671b\u8fd9\u4e9b\u8be6\u7ec6\u6b65\u9aa4\u80fd\u591f\u5e2e\u52a9\u60a8\u6210\u529f\u5b89\u88c5 MHN\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e18\u6b21\uff0c\u6536\u85cf20\u6b21\u3002Modern Honey Network (MHN) \u662f\u4e00\u4e2a\u96c6\u4e2d\u5316\u7684\u871c\u7f50\u7ba1\u7406\u548c\u6570\u636e\u6536\u96c6\u670d\u52a1\u5668\u3002\u5b83\u65e8\u5728\u7b80\u5316\u871c\u7f50\u7684\u90e8\u7f72\u548c\u7ba1\u7406\uff0c\u5e76\u63d0\u4f9b\u4e00\u4e2a\u7b80\u6d01\u7684 Web \u754c\u9762\u6765\u67e5\u770b\u6355\u83b7\u7684\u6570\u636e\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[61,2771,43,44],"topic":[],"class_list":["post-33498","post","type-post","status-publish","format-standard","hentry","category-server","tag-61","tag-2771","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u871c\u7f50\u7ba1\u7406\u548c\u6570\u636e\u6536\u96c6\u670d\u52a1\u5668\uff1aModern Honey Network (MHN) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/33498.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u871c\u7f50\u7ba1\u7406\u548c\u6570\u636e\u6536\u96c6\u670d\u52a1\u5668\uff1aModern Honey Network (MHN) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e18\u6b21\uff0c\u6536\u85cf20\u6b21\u3002Modern Honey Network (MHN) \u662f\u4e00\u4e2a\u96c6\u4e2d\u5316\u7684\u871c\u7f50\u7ba1\u7406\u548c\u6570\u636e\u6536\u96c6\u670d\u52a1\u5668\u3002\u5b83\u65e8\u5728\u7b80\u5316\u871c\u7f50\u7684\u90e8\u7f72\u548c\u7ba1\u7406\uff0c\u5e76\u63d0\u4f9b\u4e00\u4e2a\u7b80\u6d01\u7684 Web \u754c\u9762\u6765\u67e5\u770b\u6355\u83b7\u7684\u6570\u636e\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/33498.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-27T21:15:26+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/33498.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/33498.html\",\"name\":\"\u871c\u7f50\u7ba1\u7406\u548c\u6570\u636e\u6536\u96c6\u670d\u52a1\u5668\uff1aModern Honey Network (MHN) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-27T21:15:26+00:00\",\"dateModified\":\"2025-04-27T21:15:26+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/33498.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/33498.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/33498.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u871c\u7f50\u7ba1\u7406\u548c\u6570\u636e\u6536\u96c6\u670d\u52a1\u5668\uff1aModern Honey Network (MHN)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u871c\u7f50\u7ba1\u7406\u548c\u6570\u636e\u6536\u96c6\u670d\u52a1\u5668\uff1aModern Honey Network (MHN) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/33498.html","og_locale":"zh_CN","og_type":"article","og_title":"\u871c\u7f50\u7ba1\u7406\u548c\u6570\u636e\u6536\u96c6\u670d\u52a1\u5668\uff1aModern Honey Network (MHN) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e18\u6b21\uff0c\u6536\u85cf20\u6b21\u3002Modern Honey Network (MHN) \u662f\u4e00\u4e2a\u96c6\u4e2d\u5316\u7684\u871c\u7f50\u7ba1\u7406\u548c\u6570\u636e\u6536\u96c6\u670d\u52a1\u5668\u3002\u5b83\u65e8\u5728\u7b80\u5316\u871c\u7f50\u7684\u90e8\u7f72\u548c\u7ba1\u7406\uff0c\u5e76\u63d0\u4f9b\u4e00\u4e2a\u7b80\u6d01\u7684 Web \u754c\u9762\u6765\u67e5\u770b\u6355\u83b7\u7684\u6570\u636e\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/33498.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-27T21:15:26+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/33498.html","url":"https:\/\/www.wsisp.com\/helps\/33498.html","name":"\u871c\u7f50\u7ba1\u7406\u548c\u6570\u636e\u6536\u96c6\u670d\u52a1\u5668\uff1aModern Honey Network (MHN) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-27T21:15:26+00:00","dateModified":"2025-04-27T21:15:26+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/33498.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/33498.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/33498.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u871c\u7f50\u7ba1\u7406\u548c\u6570\u636e\u6536\u96c6\u670d\u52a1\u5668\uff1aModern Honey Network (MHN)"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/33498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=33498"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/33498\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=33498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=33498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=33498"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=33498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}