Skip to content

Nairobi · East Africa

Cybersecurity

How AI Is Changing Cybersecurity for Attackers and Defenders

How AI is reshaping cybersecurity in 2026: AI-driven SOC and EDR, faster attacks, new risks from AI systems, and how East African organisations should respond.

TechBytes EA Engineering Team· · 8 min read

Security analyst working at a laptop in a dark room

AI is changing cybersecurity on both sides at once. Attackers use it to write better phishing, impersonate executives and speed up reconnaissance. Defenders use it to triage alerts, investigate incidents and close the gap left by a shortage of security analysts. And every AI system an organisation deploys becomes a new asset to protect. This article explains what is genuinely different, what is overstated, and how organisations in Kenya and the wider region should adjust their security programmes.

Key takeaways

  • AI mostly makes existing attacks faster, cheaper and more convincing rather than creating entirely new ones. Fundamentals such as MFA, patching and backups matter more, not less.
  • Defensive AI is most valuable in the security operations centre: summarising alerts, correlating events, drafting investigations and reducing analyst workload.
  • AI-driven EDR and XDR platforms help small teams detect behaviour that signatures miss, but they still need human oversight and well-tuned response playbooks.
  • AI systems themselves introduce risks such as prompt injection, data leakage and over-privileged agents, which need specific controls.
  • For East African organisations with scarce security talent, AI-assisted managed detection and response is often a more realistic route than building a 24/7 in-house SOC.

How attackers are using AI

More convincing social engineering

Generative AI removes the clumsy grammar that used to give phishing away, and it does so in English, Kiswahili and other languages. It can tailor messages using information scraped from LinkedIn and company websites. Voice cloning makes phone-based impersonation of executives more credible, which is particularly relevant where payment approvals happen over phone calls or WhatsApp.

Faster reconnaissance and exploitation

AI tools help attackers summarise public information about a target, analyse leaked data and adapt existing exploit code. The time between a vulnerability being disclosed and attempts to exploit it is short, which raises the cost of slow patching for internet-facing systems.

Scaled fraud

Fraud operations, including mobile money scams and fake customer care accounts, can generate scripts, fake documents and conversational lures at scale. The volume of convincing attempts increases even if the underlying tactics are familiar.

What is overstated

Claims of fully autonomous AI attackers breaching well-defended networks unaided are not what most organisations face day to day. The practical change is that low-skill attackers become more effective and skilled attackers work faster. Defending against that is mostly about doing the fundamentals consistently.

Glowing circuit board representing cybersecurityModern attacks target identities and data as much as networks.

How defenders are using AI

The AI-assisted SOC

A security operations centre's core problem is volume: too many alerts, too few analysts. AI assistants built into SIEM and XDR platforms, such as Microsoft Security Copilot, Google Security Operations with Gemini and comparable features from CrowdStrike, SentinelOne, Palo Alto Networks and others, help by:

  • Summarising alerts and incidents in plain language, including what happened, which assets are affected and suggested next steps.
  • Correlating events across endpoint, identity, email and network data into a single incident.
  • Translating natural-language questions into queries, so an analyst can ask for "sign-ins to finance accounts from new countries this week" without writing query syntax from memory.
  • Drafting incident reports and management summaries.
  • Reverse-engineering scripts by explaining what an obfuscated PowerShell or JavaScript sample does.

The result is that a junior analyst can investigate more effectively and a senior analyst can handle more incidents. It does not remove the need for analysts.

AI in endpoint detection and response

Modern EDR platforms have used machine learning for years to classify files and detect suspicious behaviour. The shift is towards behavioural analytics across endpoints and identities: detecting unusual process chains, credential dumping, lateral movement and mass file encryption regardless of whether the specific malware has been seen before. Automated response can isolate a host or kill a process within seconds, which matters for ransomware.

Identity and email protection

Identity platforms use risk scoring to flag impossible travel, unfamiliar devices and anomalous sign-in patterns, and can require step-up authentication or block access. Email security tools use language models to detect business email compromise attempts that contain no malicious link or attachment, only a persuasive request.

Security engineering

AI coding assistants help security teams write detection rules, automation scripts and infrastructure-as-code policies. They also help developers find and fix vulnerabilities earlier when integrated into code review and CI.

A modern detection and response architecture

The diagram below shows how AI fits into a layered detection and response setup suitable for a mid-sized organisation, whether run in-house or by a managed provider.

 Data sources                       Analytics and AI                    Response
 ------------                       ----------------                    --------
 Endpoints (EDR agent)   ---+
 Identity (Entra ID, etc) ---+-->  SIEM / XDR platform  ---->  AI assistant summarises,
 Email security          ---+      - correlation rules          correlates, drafts
 Firewalls, VPN, DNS     ---+      - behavioural models         investigation
 Cloud and SaaS logs     ---+      - threat intelligence              |
 M-Pesa / payment logs   ---+                                         v
                                                              Analyst (in-house or MDR)
                                                              validates and decides
                                                                      |
                                                     +----------------+----------------+
                                                     v                v                v
                                              Automated playbook  Isolate host,   Notify, recover,
                                              (low-risk actions)  disable account  ODPC if required

Key design principles:

  • Collect the right data first. AI cannot analyse logs you do not collect. Identity, endpoint and email telemetry give the most value per shilling.
  • Automate low-risk responses only. Isolating a single workstation can be automatic; disabling an executive's account or shutting a production server should require human approval.
  • Keep humans accountable. An analyst confirms the incident, decides on containment and owns communication.

