1End-to-end secure reference architecture
This is the whole picture on one canvas: how data flows from users through IT, the DMZ, the plant floor, and the cloud — and how an attacker walks the same path. Everything is clickable. Tap a zone, a system, or an attack step to see what it is, how it is defended, and which section of this guide covers it in depth.
The attack graph — how an adversary walks this map
The same architecture, read as an attacker would: left to right, outside to inside. Click a step to see it. The critical one is step 4 — the IT→OT pivot — which is exactly the boundary the DMZ and segmentation exist to hold.
Detect & protect — the control layers, by function
The right-hand column of the architecture, organized the way NIST frames it: Prevent, Detect, Respond, Recover. These map directly onto the eight domains you score in section 9.
OWASP Top 10 — manufacturing apps and AI/LLM agents
Two lenses on application risk in a plant. The left is classic web/API risk for manufacturing systems; the right is the newer LLM/agent risk that matters as plants adopt AI copilots and agents — where a prompt injection (see the RAG guide) can make an agent take an unsafe action.
| Web / API risk | Plant example |
|---|---|
| Broken access control | Weak auth on an operator portal |
| Cryptographic failures | No TLS / weak ciphers on OT links |
| Injection | SQLi in a reporting API |
| Insecure design | Missing threat modeling |
| Security misconfiguration | Open S3 bucket, default admin |
| Vulnerable components | Outdated libraries/frameworks |
| Auth failures | Weak passwords, no MFA |
| Software & data integrity | Unsigned updates, no checks |
| Logging failures | OT logs not centralized |
| SSRF | Internal network pivot |
| LLM / agent risk | Plant-AI example |
|---|---|
| Prompt injection | Malicious text in a chat/API prompt |
| Insecure output handling | Unsafe model output executed |
| Training-data poisoning | Poisoned docs in a RAG source |
| Model denial of service | Resource exhaustion via prompts |
| Supply-chain vulns | Vulnerable model or plugin |
| Sensitive info disclosure | Model leaks PII or IP |
| Insecure plugin / tool use | Agent calls an unsafe tool |
| Excessive agency | Agent performs a risky action |
| Overreliance | Blind trust in AI output |
| Model theft | API-key abuse, model exfiltration |
2The attacks that shaped plant security
Click any point on the timeline to see what happened, how it was recovered, and the one lesson it drove into the industry. Left to right, oldest to newest. Red points are sabotage (the process itself was the target); blue are disruption (the plant was collateral or leverage).
Natanz
Merck
Norsk Hydro
3Why manufacturing plants get attacked
A factory is a different target from an office. In IT, the worst case is usually stolen or leaked data. On a plant floor, the worst case is a stopped line, a ruined batch, a safety incident, or — for medical devices — an unsafe product shipped to patients. The stakes are physical.
The three things attackers want from a plant
Disruption. Ransomware that halts production costs money by the hour. Attackers know a plant will often pay fast because every stopped hour is measurable loss. Downtime is the leverage.
Sabotage. Altering a process — a temperature, a mix ratio, a robot's path, a torque spec — can ruin product or create a safety hazard, sometimes without anyone noticing until it ships. This is the nightmare case for a regulated manufacturer.
A foothold. The plant network is often a soft way into the wider company, or a stepping stone to a customer or partner. Flat networks make one compromised HMI a path to everything.
Why plants are unusually hard to defend
Plant equipment lives for decades. A press or a filler bought in 2005 may run an operating system that can no longer be patched, and you cannot simply replace it — it is validated, it works, and it cost millions. Availability outranks everything: you often cannot take a line down to patch it, and a reboot at the wrong moment scraps a batch. Much of the gear speaks old industrial protocols with no authentication and no encryption, built for a world where being on the network was the credential.
Add that IT and the plant floor are frequently run by different teams who barely talk, and you get the recurring root cause: nobody owns the cyber-physical risk, so it falls between the desks.
4IT versus OT — the core distinction
Every plant-security decision traces back to one split: IT (the business computers) versus OT, operational technology (the systems that run the physical process). They have opposite priorities, and treating them the same is the classic mistake.
The two worlds, side by side
| IT (business) | OT (plant floor) | |
|---|---|---|
| Top priority | Confidentiality of data | Availability & safety of the process |
| Worst case | Data breach | Stopped line, ruined batch, injury, unsafe product |
| Patching | Frequent, automatic | Rare, validated, scheduled — downtime is costly |
| Lifespan | 3–5 years | 15–30 years |
| Reboot | Routine | Can scrap a batch; sometimes unsafe |
| Protocols | Modern, encrypted | Often old, unauthenticated, unencrypted |
| On suspicion | Block/quarantine fast | Blocking can stop production — act with care |
These are systems like PLCs (the small computers that control machines), HMIs (the touch screens operators use), SCADA and historians (that supervise and record the process), and increasingly robots and vision systems. Together they are your OT estate, and they are what plant security is really about.
5The Purdue model — how a plant network should be shaped
The single most important idea in plant security is segmentation: keeping the plant floor separated from business IT, in layers, so a problem in one place cannot flow straight to another. The Purdue model is the standard way to picture those layers.
The layers, top to bottom
The rule that makes this work: traffic between IT and OT never flows directly. It stops at the DMZ — a buffer zone — where it is inspected and brokered. An email server (L4) has no business talking straight to a PLC (L1), so the architecture forbids it. Lower is closer to the physical process and more dangerous to disturb, so the deeper you go, the tighter access should be.
Segmentation is the highest-leverage control you have
If you do only one thing, separate OT from IT. Most damaging plant incidents share a root cause: a flat network where malware that landed on an office laptop reached the plant floor because nothing stood in the way. A well-placed boundary turns "the whole plant is down" into "one office subnet is down." It does not require replacing old equipment — it wraps a boundary around it — which is why it is both the most effective and the most achievable control for a plant full of unpatchable gear.
Beyond the big IT/OT split, micro-segmentation separates critical process zones from each other, so a compromise on one line cannot spread to the next. Think of it as watertight compartments in a ship's hull.
6The controls that actually matter — and the tools that deliver them
Eight domains cover plant security. The scorer in section 6 rates you on each. Here is what each one means and why it earns its place — roughly in priority order for a plant starting from scratch.
Governance & risk — someone must own it
Name an accountable owner for OT security — not "IT will handle it," because IT's instincts are tuned for the office. Assess the plant's cyber-physical risk on a schedule, write security requirements into integrator and supplier contracts, and keep a plant-specific policy. Without ownership, everything below happens inconsistently or not at all.
Asset & inventory — you can't protect what you can't see
A live inventory of every OT asset — PLCs, HMIs, historians, robots — with firmware and software versions per device. Maintain an SBOM for software on production systems, and explicitly identify end-of-life gear that cannot be patched so its risk is accepted, not ignored. Nearly every other control depends on knowing what you have.
Network segmentation — the Purdue boundaries, enforced
Section 3 in practice: OT segmented from IT, a DMZ mediating all crossing traffic, remote access brokered behind MFA and logged, and critical zones micro-segmented from each other. This domain carries the most weight in the score because it prevents the most damage per unit of effort.
Access control — who can touch the line
Individual accounts, not the shared "operator/operator" login everyone knows. Change default and vendor passwords on OT devices. Control and log physical access to the floor and control rooms — physical access is access. Block or scan USB media, still a leading way infections cross the air gap that people assume protects them.
Monitoring & detection — see it before it reaches product
Passive intrusion detection that watches OT traffic for anomalies without interfering, central log collection, alerts that reach someone who can act on the floor around the clock, and a baseline of normal process behavior to compare against. Passive is the operative word: in OT you watch first, because active blocking can stop the line.
Resilience & recovery — get the line back
Back up OT systems and PLC logic, and test the restore — an untested backup is a guess. Keep an OT-specific incident response plan and exercise it, because IT's playbook does not fit the floor. Have manual or degraded operating procedures for running without control systems, and define how much downtime and data loss production can tolerate.
Supply chain & integrity — trust what enters the plant
Integrity-verify firmware and software updates before installing them, security-assess third-party integrators before they get floor access, track provenance of security-relevant components, and have a process to act on supplier vulnerability disclosures. The plant's security is only as good as what you let through the door.
Product integrity MED DEVICE
The domain unique to medical-device manufacturing, covered in section 5. It asks whether a cyber event on the line could compromise the safety, quality, or integrity of the device being built — the risk that turns a plant incident into a patient-safety and regulatory event.
The tools that deliver each domain
Categories, not endorsements — the point is what kind of tool does the job, so you can recognize the capability whatever the vendor. Most plants already own some of these under a different name.
| Domain | Tool category | Representative examples |
|---|---|---|
| Asset & inventory | OT asset discovery & visibility | Claroty, Nozomi Networks, Armis, Dragos, Tenable OT |
| Network segmentation | OT firewalls & data diodes | Fortinet, Palo Alto, Cisco ISA3000; Owl/Waterfall diodes |
| Access control | Secure remote access & PAM | Cyolo, Claroty SRA, CyberArk, BeyondTrust |
| Monitoring & detection | OT-aware IDS / network monitoring | Dragos, Nozomi, Claroty, Microsoft Defender for IoT |
| Resilience & recovery | OT backup & config management | Rockwell AssetCentre, Veeam, immutable/offline backups |
| Supply chain & integrity | SBOM & firmware analysis | Finite State, Cybellum, NetRise; code-signing infrastructure |
| Governance & risk | OT risk & compliance frameworks | IEC 62443, NIST CSF, ISA/IEC toolkits, GRC platforms |
| Product integrity MED DEVICE | MES integrity & secure provisioning | Signed-firmware provisioning, HSM key management, DHR integrity controls |
7Real incidents — what happened and how they recovered
Three attacks, three different lessons. Each expands into the attack chain, the recovery, the cost, and the control from section 5 that would have blunted it. Figures are from public reporting and company disclosures.
Stuxnet — Natanz enrichment plant 2010 · sabotage
The case that proved code can physically destroy industrial equipment. A worm targeted the specific Siemens PLCs controlling uranium centrifuges and reprogrammed them to spin through destructive speeds — while replaying recorded "normal" readings to operators so the screens looked fine.
How the attack worked
- Delivered on USB drives, crossing the air gap everyone assumed was protection.
- Spread via four Windows zero-days, then looked for one exact Siemens PLC configuration.
- Reprogrammed the PLC logic to drive centrifuges through resonance speeds, damaging them.
- Fed operators recorded-normal sensor data so the HMI showed nothing wrong.
Impact & recovery
Roughly 1,000 centrifuges — about 10% of the operating stock — were physically damaged and replaced. Engineers spent months blaming manufacturing defects before malware was found. "Recovery" meant ripping out and replacing hardware, because the damage was physical.
NotPetya — Merck 2017 · disruption ~$870M
The case most relevant to your world: a pharmaceutical manufacturer, halted by malware that was never even aimed at it. NotPetya was a destructive wiper disguised as ransomware; Merck was collateral damage of a geopolitical attack, and it still took down manufacturing worldwide.
How the attack worked
- Spread through a compromised software update, then wormed across flat networks using a known Windows exploit and stolen credentials.
- Encrypted/wiped around 30,000 Merck computers; there was no real decryption — paying was pointless.
- Manufacturing, research, and sales went dark for roughly a week; 70,000 employees were told not to touch their machines.
Impact & recovery
Production of the Gardasil 9 HPV vaccine was disrupted badly enough that Merck had to borrow doses from the U.S. CDC's stockpile to meet demand. Total impact was reported around $870M in damages and lost sales, followed by a multi-year insurance battle over whether an "act of war" exclusion applied. Recovery was mass IT rebuild-from-backup across tens of thousands of machines.
LockerGoga — Norsk Hydro 2019 · disruption ~$70M
The recovery masterclass. An aluminium manufacturer was hit by ransomware across its global operations — and became the reference example for how to respond well, because of what it did next.
How the attack worked
- Began months earlier with a weaponized attachment from a trusted customer's email.
- Attackers moved laterally, captured admin credentials, and reached Active Directory.
- Ransomware was pushed manually from Hydro's own domain controllers to maximize spread.
Impact & recovery
- Hydro refused to pay and restored from backups instead.
- Plants switched to manual operation — pen and paper on the floor — to keep producing while IT rebuilt.
- It was radically transparent: live status pages, open press briefings, sharing details so peers could defend.
- Most operations were back to near-normal within about a week; total cost was around $70M, mostly lost margin, not IT cleanup — largely covered by cyber insurance.
8Medical-device manufacturing — the extra stakes
Every control above applies. Medical-device manufacturing adds one that others do not have: a cyber event on the line can produce an unsafe or non-conforming product, and that pulls in patient safety, the FDA, and your quality system.
Why the product itself is now in scope
In most factories, the worst manufacturing-security outcome is a stopped line. In medical devices, an attacker who alters a process could ship a device that harms a patient — a wrong dose calibration, tampered firmware, a defeated safety check — and it may pass inspection and reach the field. The manufacturing floor becomes a patient-safety surface.
Concretely, this means identifying the manufacturing systems that could alter device safety or quality, signing and securely provisioning device firmware on the line so only authentic code is loaded, protecting the integrity of manufacturing records (the Device History Record) from tampering, and feeding cyber events that affect product quality into the CAPA and quality system rather than treating them as IT tickets.
Where security and quality regulation meet
Medical-device manufacturers already run a rigorous quality system under FDA regulation. The opportunity — and the expectation — is to connect manufacturing cybersecurity to it rather than bolting on a parallel process. A cyber event that could affect product quality is a quality event: it belongs in the same CAPA, risk-management, and validation machinery that already governs the line. That linkage is what turns plant security from an IT concern into part of the device's safety assurance.
This is also where premarket and postmarket device-security expectations meet the factory: the same rigor applied to the device in the field should extend to how it is built, because a compromise at manufacture is a compromise shipped.
9Certificates & PKI — the silent operational time bomb
Digital certificates are how devices and systems prove who they are and encrypt what they say. In a plant, and especially in a fielded medical device, a certificate is not just a security control — it is a component with an expiry date, and when it expires, things stop working. No attacker required. This is the risk almost nobody plans for until it fires.
What a certificate actually does here
A certificate is a signed statement that says "this key belongs to this device/server, vouched for by this authority (a CA)." It does three jobs across the architecture you saw in section 1:
Identity — a device proves it is a genuine, authorized device before it is allowed to connect (to the cloud, to a gateway, to another device). Encryption — TLS between a device and the cloud, or between plant systems, is set up using certificates. Integrity — firmware and software updates are signed, and the device checks that signature with a certificate before installing, so only authentic code runs (the defense against the Stuxnet-style attack).
The lifecycle — click each stage to see how it becomes operational risk
A certificate is not "issue and forget." It moves through a lifecycle, and every stage has a way to become an outage or a security gap down the road. Click through them.
key & CSR
from CA
to device
& monitor
rotate
retire
Why this is worse for products in the field than for IT
An expired certificate on a web server is a bad afternoon: someone reissues it and restarts a service. An expired certificate baked into ten thousand medical devices already in hospitals is a different category of problem entirely, for reasons that compound:
You can't easily reach them. The devices are on hospital networks, sometimes barely connected, sometimes air-gapped. Pushing a new certificate to a fleet you don't physically control is slow and sometimes impossible remotely.
The expiry is set years before it bites. A device shipped today with a 5-year certificate fails in year five — long after the engineer who chose that duration has moved on, and often after the product line itself is in maintenance mode. The decision and the consequence are separated by years, which is why it is so consistently missed.
Failure can be safety-relevant. If a certificate expiry stops a device from communicating with its monitoring service, or blocks a firmware fix from installing, that is not just downtime — for a medical device it can be a clinical and regulatory event. The device didn't break; its identity paperwork lapsed, and it refused to work correctly as designed.
The CA itself can expire. The worst case: the root or intermediate CA that signed every device's certificate has its own expiry. If that lapses, every device that trusts it can fail at once — a fleet-wide outage from a single missed date. This has happened to major products, taking out services for millions of users in one stroke.
How to manage it — designing the risk out
The good news: because the failure is predictable, it is preventable. The controls are about designing for the whole lifecycle at manufacture, not reacting near expiry.
Inventory every certificate. You cannot renew what you cannot see. Maintain a live inventory of every certificate in the plant and every certificate shipped in a product — issuer, expiry, what breaks if it lapses. This is the certificate equivalent of the asset inventory in section 6.
Automate renewal and rotation. Manual calendar reminders fail at scale. Use automated certificate lifecycle management (ACME-style protocols, cloud PKI, managed CA services) so renewal happens without a human remembering. Design devices to rotate certificates in the field, not just receive one at the factory.
Choose durations deliberately, and plan the CA hierarchy. A longer device certificate reduces renewal frequency but widens the blast radius if the key is compromised; shorter is safer but demands reliable rotation. Give intermediate and root CAs lifetimes longer than any device that depends on them, and plan their succession before they are ever deployed.
Build field-update capability first. The ability to securely push a new certificate to a fielded device is itself a security requirement — and it depends on a signed-update mechanism that is trustworthy, which depends on… certificates. Get this working before the first device ships, because retrofitting it to a deployed fleet is the nightmare scenario.
10Score your plant
Rate each control on a four-level maturity scale. Domain and overall scores update live, and the panel names your highest-priority gaps. Nothing is sent anywhere — it all runs in your browser. Skip any question that does not apply; it is simply left out of the math.