โœ‰ [email protected] ๐Ÿ“ž +421902204754

Hacked WordPress Website (Drobฤekovo) โ€“ Malware Cleanup Without Data Loss

Written by Mariรกn Kohn โ€” WordPress Developer & Consultant

Hacked WordPress Website (Drobฤekovo) โ€“ Malware Cleanup Without Data Loss

During a regular workday, a client reached out with an urgent issue. Their website had been hacked. Visitors were being redirected to spam pages, and the site was at risk of Google penalties. Immediate action was required.

๐Ÿ‘‰ the website was redirecting visitors to suspicious pages
๐Ÿ‘‰ Google started showing warnings
๐Ÿ‘‰ the admin panel was slow and unstable

The website was clearly compromised.

This case was handled for a client in the services sector โ€“ Drobฤekovo โ€“ childcare facility.

โŒ Problem

After the initial inspection, it was clear:

๐Ÿ‘‰ the website had been hacked
๐Ÿ‘‰ malicious code was present in the files
๐Ÿ‘‰ some core system files had been modified

Typical symptoms:

  • redirects to spam / casino websites
  • unknown content injected into the page header
  • suspicious PHP files in /wp-content/uploads/
  • significant performance degradation
Fixing a hacked WordPress website for a daycare center
Fixing a hacked WordPress website for a daycare center

โš ๏ธ Impact

  • loss of visitor trust
  • risk of being removed from Google search results
  • potential Google blacklist
  • possible data breaches
  • SEO damage

๐Ÿ‘‰ in this state, the website actively harms the business

๐Ÿ” CLI Diagnostics

The diagnostics were performed directly on the server via SSH โ€“ faster and more precise than using the WordPress admin.

For example, I used:

find . -type f -name "*.php" -mtime -2

๐Ÿ‘‰ finding recently modified files

grep -R "base64_decode" .

๐Ÿ‘‰ detecting obfuscated (malicious) code

wp plugin list

๐Ÿ‘‰ plugin audit

wp user list

๐Ÿ‘‰ checking for suspicious users

๐Ÿ’ฃ Root Cause

The issue was a combination of:

๐Ÿ‘‰ outdated plugin
๐Ÿ‘‰ weak security
๐Ÿ‘‰ injected malicious code in files

Attackers had write access to the system.

๐Ÿ› ๏ธ Solution

The process was systematic:

1. Backup verification

๐Ÿ‘‰ verified available backups

2. Isolation

๐Ÿ‘‰ identified infected files
๐Ÿ‘‰ inspected functions.php, header.php, uploads

3. Cleanup

๐Ÿ‘‰ removed malicious code
๐Ÿ‘‰ compared against clean WordPress core
๐Ÿ‘‰ reinstalled core:

wp core download --force

4. Plugins & themes

๐Ÿ‘‰ removed unused plugins
๐Ÿ‘‰ updated everything

5. Users

๐Ÿ‘‰ removed unknown admin accounts

wp user delete ID

6. Hardening

๐Ÿ‘‰ reset all passwords
๐Ÿ‘‰ reviewed file permissions (chmod)
๐Ÿ‘‰ applied basic security hardening

A happy client after her hacked WordPress website cleanup
A happy client after her hacked WordPress website cleanup

โœ… Result

  • website restored from offline โ†’ online in ~30 minutes
  • no more malicious redirects
  • malicious code removed
  • significantly improved performance
  • ready for Google reindexing

๐Ÿ‘‰ no data loss

๐Ÿง  Takeaway

Hacks donโ€™t happen randomly.

Most common causes:

  • outdated plugins
  • nulled themes
  • weak passwords
  • missing updates

๐Ÿ‘‰ WordPress is not the problem.
๐Ÿ‘‰ maintenance is.

๐Ÿงฉ Conclusion

A hacked website can be fixed.

๐Ÿ‘‰ but you need to know where to look
๐Ÿ‘‰ and act fast

Every extra hour = more damage.

๐Ÿ‘‰ Need help?

If you suspect your website has been compromised:

  • redirects
  • suspicious content
  • slow performance

๐Ÿ‘‰ Contact me. Iโ€™ll check your site and tell you whatโ€™s going on.

I can:

  • Clean it
  • Secure it
  • Stabilize it

๐Ÿ”’ Note

This case was published with the clientโ€™s consent. Sensitive technical details have been intentionally omitted.

Other case studies

Read and get more know-how from my blog


Mariรกn Kohn โ€” WordPress & WooCommerce Developer

About the Author

Iโ€™m Mariรกn Kohn. I help businesses fix technical issues on WordPress and WooCommerce websites.

I specialize in fixing broken sites, improving performance, securing systems, and resolving issues that impact business.

When WordPress breaks, I help businesses fix it.

Need help? Letโ€™s talk