Join our Newsletter — 33% off our NHI Course
Home› Guides› Manufacturing Execution System (MES) Security Guide: Level 3…
Guide OT & IoT Security

Manufacturing Execution System (MES) Security Guide: Level 3 Access, Integrations and Recovery

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 14 min read
On this page

The manufacturing execution system sits between ERP and the plant floor, so when it is compromised or lost, production usually stops even if no controller is touched. MES servers hold work orders, recipes, genealogy and quality records, and they talk to almost everything: ERP above, historians, SCADA and line controllers below, and LIMS, warehouse and label systems to the side. That makes Level 3 the place where most IT to OT compromise paths cross and where most restart dependencies sit. This guide is for OT security leads, manufacturing IT and plant engineering. It covers placement, threats, access control for people, service accounts and vendors, integration security, segmentation, and recovery including manual operating mode. For a programme view for smaller plants, see Cybersecurity for Small Manufacturers.

Key takeaways

  • MES is Level 3 by definition: ISA-95 places manufacturing execution systems in Level 3, manufacturing operations management, with ERP at Level 4, so MES is the bridge that segmentation has to respect.
  • Integrations are the attack surface: each ERP, historian, SCADA, LIMS and PLC interface carries a service account, a protocol and a firewall rule; inventory them first.
  • Nothing should cross from enterprise to Level 3 directly: NIST SP 800-82 Rev. 3 calls for a DMZ so traffic does not pass directly between corporate and OT networks.
  • Service and vendor accounts are the usual way in: dormant VPN and integrator accounts without MFA have led to production shutdowns.
  • Recovery is a production decision: agree how long each line can run without MES, rehearse manual operating mode, and keep restorable MES images and databases offline.

Where MES sits in the Purdue model

Picture the plant as a stack. At the top, Levels 4 and 5 hold enterprise systems: ERP, email, finance, planning. Below them sits an industrial DMZ (often called Level 3.5) holding replicated or brokered services. Level 3 is site operations: MES application and database servers, the site historian, batch and recipe management, engineering and patch services for the plant. Level 2 holds supervisory control: SCADA, HMIs and DCS operator stations. Level 1 holds PLCs and controllers, and Level 0 the sensors, drives and actuators.

ISA-95 (IEC 62264) describes Level 3 as manufacturing operations management, covering MES and systems such as SCADA that manage operations, and Level 4 as business planning and logistics, including ERP. The standard mainly addresses the interface between Levels 3 and 4, which is exactly the boundary MES security is about. NIST SP 800-82 Rev. 3 notes organisations may segment using the Purdue model, ISA-95 levels, an IIoT tiered model or a mix, with DMZs as enforcement boundaries. For the full segmentation model, see the OT Network Segmentation, Purdue Model and IEC 62443 Zones and Conduits Guide.

Why Level 3 is different

  • It runs IT technology: Windows servers, SQL databases, web front ends and Active Directory, so it is exposed to the same ransomware as the enterprise.
  • It is production-critical: work orders, electronic batch records and traceability often cannot be skipped without breaking quality or regulatory rules.
  • It is owned by several teams: manufacturing IT, plant engineering, the MES vendor and integrators, which blurs who patches and who approves change.

Threats to MES

ThreatHow it reaches MESTypical impactATT&CK v20
Ransomware spreading from ITShared AD domain, flat routing, RDP from office networkMES and database encrypted, lines stop for lack of work ordersT1486, T1021.001
Compromised remote accessVendor VPN or remote desktop tool with a dormant or shared accountDirect interactive access to Level 3 serversT1133, T1078
Service account abuseIntegration account with domain rights or a password in a config fileLateral movement into OT and data tamperingT1078
Data integrity attackChanged recipes, specifications or genealogy recordsOut-of-spec product, recalls, safety riskNo single technique; treat as impact on integrity
Precautionary shutdownIT incident with unclear blast radiusPlant stops even though OT was not reachedNot an attack technique; a dependency problem

The last row matters as much as the others. At the Jaguar Land Rover cyberattack, the company proactively shut down its systems and vehicle production was paused from 1 September 2025 until a phased restart from 8 October. At the Colonial Pipeline ransomware attack, the pipeline was shut down as a precaution although there was no evidence attackers touched pipeline controls. Clear Level 3 boundaries and a tested manual mode are what let a plant keep running while IT is contained.

Access control for Level 3

NIST SP 800-82 Rev. 3 recommends centralising identity management, suggests separate IT and OT authentication servers, and warns that authenticated IT accounts with access to OT carry added risk. In practice that means a separate OT or Level 3 directory, not the enterprise forest.

Identity typeControlWhat good looks like
MES administratorsSeparate OT admin accounts, phishing-resistant MFA at the DMZ jump host, no email or browsingNamed accounts, privileged sessions recorded, reviewed quarterly
Operators and supervisorsMES roles mapped to job, badge or PIN on shared stations, electronic signature where batch records require itNo shared generic logins for record signing
Integration service accountsOne account per interface, least privilege on the database or API, no interactive logon, managed passwords or gMSA where supportedOwner, purpose and rotation date recorded per account
Vendor and integrator accessBrokered through the DMZ, time-bound, approved per session, MFA, recordedConnection created at the start of maintenance and torn down after
Emergency accessSealed local admin credentials for when the OT directory is downTested during recovery drills, rotated after each use

