French flag Hosted and supported in France A human reply within 12 hours 06 65 13 24 36
← All articles WordPress & security7 min read

A fake WordPress administrator: how do you secure the site?

Delete an unknown administrator account without leaving a back door behind, audit the access and rotate the WordPress secrets.

Remove an unknown administrator account without leaving a back door, audit the access and renew the WordPress secrets. The priority is to restore a situation under control without wiping the traces useful to the diagnosis.

Illustrated diagnosis: fake WordPress administrator
Diagnosing a fake WordPress administrator: symptoms, causes, fixes and checks.

How do I recognise a fake WordPress administrator?

An infection is not resolved by deleting the visible file alone. You have to contain the incident, identify the point of entry, clean out every persistence mechanism, renew the secrets and then watch for files or accounts reappearing. Start by noting when it appeared, the most recent changes, the URLs concerned and the behaviour observed.

Test the site from a browser with no session, on mobile, and by arriving from a Google result: many infections only fire for certain visitors, or for crawlers. Note the suspicious URLs, the redirects you see and the Search Console warnings.

01 · Signal to check

An administrator account you do not recognise

02 · Signal to check

A changed email address or role

03 · Signal to check

It keeps being recreated after you delete it

One signal alone does not prove the cause: “An administrator account you do not recognise” can come from “A compromised password” just as easily as from “Account creation through a vulnerability”. Look for at least two findings that agree before you apply a lasting fix.

Spotting an administrator account that should not be there

In Users > All Users, filter on the Administrator role and compare every account with the list of people who really should have it. Some malware hides its account from the interface: wp user list --role=administrator, or a query on the wp_users and wp_usermeta tables, gives you the full list.

Note when the suspicious account was registered: it places the intrusion in time and points your search at the access logs, the plugin updates from that period, and any known flaws in a plugin you have installed.

Deleting the account is not enough

An administrator account an attacker created means they could run code or reach the database. Before you delete it, look for what it may have installed: plugins you do not recognise, PHP files added, extra users, options changed. As you delete it, reassign its content to a legitimate account so nothing is lost.

Then change every administrator password, the database password and the FTP or SSH credentials, and regenerate the keys and salts in wp-config.php, which signs out every open session. Turning two-factor authentication on for the privileged accounts cuts the chance of a repeat sharply.

Causes to check

For a fake WordPress administrator, the 4 causes below are ranked from the commonest to the rarest. Test the one matching the site’s most recent change first, one at a time.

01 · Possible cause

A compromised password

02 · Possible cause

Account creation through a vulnerability

03 · Possible cause

A back door recreating the user

04 · Possible cause

Stolen database or hosting access

Search Console's Security Issues report, the server access logs, the user list, the recently changed files and the scheduled tasks all give precise dates. Keep that trail: it is how you find the way in.

A good fix does not merely make the symptom disappear. It explains why the problem appeared and how to check that it does not come back.
An animated process to understand fake WordPress administrator
The subject in motion: observe the facts, apply an action in proportion, then check the result.

Precautions before starting

Take a full copy of the files and the database, then keep it aside as evidence: it must not serve as a restore point until the infection is understood.

Then change the administrator, FTP, database and hosting passwords, and rotate WordPress's security keys, to close the doors the attacker could use again.

Free Host by French tool

Which cause best matches your situation?

Pick the situation closest to what you are seeing to get the first recommended action.

Among these common causes, which one best matches what you are seeing?

Want a human opinion on your exact situation?

Get a recommendation
ORDER OF WORK

Diagnosis and fix

PhaseObjectiveA mistake to avoid
ObserveReproduce it and gather the evidenceChanging several settings before you have a baseline
IsolateConfirm the component or the rule responsibleDeleting files without keeping a copy
FixApply the smallest documented changeRestoring a version that still contains the same cause
ValidateTest the whole journey and monitor itConcluding from the home page loading alone

How do I resolve a fake WordPress administrator step by step?

The 4 steps below tackle a fake WordPress administrator from the least intrusive to the heaviest. After each change, repeat the same test; if nothing changes, go back to the previous state before moving on to the next step.

  1. 01

    Step 1

    Document the account, its dates and its actions before deleting it.

  2. 02

    Step 2

    Revoke the sessions and change the passwords on every point of access.

  3. 03

    Step 3

    Look for the creation mechanism in the files, the cron jobs and the logs.

  4. 04

    Step 4

    Delete the account once its content has been reassigned deliberately.

If a step changes the database or the code directly, do it on a copy first. Once the fix is in place, the first check is still this: vĂ©rifier qu’aucun compte ne rĂ©apparaĂźt.

Validate the resolution

After the clean-up, scan the files and the database again, review the administrator list, and test the redirects from several devices and from Google. Where Search Console reported a problem, request the review only once those checks are done.

Validation checks

Schedule a second integrity check a few days later: a back door you missed can reinfect the site after a clean-up that looked successful.

Prevent a recurrence

Prevention has to answer the cause you identified. For a fake WordPress administrator, the first measure is “Turn on two-factor authentication”; note too the signal that would have shown the incident sooner, and who is responsible for watching for it.

01 · Preventive measure

Turn on two-factor authentication

02 · Preventive measure

Keep the administrator role scarce

03 · Preventive measure

