Home / WordPress security / Plugins / Attack Monitor
Free WordPress plugin
See exactly what is attacking your WordPress site.
Most WordPress owners have no idea their site is being probed dozens or hundreds of times a day. Janric Simple Attack Monitor sits quietly in the background, logs every suspicious attempt and shows you the picture in your dashboard. No blocking, no bloat, no monthly fee.
Your site is being tested right now
It is not paranoia, and it is not personal. Automated programs work through millions of WordPress sites every day, like a thief walking down a street at three in the morning trying every car door handle. Most are locked and they move on. They are looking for the one that opens.
None of this shows. You log in, everything looks fine, and meanwhile something has tried your admin password four hundred times overnight. This plugin started as an experiment to see whether I could make that visible. Within hours of switching it on, a test site of mine that was supposed to be private was logging bulk password attacks.
What it watches for
There is nothing to set up. From the moment you activate it, it logs:
- Brute force logins. Repeated password guessing on your login page.
- XML-RPC abuse. An old WordPress feature used to fire hundreds of password guesses in one request.
- Username harvesting. Bots collecting your usernames from author pages and the REST API, usually the first step before a targeted attack.
- Admin area probing. Visitors who are not logged in repeatedly trying your admin pages.
- File and plugin scanning. Automated hunts for files that should not be public, such as .env, wp-config.php, phpMyAdmin and debug logs.
- SQL injection attempts. Database commands smuggled into web addresses and forms.
- XSS attempts. Attempts to slip malicious code into your pages.
- Comment flooding. Rapid-fire spam comments.
What you get
- A dashboard widget. This week's attacks by type, every time you log in, so you can see at a glance whether things are quiet.
- A full log. Day, week, 30-day and all-time views, with a chart of attack volume over time.
- Top attacking addresses. The IP addresses responsible for the most attempts, useful for your host or a blocking tool.
- A safe list. Exclude your own office, monitoring tools or scheduled jobs, by single address or by range.
- A light footprint. One small database table and nothing else. Nothing is sent anywhere outside your own site.
Why it does not block anything
Detecting attacks and blocking them are separate jobs, and mixing the two in one plugin is how people end up locked out of their own website, or turning away a customer who simply forgot a password. The Attack Monitor only watches. What you do with the information is up to you: change a weak username, add Simple Security Hardening, block addresses at your host, or use a tool such as Cloudflare or Fail2ban.
A real week
A brand-new blog with fewer than fifty human visitors a day was fitted with a basic monitor. After seven days it had logged 2,161 automated attempts on the login page and more than 1,650 probes looking for plugin weaknesses. The site never went down and the owner had no idea. No site is too small to be noticed.
Questions
How do I know if someone is trying to hack my WordPress site?
You usually cannot tell from the outside, because failed attempts leave no visible trace and do not appear in Google Analytics. A monitor like this one logs each suspicious attempt and shows the counts in your dashboard.
Why would anyone attack a small business website?
It is not personal. Automated programs scan millions of WordPress sites looking for any that are easy to get into. A hacked site can be used to send spam, host scam pages or redirect your visitors elsewhere.
Where do the attacks come from?
The addresses span the world, but the location tells you little. Most attacks are launched from hijacked servers, home routers and other infected devices whose owners do not know.
Will it slow my site down?
It is built to be light: one database table, no firewall rules, and no requests blocked or delayed.
What does it need?
WordPress 5.0 or later and PHP 7.4 or later.
Want to know how exposed your site is?
The monitor shows who is knocking. To see which doors are open, run my free instant WordPress check. For the full picture, I carry out a 25-point security review from the outside, with no passwords needed, and send you a plain-English report with the fixes.
Tell me what you need. I'll tell you what it costs.
No forms and no sales calls. Send me an email with your web address, if you have one, and a line or two about what you want. You will get a straight answer from me, usually the same working day.