A virtual PLC runs control logic as software on shared compute instead of on a dedicated controller, so its security now depends on the host, the orchestration layer and the identities that manage them as much as on the PLC program itself. This guide sets out the new risk model for software-defined control and the controls that OT and platform teams need to agree before control logic moves onto servers, edge nodes and containers.
For decades the programmable logic controller was a sealed box. Its firmware, its runtime and its program lived together on purpose-built hardware in a cabinet, and the main ways in were the engineering workstation and the network. Software-defined control breaks that box apart. The runtime becomes an application, the hardware becomes a pool of compute, and deployment, scaling and recovery borrow methods from IT. That brings real operational gains, and it also brings IT attack surface into the control loop. This page is vendor-neutral. Where it names a product it does so as an example, using the vendor's public material. For the runtime-level controls of one widely embedded PLC runtime, see the CODESYS Runtime Security Guide.
Key takeaways
- A virtual PLC moves the controller's trust boundary outwards: the host operating system, hypervisor or container runtime, the orchestrator and the management plane all become part of the controller.
- Siemens, for example, describes its SIMATIC S7-1500V as a virtual PLC that brings S7-1500 functionality into Industrial Edge and is deployed exclusively through Industrial Edge, with instance numbers adjustable to demand.
- The management plane is now the most powerful identity in the plant. Whoever can deploy, update or stop a controller instance can change the physical process.
- Remote operation from anywhere is a selling point, and it is also the attack path. Treat remote management of control workloads like privileged access to a safety-relevant system.
- Platform patching, image supply chain and host hardening now sit on the controller's critical path, so OT and IT teams need one change process.
- Safety and timing claims depend on the exact platform configuration a vendor supports. Never generalise them to other hosts.
- Existing PLC controls still apply: program protection, access levels, secure engineering communication and good PLC coding practice.
What a virtual PLC is
A virtual PLC, also called a software PLC or software-defined controller, is a PLC runtime delivered as software that runs on general compute: an industrial PC, an edge server, a virtual machine or a container. The control program is written and engineered in the same way as for a hardware controller, but the execution environment is shared, portable and managed centrally.
Siemens' product page gives a concrete example. It describes SIMATIC S7-1500V as a virtual PLC that brings familiar S7-1500 functionality into Industrial Edge, as a software-defined automation option that keeps familiar processes and tools, and as hardware-independent. The page states that it is delivered and deployed exclusively via Industrial Edge: the controller is downloaded as an Edge app from the marketplace, accessed in Industrial Edge Management and deployed to the target through the Industrial Edge Runtime. Siemens says the virtual controller is fully compatible with TIA Portal so existing projects can be reused, that the number of instances can be adjusted to demand, and that applications can be operated centrally, with a controller problem addressed from anywhere without a site visit.
The same page cites Audi as a reference: Audi wanted to virtualise shop-floor automation, reduce the number of devices and convert applications to software, and Siemens credits S7-1500V as key to that project. That is a vendor case study, not an independent assessment, but it shows that virtual control is moving from pilots into production lines.
How the risk model changes
The clearest way to see the change is to list what an attacker must control to alter the physical process, before and after virtualisation.
| Layer | Hardware PLC | Virtual PLC |
|---|---|---|
| Control program | Downloaded from an engineering workstation | Downloaded from an engineering workstation, or shipped inside a deployable package |
| Runtime | Vendor firmware on the controller | Vendor software running as an application |
| Execution platform | Purpose-built hardware | Host operating system, hypervisor or container runtime |
| Lifecycle management | Local, per device | Central management plane that can deploy, update, stop and move instances |
| Physical access | Cabinet, key switch, memory card | Server room or edge node, plus remote console access |
Every new row on the right is a new way to reach the process. A compromised host can read or alter memory of the runtime. A compromised management plane can stop every controller instance at once, deploy an altered package or move an instance to a host the attacker controls. A compromised image registry can ship a tampered runtime. None of these needs a single PLC protocol packet.
In ATT&CK for ICS terms, familiar techniques such as Program Download, Modify Parameter, Valid Accounts and External Remote Services still apply. What changes is that the enterprise matrix now applies to the controller platform as well, because the host and orchestrator are ordinary IT systems.
Securing the host and execution platform
Treat the compute that runs control workloads as part of the controller, not as general infrastructure.
- Dedicate the hosts. Run control workloads only on hosts reserved for them. Do not co-locate business applications, analytics or developer tooling on the same host or cluster nodes.
- Use the vendor's supported configuration. Timing, safety and support statements apply to the platform the vendor documents. Record the exact host model, operating system, runtime and version, and do not drift from it.
- Harden and minimise. Remove unneeded services, disable interactive logins where possible, enforce secure boot and measured boot on the host, and keep a known-good baseline. Boot integrity is not a given even on hardware controllers: Siemens advisory SSA-482757 describes a missing immutable root of trust in S7-1500 CPU devices that lets an attacker with physical access replace the boot image. The Firmware and Boot Security Guide covers the boot chain.
- Isolate the workload. For containers, avoid privileged mode and host namespaces unless the vendor states they are required, and document each exception. The Container Security Guide covers the general controls.
- Protect the console. Out-of-band management interfaces on edge servers give full control of the host. Put them on their own management network with separate credentials.
The management plane is the new engineering workstation
In a hardware estate, the engineering workstation is the crown jewel because it can change controller logic. In a software-defined estate, the management plane holds that power and more: it can deploy, update, stop and relocate every controller instance it manages. Siemens describes central operation and remote problem-solving as benefits of S7-1500V; the same capability is what an attacker would want.
Controls for the management plane:
- Place it in a dedicated OT management zone, reachable only from hardened administrative workstations.
- Require phishing-resistant multi-factor authentication for every human administrator and remove shared accounts.
- Separate roles: those who publish packages, those who approve deployment to production lines and those who operate running instances.
- Require a second approver for any deployment, update or stop action on a production controller.
- Log every lifecycle action with the identity, target, package version and time, and send the logs off the platform.
- Route remote access through a controlled path, as described in the OT Remote Access Guide, never through direct internet exposure.
Identities and secrets in software-defined control
Virtual control multiplies non-human identities. Each edge node has an identity it uses to enrol with the management plane. Each deployment pipeline has a credential to publish packages. Controller instances may hold certificates for engineering and HMI communication, and integrations pull data out to historians and analytics. If the orchestrator is a Kubernetes-style platform, service accounts and tokens sit behind every controller pod.
Manage them as you would any privileged machine credential, with extra care because the blast radius is physical:
- Inventory every machine identity that can reach a control workload or the management plane, with an owner and a purpose.
- Scope each one to the smallest set of nodes and actions it needs. A data export integration should never hold deployment rights.
- Store keys in hardware where the platform supports it and avoid long-lived tokens in configuration files or images.
- Rotate credentials on a schedule that fits maintenance windows, and test rotation in a staging cell first.
- Alert on any use of a control-plane credential from outside the expected network zone or time window.
For platform-level identity controls, see the Kubernetes Security Guide.
Image, package and update supply chain
With a hardware PLC, firmware updates are rare and deliberate. With a software controller, the runtime, its base image and the host platform can all change through routine pipelines. Each is a supply chain.
- Obtain runtime packages only from the vendor's official distribution channel and record their versions.
- Mirror approved packages into an internal registry inside the OT zone, so production nodes never pull from the internet.
- Verify signatures or checksums where the vendor provides them, and block deployment of unverified packages.
- Keep a software bill of materials for each controller image and host build, and watch vendor advisories for every component.
- Promote updates through a test cell, a pilot line and then production, with a rollback package ready at each stage.
Network design for virtual controllers
Zoning principles from IEC 62443 and NIST SP 800-82 Rev. 3 still hold, but the zone boundaries need redrawing. A single edge host may sit in the control zone for its field traffic and in a management zone for orchestration. Treat those as different interfaces with different rules.
- Separate field network, engineering traffic, management traffic and data export traffic onto distinct interfaces or VLANs.
- Allow only the protocols and peers each controller instance needs, and deny the rest by default.
- Keep east-west traffic between controller instances explicit. Shared virtual networks on one host can bypass physical segmentation.
- Do not let analytics or cloud connectors initiate connections into the control zone; push data out through a broker or historian instead.
Safety, availability and recovery
Virtualisation can make recovery faster, because an instance can be redeployed to another host. It can also make failure wider, because one platform fault can take down many controllers at once. Plan for both.
- Map which controller instances run on which hosts, and keep safety-relevant functions on platforms the vendor supports for that purpose. Do not assume a safety rating carries over to a different host or configuration.
- Avoid placing redundant controllers for the same process on the same host or the same failure domain.
- Define how the process reaches a safe state if the host, the network or the management plane fails.
- Back up controller projects, packages, host configuration and management plane configuration separately, and keep an offline copy. The 3-2-1-1-0 Backup Rule Explained gives a simple pattern.
- Rehearse a full rebuild of a production cell from backups, including re-enrolling nodes and restoring credentials.
Program-level controls still matter
Moving the runtime onto a server does not remove the need for classic PLC protections. Program and know-how protection, access levels, secure engineering and HMI communication and change tracking all still apply, configured through the vendor's engineering tool. Secure coding inside the program, such as validating set points and monitoring cycle times, also remains a key defence, and the Top 20 Secure PLC Coding Practices Explained for Engineers covers it in depth.
The difference is ordering. On a virtual controller, an attacker who owns the host or the management plane may never need to defeat program protection at all. Platform and identity controls come first; program controls are the next layer.
Common failure patterns
- Treating hosts as general IT. Control workloads placed on shared clusters, patched on IT schedules without OT testing.
- One admin role. The same account can publish, approve, deploy and stop controllers.
- Remote convenience without guardrails. Management consoles reachable from corporate networks or vendor laptops without a controlled path.
- Images pulled from the internet. Production nodes fetching packages directly instead of from an approved internal mirror.
- Assumed safety carry-over. Safety or timing claims applied to a host or configuration the vendor never stated.
- Single failure domain. Primary and backup controllers for one process on the same host.
- Forgotten node identities. Enrolment certificates and tokens never rotated or revoked when hardware is replaced.
- Program-only security. Strong know-how protection on a controller whose host has open remote shells.
Practitioner checklist
- Document the vendor-supported platform for each virtual controller and lock the configuration.
- Dedicate and harden hosts for control workloads, with secure boot and a recorded baseline.
- Place the management plane in its own zone and require phishing-resistant MFA for all administrators.
- Split publish, approve, deploy and operate roles and require two-person approval for production changes.
- Inventory and scope every machine identity that can reach controllers or the management plane.
- Mirror and verify runtime packages internally and keep an SBOM per image and host build.
- Separate field, engineering, management and export traffic and deny by default.
- Keep redundant controllers in separate failure domains and define the safe state for platform loss.
- Back up projects, packages and platform configuration, and rehearse a full cell rebuild.
- Keep classic PLC program protections and secure coding practices in place.
Standards and references
- Siemens: SIMATIC S7-1500V product page
- Siemens ProductCERT: SSA-482757, Missing Immutable Root of Trust in S7-1500 CPU devices
- NIST: SP 800-82 Rev. 3, Guide to Operational Technology (OT) Security
- MITRE ATT&CK: ICS Matrix
- MITRE ATT&CK for ICS: Program Download
- MITRE ATT&CK for ICS: Valid Accounts
- MITRE ATT&CK for ICS: External Remote Services
Related NHI Mgmt Group resources: CODESYS Runtime Security Guide · OT Security Guide · Edge Computing Security Guide · IEC 62443 Guide