Comparing defensive options for East African organisations

OptionTypical fitStrengthsLimitations
EDR only, self-managedSmall businesses with an IT generalistLow cost, strong baseline protectionAlerts need regular review; limited out-of-hours response
Managed detection and response (MDR)SMEs and mid-sized firms without security staff24/7 monitoring by specialists using AI-assisted toolingOngoing subscription; quality varies by provider
In-house SOC with AI-assisted SIEM/XDRBanks, telcos, large enterprises, governmentFull control, deep context about the businessExpensive, needs scarce skilled staff around the clock
Hybrid (in-house team plus MDR overnight)Larger mid-market firmsBusiness context by day, coverage by nightRequires clear handover processes

Skilled security analysts are in short supply in the region, and retaining them is a challenge. For many organisations, a managed service using AI-assisted tooling provides better coverage than a small in-house team stretched across shifts.

New risks: securing your own AI systems

As organisations deploy chatbots, copilots and agents, these systems need protection too.

  • Prompt injection. Text in an email, document or web page can contain instructions that manipulate an AI system that reads it. Treat all external content as untrusted data, and never let it change what tools an agent may use.
  • Over-privileged agents. An agent connected to email, files and payment systems with broad permissions is a high-value target. Apply least privilege and human approval for consequential actions.
  • Data leakage. Staff may paste confidential or personal data into AI tools. Approved tools with business data terms, data loss prevention and clear policy reduce this.
  • Model and supply chain risks. Third-party plugins, models and datasets should be assessed like any other dependency.
  • Logging and accountability. Log AI system inputs, tool calls and outputs so incidents can be investigated.

The OWASP Top 10 for LLM Applications and the NIST AI Risk Management Framework are useful references for structuring these controls.

Close-up of a computer motherboard and chipsSecurity and performance both depend on what happens at the hardware level.

Regulatory and regional considerations

  • Data protection. Security telemetry often contains personal data such as names, email addresses and IP addresses. When it is sent to a cloud-hosted SIEM or MDR provider outside Kenya, that is a cross-border transfer under the Data Protection Act 2019. Document it and confirm the provider's safeguards.
  • Breach notification. AI-assisted detection should be connected to your incident response plan, including the 72-hour ODPC notification requirement for qualifying personal data breaches.
  • Cybercrime reporting. The Computer Misuse and Cybercrimes Act 2018 defines offences and supports reporting to law enforcement. National advisories are issued through the National KE-CIRT/CC.
  • Latency and connectivity. Cloud-based security platforms depend on reliable connectivity from endpoints. Branch offices on unstable links should cache and forward telemetry, and EDR agents should continue protecting devices while offline.
  • Sector regulators. Banks, insurers, SACCOs and payment service providers may face additional cybersecurity requirements from their regulators. Check sector-specific guidance.

A practical adoption procedure

  1. Assess your baseline. Confirm MFA coverage, patching, backups and logging. AI tools amplify a good foundation; they do not replace one.
  2. Deploy EDR across all endpoints and servers, choosing a platform with strong behavioural detection and a usable console.
  3. Centralise identity and email logs into a platform that correlates events.
  4. Decide who monitors. In-house, MDR or hybrid, based on budget and available skills.
  5. Introduce AI assistance in investigation, measuring time to triage and time to contain before and after.
  6. Write response playbooks, deciding which actions may be automated and which require approval.
  7. Govern your own AI use with a policy, approved tools and controls for agents.
  8. Review quarterly, using real incidents and exercises to tune detections and playbooks.

Common mistakes

  • Buying AI features before fixing basics. No AI tool compensates for missing MFA or untested backups.
  • Trusting AI summaries without verification. AI assistants can misread evidence. Analysts must check key conclusions.
  • Automating disruptive responses too early. Automatically disabling accounts can cause outages and be exploited by attackers.
  • Ignoring the data protection implications of sending logs to overseas platforms.
  • Forgetting that AI systems are assets to secure, with their own access controls, logging and risk assessments.

FAQ

Will AI replace security analysts?

No. It reduces repetitive work and helps analysts investigate faster, but decisions about containment, business impact and communication still need people. It changes the skills analysts need, with more emphasis on investigation and judgement.

Is AI-powered antivirus better than traditional antivirus?

Behaviour-based EDR, which uses machine learning, detects many threats that signature-based antivirus misses, including new malware and attacker techniques that use legitimate tools. For business use, EDR with monitoring is now the sensible baseline.

Can small businesses benefit from AI security tools?

Yes, mostly through features built into products they already use, such as email filtering and identity protection in Microsoft 365 or Google Workspace, and through managed detection services that use AI-assisted tooling.

How do we protect against deepfake voice fraud?

Use verification procedures that do not depend on recognising a voice: call-back to known numbers, dual approval for payments, and agreed code phrases for urgent executive requests.

How TechBytes can help

We help organisations build detection and response capabilities that fit their size, from EDR deployment and identity hardening to managed monitoring with AI-assisted tooling, and we review the security of AI systems before they go live. Explore our cybersecurity services or our managed services for ongoing monitoring. For the threats driving these changes, see 10 cybersecurity threats businesses should watch in 2026.

WhatsApp