Antivirus, allowlisting or EDR on a validated line PC: which protection can a GMP site keep?
Twenty past two in the morning, a vial filling line. The operator’s screen freezes on the batch overview, then the supervisory control and data acquisition (SCADA) client closes and will not restart. The program, the network and the controller are fine. The endpoint agent installed a month earlier has judged the runtime’s behaviour, a service writing scripts to a temporary folder and launching them, to be an attack. It kills the process. The service restarts, and the agent kills it again.
The scene is a composite, but each part of it turns up on the sites we assess. The agent did exactly what its console told it to do. Nobody had decided which automatic actions a line computer could tolerate, because the agent arrived through the corporate rollout, with the corporate policy.
Endpoint protection on a validated line personal computer (PC) of a good manufacturing practice (GMP) site is part of the configuration you qualify. Signature antivirus, application allowlisting and endpoint detection and response (EDR) each protect against something different and each can break something different. The mechanism, its exclusions, its update path and the actions it may take on its own are chosen per host role, tested on a twin and changed only under change control.
Three mechanisms, three ways of failing
Signature antivirus compares files with a database of known malware and acts on what matches. NIST SP 800-83 Rev. 1 (July 2013) already noted that largely signature-based controls cannot keep up with customised malware. It still catches known malware arriving on a USB stick or a service laptop, and its cost on a line PC is load: scans and updates use processor time the runtime may need.
Application allowlisting turns the question round: only what is on the list runs. NIST SP 800-82 Rev. 3 (September 2023), §5.2.5.1, sees the relatively static nature of operational technology (OT) as an opportunity for it, and asks for configurations and policies to be thoroughly tested before deployment. Its failure mode mirrors antivirus. It does not miss unknown code; it blocks it, including the supplier’s hotfix that nobody added to the policy.
EDR watches behaviour (processes, scripts, network connections, account use) and reports it to a console where analysts, or automation, respond. It sees attacks that use legitimate administration tools, which signatures do not. It also brings the most disruptive automatic actions to the line: quarantine a file, kill a process, cut the host off the network. And part of what it relies on sits in a cloud service that a segmented cell may never reach.
| Mechanism | What it stops | What it can break on a line PC | GMP control |
|---|---|---|---|
| Signature antivirus | Known malware in files, on removable media and shares | Cycle times during scans and updates; a false positive quarantined from the runtime’s folders | Product and exclusions agreed with the supplier; definitions released by ring; scans outside production |
| Application allowlisting | Any executable, script or installer missing from the policy, known malware or not | A supplier update blocked; a maintenance tool refused during a stop | Audit mode through a full production cycle; policy versioned and hashed; updates added under change control |
| EDR | Suspicious behaviour, including misuse of legitimate tools | A runtime process killed; a host, or a whole virtualisation server, isolated | Automatic actions decided per host role; alerts routed to someone who knows the line |
What the texts ask, and what they leave to you
IEC 62443-3-3:2013 lists malicious code protection (SR 3.2) and least functionality (SR 7.7) among its system security requirements. NIST SP 800-82 Rev. 3 is more concrete about the OT side. In its OT overlay, under the system and information integrity (SI) controls, the discussion of SI-3 says malicious code protection “should only be deployed after careful consideration and verification that it does not adversely impact the operation of the OT”, with tools configured to minimise their impact, “e.g., employ notification rather than quarantine”.
Section 6.3.2.3 of the same guide adds that manual scans and signature updates should be performed while the system is not critical for operations, that the configuration should be tested on an offline system if possible, and that exclusion lists should name the control application files not to be scanned during production. It also suggests testing on a backup human-machine interface (HMI) before the primary one.
For a GMP site, EU GMP Annex 11 (2011) frames the rest. §10: “Any changes to a computerised system including system configurations should only be made in a controlled manner in accordance with a defined procedure.” An exclusion, an allowlisting rule and an automation level are system configurations. §11 lists incidents, upgrade history, security and validation status among the topics of periodic evaluation: the agent, its policy and its alerts belong in that review.
The supplier’s list comes first
NIST SP 800-82 Rev. 3 notes that some OT vendors have regression-tested particular antivirus tools across their product line and publish installation and configuration documentation for them. Where the automation supplier has such a list, it is the starting point, and it has three consequences on site.
- The product is chosen with the supplier, not by group IT alone. An agent the supplier has never tested is an untested change to a validated system, whatever its detection rate.
- Exclusions are configuration, each with a reason. A supplier’s exclusion list is a set of blind spots chosen for stability. Keep each one as narrow as the supplier allows, a process or a file type rather than a whole drive, record why it exists and review it at every application upgrade. An exclusion that outlives the version that needed it is a hole with no owner.
- The tested combination has a version. The supplier tested one agent version with one application release. When either moves, the combination is new and needs its own impact assessment.
Three update streams, three kinds of change
Endpoint products change on several clocks at once. Microsoft’s documentation for Defender Antivirus shows the pattern: security intelligence updates arrive on a cadence set by policy, engine updates come with them on a monthly cadence, and platform updates, the agent itself, are monthly too. Versions older than two releases back are no longer supported. Other products use their own names and cadences; ask the supplier for the equivalent of each stream.
| What changes | What it alters on the host | Usual handling under change control |
|---|---|---|
| Definitions (signatures, security intelligence) | What is detected | A pre-approved change under a documented risk assessment: twin first, released by ring with a delay, rollback to the previous set available |
| Engine | How files are scanned and classified | A planned change tested on the twin, with a performance check during a simulated batch |
| Agent or platform | The software itself, its drivers and its defaults | An individual change: supplier’s compatibility statement, impact assessment, targeted retest, record per host |
| Allowlisting policy | What may run | An individual change, deployed in audit mode first, then enforced by ring |
The difference between content and code is not academic. On 19 July 2024 an endpoint vendor released a content configuration update for its Windows sensor; it was configuration data, not a new agent version, and it crashed Windows hosts that received it. Microsoft estimated that 8.5 million Windows devices were affected.
The vendor’s own review says customers had complete control over the deployment of the sensor; the content travelled on a different channel, and the vendor added controls over its deployment afterwards. So ask of every product on a line PC who controls each stream. Can definitions and content be held on an internal server, delayed by ring and rolled back, or does the vendor push them straight to the agent?
Which automatic actions each host can tolerate
The answer depends on what happens when the host stops. A transfer station that checks USB keys can be isolated in a second; nobody is waiting on it. A SCADA server whose runtime is killed stops the line, and in a GMP batch it can leave a batch record to reconstruct and a deviation to investigate.

