{"id":1473,"date":"2023-04-25T13:39:38","date_gmt":"2023-04-25T10:39:38","guid":{"rendered":"https:\/\/virtirio.com\/blog\/?p=1473"},"modified":"2025-03-24T23:24:43","modified_gmt":"2025-03-24T20:24:43","slug":"ddos-%d0%b0%d1%82%d0%b0%d0%ba%d0%b8-%d0%be%d1%87%d0%b8%d0%bc%d0%b0-devops","status":"publish","type":"post","link":"https:\/\/virtirio.com\/blog\/uk\/ddos-%d0%b0%d1%82%d0%b0%d0%ba%d0%b8-%d0%be%d1%87%d0%b8%d0%bc%d0%b0-devops\/","title":{"rendered":"DDoS-\u0430\u0442\u0430\u043a\u0438 \u043e\u0447\u0438\u043c\u0430 DevOps: \u0410\u0443\u0434\u0438\u0442 \u0431\u0435\u0437\u043f\u0435\u043a\u0438 \u0442\u0430 \u0437\u0430\u0445\u0438\u0441\u0442 \u0456\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438"},"content":{"rendered":"<p>DevOps \u2014 \u0446\u0435 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430, \u044f\u043a\u0430 \u043e\u0431&#8217;\u0454\u0434\u043d\u0443\u0454 \u0440\u043e\u0437\u0440\u043e\u0431\u043a\u0443 \u0442\u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0439\u043d\u0443 \u0434\u0456\u044f\u043b\u044c\u043d\u0456\u0441\u0442\u044c \u0437 \u043c\u0435\u0442\u043e\u044e \u0434\u043e\u0441\u044f\u0433\u043d\u0435\u043d\u043d\u044f \u0448\u0432\u0438\u0434\u0448\u043e\u0457 \u0442\u0430 \u043d\u0430\u0434\u0456\u0439\u043d\u0456\u0448\u043e\u0457 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u043e\u0433\u043e \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u044f. \u0425\u043e\u0447\u0430 DevOps \u0444\u043e\u043a\u0443\u0441\u0443\u0454\u0442\u044c\u0441\u044f \u043d\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0456\u0457, \u0440\u043e\u0437\u0433\u043e\u0440\u0442\u0430\u043d\u043d\u0456 \u0442\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u0456 \u0434\u043e\u0434\u0430\u0442\u043a\u0430\u043c\u0438, \u0431\u0435\u0437\u043f\u0435\u043a\u0430 \u0454 \u043e\u0434\u043d\u0438\u043c \u0456\u0437 \u043a\u043b\u044e\u0447\u043e\u0432\u0438\u0445 \u0430\u0441\u043f\u0435\u043a\u0442\u0456\u0432 \u0446\u0456\u0454\u0457 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438. \u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u043c\u0438 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e, \u044f\u043a DevOps \u043c\u043e\u0436\u0435 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043c\u043e\u043d\u0456\u0442\u043e\u0440\u0438\u043d\u0433\u0443, \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043f\u043b\u0430\u043d \u0434\u0456\u0439 \u0442\u0430 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u043f\u0440\u0438\u0441\u0442\u0440\u043e\u0457 \u0434\u043b\u044f \u0432\u0438\u044f\u0432\u043b\u0435\u043d\u043d\u044f \u0442\u0430 \u0437\u0430\u0445\u0438\u0441\u0442\u0443 \u0432\u0456\u0434 DDoS-\u0430\u0442\u0430\u043a.<\/p>\n<h2>\u042f\u043a \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043c\u043e\u043d\u0456\u0442\u043e\u0440\u0438\u043d\u0433\u0443 \u0434\u043b\u044f \u0432\u0438\u044f\u0432\u043b\u0435\u043d\u043d\u044f DDoS-\u0430\u0442\u0430\u043a<\/h2>\n<p>\u041c\u043e\u043d\u0456\u0442\u043e\u0440\u0438\u043d\u0433 \u0454 \u043e\u0434\u043d\u0438\u043c \u0456\u0437 \u043a\u043b\u044e\u0447\u043e\u0432\u0438\u0445 \u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0456\u0432, \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0438\u0445 \u0434\u043b\u044f \u0432\u0438\u044f\u0432\u043b\u0435\u043d\u043d\u044f DDoS-\u0430\u0442\u0430\u043a. DevOps \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u043c\u043e\u043d\u0456\u0442\u043e\u0440\u0438\u043d\u0433, \u0449\u043e\u0431 \u0432\u0438\u0437\u043d\u0430\u0447\u0438\u0442\u0438 \u043d\u0435\u0437\u0432\u0438\u0447\u043d\u0443 \u0430\u043a\u0442\u0438\u0432\u043d\u0456\u0441\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0457\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445. \u0414\u0435\u044f\u043a\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u043c\u0435\u0442\u0440\u0438\u043a, \u044f\u043a\u0456 \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u043e \u043c\u043e\u043d\u0456\u0442\u043e\u0440\u0438\u0442\u0438, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u044c:<\/p>\n<ul>\n<li><strong>\u041f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u0443 \u0437\u0434\u0430\u0442\u043d\u0456\u0441\u0442\u044c \u043c\u0435\u0440\u0435\u0436\u0456:<\/strong> \u043d\u0435\u0437\u0432\u0438\u0447\u043d\u0435 \u0437\u0431\u0456\u043b\u044c\u0448\u0435\u043d\u043d\u044f \u0442\u0440\u0430\u0444\u0456\u043a\u0443 \u043c\u043e\u0436\u0435 \u0441\u0432\u0456\u0434\u0447\u0438\u0442\u0438 \u043f\u0440\u043e DDoS-\u0430\u0442\u0430\u043a\u0443.<\/li>\n<li><strong>\u0421\u0442\u0430\u043d CPU:<\/strong> DDoS-\u0430\u0442\u0430\u043a\u0438 \u043c\u043e\u0436\u0443\u0442\u044c \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u043e\u0431\u0447\u0438\u0441\u043b\u044e\u0432\u0430\u043b\u044c\u043d\u0456 \u0440\u0435\u0441\u0443\u0440\u0441\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0456\u0432 \u0434\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0456\u0457 \u0442\u0440\u0430\u0444\u0456\u043a\u0443.<\/li>\n<li><strong>\u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u043f\u0430\u043c&#8217;\u044f\u0442\u0456:<\/strong> DDoS-\u0430\u0442\u0430\u043a\u0438 \u043c\u043e\u0436\u0443\u0442\u044c \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u043f\u0430\u043c&#8217;\u044f\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440\u0456\u0432 \u0434\u043b\u044f \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f \u0448\u043a\u0456\u0434\u043b\u0438\u0432\u043e\u0433\u043e \u043a\u043e\u0434\u0443 \u0430\u0431\u043e \u0434\u0430\u043d\u0438\u0445.<\/li>\n<li><strong>\u041a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u0437\u0430\u043f\u0438\u0442\u0456\u0432:<\/strong> \u043d\u0435\u0437\u0432\u0438\u0447\u043d\u043e \u0432\u0438\u0441\u043e\u043a\u0430 \u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u0437\u0430\u043f\u0438\u0442\u0456\u0432 \u0434\u043e \u043f\u0435\u0432\u043d\u043e\u0433\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u0443 \u043c\u043e\u0436\u0435 \u0441\u0432\u0456\u0434\u0447\u0438\u0442\u0438 \u043f\u0440\u043e DDoS-\u0430\u0442\u0430\u043a\u0443.<\/li>\n<\/ul>\n<p>DevOps \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0438 \u043c\u043e\u043d\u0456\u0442\u043e\u0440\u0438\u043d\u0433\u0443, \u0442\u0430\u043a\u0456 \u044f\u043a Prometheus, Grafana \u0430\u0431\u043e Zabbix, \u0449\u043e\u0431 \u0432\u0456\u0437\u0443\u0430\u043b\u0456\u0437\u0443\u0432\u0430\u0442\u0438 \u0446\u0456 \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u0442\u0430 \u0448\u0432\u0438\u0434\u043a\u043e \u0432\u0438\u044f\u0432\u043b\u044f\u0442\u0438 DDoS-\u0430\u0442\u0430\u043a\u0438.<\/p>\n<p><strong>\u041f\u0440\u0438\u043a\u043b\u0430\u0434 \u043a\u043e\u0434\u0443 \u043c\u043e\u043d\u0456\u0442\u043e\u0440\u0438\u043d\u0433\u0443 \u0437 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f\u043c Prometheus:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># \u041f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u0430 \u0437\u0434\u0430\u0442\u043d\u0456\u0441\u0442\u044c \u043c\u0435\u0440\u0435\u0436\u0456\r\nirate(node_network_receive_bytes_total[5m]) &gt; 1e+8\r\n\r\n# \u0421\u0442\u0430\u043d CPU\r\n100 - (avg(irate(node_cpu_seconds_total{mode=\"idle\"}[5m])) by (instance) * 100) &gt; 70\r\n\r\n# \u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u043f\u0430\u043c'\u044f\u0442\u0456\r\n(node_memory_Active_bytes \/ node_memory_MemTotal_bytes) &gt; 0.9\r\n\r\n# \u041a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u0437\u0430\u043f\u0438\u0442\u0456\u0432\r\nsum(rate(nginx_http_requests_total{status!~\"5..\"}[5m])) by (server) &gt; 1000\r\n<\/pre>\n<h2>\u042f\u043a \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043f\u043b\u0430\u043d \u0434\u0456\u0439 \u0434\u043b\u044f \u0440\u0435\u0430\u0433\u0443\u0432\u0430\u043d\u043d\u044f \u043d\u0430 DDoS-\u0430\u0442\u0430\u043a\u0443<\/h2>\n<p>DDoS-\u0430\u0442\u0430\u043a\u0438 \u043c\u043e\u0436\u0443\u0442\u044c \u0431\u0443\u0442\u0438 \u043d\u0435\u0431\u0435\u0437\u043f\u0435\u0447\u043d\u0438\u043c\u0438 \u0434\u043b\u044f \u0431\u0456\u0437\u043d\u0435\u0441\u0443, \u0442\u043e\u043c\u0443 DevOps \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043c\u0430\u0442\u0438 \u043f\u043b\u0430\u043d \u0434\u0456\u0439 \u0434\u043b\u044f \u0448\u0432\u0438\u0434\u043a\u043e\u0433\u043e \u0440\u0435\u0430\u0433\u0443\u0432\u0430\u043d\u043d\u044f \u043d\u0430 DDoS-\u0430\u0442\u0430\u043a\u0443. \u041e\u0441\u044c \u043a\u0456\u043b\u044c\u043a\u0430 \u043a\u0440\u043e\u043a\u0456\u0432, \u044f\u043a\u0456 DevOps \u043c\u043e\u0436\u0435 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0438 \u0443 \u0441\u0432\u0456\u0439 \u043f\u043b\u0430\u043d \u0434\u0456\u0439:<\/p>\n<ol>\n<li><strong>\u0412\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0442\u0438\u043f\u0443 \u0430\u0442\u0430\u043a\u0438:<\/strong> DevOps \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u0440\u043e\u0437\u0443\u043c\u0456\u0442\u0438, \u044f\u043a\u0438\u0439 <a href=\"https:\/\/virtirio.com\/blog\/uk\/%d0%b7%d0%b0%d1%85%d0%b8%d1%81%d1%82-%d0%b2%d1%96%d0%b4-ddos\/\">\u0442\u0438\u043f \u0430\u0442\u0430\u043a\u0438<\/a> \u0432\u0456\u0434\u0431\u0443\u0432\u0430\u0454\u0442\u044c\u0441\u044f <em>(\u043d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434, SYN flood, DNS amplification, HTTP flood \u0442\u043e\u0449\u043e)<\/em>, \u0449\u043e\u0431 \u0432\u0438\u0437\u043d\u0430\u0447\u0438\u0442\u0438 \u043d\u0430\u0439\u0431\u0456\u043b\u044c\u0448 \u0435\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0456 \u043c\u0435\u0442\u043e\u0434\u0438 \u0437\u0430\u0445\u0438\u0441\u0442\u0443.<\/li>\n<li><strong>\u0406\u0437\u043e\u043b\u044f\u0446\u0456\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0456\u0432:<\/strong> DevOps \u043c\u043e\u0436\u0435 \u0456\u0437\u043e\u043b\u044e\u0432\u0430\u0442\u0438 \u0437\u0430\u0440\u0430\u0436\u0435\u043d\u0456 \u0441\u0435\u0440\u0432\u0435\u0440\u0438 \u0432\u0456\u0434 \u0456\u043d\u0448\u0438\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u0456\u0432 \u0443 \u043c\u0435\u0440\u0435\u0436\u0456, \u0449\u043e\u0431 \u043e\u0431\u043c\u0435\u0436\u0438\u0442\u0438 \u043f\u043e\u0448\u0438\u0440\u0435\u043d\u043d\u044f \u0430\u0442\u0430\u043a\u0438.<\/li>\n<li><strong>\u0417\u0431\u0456\u043b\u044c\u0448\u0435\u043d\u043d\u044f \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u043e\u0457 \u0437\u0434\u0430\u0442\u043d\u043e\u0441\u0442\u0456:<\/strong> DevOps \u043c\u043e\u0436\u0435 \u0437\u0431\u0456\u043b\u044c\u0448\u0438\u0442\u0438 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u0443 \u0437\u0434\u0430\u0442\u043d\u0456\u0441\u0442\u044c \u043c\u0435\u0440\u0435\u0436\u0456 \u0430\u0431\u043e \u0434\u043e\u0434\u0430\u0442\u0438 \u0434\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0456 \u0440\u0435\u0441\u0443\u0440\u0441\u0438, \u0449\u043e\u0431 \u0432\u043f\u043e\u0440\u0430\u0442\u0438\u0441\u044f \u0437 \u043d\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f\u043c.<\/li>\n<li><strong>\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0438 \u0437\u0430\u0445\u0438\u0441\u0442\u0443 \u0432\u0456\u0434 DDoS-\u0430\u0442\u0430\u043a:<\/strong> DevOps \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0437\u0430\u0445\u0438\u0441\u0442\u0443 \u0432\u0456\u0434 DDoS-\u0430\u0442\u0430\u043a, \u0442\u0430\u043a\u0443 \u044f\u043a Cloudflare, Akamai \u0430\u0431\u043e AWS Shield, \u0449\u043e\u0431 \u0431\u043b\u043e\u043a\u0443\u0432\u0430\u0442\u0438 \u0432\u0445\u0456\u0434\u043d\u0438\u0439 \u0442\u0440\u0430\u0444\u0456\u043a, \u0437\u0433\u0435\u043d\u0435\u0440\u043e\u0432\u0430\u043d\u0438\u0439 DDoS-\u0430\u0442\u0430\u043a\u043e\u044e.<\/li>\n<li><strong>\u0421\u043f\u043e\u0432\u0456\u0449\u0435\u043d\u043d\u044f \u043f\u0440\u043e \u0432\u0438\u043d\u0438\u043a\u043b\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443:<\/strong> DevOps \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u0441\u043f\u043e\u0432\u0456\u0449\u0430\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0431\u0435\u0437\u043f\u0435\u043a\u0438 \u043f\u0440\u043e \u0432\u0438\u043d\u0438\u043a\u043b\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443, \u0449\u043e\u0431 \u0432\u043e\u043d\u0438 \u043c\u043e\u0433\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0434\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0456 \u0437\u0430\u0445\u043e\u0434\u0438 \u0449\u043e\u0434\u043e \u0437\u0430\u0445\u0438\u0441\u0442\u0443 \u043c\u0435\u0440\u0435\u0436\u0456.<\/li>\n<li><strong>\u0412\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f:<\/strong> \u041f\u0456\u0441\u043b\u044f \u0442\u043e\u0433\u043e, \u044f\u043a \u0430\u0442\u0430\u043a\u0430 \u0431\u0443\u043b\u0430 \u0437\u0443\u043f\u0438\u043d\u0435\u043d\u0430, DevOps \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u0432\u0456\u0434\u043d\u043e\u0432\u0438\u0442\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0438 \u0442\u0430 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438 \u0457\u0445 \u043f\u0440\u0430\u0446\u0435\u0437\u0434\u0430\u0442\u043d\u0456\u0441\u0442\u044c.<\/li>\n<\/ol>\n<p>\u041f\u0440\u0438\u043a\u043b\u0430\u0434 \u043a\u043e\u0434\u0443 \u0434\u043b\u044f \u0441\u043f\u043e\u0432\u0456\u0449\u0435\u043d\u043d\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0438 \u0431\u0435\u0437\u043f\u0435\u043a\u0438 \u043f\u0440\u043e \u0432\u0438\u043d\u0438\u043a\u043b\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">curl -X POST -H \"Content-Type: application\/json\" \\\r\n-d '{\"message\": \"DDoS attack detected on server 1\"}' \\\r\nhttps:\/\/security-team.example.com\/alerts\r\n<\/pre>\n<h2>\u042f\u043a \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 IDS\/IPS \u0434\u043b\u044f \u0432\u0438\u044f\u0432\u043b\u0435\u043d\u043d\u044f DDoS-\u0430\u0442\u0430\u043a<\/h2>\n<p>\u0421\u0438\u0441\u0442\u0435\u043c\u0438 \u0432\u0438\u044f\u0432\u043b\u0435\u043d\u043d\u044f \u0432\u0442\u043e\u0440\u0433\u043d\u0435\u043d\u044c (IDS) \u0442\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0438 \u0437\u0430\u043f\u043e\u0431\u0456\u0433\u0430\u043d\u043d\u044f \u0432\u0442\u043e\u0440\u0433\u043d\u0435\u043d\u043d\u044f\u043c (IPS) \u043c\u043e\u0436\u0443\u0442\u044c \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u0442\u0438 DevOps \u0448\u0432\u0438\u0434\u043a\u043e \u0432\u0438\u044f\u0432\u0438\u0442\u0438 \u0442\u0430 \u0437\u0443\u043f\u0438\u043d\u0438\u0442\u0438 DDoS-\u0430\u0442\u0430\u043a\u0438. IDS \u0442\u0430 IPS \u043f\u0440\u0430\u0446\u044e\u044e\u0442\u044c \u043d\u0430 \u0440\u0456\u0432\u043d\u0456 \u043c\u0435\u0440\u0435\u0436\u0456, \u043c\u043e\u043d\u0456\u0442\u043e\u0440\u044f\u0442\u044c \u0442\u0440\u0430\u0444\u0456\u043a \u0442\u0430 \u0432\u0438\u044f\u0432\u043b\u044f\u044e\u0442\u044c \u0430\u043d\u043e\u043c\u0430\u043b\u0456\u0457. IDS \u043c\u043e\u0436\u0435 \u0441\u043f\u043e\u0432\u0456\u0441\u0442\u0438\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0431\u0435\u0437\u043f\u0435\u043a\u0438 \u043f\u0440\u043e \u0430\u0442\u0430\u043a\u0443, \u0442\u043e\u0434\u0456 \u044f\u043a IPS \u043c\u043e\u0436\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e \u0431\u043b\u043e\u043a\u0443\u0432\u0430\u0442\u0438 \u0432\u0445\u0456\u0434\u043d\u0438\u0439 \u0442\u0440\u0430\u0444\u0456\u043a, \u043f\u043e\u0432&#8217;\u044f\u0437\u0430\u043d\u0438\u0439 \u0437 \u0430\u0442\u0430\u043a\u043e\u044e.<\/p>\n<p><strong>\u041f\u0440\u0438\u043a\u043b\u0430\u0434 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 IDS \u0437 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f\u043c Snort:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">alert tcp any any -&gt; any 80 (content:\"GET \/ HTTP\/1.1\"; \\\r\npcre:\"\/^(GET|HEAD|POST) \\\/\/i\"; \\\r\nflow:to_server,established; \\\r\nthreshold: type both, track by_src, count 50, seconds 10; \\\r\nclasstype:attempted-dos; \\\r\nsid:1000001\r\n<\/pre>\n<p>\u0426\u044f \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f Snort \u0432\u0438\u044f\u0432\u043b\u044f\u0454 \u0441\u043f\u0440\u043e\u0431\u0438 \u0432\u0438\u043a\u043e\u043d\u0430\u0442\u0438 DDoS-\u0430\u0442\u0430\u043a\u0443 \u043d\u0430 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440, \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u044e\u0447\u0438 \u0431\u0456\u043b\u044c\u0448\u0435 50 \u0437\u0430\u043f\u0438\u0442\u0456\u0432 \u0437\u0430 10 \u0441\u0435\u043a\u0443\u043d\u0434. \u042f\u043a\u0449\u043e \u0430\u0442\u0430\u043a\u0430 \u0432\u0438\u044f\u0432\u043b\u0435\u043d\u0430, Snort \u043d\u0430\u0434\u0456\u0448\u043b\u0435 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u0436\u0435\u043d\u043d\u044f \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0436\u0443\u0440\u043d\u0430\u043b\u044e\u0432\u0430\u043d\u043d\u044f.<\/p>\n<h2>\u042f\u043a \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 WAF \u0434\u043b\u044f \u0437\u0430\u0445\u0438\u0441\u0442\u0443 \u0432\u0456\u0434 DDoS-\u0430\u0442\u0430\u043a \u043d\u0430 \u0440\u0456\u0432\u043d\u0456 \u0434\u043e\u0434\u0430\u0442\u043a\u0456\u0432<\/h2>\n<p>Web Application Firewall (WAF) \u2014 \u0446\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0437\u0430\u0445\u0438\u0441\u0442\u0443, \u0449\u043e \u043f\u0440\u0430\u0446\u044e\u0454 \u043d\u0430 \u0440\u0456\u0432\u043d\u0456 \u0434\u043e\u0434\u0430\u0442\u043a\u0456\u0432, \u044f\u043a\u0430 \u043c\u043e\u0436\u0435 \u0437\u0430\u043f\u043e\u0431\u0456\u0433\u0442\u0438 DDoS-\u0430\u0442\u0430\u043a\u0430\u043c, \u0431\u043b\u043e\u043a\u0443\u044e\u0447\u0438 \u0448\u043a\u0456\u0434\u043b\u0438\u0432\u0438\u0439 \u0442\u0440\u0430\u0444\u0456\u043a \u043d\u0430 \u0446\u044c\u043e\u043c\u0443 \u0440\u0456\u0432\u043d\u0456. WAF \u043c\u043e\u0436\u0435 \u0431\u0443\u0442\u0438 \u043d\u0430\u043b\u0430\u0448\u0442\u043e\u0432\u0430\u043d\u0438\u0439 \u0442\u0430\u043a\u0438\u043c \u0447\u0438\u043d\u043e\u043c, \u0449\u043e\u0431 \u0431\u043b\u043e\u043a\u0443\u0432\u0430\u0442\u0438 \u0442\u0440\u0430\u0444\u0456\u043a, \u0449\u043e \u043d\u0430\u0434\u0445\u043e\u0434\u0438\u0442\u044c \u0437 \u043f\u0435\u0432\u043d\u0438\u0445 IP-\u0430\u0434\u0440\u0435\u0441, \u0431\u043b\u043e\u043a\u0443\u0432\u0430\u0442\u0438 \u043f\u0435\u0432\u043d\u0456 \u0442\u0438\u043f\u0438 \u0442\u0440\u0430\u0444\u0456\u043a\u0443, \u0442\u0430\u043a\u0456 \u044f\u043a \u0442\u0440\u0430\u0444\u0456\u043a, \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u0438\u0439 \u0431\u043e\u0442\u043d\u0435\u0442\u043e\u043c, \u0442\u0430 \u0431\u0430\u0433\u0430\u0442\u043e \u0456\u043d\u0448\u043e\u0433\u043e.<\/p>\n<p><strong>\u041f\u0440\u0438\u043a\u043b\u0430\u0434 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f WAF \u0432 AWS:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">{\r\n    \"Name\": \"AWS-AWSManagedRulesKnownBadInputsRuleSet\",\r\n    \"Priority\": 2,\r\n    \"OverrideAction\": {\r\n        \"Type\": \"COUNT\"\r\n    },\r\n    \"VisibilityConfig\": {\r\n        \"SampledRequestsEnabled\": true,\r\n        \"CloudWatchMetricsEnabled\": true,\r\n        \"MetricName\": \"AWS-AWSManagedRulesKnownBadInputsRuleSet\"\r\n    },\r\n    \"Statement\": {\r\n        \"ByteMatchStatement\": {\r\n            \"FieldToMatch\": {\r\n                \"SingleHeader\": {\r\n                    \"Name\": \"User-Agent\"\r\n                }\r\n            },\r\n            \"Positives\": [\r\n                {\r\n                    \"Contains\": \"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/58.0.3029.110 Safari\/537.3\"\r\n                }\r\n            ]\r\n        },\r\n        \"Action\": {\r\n            \"Count\": {}\r\n        }\r\n    }\r\n}\r\n<\/pre>\n<p>\u0426\u0435\u0439 \u043f\u0440\u0438\u043a\u043b\u0430\u0434 \u043d\u0430\u043b\u0430\u0448\u0442\u043e\u0432\u0443\u0454 <a href=\"http:\/\/aws.amazon.com\/\" target=\"_blank\" rel=\"noopener\">AWS WAF<\/a> \u043d\u0430 \u0431\u043b\u043e\u043a\u0443\u0432\u0430\u043d\u043d\u044f \u0442\u0440\u0430\u0444\u0456\u043a\u0443, \u0449\u043e \u043c\u0456\u0441\u0442\u0438\u0442\u044c \u043f\u0435\u0432\u043d\u0438\u0439 User-Agent, \u044f\u043a\u0438\u0439 \u043c\u043e\u0436\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438\u0441\u044f \u0437\u043b\u043e\u0432\u043c\u0438\u0441\u043d\u0438\u043a\u0430\u043c\u0438 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0443 DDoS-\u0430\u0442\u0430\u043a\u0438.<\/p>\n<h2>\u0410\u0443\u0434\u0438\u0442 \u0431\u0435\u0437\u043f\u0435\u043a\u0438 \u0434\u043b\u044f \u0437\u043d\u0438\u0436\u0435\u043d\u043d\u044f \u0440\u0438\u0437\u0438\u043a\u0456\u0432 DDoS-\u0430\u0442\u0430\u043a<\/h2>\n<p>\u0410\u0443\u0434\u0438\u0442 \u0431\u0435\u0437\u043f\u0435\u043a\u0438 \u0434\u043e\u043f\u043e\u043c\u0430\u0433\u0430\u0454 DevOps \u0432\u0438\u0437\u043d\u0430\u0447\u0438\u0442\u0438 \u0432\u0440\u0430\u0437\u043b\u0438\u0432\u043e\u0441\u0442\u0456 \u0432 \u043c\u0435\u0440\u0435\u0436\u0456, \u0434\u043e\u0434\u0430\u0442\u043a\u0430\u0445 \u0442\u0430 \u0456\u043d\u0448\u0438\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u0445 \u0456\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438. \u0410\u0443\u0434\u0438\u0442 \u0431\u0435\u0437\u043f\u0435\u043a\u0438 \u043c\u043e\u0436\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u0438 \u0442\u0435\u0441\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u043d\u0430 \u043f\u0440\u043e\u043d\u0438\u043a\u043d\u0435\u043d\u043d\u044f, \u0441\u043a\u0430\u043d\u0443\u0432\u0430\u043d\u043d\u044f \u043f\u043e\u0440\u0442\u0456\u0432, \u0430\u043d\u0430\u043b\u0456\u0437 \u043b\u043e\u0433\u0456\u0432 \u0442\u0430 \u0456\u043d\u0448\u0456 \u043c\u0435\u0442\u043e\u0434\u0438. \u041d\u0430 \u043e\u0441\u043d\u043e\u0432\u0456 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0456\u0432 \u0430\u0443\u0434\u0438\u0442\u0443 \u0431\u0435\u0437\u043f\u0435\u043a\u0438 DevOps \u043c\u043e\u0436\u0435 \u0432\u0436\u0438\u0442\u0438 \u0437\u0430\u0445\u043e\u0434\u0456\u0432 \u0434\u043b\u044f \u0443\u0441\u0443\u043d\u0435\u043d\u043d\u044f \u0432\u0438\u044f\u0432\u043b\u0435\u043d\u0438\u0445 \u0432\u0440\u0430\u0437\u043b\u0438\u0432\u043e\u0441\u0442\u0435\u0439 \u0442\u0430 \u043f\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u043d\u044f \u0437\u0430\u0445\u0438\u0441\u0442\u0443 \u0432\u0456\u0434 DDoS-\u0430\u0442\u0430\u043a.<\/p>\n<p><strong>\u041f\u0440\u0438\u043a\u043b\u0430\u0434 \u0441\u043a\u0440\u0438\u043f\u0442\u0443 \u0441\u043a\u0430\u043d\u0443\u0432\u0430\u043d\u043d\u044f \u043f\u043e\u0440\u0442\u0456\u0432 \u0437 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f\u043c Nmap:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">nmap -sS -T4 -p 1-65535 example.com\r\n<\/pre>\n<p>\u0426\u0435\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454 Nmap \u0434\u043b\u044f \u0441\u043a\u0430\u043d\u0443\u0432\u0430\u043d\u043d\u044f \u0432\u0441\u0456\u0445 \u043f\u043e\u0440\u0442\u0456\u0432 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0456 example.com. \u042f\u043a\u0449\u043e \u044f\u043a\u0438\u0439\u0441\u044c \u043f\u043e\u0440\u0442 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438\u0439, \u0446\u0435 \u043c\u043e\u0436\u0435 \u0441\u0432\u0456\u0434\u0447\u0438\u0442\u0438 \u043f\u0440\u043e \u0432\u0440\u0430\u0437\u043b\u0438\u0432\u0456\u0441\u0442\u044c \u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u0456.<\/p>\n<p><strong>\u041f\u0440\u0438\u043a\u043b\u0430\u0434 \u0441\u043a\u0440\u0438\u043f\u0442\u0443 \u0442\u0435\u0441\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u043d\u0430 \u043f\u0440\u043e\u043d\u0438\u043a\u043d\u0435\u043d\u043d\u044f \u0437 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f\u043c Metasploit:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">use auxiliary\/scanner\/http\/brute_dirs\r\nset RHOSTS example.com\r\nset USERPASS_FILE \/path\/to\/userpass\/file\r\nrun\r\n<\/pre>\n<p>\u0426\u0435\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454 Metasploit \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u043d\u0430 \u043f\u0440\u043e\u043d\u0438\u043a\u043d\u0435\u043d\u043d\u044f \u0443 \u0432\u0435\u0431-\u0434\u043e\u0434\u0430\u0442\u043e\u043a \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0456 example.com \u0437 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f\u043c \u0441\u043b\u043e\u0432\u043d\u0438\u043a\u0430 \u043f\u0430\u0440\u043e\u043b\u0456\u0432.<\/p>\n<p>\u0412\u0430\u0436\u043b\u0438\u0432\u043e \u0437\u0430\u0437\u043d\u0430\u0447\u0438\u0442\u0438, \u0449\u043e \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u043d\u044f \u0430\u0443\u0434\u0438\u0442\u0443 \u0431\u0435\u0437\u043f\u0435\u043a\u0438 \u043f\u043e\u0432\u0438\u043d\u043d\u043e \u0437\u0434\u0456\u0439\u0441\u043d\u044e\u0432\u0430\u0442\u0438\u0441\u044f \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u043e \u0434\u043e \u0437\u0430\u043a\u043e\u043d\u043e\u0434\u0430\u0432\u0441\u0442\u0432\u0430 \u0442\u0430 \u043f\u043e\u043b\u0456\u0442\u0438\u043a \u043e\u0440\u0433\u0430\u043d\u0456\u0437\u0430\u0446\u0456\u0457.<\/p>\n<h2>\u0412\u0438\u0441\u043d\u043e\u0432\u043e\u043a<\/h2>\n<p>DDoS-\u0430\u0442\u0430\u043a\u0438 \u043c\u043e\u0436\u0443\u0442\u044c \u0441\u0442\u0430\u0442\u0438 \u0441\u0435\u0440\u0439\u043e\u0437\u043d\u043e\u044e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u044e \u0434\u043b\u044f \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u0456\u0432 \u0442\u0430 \u043e\u043d\u043b\u0430\u0439\u043d-\u0441\u0435\u0440\u0432\u0456\u0441\u0456\u0432, \u0442\u043e\u043c\u0443 \u0432\u0430\u0436\u043b\u0438\u0432\u043e, \u0449\u043e\u0431 DevOps \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043c\u043e\u043d\u0456\u0442\u043e\u0440\u0438\u043d\u0433\u0443, IDS\/IPS \u0442\u0430 WAF, \u0430 \u0442\u0430\u043a\u043e\u0436 \u0440\u043e\u0437\u0440\u043e\u0431\u0438\u0432 \u043f\u043b\u0430\u043d \u0434\u0456\u0439 \u0434\u043b\u044f \u0440\u0435\u0430\u0433\u0443\u0432\u0430\u043d\u043d\u044f \u043d\u0430 DDoS-\u0430\u0442\u0430\u043a\u0443. \u041a\u0440\u0456\u043c \u0442\u043e\u0433\u043e, \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u043d\u044f \u0430\u0443\u0434\u0438\u0442\u0443 \u0431\u0435\u0437\u043f\u0435\u043a\u0438 \u0434\u043e\u043f\u043e\u043c\u043e\u0436\u0435 \u0432\u0438\u0437\u043d\u0430\u0447\u0438\u0442\u0438 \u0432\u0440\u0430\u0437\u043b\u0438\u0432\u043e\u0441\u0442\u0456 \u0442\u0430 \u0437\u043d\u0438\u0437\u0438\u0442\u0438 \u0440\u0438\u0437\u0438\u043a DDoS-\u0430\u0442\u0430\u043a.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DevOps \u2014 \u0446\u0435 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430, \u044f\u043a\u0430 \u043e\u0431&#8217;\u0454\u0434\u043d\u0443\u0454 \u0440\u043e\u0437\u0440\u043e\u0431\u043a\u0443 \u0442\u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0439\u043d\u0443 \u0434\u0456\u044f\u043b\u044c\u043d\u0456\u0441\u0442\u044c \u0437 \u043c\u0435\u0442\u043e\u044e \u0434\u043e\u0441\u044f\u0433\u043d\u0435\u043d\u043d\u044f \u0448\u0432\u0438\u0434\u0448\u043e\u0457 \u0442\u0430 \u043d\u0430\u0434\u0456\u0439\u043d\u0456\u0448\u043e\u0457 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u043e\u0433\u043e \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u044f. \u0425\u043e\u0447\u0430 DevOps \u0444\u043e\u043a\u0443\u0441\u0443\u0454\u0442\u044c\u0441\u044f \u043d\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0456\u0457, \u0440\u043e\u0437\u0433\u043e\u0440\u0442\u0430\u043d\u043d\u0456&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1902,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,50],"tags":[],"class_list":["post-1473","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security-uk","category-50"],"_links":{"self":[{"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/posts\/1473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/comments?post=1473"}],"version-history":[{"count":4,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/posts\/1473\/revisions"}],"predecessor-version":[{"id":1903,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/posts\/1473\/revisions\/1903"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/media\/1902"}],"wp:attachment":[{"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/media?parent=1473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/categories?post=1473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/tags?post=1473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}