Security · WordPress

A hijacked site URL, sixteen rogue admins and a casino redirect

A local business site suddenly lost its layout and its admin redirected to a casino site. The host was suspected, but the real cause was a hijacked database. I traced it, removed sixteen rogue administrator accounts, and cleared the last cached calls to the attacker domain.

Read the Full Case Study

The Problem

  • Broken layout, with CSS and scripts loading from the wrong place
  • WordPress admin redirecting to an unrelated casino site
  • Site URL and home address rewritten in the database
  • Sixteen rogue administrator accounts alongside two legitimate ones

What I Did

  • Checked server files first, then found the compromise in the database
  • Reset the site and home URLs after exporting the database
  • Removed the rogue accounts and verified the user list
  • Traced five leftover attacker-domain references to cached builder CSS and regenerated it

The Result

  • Administrator accounts reduced from 18 to 2
  • Attacker-domain references on the homepage reduced from 5 to 0
  • Hardening plan handed over: updates, password resets, malware scan and removal of a high-risk plugin

Site Hacked?

I clean up compromised WordPress sites and close the door behind the attacker.

See the Malware Removal Service