The Ghost in the Machine: Catching WordPress Hidden Admins
If you’ve ever cleaned up a hacked WordPress site only to get reinfected the very next day, you’re not losing your mind—and you’re definitely not alone. It’s incredibly frustrating to feel like you've secured your digital space, only for an attacker to waltz right back in.
Chances are, you're dealing with one of the most sophisticated and persistent backdoors currently circulating: The Hidden Admin User.
This malware creates an invisible administrator account, hides it from your Users screen using WordPress’s own filter hooks, and instantly recreates the account the second you try to delete it.
🕵️♂️ The Smoking Gun: Do Your Numbers Add Up?
The malware is smart, but it makes one critical mistake. It lies to the WordPress dashboard, but it forgets to lie to third-party plugins.
If your "All Users" count in the dashboard says (1), but a 2FA plugin, security scanner, or activity log says you have (2) inactive users—you have a hidden admin. The math discrepancy is the single most reliable indicator of this compromise.
🛑 Why You Can’t Just Hit "Delete"
The biggest mistake site owners make is finding the rogue user (often named things like adminbackup, adm1nlxg1n, or sys_maint_service) in the database and immediately deleting it.
Here is the harsh reality: The malicious code will simply recreate that user on the very next page load.
To permanently remove the threat, you have to do things in the exact right order:
Step 1: Find and remove the malicious code first (usually hiding in your theme's functions.php, a fake plugin folder like CacheFusion, or wp-content/mu-plugins/).
Step 2: Verify the hidden user is now visible in your dashboard.
Step 3: Now you can safely delete the rogue account.
Step 4: Rotate every single password and security salt.
🛠️ Ready for the Deep Dive?
If your site is acting up, or you just want to know exactly what this malicious code looks like so you can hunt it down yourself, I've published a comprehensive, technical breakdown over on the blog. No theory, just real code samples from real cleanups.
👉 Read the full guide: WordPress Hidden Admin User: How to Detect and Remove It Permanently
Stay safe out there, and remember to always back up your database before you go code-hunting!



















