The FBI says over 1,000 hacked WordPress sites hid ransomware lures in Google. You can open yours and see a normal page.

Details

Firewall & login

8G firewall rules for WordPress (Perishable Press)

8G firewall rules for WordPress by Jeff Starr of Perishable Press, used in Security Ninja Free as Filter Suspicious Queries. What they check and how login fits.

Last updated ( published )

The 8G firewall rules are a free ruleset by Jeff Starr of Perishable Press. Security Ninja includes a free request firewall built on them. In the plugin it appears as Filter Suspicious Queries on Security Ninja → Firewall → Settings. For the Pro layer on top, see Cloud Firewall.

What you get in the plugin

The 8G rules block many common attack patterns in:

  • Request URI
  • Query string
  • User agent
  • Referrer

Security Ninja adapts the rules for typical WordPress paths and plugins. You enable or disable the feature with one toggle. No Pro license is required.

For step-by-step setup and what runs by default (including hostname checks), see Filter Suspicious Queries.

8G and the WordPress login

8G checks the request, not the password. It looks at the URL, query string, user agent, and referrer of every request, including requests to the login page. It does not count failed passwords, so it will not lock out someone who keeps guessing. Failed-login limits belong to login form protection on Pro.

One login case is handled for you. Recognized temporary-login plugins send links with long token parameters that can look like an attack. When the matching plugin is active, Security Ninja skips the 8G query check for that link. See Temporary login plugins.

Customizing rules

Developers can extend or disable individual filter lists:

Pro vs free

The 8G layer is the free firewall. Pro adds Cloud Firewall (600M+ known bad IPs), country blocking, login protection, 2FA, and related controls. See How to use the firewall and the Cloud Firewall overview.

Credit

The 8G Firewall was created by Jeff Starr at Perishable Press. Read the original at perishablepress.com/8g-firewall. Security Ninja adapts the rules for WordPress and credits the source.

Still stuck? Get help or contact us.

Larger screenshot

Enlarged image