Microsoft’s automation levels for Defender for Endpoint show how easily the decision is skipped. Tenants created on or after 16 August 2020 with no device groups defined get full automation, remediation applied without approval, and Microsoft recommends it. That is a sound default for an office. On a line it is a decision nobody took. Put line PCs in their own device group, with an approval level, before the agent reaches them.
Isolation needs the same care. Microsoft’s documentation warns that isolating a server running Hyper-V blocks network traffic to all its child virtual machines: on a virtualised SCADA platform, one click cuts every server and client hosted there. Who may isolate a line PC, and when, is an incident decision to take in advance, as the article on the OT incident decisions to take before the call argues.
None of this means turning detection off. NIST’s wording is notification rather than quarantine: the alert still fires. What changes is who acts, and how fast someone who knows the line hears about it. Approval with nobody watching is no protection either. In Defender for Endpoint, pending actions time out after seven days and are then treated as rejected.
Allowlisting with App Control for Business or AppLocker
On Windows, allowlisting is built in, and Microsoft is clear about which of its two technologies it prefers: “Generally, customers who are able to implement application control using App Control, rather than AppLocker, should do so.” App Control for Business was designed as a security feature under Microsoft’s servicing criteria; AppLocker does not meet them, and Microsoft gives it security fixes but no new features. Microsoft keeps two uses for it: one policy across Windows 10 and older versions, and rules per user or group on a shared machine.
The edition is less of an obstacle than it was. App Control policies are effective on all editions of Windows 10 and 11, even where its PowerShell cmdlets are missing. AppLocker policies are enforced on all editions from Windows 10 version 2004 with the update of Microsoft knowledge base (KB) article 5024351; on older versions, Windows Server 2019 included, policies deployed through group policy work only on Enterprise and Server editions. Check the release of each line PC before planning AppLocker.
NIST SP 800-167 (October 2015) gives the rule for building the list. File path, filename and size should not be used on their own; a combination of digital signature or publisher and cryptographic hash generally gives the most accurate result, at a cost in maintenance. On a line PC that means trusting the signing certificates of Windows and of the automation supplier, adding hashes for the unsigned tools the line needs, and avoiding path rules on folders a user can write to.
Then audit before enforcing. NIST SP 800-167 recommends testing in monitoring mode, including how the solution reacts to software changes such as an update. Microsoft’s deployment guide asks for every App Control policy change to go through audit mode first. In audit mode, files that would have been blocked still run and leave event 3076 in the CodeIntegrity operational log; once enforced, event 3077 marks a real block.