Alert on new accounts

04 · Preventive measure

Rotate shared credentials regularly

Delete the plugins you do not use, keep administrator accounts few, turn on two-factor authentication and monitor file changes. Security rests on those layers together, not on a single plugin.

A practical diagram about fake WordPress administrator
A marker specific to this article: three steps to turn reading into a decision you can verify.
FREQUENTLY ASKED QUESTIONS

Frequently asked questions about a fake WordPress administrator

The account is not in the list, is that possible?

Yes, some malware hides its account from the interface. The command wp user list --role=administrator over SSH, or a query on the user tables, gives the full list.

What happens to the deleted account's content?

As you delete it, WordPress offers to reassign its content to another account. Choose a legitimate one, then check that content: it may hold links or scripts the attacker added.

How do you stop new administrator accounts being created?

Check that public registration is off, or limited to the Subscriber role, in Settings > General, turn on two-factor authentication for administrators, and keep the plugins that manage accounts updated.

How do you check the fix will hold?

Check no account reappears. Review the role and email changes. Audit FTP, hosting, the database and Search Console. Then watch the logs, the alerts and the relevant metrics for several days.

ON TO YOUR OWN CASE

How to resolve it

If a fake WordPress administrator persists after these steps, we can pick the diagnosis up again from your logs and your access details, without acting blind on the site.

Get a diagnosis

Summary with an AI

Choose your assistant: the request is prefilled where that is possible, and always copied, ready to paste if need be.

ChatGPTSummarise the article PerplexitySummarise the article ClaudeSummarise the article CopilotSummarise the article MistralSummarise the article GeminiSummarise the article
THEY TRUSTED US

Client references

See all case studies
Montreuil-sur-Mer logo Data Labcenter logo Sofradom logo 70 Football logo Afrique sur 7 logo CyberJay logo Élisa Reddet logo Foire du TrĂŽne logo Goodyvest logo Kincy logo Lhotellier logo Audrey MĂ©gelĂ© du Bourg logo MYF logo
Sine Qua Non logo Make It Happen logo Sonance Audition logo ACME logo Beluvia Bar Store logo Desaltera logo FĂȘte des Loges logo GD Menuiseries logo 3G Immo logo Lavish logo Maison du Feu logo Mieux Fiscal logo MYF Tea logo
Go deeper

Articles to go further on the fake WordPress administrator guide.

See all articles
Illustrated diagnosis: Stripe for WooCommerce has stopped working
WooCommerce troubleshooting7 min read

Stripe for WooCommerce broken: the diagnosis

Get Stripe working again on WooCommerce by checking the live and test keys, the webhooks, the events, authentication, the errors and compatibility.

Illustrated diagnosis: PayPal for WooCommerce has stopped working
WooCommerce troubleshooting7 min read

PayPal for WooCommerce broken: the diagnosis

Fix PayPal on WooCommerce by checking the merchant account, the environment, the API, the webhooks, the customer's return journey, the currency and the logs.

What they say about working with us

Google reviews about the support we provide for the Fake wordpress administrator. page

Google logo 4,8/5 243 verifiable Google reviews Read the reviews
★★★★★
“A WordPress pro. His skills, his grasp of what we needed and his clear explanations made the whole project run smoothly.”
Nicolas Le Couteur Review published on Google
★★★★★
“Always available to answer questions, very professional. Every technical problem we ran into was resolved.”
Cuong Doan Review published on Google
★★★★★
“A professional who listens to his clients. Thank you for the commitment and the time spent on our project.”
Sakina Sedkaoui Review published on Google
★★★★★
“Someone you can trust, who understood my needs straight away and put an effective strategy in place.”
Vincent Loustalot Review published on Google
★★★★★
“Very attentive, motivated and able to propose tailored SEO strategies. The quality of the work is remarkable.”
Marine Mongodin Review published on Google
★★★★★
“Quality work, delivered on time. Maxime is responsive, suggests relevant adjustments and delivers careful work.”
Olivier Opron Review published on Google
★★★★★
“Spot on, perfect work, nothing to fault!”
Robin Gomez Review published on Google
★★★★★
“Maxime adapts very quickly, even to the trickiest technical situations. The result is always there.”
Philippe Bertieaux Review published on Google
★★★★★
“Impeccable work from start to finish, highly responsive and flawless quality.”
Alex Houillon Review published on Google
★★★★★
“The site is fast and visually very good. Maxime also helped us build our SEO strategy.”
Lois Guillermond Review published on Google
★★★★★
“An exceptional developer.”
Honoré Comlan Koumondli Review published on Google
★★★★★
“Maxime showed great professionalism and great creativity in helping us build our charity’s website.”
Julien-Benoit Birman Review published on Google
★★★★★
“A solid understanding of search optimisation when building a WordPress site.”
JM Review published on Google
★★★★★
“Maxime is responsive, a good teacher, and anticipates what is needed to get the strategy right.”
Romain Bergé Review published on Google
Your site deserves better

Let’s talk about your hosting

Tell us about your project. You get a clear recommendation, no jargon and no commitment.

Get my recommendation Reply within 12 hours ‱ Migration handled ‱ Free quote Active infrastructure
Google logo 243 Google reviewsVerifiable public reviews
Find my plan