Skip to content

Imunify360 vs ModSecurity: which WAF do you need?

People ask us to compare Imunify360 and ModSecurity as if they are two products fighting for the same slot. They are not. Imunify360 ships with a ModSecurity component and its own managed ruleset running on top of it. So the choice isn’t really “which one.” It is whether you run ModSecurity yourself with a free ruleset, or pay CloudLinux to run it for you and add malware scanning on top. We work on servers with cPanel, CyberPanel and DirectAdmin, and both setups have their place. Here is how to tell which one you actually need.

ModSecurity is the engine, not the protection

ModSecurity on its own does almost nothing useful. It is a rules engine that inspects HTTP requests against Apache or nginx. Out of the box it has no rules, so it blocks nothing. The protection comes from the ruleset you load into it, and for most people that means the OWASP Core Rule Set (CRS), which is free and open source.

Run ModSecurity with OWASP CRS and you get a solid, generic web application firewall. It catches SQL injection, cross-site scripting, path traversal, the classic attack patterns. What it does not do: keep itself updated against new threats, scan your files for malware, tell you which of your WordPress plugins got backdoored last Tuesday. It is a filter on incoming traffic, nothing more. One more thing worth knowing: Trustwave, which maintained ModSecurity for years, ended its support in July 2024 and the project now lives under OWASP, the same organisation behind the Core Rule Set. That is not a criticism. It is the whole design.

Imunify360 is a managed layer, plus a malware problem-solver

Imunify360 uses ModSecurity underneath (its own hardened ruleset, and CloudLinux tells you to disable other vendors’ rulesets so they do not collide). But the WAF is maybe a third of what you pay for. The rest is the part ModSecurity cannot do:

A malware scanner that runs in real time and on a schedule, quarantines infected files, and in many cases cleans them automatically. Reputation and IP intelligence that shares attack data across every Imunify install, so an address that just attacked a server in Germany is already blocked on yours. Proactive Defense that watches PHP execution and kills malicious scripts at runtime. And WAF rules that virtually patch known CMS vulnerabilities, blocking the exploit before you update the plugin; CloudLinux also sells a separate add-on, Imunify Patch, that patches vulnerable WordPress plugin code itself.

That last part is why hosts buy it. If you run 200 customer sites and half of them are on a WordPress plugin nobody has updated since 2022, Imunify360 buys you time between a CVE landing and the customer finally patching. Bare ModSecurity gives you none of that.

The honest cost comparison

ModSecurity plus OWASP CRS costs nothing but your time. You install it, tune the paranoia level so it stops false-positiving on your own admin, and you own the maintenance forever. On a single site or a server you personally babysit, that is completely fine. It is a sensible default for a single-tenant server.

Imunify360 is a paid subscription, licensed per server and priced by how many user accounts the server hosts, and on a busy shared host it is not cheap. What you buy back is hours. Nobody on your team has to write ModSecurity exclusion rules at midnight, chase a malware reinfection by hand, or explain to a customer why their site got blacklisted. For a hosting business, that math usually works. For a solo site owner, it usually does not.

When we run bare ModSecurity

Single site or a handful of sites we control. A client who wants zero recurring license fees and has us on a support retainer anyway, so tuning is our job not theirs. Unusual nginx-only or reverse-proxy stacks where Imunify360 does not slot in cleanly. And developer or staging servers, where a malware scanner quarantining a test file mid-deploy is just noise.

In these cases we install ModSecurity, load OWASP CRS, set it to detection-only for a week to collect false positives, then flip the offenders to exclusions and turn on blocking. It is a day of work and then it mostly runs itself.

When we reach for Imunify360

Shared or reseller hosting with many sites we do not fully control. Anywhere the real risk is not the incoming request but the file already sitting on disk, waiting to reinfect. cPanel and DirectAdmin boxes, where Imunify360’s integration is clean and the admin UI actually saves time. And any client who has already been hacked once and wants automatic cleanup rather than a 3am phone call.

One warning from the field: Imunify360 is not compatible with every stack. On some nginx-only or unusual reverse-proxy setups it fights the existing ModSecurity install rather than replacing it cleanly. Check compatibility before you buy, especially if you are not on a standard cPanel or DirectAdmin build.

So which one

If your problem is filtering bad requests to one site and you have the time to tune it, ModSecurity with OWASP CRS is free and good enough. If your problem is malware on files you cannot personally watch across many sites, Imunify360 earns its subscription by handling the cleanup and the virtual patching that ModSecurity was never built to do. Single sites usually do well with the first; hosting businesses with the second. Do not stack OWASP CRS on top of Imunify360’s own rules: CloudLinux advises against mixing rulesets, and the result is mostly duplicate blocks and false positives.

Not sure which fits your server? That call is part of what we do in a Linux server security audit, and if the box already looks compromised, our server restoration covers the cleanup either tool would have prevented.

Common questions

Does Imunify360 use ModSecurity?

Yes. Its web application firewall runs on ModSecurity with CloudLinux’s own managed ruleset, and CloudLinux advises disabling other ModSecurity rulesets so they do not conflict.

Is ModSecurity still maintained?

Yes. Trustwave ended its support in July 2024 and the project moved to OWASP, which also maintains the free Core Rule Set most servers load into it.

Is Imunify360 worth it for a single website?

Usually not. ModSecurity with the OWASP Core Rule Set covers request filtering for free, and for malware scanning on a single site the free ImunifyAV, or the paid ImunifyAV+ that also cleans files, costs less than the full Imunify360 suite.

What is the difference between Imunify360 and ImunifyAV?

ImunifyAV is the malware scanner on its own, free to scan, with cleanup in the paid ImunifyAV+. Imunify360 adds the firewall with its WAF rules, IP reputation, Proactive Defense for PHP and the rest of the security suite.

Start here

Hit this one
yourself?

If any of the above is happening on your stack, send us the symptoms. We triage the same working day and quote before we start.

Which layer is on fire?
Your details stay with us. Always.