Service accounts

MES integrations often run under accounts created at commissioning and never touched again. Build the inventory from the directory, the database logins and the middleware configuration, then deny interactive logon, remove domain-wide rights and split accounts shared across interfaces. The How to find service accounts shared by several applications or hosts and split them and How to detect interactive logons by service accounts guides give the method. Where the platform supports it, convert Windows service accounts with Group Managed Service Accounts (gMSA).

Vendor remote access

NIST SP 800-82 Rev. 3 says remote maintenance should authenticate maintenance staff, connect only at the start of maintenance, tear down immediately afterwards, and log the activity. CISA, FBI, EPA and DOE add phishing-resistant MFA, least privilege and disabling dormant accounts. Terminate vendor sessions on a jump host in the DMZ, never on an MES server directly. The plant-wide picture is in the OT Remote Access Guide and Manufacturing Identity and OT Access Guide.

Integrations with ERP, historians and PLCs

Start with an interface register. Every row below should become a documented conduit with an owner, a firewall rule and a named service account.

InterfaceDirectionCommon protocolsWhere it should terminateKey controls
ERP (Level 4)Orders down, confirmations and consumption upHTTPS web services or REST (443), message queues, file transfer, ISA-95 style messagesBroker or integration server in the DMZMutual TLS or signed messages, schema validation, one service account per flow
HistorianProcess data up from Level 2; summaries to enterpriseOPC UA (TCP 4840 by default), vendor protocols, SQL (1433 for SQL Server)Site historian at Level 3, replica in DMZ for enterprise usersEnterprise users read the replica only; see the OT Process Historian Security Guide
SCADA and HMISetpoints, recipes and orders down; status upOPC UA, OPC Classic (DCOM), vendor APIsLevel 3 to Level 2 conduitOPC UA with SignAndEncrypt and certificate trust lists; retire DCOM where possible
PLCs and line controllersRecipe download, counts, machine stateModbus TCP (502), EtherNet/IP (44818), S7 (102), MQTT (1883, 8883 with TLS)Through SCADA or an edge gateway, not MES servers directlyWrite paths restricted and logged; read-only where possible
LIMS and qualitySamples and results, release decisionsWeb services, database links, file dropsLevel 3 or DMZ depending on LIMS locationIntegrity checks on results, change audit trail
Warehouse and labellingMaterial movements, label print jobsWeb services, printer protocolsLevel 3Separate accounts, no shared file shares with IT
  • Prefer push through a broker: ERP posts to a DMZ broker and MES pulls from it, so no session originates in the enterprise and lands in Level 3.
  • Restrict write paths: the interfaces that can change recipes or setpoints deserve the tightest rules, change approval and logging.
  • Remove database links that cross zones: linked servers and ODBC connections from enterprise reporting tools straight to the MES database bypass every other control.
  • Keep credentials out of configuration files: store integration secrets in a vault or the platform's protected store and rotate them on a schedule agreed with the vendor.

Segmentation and the industrial DMZ

NIST SP 800-82 Rev. 3 recommends a DMZ architecture with firewalls so network traffic does not pass directly between corporate and OT networks, firewall rules that permit connections only between adjacent levels, outbound rules from the control network as strict as inbound ones, and unidirectional gateways where one-way flow is enough. CISA's primary mitigations make the same point: segment IT and OT and use a DMZ to pass control data.

Mapping to IEC 62443 zones and conduits

IEC 62443 groups assets with the same security requirements into zones and treats every communication path between zones as a conduit with its own requirements. The risk assessment in IEC 62443-3-2 sets a target security level per zone, and IEC 62443-3-3 lists the system requirements to reach it. A workable MES design uses these zones:

ZoneContentsConduits allowed
EnterpriseERP, reporting, office usersTo DMZ broker and historian replica only
Industrial DMZIntegration broker, historian replica, jump hosts, patch and antivirus stagingTo enterprise and to named Level 3 services only; no pass-through
Level 3 operationsMES application and database, site historian, OT directory, backup serverTo DMZ and to supervisory zones on named ports
Supervisory and control cellsSCADA, HMIs, PLCs per line or areaTo Level 3 via defined conduits; cell to cell only where the process needs it
Safety systemsSafety instrumented systemsNo MES conduit; monitoring only where the safety case allows

See the IEC 62443-3-2 OT Risk Assessment Guide and IEC 62443-3-3 and 4-2 Security Levels Guide for setting target levels.

Backup, recovery and manual fallback

NIST SP 800-82 Rev. 3 calls for backing up OT state, data, configuration and programs at regular intervals, restoring in a timely way, putting human and environmental safety first before restart, and testing plans. It also describes manual control mechanisms that let operators act without the digital system. CISA lists maintaining manual operations capability as a primary mitigation.

