Recovering a hacked contractor website with a keylogger and rogue admins
A multi-layered WordPress compromise on a US deck builder's site: a keylogger capturing what people typed, and hidden admin accounts that let attackers back in.
- Client
- Deck and outdoor living contractor
- Industry
- Home improvement
- Location
- Atlanta, Georgia, USA
- My role
- Incident response and cleanup, agency project
- Tools
- WordPress
- WP Engine
- Wordfence
- WP-CLI

The problem
The site, hosted on WP Engine, had been compromised in several layers. A keylogger was capturing what people typed on the site, and attackers had created administrator accounts so they could get back in even after a password change.
Multi-layered infections like this are dangerous because removing one part leaves the others in place.
What I did
- Took a snapshot of the infected site for evidence before changing anything.
- Traced and removed the keylogger and every piece of injected code, checking theme files, plugins and the database rather than relying on a scanner alone.
- Audited every user account, removed the rogue administrators and reviewed roles for the legitimate ones.
- Rotated all passwords, WordPress security keys and hosting credentials so stolen logins became useless.
- Wrote an incident report explaining what happened, what was removed and what was changed, in language the client could follow.
The result
The site was cleaned, access was locked down, and the agency had a clear written record to share with its client.