Skip to content

KeNIC-accredited .KE registrar

Security · Guide

Why Kenyan websites get hacked (and how to protect yours)

The main reasons business websites get hacked, the scams that use them, warning signs, how to protect your site, and what to do (and who to notify) if it happens.

By John KariukiPublished Updated 7 min read

Young man in a black hoodie working on a laptop

The short answer

  • Most attacks are automated, targeting known weaknesses on any site.
  • Outdated plugins are the biggest risk: Patchstack found 91% of 2025 WordPress vulnerabilities were in plugins.
  • Update everything, use strong passwords with two-factor login, keep off-site backups and avoid nulled plugins.
  • If hacked: clean or restore, request a Google review, report to KE-CIRT/CC, and notify the ODPC within 72 hours if personal data is at risk.

Most hacked business websites aren’t targeted personally. Automated tools scan the internet for known weaknesses, and any site that matches gets attacked, whether it belongs to a bank or a small shop in Nakuru. The Communications Authority of Kenya’s cyber security report for April–June 2026 recorded over 17 million web application attacks in that quarter alone. Here’s why sites get hacked, the warning signs, and how to protect yours.

The main reasons websites get hacked

1. Outdated plugins and themes

This is the biggest cause on WordPress sites. According to Patchstack’s 2026 report, 11,334 new vulnerabilities were found in the WordPress ecosystem in 2025: 91% in plugins, 9% in themes, and only six in WordPress core. Patchstack found that heavily targeted vulnerabilities were typically mass-exploited within hours of becoming public.

2. Weak or reused passwords

Bots try common passwords and leaked password lists against login pages. One weak admin password can expose the whole site.

3. Nulled (pirated) themes and plugins

“Free” copies of premium plugins often contain hidden malware, and they never get security updates.

4. Poor hosting and no backups

Outdated server software, no isolation between accounts, and no clean backup make attacks easier and recovery harder.

5. Phishing and stolen access

Attackers trick staff into entering passwords on fake login pages, or use access left behind by former employees and developers.

Person holding a scam alert sign over a laptop
Scam emails and fake login pages are a common way attackers get website and email passwords.

Scams that use your website or brand

  • Phishing pages planted on hacked sites to steal bank or M-Pesa details.
  • Fake “renewal” or “security” emails asking you to pay or log in.
  • Impersonation: lookalike domains or social pages pretending to be you.

Protect your domain and email too (see protecting your domain).

Signs your website has been hacked

  • Redirects to spam, gambling or adult sites (often only on mobile or from Google).
  • Strange pages or Japanese/pharma text appearing in Google results for your site.
  • Google or browser warnings, or a message in Search Console’s Security Issues report.
  • New admin users you didn’t create.
  • Your host suspends the account or reports malware or spam sending.

How to protect your website

  1. Keep WordPress, plugins and themes updated, and remove what you don’t use (see updating plugins safely).
  2. Use strong, unique passwords and two-factor login for every admin account.
  3. Use only licensed plugins and themes from trusted sources.
  4. Keep off-site backups and test restoring them (see backing up your website).
  5. Use HTTPS everywhere (see fixing “Not secure” warnings).
  6. Add a firewall and malware scanning, at the host or with a security plugin.
  7. Remove access for staff and contractors who leave.

If your site is hacked

  1. Change all passwords (hosting, WordPress, FTP, database, email).
  2. Restore a clean backup, or have the site professionally cleaned.
  3. Update everything and remove unknown users and files.
  4. In Search Console, fix all issues, then request a review; Google says reviews generally take a few days to a few weeks.
  5. Report serious incidents to Kenya’s national KE-CIRT/CC (run by the Communications Authority, 24/7).
  6. If personal data may have been exposed, the Data Protection Act (s.43) requires notifying the Data Commissioner within 72 hours where there is a real risk of harm.

Hacking is illegal under Kenya’s Computer Misuse and Cybercrimes Act, 2018. Our website maintenance plans include security scans, updates and backups, from KES 5,000 per month.

Frequently asked questions

Why would hackers target a small business website?

Most attacks are automated: bots look for any site with a known weakness, regardless of size.

How do I know if my website is hacked?

Look for spam redirects, strange pages in Google results, browser warnings, unknown admin users, or alerts from your host or Search Console.

Do I have to report a hacked website in Kenya?

If personal data may have been exposed with a real risk of harm, the Data Protection Act requires notifying the Data Commissioner within 72 hours. You can also report incidents to KE-CIRT/CC.

Are free versions of premium plugins safe?

No. Nulled plugins often contain malware and never get security updates.

Sources

Facts checked on 4 November 2026. Prices and rules change; confirm current details with the provider or regulator.

About the author. John Kariuki is the founder of Kenya Website Designers in Nairobi. He builds business websites, online stores with M-Pesa payments and custom web systems, and manages domains and hosting for Kenyan businesses.

Free quote

Secure your website

Tell us what’s happening. We reply within 24 hours, faster for hacked sites.