ItemRecovery objective to agreeHow to protect it
MES databaseMaximum data loss per line (recovery point) and restore timeFrequent backups plus offline or immutable copies; test restore to an isolated host
MES application serversRebuild timeGolden images with installed versions and licences recorded
Recipes and specificationsLast approved version available at the lineSigned, version-controlled exports held offline at the plant
OT directory and certificatesTime to restore authenticationSeparate backup; sealed emergency credentials
Interface configurationTime to reconnect ERP and historianExported configuration and the interface register, stored with the runbook

Manual operating mode

  1. Decide line by line: plant engineering and quality agree how long each line can run without MES and what it needs: printed work orders, paper batch records, local HMI recipes, manual labelling.
  2. Prepare the kit: current paper forms, label stock and a recipe set at each line, refreshed on a schedule.
  3. Define the switch: who decides to go manual, how it is announced, and how records are reconciled into MES afterwards.
  4. Rehearse: run a planned shift on manual mode at least yearly and time the switch back.
  5. Restore in order: OT directory, database, application, interfaces to Level 2, then ERP. Bring the ERP link back last, after the enterprise side is declared clean.
  6. Roll back safely: if a restored MES misbehaves, return to manual mode rather than pushing unverified recipes to lines.

The OT Backup, Recovery and Golden Image Guide and OT Ransomware Response Playbook go deeper on restore and response.

Phased rollout

  1. Build the interface register and service account inventory (weeks 1 to 4).
  2. Put vendor access behind a DMZ jump host with MFA and session approval (weeks 4 to 8).
  3. Introduce the DMZ broker and historian replica, running old and new paths in parallel, then cut over line by line with a rollback window.
  4. Apply firewall rules in log-only or monitor mode first, review a full production cycle of hits, then enforce.
  5. Separate the OT directory and move MES servers into it during a planned outage.
  6. Run the first manual mode rehearsal and a full restore test.

Detection and metrics

  • Monitor: logons to MES servers by account type, any interactive logon by a service account, new firewall flows crossing the DMZ, recipe and specification changes, backup job results.
  • Conduit coverage: share of MES interfaces with a documented owner, rule and dedicated account (target 100%).
  • Direct paths: count of flows from enterprise to Level 3 that bypass the DMZ (target zero).
  • Vendor sessions: share brokered, approved and recorded.
  • Restore time: measured time to restore MES database and application in the latest test, against the agreed objective.
  • Manual mode: date of last rehearsal and time to switch back per line.

For network sensors at these boundaries, see the OT Network Security Monitoring Guide.

Framework mapping

AreaNIST CSF 2.0NIST SP 800-53 Rev 5ISO/IEC 27001:2022 Annex AIEC 62443
Segmentation and DMZPR.IR-01SC-7, AC-4A.8.22 Segregation of networksZones and conduits (3-2), system requirements (3-3)
Access and service accountsPR.AA-05AC-6, IA-2A.8.2 Privileged access rights3-3 identification and authentication, use control
Vendor remote accessPR.AA-05AC-17A.5.19 Information security in supplier relationships2-4 service provider requirements
Backup and recoveryPR.DS-11, RC.RP-01CP-9, CP-10A.8.13 Information backup; A.5.30 ICT readiness for business continuity2-1 asset owner programme

Common failure patterns

  • MES joined to the enterprise domain: a domain compromise becomes an MES compromise in one step.
  • Dormant vendor or VPN accounts without MFA: the pattern behind the Colonial Pipeline intrusion, and a common way into plant networks.
  • Reporting tools with direct database links: a convenient enterprise report quietly creates a conduit that nobody reviews.
  • One integration account for everything: rotation is never done because it would break every interface at once.
  • Backups on the same domain and storage: ransomware encrypts the backups with the servers.
  • Manual mode only on paper: forms out of date, no recipe copies at the line, nobody rehearsed, so a precautionary IT shutdown becomes a long production stop.

Practitioner checklist

  • Document MES placement at Level 3 with a diagram showing every conduit to the DMZ and Level 2.
  • Complete the interface register: direction, protocol, port, account, owner and firewall rule per integration.
  • Remove every direct flow from the enterprise network into Level 3; route through a DMZ broker or replica.
  • Give each integration its own least-privilege service account with no interactive logon and a rotation date.
  • Broker vendor access through a DMZ jump host with phishing-resistant MFA, per-session approval and recording.
  • Move MES servers to an OT directory separate from the enterprise forest.
  • Keep offline or immutable backups of the MES database, images, recipes and interface configuration; test restores.
  • Agree recovery objectives per line with production and quality, and rehearse manual operating mode yearly.
  • Monitor service account logons, recipe changes and new cross-zone flows.

Standards and references

Related NHI Mgmt Group resources: Cybersecurity for Small Manufacturers · Manufacturing Cybersecurity Programme Guide · IEC 62443 vs NIST SP 800-82 · Manufacturing Cyber Regulation Map

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.