About the client
The client processes milk and fruit juices at a single plant in Ruiru, on the northern edge of Nairobi, and distributes through six regional depots in Nakuru, Eldoret, Kisumu, Nyeri, Meru and Mombasa. It employs about 420 people, runs pasteurisation, filling and cold-storage lines around the clock, and supplies supermarkets, schools and distributors across Kenya.
The plant's automation is typical of a business that has grown in stages: a SCADA system for pasteurisation and CIP (clean-in-place) cycles, a batch-control server, PLCs from three vendors, refrigeration controllers, and an ERP used by finance, sales and the depots.
The challenge
The project began after a near miss. An accounts PC was infected with malware from an invoice attachment, and the client's internal IT officer found it scanning the network, including addresses that belonged to the SCADA servers. Nothing was encrypted, but the incident made clear how exposed the plant was.
Our initial assessment confirmed the risk:
- Office PCs, SCADA workstations, PLCs, 64 CCTV cameras and Wi-Fi access points all shared one flat network with no internal filtering.
- Equipment vendors reached plant systems through eleven separate remote-access tools installed over the years, several with shared or default passwords and no logging.
- Depots connected over consumer-grade routers with port forwarding open to the internet.
- Backups of the batch-control server and ERP were copied to a NAS on the same network, so ransomware could have reached them too. No restore had ever been tested, and the IT officer estimated a full recovery would take around three days.
- A baseline phishing simulation produced a 27% click rate across office staff.
For a perishable-goods business, three days without batch control would mean discarded milk, missed deliveries and a serious food-safety documentation gap.
Objectives
- Separate production (OT) systems from the office network so a compromised PC cannot reach SCADA or PLCs.
- Replace ad hoc vendor remote access with a single controlled, logged and time-limited method.
- Secure depot connectivity and remove internet-exposed services.
- Put CCTV on its own network.
- Build backups that ransomware cannot reach, and prove recovery in hours rather than days.
- Reduce the human risk through practical staff training and a written incident response runbook.
Our approach
Discovery & audit
Over two weeks we mapped every connected device using passive traffic capture on mirrored switch ports, so nothing on the plant floor was actively scanned during production. We identified 312 devices, including 41 the client did not know were on the network. Together with the plant engineer, we documented which systems genuinely needed to talk to each other, for example the batch server to the ERP for production orders, and which connections were accidental.
Design
We used the zones-and-conduits model from IEC 62443 as the design framework, adapted to the size of the site. The network was divided into nine zones, each with a defined trust level, and all traffic between zones was forced through FortiGate firewalls with explicit allow rules. An OT demilitarised zone (DMZ) sits between the office and production networks, holding the historian replica and a patch server, so no direct connection is needed between the two.
Vendor access was redesigned around a single jump host in the OT DMZ. Vendors request a session, the plant engineer approves it for a set window, and the session is recorded. At the depots, MikroTik routers replaced the consumer devices and connect back to Ruiru over IPsec tunnels, with no services exposed to the internet.
Deployment
Changing a running food plant's network is mostly about timing. We pre-staged and tested all firewall policies in monitor-only mode for ten days, reviewing logs daily to catch any legitimate traffic we had missed. Each zone was then cut over during the plant's scheduled weekly CIP and maintenance window, starting with the least critical (guest Wi-Fi and CCTV) and finishing with SCADA. Every cutover had a written rollback step, and the only one needed was a 15-minute reversal when a refrigeration controller turned out to rely on an undocumented time server.
Solution architecture
| Zone | Contents | Key controls |
|---|---|---|
| Enterprise | Office PCs, ERP, email | Endpoint protection, MFA, web filtering |
| OT DMZ | Historian replica, patch server, vendor jump host | Only zone allowed to talk to both sides |
| Supervisory | SCADA servers and HMIs, batch-control server | Allow-list from DMZ only, no internet |
| Control | PLCs and refrigeration controllers | Reachable only from supervisory zone |
| Safety & utilities | Boiler and ammonia plant controllers | Read-only monitoring from SCADA |
| CCTV | 64 cameras, dedicated NVRs | Physically separate switches, no route to OT |
| Depots | MikroTik routers, depot PCs | IPsec to Ruiru, ERP access only |
| Management | Firewall, switch and backup administration | Admin workstations only, MFA |
| Guest | Visitor and contractor Wi-Fi | Internet only, rate-limited |
The rebuilt server room separates enterprise and OT racks, with FortiGate firewalls enforcing every connection between zones.
Backups follow a 3-2-1 approach: nightly Veeam jobs to a hardened repository in the management zone, immutable copies held for 30 days, and a weekly encrypted copy to off-site cloud storage. FortiAnalyzer collects firewall logs and alerts our security team to blocked traffic between zones that might indicate an attack.
Implementation timeline
| Phase | Weeks | Key deliverables |
|---|---|---|
| Discovery | 1–2 | Passive asset inventory, data-flow map, risk register |
| Design | 3–4 | Zone model, firewall rule set, vendor access process |
| Build & monitor-only | 5–7 | FortiGate and FortiSwitch installation, policies in monitor mode, depot MikroTik rollout |
| Cutover | 8–10 | Zone-by-zone enforcement during CIP windows, CCTV separation |
| Recovery & people | 11–12 | Immutable backups, restore test, incident runbook, phishing training |
Results
| Metric | Before | After | Change |
|---|---|---|---|
| Network security zones | 1 (flat) | 9 | +8 zones |
| Unmanaged remote-access paths | 11 | 0 | -100% |
| Recovery time for critical systems | ~3 days (estimated, untested) | 3 h 40 min (tested) | -95% |
| Phishing simulation click rate | 27% | 4% | -85% |
Security results are harder to show than downtime figures, but the change in exposure is clear. In the first quarter after cutover, FortiAnalyzer logged and blocked several hundred attempted connections from office devices into OT zones, almost all of them misconfigured software rather than attacks, which would previously have passed silently. The full restore test, carried out with the client's IT officer in the room, brought the batch-control server and ERP back in 3 hours 40 minutes.
What made the difference
- Passive discovery first. Mapping the network without scanning PLCs gave the plant engineer confidence and uncovered 41 unknown devices.
- Monitor-only before enforcement. Ten days of log review meant only one rollback across the whole cutover.
- A vendor process, not just a tool. The jump host works because approval, time limits and recording are written into supplier agreements.
- Testing the restore. An untested backup is an assumption. Proving recovery time changed how management viewed the investment.
What's next
The client is now on our managed security service, with 24/7 firewall monitoring, monthly vulnerability reports for the enterprise zone and quarterly phishing simulations. We review the incident response runbook with management every six months and run a tabletop exercise each year. The next phase will add a dedicated OT monitoring sensor in the supervisory zone and extend the zone model to a second processing plant the client is commissioning.
