Work Cloud & Systems
Incident Response & Recovery
Found and contained a self-repairing WordPress infection, then proved recovery with a full rescan of 114 WordPress installs.
A freelance client engagement delivered by our founder under his own name.

What was built
A backup-first response to a multi-layer WordPress compromise. Process inspection and writer tracing expanded the investigation beyond known filenames. Repeated scans found zero known indicators after containment, and 21 checked sites returned successful public responses. On October 16 a new infection on the same hosting account was found and contained: five malware runners stopped, 79 artifact files and six hidden token APIs quarantined, rogue users and 53 persistence rows removed, and seven database credentials, nine administrator passwords and seven key sets rotated. A full scan of 114 WordPress roots and 119 option tables then found zero artifacts, and a real administrator login passed with 21 regression tests. Successful containment is distinct from rebuilding a historically compromised environment from a trusted image.
Problems solved along the way
- Problem
- Deleted files came back within seconds, and a site could return HTTP 200 while malicious code still ran.
- Fix
- Treated regeneration as evidence of an unresolved source and used a temporary audit rule to capture the actual writer.
- Result
- The source and its seeds were removed in one pass instead of another round of symptom deletion.
- Problem
- Filename scanning proved infection but could never prove absence, so the first reported scope was too small.
- Fix
- Switched to structural classification plus process inspection across account boundaries.
- Result
- The compromise was shown to be server-wide, not limited to the reported sites.
- Problem
- On October 16 the malware came back: five runners, 247 rogue accounts, 274 spam posts and loaders the earlier detector missed.
- Fix
- Preserved evidence first, stopped the runners, quarantined 79 artifacts and six token APIs, and rotated every affected credential, not only the infected files.
- Result
- A full scan of 114 WordPress roots and 119 option tables found zero artifacts; a real admin login passed with 18 access checks and 21 regression tests.