Website security in Kenya became a national conversation over one weekend in July. On the morning of Saturday 18 July 2026, the official website of the President of Kenya was defaced. According to reporting at the time, the homepage was replaced with a message directed at the President along with a cryptocurrency wallet address and a demand for payment in Bitcoin. The Cabinet Secretary for Information, Communications and the Digital Economy, William Kabogo, confirmed that access to the site was temporarily restricted to allow containment, forensic analysis and restoration, and stated that preliminary investigations found no evidence of unauthorised access to sensitive data, data exfiltration or loss of information. The site was reported to be functioning normally again the following day. At the time of writing, no group has publicly claimed responsibility and the method of the breach has not been made public.
Predictably, the incident produced a wave of commentary. Some of it was useful. A good deal of it was speculation dressed as analysis, and a fair amount was simply an opportunity to be unkind about institutions.
This article takes a different approach. We are not going to speculate about how the attackers got in, because nobody outside the investigation currently knows, and guessing wrongly in public is not expertise. We are not going to use a national incident as a marketing lever. What we are going to do is answer the question that a business owner in Eldoret, Nakuru or Nairobi should reasonably be asking this week: what does this actually mean for my own website security, and what should I check?
First, Understand What Kind of Incident This Was
The distinction matters, and most of the commentary has blurred it.
A defacement is an attack on the presentation layer. Someone gains the ability to change what a website displays and replaces it with their own content. It is highly visible, embarrassing and disruptive, which is precisely the point. The attacker wants an audience.
A data breach is something else entirely. It means information has been accessed, copied or removed. It is often invisible for weeks or months, and the damage is usually far greater and far more lasting.
In this case, the government’s stated position is that there was no evidence of unauthorised access to sensitive data or exfiltration. If that holds, the incident was a defacement with an extortion demand attached rather than a data compromise. That distinction is not a technicality. It changes the severity, the recovery path and the lessons that follow.
For your business, the same distinction applies. A defaced homepage is recoverable in hours with a good backup. A quiet compromise where customer records are copied is a different category of problem, and one that carries legal obligations under Kenyan data protection law.
The Lesson Is Not the One Most People Are Drawing
The popular conclusion this week has been that government websites are poorly secured. Whether or not that is fair in any particular case, it is the wrong lesson for a business owner to take away, because it invites the comforting thought that follows it: that is a government problem, my business is too small and too ordinary to interest anyone.
That assumption is the actual risk.
Security researchers commenting on this incident made a point worth repeating: high profile targets attract attacks because they combine low attack cost with high visibility payoff. A state domain gives instant credibility to whatever is posted on it, which produces press coverage and leverage in one move. That is a specific motivation that applies to prominent institutions.
Your business is unlikely to be targeted for that reason. But the far more common threat to an ordinary Kenyan business is not a motivated attacker choosing you. It is automated scanning that does not know or care who you are. Software crawls the internet continuously looking for known weaknesses in common platforms, finds them, and exploits them without a human ever deciding that your business was worth attacking. In that model, being small and ordinary offers no protection whatsoever.
So the honest lesson is not that institutions are careless. It is that visibility determines whether an incident makes the news, and it has very little to do with whether an incident happens at all. Most compromised business websites in Kenya are never reported anywhere, because nobody outside the business notices.
Where Website Security in Kenya Actually Breaks Down
Without speculating about this specific case, the causes of most website compromises are well established and unglamorous.
Outdated software. Content management systems, themes and plugins receive security updates precisely because weaknesses are found in them. Once a weakness is published, automated tools begin scanning for sites that have not applied the fix. A site running months behind on updates is not theoretically vulnerable, it is discoverable.
Weak or reused credentials. Administrator accounts protected by a simple password, or by a password used elsewhere and exposed in an unrelated breach, remain one of the most common entry points. Multi factor authentication on every administrative login closes most of this, and remains uncommon among small Kenyan businesses.
Accounts that were never removed. The developer who built your site three years ago, the intern who updated content last season, the agency you stopped working with. Every account that still exists and is no longer watched is an unmonitored door.
Unmanaged vendor platforms. Where a website is built and hosted by a third party who is no longer actively maintaining it, responsibility for website security often sits with nobody. The business assumes the vendor is handling it. The vendor assumes the engagement ended. Nothing is patched for years. This is the single most common condition we find when auditing an existing site, and it is why website maintenance Kenya is a service rather than a one off task.
No backups, or backups nobody has tested. This one does not cause a compromise, but it determines how bad it is. A business with a tested, recent, off site backup treats a defacement as a bad afternoon. A business without one treats it as a catastrophe.
No monitoring. Most businesses discover a problem because a customer tells them. By then the site may have been compromised for weeks.
Seven Website Security Checks You Can Run This Week
None of the following requires a large budget, and none of it requires a security specialist. Most of it takes an afternoon, and it will put your website security in Kenya ahead of the majority of business sites operating here.
1. Confirm who has administrative access to your website, and remove anyone who should not. Ask your developer for the full user list if you cannot see it yourself. Former staff and former suppliers should not have live accounts.
2. Turn on multi factor authentication for every administrative login. This is the single highest value change most businesses can make, and on most platforms it takes minutes.
3. Check when your software was last updated. If you are on WordPress or a similar platform, look at the core version, the theme and every plugin. If nobody can tell you when they were last updated, that is your answer.
4. Verify that a backup exists and that it restores. Not that a backup ran. That it restores. An untested backup is a hope, not a plan. Restore it to a staging copy and confirm the site comes back intact.
5. Confirm your site has a valid security certificate and that HTTPS is enforced across every page. Browsers now warn visitors away from sites without one.
6. Establish who is actually responsible for maintenance, and write it down. If the answer is unclear, you have found the problem, and it is the most common one we see.
7. Know where you would report an incident. Public infrastructure breaches in Kenya can be reported through the National KE-CIRT/CC portal, which is the national computer incident response coordination centre.
If Your Website Is Ever Compromised: The Full Recovery Sequence
The response matters more than the panic. Work through these steps in order. Skipping ahead is how businesses end up compromised twice.
Step 1: Contain it before anything else
Take the site offline or into maintenance mode immediately. Visitors should not be exposed to whatever has been placed there, and if malicious content is being served, every hour it stays live increases the chance of a browser warning or a search engine flag that will take weeks to clear.
If you cannot reach the website itself, contact your hosting provider and ask them to suspend the site. Most will do this within minutes.
Step 2: Do not pay, and do not negotiate alone
If a ransom demand is involved, payment offers no guarantee of anything. You are dealing with someone who has already demonstrated bad faith, you have no way to verify that data was ever taken, and payment marks you as a business that pays. Take advice before responding at all.
Step 3: Preserve evidence before you clean
This is the step almost everyone skips, and it is the one that determines whether you ever learn how it happened. Before changing anything, take a full copy of the site files and database as they currently stand, and download your server access logs covering at least the previous thirty days. Store both somewhere separate.
If you clean first, you destroy the only record of the entry point, and you will be fixing symptoms indefinitely.
Step 4: Change every credential, not just the obvious one
Reset all of the following, and do it from a device you are confident is clean:
- Hosting control panel and any SSH or FTP accounts
- Database user passwords
- Every content management system administrator account
- Email accounts associated with the domain
- Domain registrar login
- Any third party service connected to the site, including payment gateways and analytics
Changing only the account you believe was used is the most common reason a site is compromised again within days. Assume everything the attacker could see, they saw.
Step 5: Remove every user account you do not recognise
Attackers routinely create additional administrator accounts so that access survives a password change. Review the full user list and delete anything unfamiliar, along with any account belonging to someone who no longer works with you.
Step 6: Restore from a known clean backup
If you have a backup from before the compromise and you trust it, restoring is faster, safer and more complete than cleaning. Restore to a staging environment first, confirm the site is intact and the malicious content is gone, then push it live.
The critical judgement here is dating the compromise. If you restore from a backup taken after the attacker gained access, you restore the problem along with the site. Your server logs from step 3 are what tell you when to restore from.
Step 7: If you have no clean backup
Cleaning a compromised site by hand is specialist work. Malicious code is routinely hidden in multiple locations, disguised inside legitimate files, and written to reinstate itself after removal. A partial clean means the attacker returns, usually within a week, and you will not know why.
If this is your position, get help rather than working through tutorials. The cost of professional cleaning is almost always lower than the cost of a second compromise and the reputational damage that follows.
Step 8: Update everything before going back online
Whatever the entry point turns out to be, bring the platform, theme and every plugin fully current before the site is public again. Remove anything you are not actively using. Unused plugins and themes are still executable code and are a common hiding place.
Step 9: Establish whether data was involved
Determine, as far as you reasonably can, whether personal data was accessed. If customer records, enquiry form submissions, staff details or payment information may have been exposed, you have obligations under the Data Protection Act, and this becomes a legal matter as well as a technical one. Take advice rather than assuming the incident was purely cosmetic.
Public infrastructure incidents in Kenya can be reported through the National KE-CIRT/CC portal, the national computer incident response coordination centre.
Step 10: Clear any search engine warnings
If your site was flagged during the compromise, submit it for review in Google Search Console once it is genuinely clean. Requesting a review before the site is fixed wastes the request and lengthens the process.
Step 11: Fix the cause, not the symptom
Restoring a defaced page without closing the entry point simply schedules the next incident. Whatever the logs and the audit reveal, address it before you consider the matter finished, and put monitoring in place so the next attempt is noticed by you rather than by a customer.
The Uncomfortable Part About Website Security
Website security in Kenya is not a product you buy once. It is a maintenance discipline, and maintenance is the least interesting thing anyone sells. Nobody has ever been excited by a plugin update log.
This is why so many Kenyan business websites sit unpatched for years. The build was a project with a budget and a launch date. Maintenance is a small recurring cost with no visible output, and it is the first line cut when money is tight. The cost only becomes visible on the day something breaks, and by then it is considerably larger than the maintenance would have been.
If this week’s news prompts one change in your business, make it that one. Not a new security product. A named person, a defined routine, and a backup somebody has actually tested.
Frequently Asked Questions
1. Was customer or citizen data stolen in the State House incident? The government’s stated position was that preliminary investigations found no evidence of unauthorised access to sensitive data, exfiltration or loss of information, and that other government systems and digital services remained operational. Investigations were reported as ongoing, so the fuller picture may develop.
2. Does this mean Kenyan websites in general are unsafe? No. It means a highly visible target was defaced, which is a specific category of attack motivated partly by publicity. The more relevant risk to ordinary businesses is automated scanning for known weaknesses, which is indiscriminate and far more common.
3. Is my small business website really a target? Not usually a chosen target, but frequently an incidental one. Automated tools scan continuously for unpatched software and weak credentials without knowing anything about the business behind the site.
4. What is the difference between a defacement and a data breach? A defacement changes what your website displays. A data breach means information was accessed or removed. Defacement is visible and usually quicker to recover from. A breach is often invisible and carries legal obligations.
5. How much does website security in Kenya cost for a small business? Most of the highest value measures cost nothing beyond attention. Multi factor authentication, removing unused accounts and applying updates are free. Ongoing maintenance and monitoring are usually a modest monthly cost, and considerably less than recovering from a compromise.
6. Can a website be made completely secure? No, and anyone who promises that is overselling. The realistic goal is to be a harder target than the automated scanning finds worthwhile, and to be able to recover quickly if something does happen.
7. How often should website software be updated? Security updates should be applied promptly, ideally within days of release, and tested on a staging copy first where the site is business critical. Everything else can follow a monthly cycle.
8. Who should I contact if my business website is hacked? Your developer or maintenance provider first, if you have one. Preserve a copy of the site and your server logs before anything is changed, because that is the only record of how the attacker got in. If customer data may be involved, take advice on your data protection obligations. Incidents affecting public infrastructure can be reported through the National KE-CIRT/CC portal.
9. Should I pay if attackers demand a ransom? Payment offers no guarantee. You cannot verify that data was ever taken, you cannot verify it would be deleted, and paying identifies your business as one that pays. Take advice before responding at all, and focus your effort on containment, evidence preservation and restoring from a clean backup.
Conclusion
The most useful response to a story like this is not alarm, and it is not commentary about somebody else’s systems. It is a short, honest look at your own.
Most Kenyan businesses will find at least one of the following when they look: software months out of date, an administrator account belonging to someone who left, a backup nobody has ever tested, or no clear answer to the question of who is responsible for any of it. Those are ordinary problems with ordinary fixes, and fixing them this week costs very little.
Kendrick Designs Ltd works on website security in Kenya alongside website maintenance services, monitoring and recovery support for businesses across Eldoret and the wider country. If you are not certain what condition your website is in, we are happy to take a look and tell you plainly, whether or not the answer involves working with us.