How long is long enough? On a GMP line, one full cycle of everything the PC does: a batch start and end, a product changeover, a cleaning cycle, an alarm flood, report printing, the backup job, a supplier’s remote session and the monthly patch. A rare task missed in audit is the one blocked at three in the morning during the next campaign.
Plan for updates before enforcing. Updates signed with a certificate the policy trusts pass; a supplier hotfix that is unsigned, or signed with a new certificate, does not. App Control’s managed installer, which trusts what a designated deployment tool installs, exists for this case, from Windows 10 and Windows Server 2019 onwards.
Qualifying the configuration, and reviewing it
What you qualify is not the vendor’s product but your configuration of it on one host role. A short specification in the system documentation covers it.
- Identity. Product, agent and engine versions at qualification, and the supplier’s statement that they are compatible with the application release.
- Policies. Exported scan, exclusion and allowlisting policies, each with a hash, so that a later change shows.
- Exclusions. Each one with its reason and the supplier document it comes from.
- Automatic actions. The device group and automation level per host role, and who approves pending actions.
- Update path. Source, rings, delay and rollback for each update stream.
The tests are short. The standard anti-malware test file, harmless and made for the purpose, is detected and the alert reaches the console and the on-call engineer. An unknown executable copied onto the HMI is blocked once enforcement is on. A full scan and a definitions update during a simulated batch leave cycle times and screen refresh within the limits in the specification. The supplier’s maintenance procedure runs from start to end without a block.
The periodic review then asks the same questions each time. Are definitions current, and is the agent still within the vendor’s support window? Do the policy hashes, exclusions and automation level still match what was qualified? What did the block and audit events show since the last review, and was any alert closed without a look? A console update can change defaults; only a comparison with the qualified record will show it.
Offline and segmented cells
Many line PCs never see the Internet, and they should not have to. NIST SP 800-82 Rev. 3 describes the pattern for general-purpose OT hosts: an antivirus server inside the process control network distributes updates, fed by organisation-developed procedures for transferring them from the vendor’s sites. Microsoft documents the same route for Defender, with updates downloaded by a connected machine to a file share that disconnected machines read.
The transfer between the two is the weak point. If it goes by removable media, it follows the rules for any file entering the cell, set out in the article on bringing portable storage devices under control. If it goes through a firewall, the rule lets one update server reach one source, not every line PC reach the vendor’s cloud.
Know what is lost offline. Microsoft states that its cloud-delivered protection requires an active Internet connection; whatever a product does in its cloud, a cell without a route to it does not get. Where no agent is acceptable at all, NIST points to network-based malware detection, which runs on a separate system without load on the endpoint, and lists increased traffic monitoring and auditing as compensating controls. The article on shielding legacy programmable logic controllers (PLCs) describes that network side.
Five common mistakes
- Rolling out the corporate policy unchanged. Full automation, cloud-dependent features and a weekly full scan at ten in the morning arrive on the line with the agent.
- Excluding the whole application drive. It silences the false positives and the true ones.
- Treating definitions like agent upgrades, or the reverse. Retesting every signature set stalls protection; letting agent upgrades flow automatically changes validated hosts without a record.
- Enforcing allowlisting after a week of audit. The month-end report or the annual calibration tool is blocked months later, in the middle of a batch.
- Forgetting the restore. An agent or policy that leaves a host unable to boot needs a recovery path that has been tried, which the article arguing that a backup is a hypothesis until a restore proves it explains.
Where to start
- For one line, list each Windows host with its role, its endpoint product and version, its exclusions and its automation level. It is done when every host has a row and every exclusion a reason, or a dated action.
- Compare the list with the supplier’s tested products and the matrix above, and move line PCs into their own device group with approval required. It is done when no line PC sits under full automation.
- Take the most static host role, usually the operator HMI, and run an App Control policy in audit mode on its twin through one complete production cycle. It is done when no 3076 event in the log is left unexplained.
On a line PC, the question is rarely whether the agent detects the threat. It is what the agent does next, and whether someone who knows the line agreed to it beforehand.
References
- NIST, SP 800-82 Rev. 3, Guide to Operational Technology (OT) Security, September 2023, §5.2.5.1, §6.3.2.3, appendix E.2.4 and the OT overlay for SI-3.
- NIST, SP 800-167, Guide to Application Whitelisting, October 2015, and SP 800-83 Rev. 1, Guide to Malware Incident Prevention and Handling for Desktops and Laptops, July 2013.
- IEC, IEC 62443-3-3:2013, System security requirements and security levels, edition 1.0, 7 August 2013.
- European Commission, EudraLex Volume 4, Annex 11: Computerised Systems, in operation since 30 June 2011, §10 and §11.
- Microsoft Learn, App Control and AppLocker overview, feature availability and requirements to use AppLocker.
- Microsoft Learn, App Control rule options and audit mode, deployment guide and event IDs.
- Microsoft Learn, Microsoft Defender Antivirus security intelligence and product updates and protection update sources.
- Microsoft Learn, Defender for Endpoint automation levels and device response actions.
- Microsoft, David Weston, Helping our customers through the CrowdStrike outage, 20 July 2024.
Related articles
All articles- You cannot ban portable storage devices. Bring them under control.A removable drive is the fastest route into an OT system, because it goes around every control you installed. Banning it produces workarounds…
- Isolate, run by hand or keep producing? The OT incident decisions to take before the callAn OT incident plan is mostly decisions taken in advance: which response each area allows, who may order it at night, and how the batch is judged…
- Pro, Enterprise, LTSC or IoT: which Windows belongs on a qualified GMP line PC?Windows editions differ in support length, update cadence and licence route. Which suits an HMI, an engineering station or a server, and what a…
EUCALEX
Have a project or a technical challenge?
Contact us: we will be pleased to discuss it with you, with no commitment.
Discuss your project with usStay informed
Receive new EUCALEX articles and technical insights by email.
