{"id":4437,"date":"2021-05-15T14:29:20","date_gmt":"2021-05-15T13:29:20","guid":{"rendered":"https:\/\/webhosting.de\/?p=4437"},"modified":"2021-07-15T13:04:45","modified_gmt":"2021-07-15T12:04:45","slug":"activate-plesk-modsecurity-enable","status":"publish","type":"post","link":"https:\/\/webhosting.de\/en\/plesk-modsecurity-aktivieren\/","title":{"rendered":"Enable Plesk modsecurity"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"4437\" class=\"elementor elementor-4437\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section data-particle_enable=\"false\" data-particle-mobile-disabled=\"false\" class=\"elementor-section elementor-top-section elementor-element elementor-element-173b7f97 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"173b7f97\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1da824b8\" data-id=\"1da824b8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6efe317d elementor-widget elementor-widget-text-editor\" data-id=\"6efe317d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><a href=\"https:\/\/webhosting.de\/en\/plesk-joomla-toolkit\/\">Plesk<\/a> offers the possibility to configure the Web Application Firewall (plesk modsecurity) in the administration menu.<\/p>\n<h2>What is modsecurity?<\/h2>\n<p>Plesk Modsecurity is a Web Application <a href=\"https:\/\/webhosting.de\/en\/firewall-2\/\">Firewall<\/a>a firewall that allows access to web applications like <a href=\"https:\/\/webhosting.de\/en\/the-content-management-system\/\" data-schema-attribute=\"\">content management systems<\/a> (<a href=\"https:\/\/webhosting.de\/en\/wordpress-gehackt-bekommen-sie-es-wieder-sicher\/\">wordpress<\/a>, <a href=\"https:\/\/webhosting.de\/en\/joomla-website-zu-wordpress-umziehen\/\">joomla<\/a>, etc.), or other applications and prevents known attacks.<\/p>\n<p>The advantage of modsecurity is the possibility to analyse accesses first and to define accordingly which accesses are legitimate and which have to be rejected directly.<\/p>\n<p>Of course, it is impossible to set up everything yourself, but there are providers who offer ready-made rules, some of them live, and can thus react directly to current threats.<\/p>\n<p>For example, if a new attack on a particular content management system occurs, these providers update their rules and modsecurity can then block these accesses before an infection occurs.<\/p>\n<p>For Plesk users, this is a good program to prevent most known attacks on your application.<\/p>\n<p>In connection with a firewall which filters and blocks the IP addresses you can secure your server well.<\/p>\n<h2>External solutions<\/h2>\n<p>An external firewall such as <a href=\"https:\/\/webhosting.de\/en\/cloudflare\/\">Cloudflare WAF<\/a> works similar with partly the same rules, but offers the possibility to fend off attacks before they reach the server. An optimal protection would therefore be a <a href=\"https:\/\/webhosting.de\/en\/cloudflare-im-webhosting-benefits-and-worth-knowing\/\">Web Application Firewall from Cloudflare<\/a> or Imperva\/Incapsula and then only use special rules on the server. This saves computing power and thus speeds up the page considerably.<\/p>\n<p>Alternatively, modsecurity can of course be set up as a reverse proxy and thus use all other web servers besides Apache.<\/p>\n<h2>How to install Plesk modsecurity?<\/h2>\n<p>As administrator, simply click on Settings and select the Web Application Firewall (modsecurity) there.<\/p>\n<p><a href=\"https:\/\/webhosting.de\/wp-content\/uploads\/2017\/11\/plesk_admin_modsecurity_einstellungen.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-3187\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2017\/11\/plesk_admin_modsecurity_einstellungen.png\" alt=\"plesk_admin_modsecurity_settings\" width=\"848\" height=\"580\" \/><\/a>In the Plesk menu you can choose from which provider you want to use the rules. Free are the OWASP or Atomic Basic rules. However, these have the disadvantage that they are rarely updated, or with OWASP the rules are too strong, so that with wordpress, for example, problems exist that you then have to take out all.<\/p>\n<p>There are here still the inexpensive comodo rules offer a good protection against all threats. However, the license must always be updated.<\/p>\n<p>So if you're too lazy, you can simply use the Atomic subscription rules which provide live protection. But you have to keep in mind that this is not quite true, because the web server has to be reloaded and then the 502 Bad Gateway problem occurs again.<\/p>\n<p>Practical is the Atomic Professional protection which is available together with Cloudflare in the package. Here you can easily remove the web application firewall from Plesk and switch your domains to Cloudfalre as an additional protection mechanism.<\/p>\n<p>The problem here, however, is that you can only protect subdomains, so your site should only be accessible at www.ihrefirma.de and not at yourcompany.com. Alternatively one can use as Cloudflare partners also the Cloudflare Nameservers and offer thus a complete protection.<\/p>\n<p>Because the license prices of Plesk and the add-ons are constantly being increased incalculably, a provider should perhaps consider external licensing.<\/p>\n<p>There are interesting solutions directly from atomicorp, or another way to activate mod_security on the server, or to use directly an external protection like cloudflare.<\/p>\n<p>A good replacement for Plesk because of the uncertain privacy issues with all the plugins would be a German manufacturer of the popular admin panel \"Liveconfig\".<\/p>\n<h2>Plesk extensions with ModSecurity support<\/h2>\n<p>There are some extensions for Plesk with which you can secure the server. These also include modsecurity rules to defend against known attack patterns.<\/p>\n<h3>Imunify360<\/h3>\n<p>In addition to its own operating system, Cloudlinux also offers the security solution Imunify360. This offers a very wide range of functions for all security areas of the server. The firewall monitors the logs and, if necessary, blocks IP addresses that, for example, connect too often with false login data that are on a block list, or want to access with known attack patterns. You can also simply activate a DoS protection and scan all files for known malware and also partially clean them. In addition, there is also a so-called KernelCare function that automatically updates the Linux kernel without the need to reboot the system. The extension can be obtained directly from Cloudlinux and costs more than Plesk itself.<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section data-particle_enable=\"false\" data-particle-mobile-disabled=\"false\" class=\"elementor-section elementor-top-section elementor-element elementor-element-2b723a6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2b723a6\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9b2983d\" data-id=\"9b2983d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a707377 elementor-widget elementor-widget-heading\" data-id=\"a707377\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Instructions for the setup on Youtube<\/h2>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section data-particle_enable=\"false\" data-particle-mobile-disabled=\"false\" class=\"elementor-section elementor-top-section elementor-element elementor-element-53ebe63 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"53ebe63\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-14a005f\" data-id=\"14a005f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-090c80f elementor-widget elementor-widget-video\" data-id=\"090c80f\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;youtube_url&quot;:&quot;https:\\\/\\\/youtu.be\\\/CzAjqyJtEaw&quot;,&quot;yt_privacy&quot;:&quot;yes&quot;,&quot;lazy_load&quot;:&quot;yes&quot;,&quot;video_type&quot;:&quot;youtube&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-wrapper elementor-open-inline\">\n\t\t\t<div class=\"elementor-video\"><\/div>\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Plesk bietet im Administrationsmen\u00fc die M\u00f6glichkeit an die Web Application Firewall (plesk modsecurity) zu konfigurieren. Was ist modsecurity? Plesk Modsecurity ist eine Web Application Firewall, also eine Firewall die Zugriffe auf Web Applikationen wie Content Management Systeme (wordpress, joomla, etc.), oder andere Anwendungen \u00fcberpr\u00fcft und bekannte Angriffe unterbindet. Der Vorteil von modsecurity ist die M\u00f6glichkeit [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7790,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[700,780,995,830,835],"tags":[460,17,461],"class_list":["post-4437","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-anleitungen","category-administration-anleitungen","category-hilfe","category-plesk-administration-anleitungen","category-plesk-sicherheit-plesk-administration-anleitungen","tag-modsecurity","tag-plesk","tag-waf"],"acf":[],"_links":{"self":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts\/4437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/comments?post=4437"}],"version-history":[{"count":0,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts\/4437\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/media\/7790"}],"wp:attachment":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/media?parent=4437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/categories?post=4437"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/tags?post=4437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}