A Program Organization Unit (POU) is the basic building block of IEC 61131-3 PLC software: a program, function or function block that holds control logic. Attackers who reach an engineering workstation can alter POUs to change process behaviour. Defenders keep baselines of project code, restrict and log logic downloads, and compare running logic against approved versions.
What the Program Organization Unit actually is
A Program Organization Unit, or POU, is the IEC 61131-3 software construct that carries the control logic in a PLC project. It may be a program, function, or function block, but the security significance is the same: it is part of the executable logic that determines how the controller behaves.
Because POUs sit inside the logic that runs the process, they are not just development artefacts. They are operational control objects, so a change to a POU can alter sequencing, interlocks, timing, alarms, or safety-related behaviour if the project is not tightly governed.
How POUs fit into PLC program structure
IEC 61131-3 separates logic into reusable elements so engineers can organise control code into manageable units. That structure improves maintainability, but it also creates clear modification points that defenders should treat as sensitive. A small edit in one POU can have broader effects if it is called from multiple tasks or reused across the project.
This is why baselining matters. If the approved project version and the running logic diverge, the issue is not just code drift, it is process drift. For ICS defenders, the right question is whether the live controller still matches the authorised design intent.
NHIMG’s MITRE ATT&CK for ICS T0821 Modify Controller Tasking is useful background because task and logic changes are often detected through the same baseline, download, and cycle-time checks used to protect POUs.
Security implications of POU modification
POUs are attractive to attackers because they let a compromise move from access to behaviour change. If an adversary reaches an engineering workstation, steals engineering credentials, or abuses remote access, they may be able to alter control logic without touching the physical field devices directly.
That makes POU integrity a core trust boundary in industrial environments. A malicious or unauthorised edit can suppress alarms, bypass logic checks, modify setpoints, or introduce subtle changes that are difficult to spot during normal operations. Integrity monitoring, version control, and controlled downloads are therefore part of process security, not just software hygiene.
NHIMG’s T0889 Modify Program directly covers program-change detection, program backups, and recovery patterns for this kind of PLC logic tampering.
Monitoring and recovery for POU integrity
Defenders usually need more than one verification method. Baseline hashes, project comparison, change logging, and download auditing help identify when a POU has been edited, replaced, or recompiled unexpectedly. On many plants, the best signal is not a single alert but a mismatch between the approved engineering project and what is actually executing on the controller.
Recovery should assume that the running logic may no longer be trustworthy. That means preserving known-good project copies, validating any restoration against an approved baseline, and reviewing whether the logic change was isolated or part of a wider compromise of the engineering environment. The value of the POU concept is that it gives defenders a unit of control to compare, review, and restore.
When organisations treat POUs as change-controlled assets, they make it harder for covert logic manipulation to survive long enough to affect the process.
Risk and Threat Considerations
POUs carry direct operational risk because compromise of the logic layer can change how a PLC behaves while leaving the hardware and network looking normal. That is why logic tampering is such a powerful path in ICS environments, it can produce unsafe, unavailable, or misleading process states without a loud failure.
Failure mechanism: An attacker or insider modifies a POU through trusted engineering tools, then relies on normal download and execution pathways so the altered logic runs as if it were legitimate.
Impact: The result can include process disruption, hidden persistence, unsafe control decisions, and delayed detection if the organisation does not compare live logic to approved baselines.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T0821 — Modify Controller Tasking | Covers PLC task and logic changes that alter controller behaviour. |
| T0889 — Modify Program | Directly covers PLC program tampering and recovery from altered logic. | |
| Recommendation — Map logic-change detections to T0821 and hunt for unauthorised controller task modification. Baseline PLC project code and investigate any unexpected program or POU change. | ||
| NIST SP 800-53 Rev 5 | CM-5 — Access Restrictions for Change | Restricts and records who can make controlled changes to operational logic. |
| AU-2 — Event Logging | Supports audit trails for downloads, edits, and other logic-change events. | |
| SI-7 — Software, Firmware, and Information Integrity | Supports integrity checking of the approved project against running PLC logic. | |
| Recommendation — Apply CM-5 to limit and log who can modify PLC logic and download changes. Log PLC project edits and downloads so logic changes can be investigated later. Verify PLC logic integrity against a trusted baseline before accepting it as current. | ||
Practitioner Guidance
What to watch for: Treat POUs as governed production logic, not just engineering artefacts. Ownership should cover who may edit, approve, download, and validate them, and operational teams should know which baseline is authoritative when a discrepancy appears.
Practitioner takeaway: If you cannot prove that the running POU matches the approved version, you do not have assurance over the controller’s behaviour.
Related resources from NHI Mgmt Group
- What are the signs that an organization’s privacy program is too rigid to be effective?
- What does a mature secrets governance program need to cover?
- What is the difference between a bug bounty program and a vulnerability disclosure policy?
- Why do partner applications need to be linked to organization identity?
Deepen Your Knowledge
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.
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org