Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Rogue admin user created: how to find and remove it

OPS-148High impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

A rogue admin user is an account with full control of your site, store or tag manager that nobody on your team created. Attackers add one after they get in through a weak password, an outdated plugin or a stolen login. The account is their spare key. Even if you remove the original hole, they can walk back in.

These accounts often look normal. Common tricks are names like support, wpadmin or admin2, a real-looking email on a free domain, or a recent creation date with no matching hire or agency.

Why it costs you leads or sales

An admin can change anything. They can edit forms so leads go to another inbox, swap checkout links, inject redirects or spam pages, add scripts that steal data, and change tracking IDs so your ad platforms get bad data. Because the account survives clean-ups, the damage can return again and again.

How a rogue admin leads to lost leads
  1. Entry pointWeak password or outdated plugin
  2. Rogue admin addedHidden spare key
  3. Site changedForms, links or scripts edited
  4. Leads and salesDiverted or blocked

The break happens at the hidden account, long before you notice the symptoms.

How to check if your site has it

List every user with admin rights and compare it with the people who should have access. Check creation dates, emails and last login times.

Where to list admin users
  1. Open Users

    Go to Users > All Users and click the Administrator filter. Look for names and emails you do not recognise.

  2. Check the database

    Hidden users can be missing from the screen. In phpMyAdmin, open the wp_users table and sort by user_registered. Also check wp_usermeta for the wp_capabilities value containing administrator.

WordPress: list admins with WP-CLIbash
wp user list --role=administrator --fields=ID,user_login,user_email,user_registered

How to fix it

Remove the account and close the hole
  1. Take a backup

    Save the site and database first so you keep evidence and can restore if something breaks.

  2. Change your own credentials

    Reset passwords for all real admins, on a clean device. Turn on two-factor authentication.

  3. Delete the rogue user

    Remove the account. On WordPress, choose to delete rather than reassign content only if you know it owns nothing real.

  4. Invalidate sessions and keys

    Log out all users. On WordPress, replace the salts in wp-config.php. Rotate API keys, FTP, database and hosting passwords.

  5. Find the entry point

    Update the core, themes and plugins, remove unused ones, and scan files for web shells and changed code. Check hosting access logs around the account's creation time.

  6. Review what the attacker changed

    Check form recipient emails, redirects, scripts in the header and footer, tracking IDs and checkout settings.

  7. Ask your host for help if unsure

    If you find backdoor files, restore from a backup taken before the breach or hire a cleanup specialist.

Admin access before and after clean-up

Compromised

  • Unknown admin with full rights
  • Old passwords and keys still valid
  • Entry point still open

Secured

  • Only named people have admin
  • Passwords, salts and keys rotated
  • Plugins updated, 2FA on

How to confirm it's fixed

Confirmation checklist
  • Every admin account matches a real person
  • The database check shows no hidden admin users
  • No new users appeared 24 hours after clean-up
  • Form recipients, redirects and header scripts are as you set them
  • Two-factor authentication is on for all admins
  • A malware scan finds no unknown files

How to prevent it happening again

Prevention
  • Give each person their own account with the lowest role they need
  • Use long unique passwords and two-factor authentication
  • Update the core, plugins and themes promptly and delete unused ones
  • Install an audit log that records user creation and role changes, with email alerts
  • Limit login attempts and restrict admin access where you can
  • Review the user list monthly and remove ex-staff and old agencies

How FunnelGuard handles this

This issue is outside what FunnelGuard checks. FunnelGuard runs a robot visitor through your customer journeys and tests form steps, tracking hits and lead delivery. It does not look inside your admin area or list your users. The kind of tool that fits is a security audit-log or site-security plugin (or your platform's built-in activity log) that records user creation and role changes, plus a malware scanner.

What FunnelGuard can still help with is checking your funnel after a clean-up, to confirm forms, checkouts and tracking work as intended. A free plan covers 1 site and 2 journeys.

Questions people ask

Why is there an admin user I didn't create on my website?

Most often an attacker added it after getting in through a weak password, an outdated plugin or a stolen login. It can also be an old agency or developer account. Check the creation date and email, and ask your team before deleting.

How do I remove a hacked admin user in WordPress?

Go to Users, find the account and delete it. Then reset all passwords, replace the salts in wp-config.php, update plugins and check the wp_users table for hidden accounts. Removing the user alone does not close the entry point.

Can a hidden admin user be missing from the WordPress Users screen?

Yes. Attackers can hide accounts with code or by editing the database. Compare the Users list with the wp_users table or run wp user list --role=administrator to see them.

What should I do first if I find an unknown admin account?

Back up the site, then change passwords for all real admins and turn on two-factor authentication. After that, delete the unknown account and look for how it was created.

Will deleting the rogue admin stop the hack?

Not by itself. The attacker may have backdoor files, other accounts or stolen keys. You need to scan files, rotate credentials and update vulnerable software too.

How do I get alerted when a new admin user is created?

Use a security or audit-log plugin or your platform's activity log that records user creation and role changes and can email you. FunnelGuard does not provide this, as it checks funnels rather than admin accounts.

Can a rogue admin steal my leads?

Yes. An admin can change form recipient emails, webhooks or scripts so leads go to another place. After a breach, check every form's destination and send a test lead.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.