Bearmor Security Docs
The complete guide to Bearmor Security 2.0: setup, every feature, every setting and how to fix common problems. Bearmor Security is free, with every feature included.
Getting Started
Bearmor Security is a free WordPress security plugin for small business sites and WooCommerce shops. It combines a firewall, login protection, two-factor authentication, a malware scanner, file integrity monitoring, vulnerability alerts, 30 hardening rules, an activity log and a plain-language AI security summary. There are no paid tiers and nothing to unlock: everything on this page works the moment you activate the plugin.
Requirements
- WordPress 5.8 or newer (tested up to 7.1)
- PHP 7.4 or newer
- A database user that can create tables (normal on every host)
- Write access to
wp-content/uploadsfor the quarantine folder, and towp-config.phpand.htaccessif you want to use the rules that edit those files - Outgoing HTTPS from your server, so the plugin can reach WordPress.org, WPVulnerability.net and bearmor.eu
Installation
- In wp-admin go to Plugins → Add New.
- Search for Bearmor Security, click Install Now, then Activate.
- A new Bearmor Security menu appears in the admin sidebar. Open it to see the dashboard.
- Manual install: download the ZIP from WordPress.org, then use Plugins → Add New → Upload Plugin, or unzip it into
wp-content/plugins/over SFTP and activate it.
What happens right after activation
- The site registers with bearmor.eu and receives its own site key. That key is used for the daily check-in, uptime monitoring and the AI security summary. Nothing else is needed from you.
- The first file baseline is scheduled about two minutes after activation. It records a SHA-256 fingerprint of every file in scope, so later changes can be detected.
- Daily tasks are scheduled: malware scan (around 03:00 server time), file integrity check (around 04:00), vulnerability scan, AI summary and the daily check-in.
- The firewall and the honeypot are on by default. Other features stay off until you switch them on.
Recommended 10-minute setup
- Hardening: open Bearmor Security → Hardening, click Apply Recommended (Tier 1), save, and click Run Self-Test.
- Your own 2FA: open Users → Profile, scroll to Bearmor two-factor authentication, scan the QR code with an authenticator app, enter the code, save, and store the 10 backup codes somewhere safe.
- Turn 2FA on: open Settings → 2FA, tick Ask for a 2FA code at login, choose which administrators must use it, save.
- Notification email: in Settings → Scanning, check that the notification email is an inbox you actually read.
- Check email delivery: if your site cannot send email, install an SMTP plugin. Alerts and email 2FA codes depend on it.
📌 Tip: every hardening rule explains what it does, what it might break and how to test it. Read the “Might break” line before enabling Tier 2 or Tier 3 rules.
Where to find things
| Menu item | What it is for |
|---|---|
| Bearmor Security | Dashboard: overall status, AI summary, firewall, logins, file changes, vulnerabilities and uptime |
| Malware Scan | Run scans, review threats, quarantine or whitelist files |
| Activity Log | Admin actions, login attempts, blocked IPs and firewall blocks |
| File Changes | File integrity results: what changed since the baseline |
| Vulnerabilities | Known security holes in your core, plugins and themes |
| Hardening | 30 hardening rules in three tiers, presets, self-test and undo |
| Settings | General info, scanning, firewall and two-factor settings |
Dashboard and Security Status
The dashboard answers one question: is my site OK, and if not, what should I do next? Instead of a score made of points, Bearmor checks each area of protection and shows the worst state it finds.
The three states
| State | Colour | What it means |
|---|---|---|
| Protected | Green | No open critical issues. Nothing needs your attention right now. |
| Review | Amber | Nothing is critical, but a few items deserve a look, for example a baseline that is not set yet, a medium vulnerability or a hardening rule you may want to enable. |
| Needs attention | Red | Something needs action, such as an open critical vulnerability or an unexpected change in a protected file (WordPress core, wp-config.php or a PHP file in uploads). Red does not automatically mean the site is hacked. It means you should act now. |
Under the status you see a short line that says exactly what is open, for example “1 critical vulnerability, update recommended”, and a list of the items that need attention. Each item links straight to the page where you can fix it. The list scrolls when it is long.
The checklist behind the status
- SSL: whether the site is served over HTTPS.
- Two-Factor Auth: whether 2FA is switched on, and how many of the administrators you selected have actually set up a method.
- Firewall: whether the firewall is on.
- Hardening: how many rules are enabled per tier.
- File Integrity: whether a baseline exists and whether protected files changed unexpectedly.
- Malware: open findings by severity.
- Vulnerabilities: open CVEs by severity. A critical CVE is what turns the badge red.
- Uptime: whether bearmor.eu can reach your site.
Dashboard widgets
- AI security summary: a plain-language note about your site (see the next section).
- Firewall: recent blocked requests and the rules that triggered.
- Login events: failed and successful logins in the last 24 hours, with blocked IPs.
- File changes: files that changed since the baseline.
- Vulnerabilities: open issues with the version that fixes them.
- Uptime: bearmor.eu checks your home page every 15 minutes. The widget shows uptime percentage, response time and downtime events. Data syncs to your site hourly.
AI Security Summary
The AI security summary turns your site’s raw security data into a short note you can read in a minute: what is working, what needs attention, and where to click to fix it. It is included for free on every site.
How it works
- Your site builds a structured brief from its own facts: WordPress, PHP and theme versions, active plugins and available updates, open vulnerabilities with CVE and fixed version, pending malware findings, unexpected file changes, firewall and login statistics, 2FA status and recent admin activity.
- The brief is sent over HTTPS to bearmor.eu with your site key.
- bearmor.eu generates the note with an AI model and checks it against the facts before returning it. Critical findings such as CVEs, malware and core file changes are always listed first, and claims that are not backed by your data are removed.
- The note appears in the dashboard widget, with links to the right Bearmor page.
🔒 Privacy: the brief contains counts, versions, plugin names and file paths. It never contains passwords, visitor data, order data or email contents. Click the debug button in the widget to see the exact text that is sent.
When it runs, and limits
| Run type | Limit |
|---|---|
| Automatic | 1 per site per day, at a random time so the load is spread out |
| Manual (refresh button) | 2 per site per day |
| Gap between manual runs | At least 10 minutes |
A fresh note is marked New for 15 minutes. If you hit a limit, the widget keeps showing the last note and tells you when you can run it again. Fix something first, such as updating a vulnerable plugin, and then refresh to get a note that reflects the change.
Reading the note
- Needs attention items come first and say what to do, for example “Update Contact Form 7 to 6.2.2, fixes CVE-2026-XXXX”.
- Working lists what is already in place, such as an active firewall, blocked attackers and 2FA in use.
- Long lists are shortened, for example “Update WooCommerce, Polylang and 3 more”. The Vulnerabilities and Updates pages have the full list.
- The note explains your data. It does not replace the scanners: if the note and a scanner disagree, trust the scanner and run the AI summary again later.
Malware Scanner
The malware scanner looks for backdoors, web shells and obfuscated code in the places where real WordPress malware hides. It is deliberately narrow and precise, so you are not flooded with false positives.
What is scanned
- PHP files in the WordPress root folder (not wp-admin or wp-includes, which file integrity checks against WordPress.org)
- PHP files directly in
wp-content/, where attackers often drop loose backdoors - The active theme and its parent theme, all files
- Must-use plugins (
wp-content/mu-plugins), all files - PHP files anywhere in
wp-content/uploads. Uploads should only contain media, so any PHP there is suspicious.
📌 Why not plugin folders? Plugins are large, change with every update and were the source of almost all false alarms in the past. Bearmor checks plugins for known vulnerabilities instead (see Vulnerability Alerts) and scans the places where attackers actually put their code.
What it detects
Bearmor uses combination signatures. A single base64_decode or eval is not reported on its own, because plenty of legitimate code uses them. A finding needs the pattern that malware actually uses:
- Encoded, compressed or ROT13 payloads executed immediately
assertorevalof a decoded payload, double-obfuscated payloads- Code execution, shell execution or file writes driven by user input (
$_GET,$_POST,$_REQUEST, cookies) preg_replacewith the dangerous /e modifier- Known web shell signatures
- Files that start with a suppressed PHP call, a typical injected first line
Running a scan
- Manual: Bearmor Security → Malware Scan → Run Malware Scan. Most sites finish in seconds.
- Automatic: daily at around 03:00 server time when Settings → Scanning → Scan Schedule is set to Daily (the default).
Handling a finding
| Action | What it does |
|---|---|
| View Code | Shows the matching lines with context, so you can judge whether it is real. |
| Quarantine | Moves the file to wp-content/uploads/bearmor-security/quarantine/ with a timestamped name, where it cannot run. You are warned if it belongs to an active plugin or theme. |
| Restore | Puts a quarantined file back in its original location. |
| Whitelist / Mark Safe | Marks the file as a false positive. It is ignored in future scans until its content changes. |
⚠️ WordPress core files cannot be quarantined, because the site would break. If a core file is infected, reinstall WordPress from Dashboard → Updates → Re-install Now. That replaces every core file with a clean copy.
Auto-quarantine
In Settings → Scanning → Automated Actions you can let Bearmor quarantine detected files automatically. This is off by default. It is useful on sites nobody checks every day, but a quarantined theme file can break the front end, so check the site after an automatic action.
After a real infection
- Quarantine or remove the malicious files.
- Reinstall WordPress core and update all plugins and themes.
- Change all admin passwords and the database password, and remove admin users you do not recognise.
- Rebuild the baseline in Settings → Scanning, so the clean state becomes the new reference.
- Run the malware scan and file integrity check again.
File Integrity and Baseline
File integrity monitoring tells you when files change that normally never change. It is the fastest way to notice that someone modified your site.
How it works
- WordPress core is compared with the official checksums from WordPress.org for your exact version. Localized builds, such as Estonian or German WordPress, are checked against their own checksums, so translated files do not cause alarms.
- wp-config.php gets its own single fingerprint.
- The active theme and parent theme are fingerprinted completely, because themes rarely change and a change is a strong signal.
- Must-use plugins and loose PHP files in the WordPress root and
wp-content/are fingerprinted too. - Every fingerprint is a SHA-256 hash, stored in your own database. This set of fingerprints is the baseline.
The check runs daily, at around 04:00 server time. Bearmor compares every file with the baseline and marks it as changed, new or deleted. Results are on Bearmor Security → File Changes.
Updates do not cause false alarms
When you update WordPress, a theme or Bearmor itself, the affected files are re-baselined silently in the background. You only see changes that happened outside a normal update. Hosting control-panel helper files, such as Installatron’s, are ignored.
Email alerts
An unexpected change in a protected file (WordPress core, wp-config.php or a PHP file in uploads) sends one email to the notification address and turns the dashboard red. The same file with the same content is reported once, not every day. The last 250 changes are kept.
Actions on a changed file
- View: see the file and when it changed.
- Mark Safe: accept the change as legitimate. It becomes part of the baseline.
- Lock / Unlock: make the file read-only on the server, so it cannot be changed again easily.
- Quarantine / Restore: move it out of the way, or bring it back.
Rebuilding the baseline
Settings → Scanning → File Monitoring → Rebuild Baseline Scan replaces all fingerprints with the current state of your files. It takes 30 to 120 seconds, depending on site size. Rebuild:
- after cleaning malware, when you are sure the current files are clean
- after a big theme change or manual edits over SFTP
- when you want to reset the reference point and clear old changes
⚠️ Never rebuild the baseline on a site you suspect is infected. The infected files would become the new “clean” reference.
Hourly tripwire
For finished sites, the Lockdown rule Hourly file tripwire runs the integrity check every hour and emails you immediately on any change. See Hardening.
Vulnerability Alerts
Most hacked WordPress sites are broken into through a known hole in an outdated plugin. Bearmor checks your installed software against a public vulnerability database every day and tells you exactly what to update.
How it works
- Once a day Bearmor sends the slugs and versions of WordPress core, your plugins and your themes to WPVulnerability.net, a free public database.
- Results are cached for 24 hours to keep API calls low. Scan Now on the Vulnerabilities page forces a fresh check.
- Only issues that affect your installed version are listed. If you already run the fixed version, the issue disappears.
What you see
| Field | Meaning |
|---|---|
| Severity | Critical, High, Medium or Low, based on the CVSS score |
| CVE | The public identifier, for example CVE-2026-12345, so you can look it up |
| Installed / Fixed in | Your version and the first version that fixes the issue |
| Description | What an attacker could do |
| Actions | Update Now opens the WordPress updater. Disable Plugin deactivates the plugin when there is no fix yet. |
Severity and status
- Critical: turns the dashboard red and sends one email to the site admin. Update immediately.
- High: update today.
- Medium and Low: update in your next maintenance round. They show as Review.
📌 No fix available? Deactivate the plugin until the author releases one, or replace it with an alternative. The firewall blocks many generic attack payloads, but it cannot patch a specific hole.
Login Protection and Lockouts
Bots try thousands of passwords on WordPress login pages every day. Bearmor counts failed logins per IP address and locks attackers out for longer each time.
Lockout levels
| Failed attempts from one IP | Result |
|---|---|
| 5 | Locked out for 5 minutes |
| 10 | Locked out for 30 minutes |
| 20 | Locked out for 24 hours |
| 20 again, after 3 or more blocks in 7 days | Permanent block (repeat offender) |
Attempts are counted within the last hour, starting again after each block. A locked-out visitor sees “Too many failed login attempts. Please try again in X minutes.” A permanently blocked IP sees an Access Denied page on the login screen. Both apply to wp-login.php and every other authentication path, including XML-RPC.
Managing blocked IPs
- Activity Log → Blocked IPs lists every blocked address with the reason, the time and when the block expires.
- Unblock removes a block immediately, for example when a colleague mistyped their password.
- Manually block an IP adds a block yourself, for example an address you see attacking in the Login Attempts tab.
- Expired temporary blocks are cleaned up automatically after 7 days. Permanent blocks stay until you remove them.
Login attempts log
Activity Log → Login Attempts shows every successful and failed login with username, IP address, country and time. The country lookup uses ip-api.com.
Real visitor IPs behind Cloudflare and proxies
Lockouts only work if Bearmor sees the attacker’s real IP. Forwarded headers can be faked, so Bearmor only trusts CF-Connecting-IP when the request really comes from a Cloudflare address, and only trusts X-Forwarded-For or X-Real-IP when your server sits behind a local proxy. On a normal direct connection it uses the connection address, so an attacker cannot dodge a lockout by sending a fake header.
More login protection
- Generic login errors (Hardening, Tier 1) hides whether a username exists.
- Honeypot stops many bots before the password is even checked.
- Two-factor authentication makes a stolen password useless on its own.
- Login IP allowlist (Lockdown) lets only your own IPs reach the login page at all.
Two-Factor Authentication (2FA)
With 2FA, a password alone is not enough to log in. After the password, the user enters a 6-digit code from their phone or email. Even if a password leaks, an attacker cannot get in.
Who it applies to
- 2FA applies to administrators only (users who can manage options). Customers, subscribers and members are never asked, so a WooCommerce shop with thousands of customers cannot lock anyone out by accident.
- Global switch: Settings → 2FA → Ask for a 2FA code at login.
- Per-admin choice: the user list under the switch has a tick box for every administrator. Untick someone to never ask them for a code, for example a technical account used by a deployment tool.
- An administrator who is ticked but has not set up a method can still log in with only their password. The list shows Not set up with a link to their profile, and the dashboard shows how many of the selected admins are protected.
Method 1: Authenticator app (recommended)
Works offline, needs no email and is the most secure option. Any TOTP app works: Google Authenticator, Microsoft Authenticator, Authy, 1Password, Bitwarden Authenticator and others.
- Open Users → Profile and scroll to Bearmor two-factor authentication. You can also click Set up your own 2FA in Settings → 2FA.
- Install an authenticator app on your phone if you do not have one.
- Scan the QR code with the app. The QR code is generated on your own server: the secret never leaves your site. Alternatively, type the setup key shown under the code, or open the otpauth link on your phone.
- Enter the 6-digit code the app shows in Code from the app, to confirm.
- Click Update Profile at the bottom of the page.
- Save the 10 backup codes that appear. They are shown only once.
Backup codes
- You get 10 codes of 8 characters. Each code works once.
- Type a backup code in the same box as the app code, for example when your phone is lost or out of battery.
- Codes are stored hashed, like passwords. Nobody can read them from the database.
- Tick Generate 10 new backup codes on your profile to replace them. The old codes stop working.
Method 2: Email code
Tick Also email a code at login on the profile. At each login a 6-digit code is sent to the user’s email address. It expires after 10 minutes. This only works if your site can send email reliably. If sending fails, the login screen says so instead of waiting forever. If a user has both methods, the authenticator app is used.
The login step
- After a correct password, the user sees a code field instead of the dashboard.
- Remember this device for 30 days skips the code on that browser for 30 days.
- After 5 wrong codes, the login attempt is cancelled and the user has to start again with their password. This stops guessing.
- The app code is valid for 30 seconds, with 30 seconds of tolerance either side. Your phone’s clock must be set automatically.
Lockout recovery
- Use a backup code. This is the fastest way.
- Ask another administrator. They can open your user under Users → All Users, tick Remove it and show a new setup key under Bearmor two-factor authentication and save. Or they can untick you in Settings → 2FA.
- No other admin? Add
define( 'BEARMOR_DISABLE_2FA', true );towp-config.phpover SFTP or your host’s file manager. 2FA is then skipped for everyone. Log in, set up your app again, and remove the line.
⚠️ Remove BEARMOR_DISABLE_2FA as soon as you are back in. While it is in wp-config.php, 2FA is off for every user.
Firewall and Country Blocking
The Bearmor firewall checks every incoming request before WordPress builds the page, and stops common attacks with a 403 Forbidden response. It is on by default.
What it blocks
- SQL injection: patterns such as
OR 1=1,UNION SELECT,DROP TABLEandEXEC( - Cross-site scripting (XSS): script tags,
javascript:URLs,onerror=andonload=handlers,eval( - Path traversal:
../sequences, encoded variants, and attempts to read/etc/passwd - Command injection: shell commands such as
; rm -rfand| cat
The firewall inspects the URL, the query string, GET and POST data and cookies.
What it never blocks
- Logged-in administrators. They edit content that can look like code, such as script snippets in a page builder.
- WP-CLI and WordPress cron. That is the site itself, not a visitor.
- The WordPress heartbeat and WooCommerce cart refreshes.
- Anything on the whitelist.
Each block is logged in Activity Log → Firewall Blocks with time, IP, URL and the rule that matched.
Rate limiting
Optional, off by default. When enabled, an IP that loads more pages per minute than your limit gets a 403 for the rest of that minute. The default limit is 120 requests per minute and the minimum is 60. Only anonymous page loads count: logged-in users, REST API calls, AJAX and WP-CLI are never limited. Turn it on if bots hammer your site, and raise the limit if real visitors behind one office IP get blocked.
Country blocking
- Open Settings → Firewall and tick Block requests from specific countries.
- Enter 2-letter ISO country codes separated by commas, for example
CN, KP, IR. - Click Save & Apply.
- The country is looked up through ipwho.is and cached for 24 hours per IP, so each visitor is looked up at most once a day.
- If the lookup fails, the request is allowed. Bearmor never blocks a visitor because a lookup service is down.
- Logged-in administrators and whitelisted IPs are never country-blocked.
- Before blocking a country, check your analytics: blocking a country also blocks real customers, search engines’ crawlers from that country and payment callbacks that come from there.
Whitelist
The whitelist is checked before every other rule: before rate limiting, country blocking and pattern checks. Add an entry in Settings → Firewall → Whitelist:
- IP address: your office, a monitoring service or a payment provider, for example
203.0.113.10. - URL contains: any request whose URL contains this text skips the firewall, for example
/checkoutor a webhook path like/wc-api/.
📌 False positive? Find the block in Activity Log → Firewall Blocks, note the URL and rule, and add the narrowest whitelist entry that fixes it. Only switch the whole firewall off while you are investigating.
Honeypot (Login and Comment Forms)
The honeypot catches spam bots without CAPTCHAs, puzzles or cookie banners. Real visitors never notice it.
How it works
- Bearmor adds an invisible text field to the WordPress login form and the comment form. The field is placed off-screen, skipped by the keyboard and hidden from screen readers.
- Each site gets its own random field name (for example
hp_x7k2…), so bots cannot learn it from other sites. - Bots fill in every field they find. If the hidden field contains anything, the submission is rejected.
- A hidden timestamp also rejects forms submitted less than 2 seconds after the page loaded. Humans are never that fast; scripts are.
What happens to a caught bot
- Login form: the login is refused before the password is checked, and the event is logged as Blocked Login (Honeypot) in the Activity Log.
- Comment form: the comment is rejected and never reaches your moderation queue.
Settings and coverage
- On by default. Switch it in Settings → Firewall → Honeypot Protection.
- It covers the standard WordPress login and comment forms. Contact Form 7, WooCommerce checkout and other form plugins have their own spam protection and are not changed.
- Password managers and browser autofill do not trigger it, because they do not fill hidden fields with unknown names.
Security Hardening (30 Rules)
Hardening closes doors that WordPress leaves open by default. Bearmor has 30 rules in three tiers. Every rule explains what it does, what it might break and how to test it, so you can switch them on without guessing.
The three tiers
- Tier 1 - Baseline: safe on any site. Security headers, hidden version, blocked user enumeration and similar.
- Tier 2 - Access hardening: safe on most sites, but can affect specific plugins or workflows. Read the notes first.
- Tier 3 - Lockdown: for finished, “frozen” sites whose content rarely changes. These rules break normal editing on purpose.
Quick actions
- Apply Recommended (Tier 1): ticks all Baseline rules. Then click Save All Settings.
- Freeze Site (Lockdown preset): ticks Tier 1, all Lockdown rules and the Tier 2 rules that are safe on a frozen site: XML-RPC off, file editor off, Application Passwords off, registration off, PHP blocked in uploads and feeds off.
- Disable All: unticks everything.
- Undo last hardening change: restores the rule set from before your last save, for up to 24 hours. Use it if something broke after a change.
- Run Self-Test: probes your site anonymously from the outside and checks that each enabled rule really works, for example that /?author=1 returns Forbidden. It also warns about known conflicts with active plugins such as Jetpack, WooCommerce and Contact Form 7.
The page also shows your WP_DEBUG status. Debug mode should be off on a live site, because error messages can reveal file paths.
All 30 rules
| Rule | What it does | Might break |
|---|---|---|
| Tier 1 - Baseline | ||
| Block REST batch requests | Closes the /wp-json/batch/v1 endpoint, which lets one request carry many API calls. Attackers use it to multiply brute-force and probing attempts. | Nothing on normal sites. Gutenberg, WooCommerce and Contact Form 7 do not need it. |
| X-Frame-Options header | Sends X-Frame-Options: SAMEORIGIN, so other websites cannot load your pages inside an iframe (clickjacking protection). | Only setups that deliberately embed your site on another domain. |
| X-Content-Type-Options header | Sends nosniff, so browsers never guess a file type and run an upload as a script. | Nothing in practice. |
| Referrer-Policy header | Sends strict-origin-when-cross-origin. Other sites only see your domain, not full URLs with private query strings. | Analytics on other sites see less detail about traffic from you. |
| Permissions-Policy header | Sends geolocation=(), microphone=(), camera=(), so embedded scripts cannot ask for location, microphone or camera. | Features that really need them, such as a store locator that asks for your position. |
| X-XSS-Protection header (legacy) | Sends 1; mode=block for very old browsers. Modern browsers ignore it. | Nothing. |
| HSTS header | Tells browsers to use HTTPS only for this domain for 180 days. Sent only when the site already runs on HTTPS. Off by default. | If the SSL certificate expires, returning visitors cannot open the site until it is fixed. Enable only with auto-renewing SSL. |
| Hide WordPress version | Removes the version number from the page source and feeds, so bots cannot match your version to a list of exploits at a glance. | Nothing. |
| Block user enumeration (?author=) | Returns Forbidden for ?author=1 style requests that reveal login names. | Only old ?author=N links. Pretty /author/name/ links still work. |
| Block REST API user listing | Hides /wp-json/wp/v2/users from visitors who are not logged in. | Rare front-end features that list authors to anonymous visitors. |
| Generic login errors | Replaces “unknown username” and “wrong password” with one neutral message. | Nothing. Users just see a less specific error. |
| Force SSL (HTTPS) redirect | Redirects every HTTP request to HTTPS with a 301. Only offered when SSL is detected. | A broken or missing certificate makes the site unreachable. |
| Disable pingbacks | Removes XML-RPC pingback methods and the X-Pingback header, a common DDoS amplification trick. | Other blogs can no longer notify you when they link to you. |
| Remove extra <head> links | Removes RSD, wlwmanifest and shortlink tags: less fingerprinting, cleaner HTML. | Publishing from very old desktop blog editors. |
| Disable oEmbed discovery | Removes the oEmbed links and embed script, so other sites cannot auto-embed your pages. Embedding YouTube or X into your posts still works. | Pretty previews when someone pastes your URL into another WordPress site. |
| Disable directory browsing (.htaccess) | Adds Options -Indexes, so folders without an index file show Forbidden instead of a file list. Apache and LiteSpeed only. | Nothing legitimate. |
| Tier 2 - Access hardening | ||
| Disable XML-RPC completely | Turns off xmlrpc.php, a legacy remote API that is a constant brute-force target. | Jetpack, the classic WordPress mobile apps and some remote publishing tools. |
| Disable file editor (DISALLOW_FILE_EDIT) | Writes DISALLOW_FILE_EDIT to wp-config.php and removes the theme and plugin code editors. A stolen admin account cannot inject PHP from the dashboard. | Quick code edits in wp-admin. Use SFTP instead. |
| Disable Application Passwords | Turns off per-user API passwords (WordPress 5.6+), one less remote login method. | External services or scripts that log in to the REST API with an application password. |
| Force user registration OFF | Keeps “Anyone can register” off even if someone switches it on later, a typical attacker move. | Open registration forms on membership sites. WooCommerce account creation at checkout still works. |
| Disable comments site-wide | Closes comments and pingbacks everywhere. | All commenting, including WooCommerce product reviews. |
| Disable author archive pages | Redirects /author/name/ pages to the home page, because they leak login names. | Multi-author blogs that use author pages. |
| Block PHP execution in uploads (.htaccess) | Writes an .htaccess in wp-content/uploads that denies .php files. A web shell dropped there cannot run. Apache and LiteSpeed only. | Rare plugins that run PHP from uploads (bad practice). |
| Disable RSS/Atom feeds | Turns off /feed/ and similar URLs and removes feed links. | RSS readers, Mailchimp RSS campaigns and aggregators. |
| REST API for logged-in users only | Anonymous visitors get an error from /wp-json/. Logged-in users and the block editor work normally. Contact Form 7 and the WooCommerce Store API stay open automatically. | Other form plugins, search and filter widgets, Jetpack and page-builder forms that call the REST API for visitors. Test every form after enabling. |
| Tier 3 - Lockdown | ||
| Freeze all file changes (DISALLOW_FILE_MODS) | Writes DISALLOW_FILE_MODS to wp-config.php: no installs, updates or deletions from wp-admin, even for admins. | All updates from wp-admin, including Bearmor itself. Turn it off before maintenance. |
| Block ALL file uploads | Rejects every upload through WordPress: media, forms, plugins. | Media library, upload fields, product images. Turn it off when you need to add media. |
| Block ALL new user creation | Blocks new accounts from wp-admin, REST, XML-RPC, WP-CLI and checkout. Intruders usually create a hidden admin first. | Adding team members, customer accounts at checkout, membership sign-ups. |
| Hourly file tripwire with instant email | Runs the file integrity check every hour instead of daily and emails the admin at once when any file changes. | Nothing, but expect emails during legitimate updates. |
| Login IP allowlist | Only the IP addresses you list (IPv4 CIDR ranges allowed) can open wp-login.php and wp-admin. Your current IP is added when you enable it. | Logging in from a new place or mobile data. Escape hatch: add define( 'BEARMOR_UNLOCK', true ); to wp-config.php. |
📌 Rules that edit files: the file editor and file-mods rules write constants to wp-config.php. Directory browsing and uploads-PHP write .htaccess rules, which work on Apache and LiteSpeed. On nginx, ask your host to add the equivalent rules; most nginx hosts already disable directory listing.
Security Headers
Security headers are short instructions your server sends with every page. They tell the browser how to protect your visitors. Bearmor can send six of them, all from the Hardening page, Tier 1.
| Header | Value Bearmor sends | Protects against |
|---|---|---|
| X-Frame-Options | SAMEORIGIN | Clickjacking: your pages shown invisibly inside another site |
| X-Content-Type-Options | nosniff | Browsers running an uploaded file as a script |
| Referrer-Policy | strict-origin-when-cross-origin | Leaking full URLs, including private query strings, to other sites |
| Permissions-Policy | geolocation=(), microphone=(), camera=() | Embedded scripts asking for location, microphone or camera |
| X-XSS-Protection | 1; mode=block | Reflected XSS in very old browsers |
| Strict-Transport-Security (HSTS) | max-age of 180 days, only on HTTPS | Downgrade attacks to plain HTTP |
Checking your headers
- Open your site in a private window, press F12, open the Network tab and reload.
- Click the first request (your page) and look at Response Headers.
- Or run
curl -I https://yoursite.comin a terminal.
Good to know
- HSTS is off by default. Enable it only when your SSL certificate renews automatically. Once a browser has seen HSTS, it refuses plain HTTP for 180 days, even if your certificate breaks.
- If your host or Cloudflare already sends a header, switch Bearmor’s copy off to avoid duplicates. Cloudflare can send HSTS itself under SSL/TLS → Edge Certificates.
- Bearmor does not send a Content-Security-Policy. A useful CSP depends on every script your site loads and is easy to get wrong; set one up per site with your developer.
- Full-page caching plugins store the headers with the page. Clear the cache after changing header rules.
Activity Log
The activity log records who did what and when. After an incident it is the first place to look, and on a normal day it shows that nothing unexpected happened.
Tabs
| Tab | Contents |
|---|---|
| All Activity | Admin and security events, with user, IP and time |
| Login Attempts | Every successful and failed login with username, IP and country |
| Blocked IPs | Current and past lockouts, with unblock and manual block |
| Firewall Blocks | Requests stopped by the firewall, with URL and matched rule |
Recorded events
- Logins and logouts
- Logins blocked by the honeypot
- Plugins installed, activated, deactivated and deleted
- Theme switches
- Users created and deleted
- Files quarantined and restored
- IP addresses blocked and unblocked
- Settings changed and hardening applied
Filter by action, user or severity. Activity entries are kept for 90 days; login attempts and firewall blocks keep the most recent entries, so the tables never grow without limit.
📌 What to look for: a user you did not create, a plugin activated at 3 am, or logins from a country where nobody on your team lives. Any of these is worth investigating.
Settings
Bearmor Security → Settings has four tabs. Changes take effect when you click Save & Apply.
General
- Site ID and Last check-in: the identity of this site at bearmor.eu and the last daily check-in. Useful when contacting support.
- Docs and Get Support buttons.
- Scheduled Tasks: every Bearmor cron job (malware scan, vulnerability scan, file integrity check, AI analysis, daily check-in, uptime sync, cleanup of blocks and activity log) with its schedule and next run. “Not scheduled” means WordPress cron is not running properly; see Troubleshooting.
Scanning
| Setting | Default | What it does |
|---|---|---|
| Scan Schedule | Daily | Daily runs the malware scan automatically each night. Manual means scans only run when you click the button. |
| Notification Email | Admin email | Where alerts go: critical vulnerabilities and unexpected protected file changes. |
| Scan Exclusions | Empty | Paths or patterns to skip, one per line, for example wp-content/cache/, *.min.js, wp-backup-* or .git/. |
| Rebuild Baseline Scan | - | Replaces the file integrity baseline with the current files. See File Integrity. |
| Auto-Quarantine Malware | Off | Quarantines detected files automatically, without asking. |
Firewall
| Setting | Default | What it does |
|---|---|---|
| Web Application Firewall | On | Blocks SQL injection, XSS, path traversal and command injection. |
| Rate Limiting | Off, 120/min | Blocks IPs that load too many pages per minute. Minimum 60. |
| Country Blocking | Off | Blocks visitors from the listed 2-letter country codes. |
| Honeypot Protection | On | Invisible trap fields on login and comment forms. |
| Whitelist | Empty | IPs or URL fragments that skip all firewall checks. |
2FA
| Setting | Default | What it does |
|---|---|---|
| Ask for a 2FA code at login | Off | Turns two-factor on for the administrators ticked below who have set up a method. |
| Users list | All admins ticked | Untick an admin to never ask them for a code. The Method column shows Authenticator app, Email code or Not set up. |
📌 Emails from Bearmor: to avoid alert fatigue, Bearmor only sends email for critical vulnerabilities, unexpected changes to core, wp-config.php or PHP in uploads, the hourly tripwire (if enabled) and 2FA email codes. Lockouts do not send email.
Troubleshooting
Scans or the baseline never run
Bearmor uses WordPress cron, which only runs when someone visits the site. On quiet sites, or when DISABLE_WP_CRON is set in wp-config.php, tasks can be late or never run. Check Settings → General → Scheduled Tasks. The fix is a real server cron job that calls WordPress every 5-15 minutes, for example:
*/10 * * * * wget -q -O - https://yoursite.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1
Most hosting panels have a Cron Jobs page where you can add this. Meanwhile, use the manual buttons on each page.
A form stopped working after enabling “REST API for logged-in users only”
This rule makes /wp-json/ return an error to anonymous visitors. Bearmor automatically keeps Contact Form 7 and the WooCommerce Store API (cart and block checkout) open, so those keep working. Other plugins that call the REST API for visitors stop working: other form plugins, search and filter widgets, Jetpack, page-builder forms and some booking or chat widgets. Open the browser console on the broken page: a 401 error on a /wp-json/… request confirms it. Switch the rule off, or use Undo last hardening change. Use Block REST API user listing instead; it closes the most important leak without breaking forms.
Cloudflare
- Real IPs: Bearmor reads
CF-Connecting-IPonly from Cloudflare’s published IP ranges, so lockouts and logs show the real visitor, not Cloudflare. No extra plugin is needed. - Country blocking: works on the real visitor IP. You can also block countries in Cloudflare (Security → WAF), which stops them before they reach your server.
- Headers and HSTS: if Cloudflare already sends HSTS or other headers, switch off Bearmor’s copy to avoid duplicates.
- Rate limiting: Cloudflare’s cache serves many pages without reaching WordPress, so Bearmor only counts uncached requests. That is expected.
- Another proxy or load balancer: forwarded IPs are trusted only when the connection comes from a private network address. If every visitor shows the same IP, ask your host how the proxy passes the client IP.
Locked out by login protection
- Wait for the lockout to end (5 minutes, 30 minutes or 24 hours), or log in from another network, for example mobile data.
- Ask another administrator to unblock your IP in Activity Log → Blocked IPs.
- Locked out by the Login IP allowlist? Add
define( 'BEARMOR_UNLOCK', true );to wp-config.php, log in, fix the allowlist and remove the line.
2FA codes are rejected
- Set your phone’s date and time to automatic. Authenticator codes depend on an accurate clock.
- Make sure you use the Bearmor entry for the right site in the app.
- Use a backup code, then remove and set up the app again on your profile.
- Email codes not arriving: check spam, then install an SMTP plugin. Many hosts do not deliver PHP mail reliably.
- See Two-Factor Authentication → Lockout recovery for full steps.
The firewall blocks something legitimate
Open Activity Log → Firewall Blocks, find the request and the matched rule, and add an IP or “URL contains” entry to the whitelist. Typical cases are payment and webhook callbacks and forms that accept code snippets.
Many file changes after an update
Normal updates are re-baselined automatically. If you edited files over SFTP, deployed from Git or changed themes, review the list and then rebuild the baseline in Settings → Scanning.
.htaccess rules have no effect
Your server probably runs nginx, which ignores .htaccess. The self-test shows which rules did not take effect. Ask your host to disable directory listing and PHP execution in uploads in the nginx configuration.
No AI summary
- Check Settings → General → Last check-in. If it says Never, the site cannot reach bearmor.eu. Ask your host whether outgoing HTTPS is blocked.
- The automatic run happens once a day at a random time, so a new site may need up to 24 hours.
- Manual runs are limited to 2 per day, with 10 minutes between them.
Uptime shows no data
Uptime data syncs hourly. If bearmor.eu cannot reach your site, for example because of a server firewall or a country block that includes the monitoring location, the widget stays empty or shows downtime. Whitelist bearmor.eu if needed.
Performance
Scans run in the background through cron, not when visitors load pages. The firewall is a set of fast pattern checks per request. If a scan is slow on a very large site, exclude cache, backup and node_modules folders in Settings → Scanning → Scan Exclusions.
Frequently Asked Questions
Is Bearmor Security really free?
Yes. Every feature on this page is included: firewall, 2FA, malware scanner, file integrity, vulnerability alerts, AI summary, uptime monitoring and all 30 hardening rules. There is nothing to unlock and no key to enter.
What data is sent to bearmor.eu?
The site URL, the admin email for alerts, the plugin version, uptime checks and, for the AI summary, a short brief with counts, versions, plugin names and file paths. No passwords, no visitor data, no customer or order data. WordPress.org receives requests for core checksums, WPVulnerability.net receives plugin and theme slugs with versions, and ip-api.com and ipwho.is receive IP addresses for country lookups.
Can I use Bearmor with another security plugin?
Yes, but avoid running two firewalls or two login limiters at once. They do the same work twice and make problems harder to trace. If you keep another plugin, switch off the overlapping parts in one of them.
Does it work with WooCommerce?
Yes. 2FA only applies to administrators, never to customers. The firewall skips WooCommerce cart refreshes, and the REST API rule keeps the Store API open. Read the “Might break” notes before enabling rules such as Disable comments (closes product reviews) or Block ALL new user creation (stops checkout accounts).
Which authenticator apps work?
Any app that supports standard TOTP codes, including Google Authenticator, Microsoft Authenticator, Authy, 1Password and Bitwarden Authenticator.
I lost my phone. How do I log in?
Enter one of your 8-character backup codes in the code field. If you have none left, ask another administrator to reset your 2FA, or use the BEARMOR_DISABLE_2FA line described under Lockout recovery.
Why are plugin folders not malware-scanned?
Plugin code is maintained by its authors and checked for known holes by the vulnerability scan. Scanning it for patterns produced mostly false alarms. Bearmor scans the places where attackers actually hide code: the WordPress root, wp-content, the active theme, mu-plugins and uploads.
Will Bearmor slow down my site?
No noticeable impact. Scans run in the background, and the firewall adds a few fast checks per request.
What happens when I deactivate the plugin?
All scheduled tasks are removed, the firewall and 2FA stop, and bearmor.eu is told that the site is no longer active. Rules written to wp-config.php or .htaccess are removed when you switch them off in Hardening, so switch them off before deactivating if you no longer want them.
Where do I get help?
Use the Get Support button in Settings, or the support forum on WordPress.org. If you would rather have someone look after your site for you, including updates, monitoring and hack cleanup, see WordPress maintenance by Bearmor.