Golden rules for secure systems
The focus is on all cyber security requirements that have a preventive character. These can be summarized in the following 7 golden rules.
Based on these golden rules, the following requirements are necessary:
-
Security know-how for the user of the components.
-
Physical access control to the components.
-
Loss of convenience in handling the components.
-
Higher configuration and programming effort for the PLC programmer, the engineer and the service technician.
Minimize Attack Surface
Golden Rule: Minimize Attack Surface
Every area of a system used represents a potential attack surface. The goal is therefore to keep this attack surface as small as possible and thus minimize it. For this purpose, only the functions in the system that are necessary for essential operation should be usable. This applies not only to externally visible functions but also to the integrated internal functions.
The following points need to be optimized:
-
Uninstall or deactivate software packages that are not necessary
-
Disable unnecessary services or features
-
Check factory settings and restrict them if necessary
-
Restrict user privileges and access rights
-
Limit network functions, e.g. ports, protocols, services
-
etc.
All these measures fall within the scope of system or component hardening and are subject to the least privilege principle. The least privilege principle is a cyber security concept in which a user is only granted the minimum level of access or authorization required for his or her activity.
Separate Systems
Golden Rule: Separate Systems
An effective mechanism for security resilience is the defense-in-depth concept. It describes a layered security structure with cascading protection mechanisms. Several layers act on different protective mechanisms.
The concept of defense-in-depth is underlined by the separation of essential functions. Here, the main functions should be logically separated. This makes it more difficult for an attacker to continue to hang on.
The following points need to be optimized:
-
Separation of physical or logical networks
-
Separation of preparation systems for development and verification to the main system for production
-
Separation of different protection zones for assets with different protection needs
-
etc.
Appropriate Authentication
Golden Rule: Appropriate Authentication
As soon as a communication is confidential (at the latest when it crosses a security zone), it must be authenticated. This applies regardless of whether the communication is between humans, software processes, or devices.
The following points need to be optimized:
-
The stronger authentication method is preferable to the weaker one
-
Consideration of the transfer of authentication secrets
-
Consideration of the storage of authentication secrets
-
Establishment of a role-based access system and the need-to-know principle (knowledge only if necessary) to be used
-
Consistent withdrawal of authorization without necessity
-
etc.
Confidential encryption
Golden Rule: Confidential encryption
The establishment of this requirement starts with the identification of the trustworthy information. This information must be encrypted due to to its sensitive content. Here, the consideration refers to the transmitted information, as well as to the resting information.
The following points need to be optimized:
-
Consideration of encryption methods with regard to their security
-
Consideration of the handling of the necessary keys
-
Consideration of auxiliary procedures, e.g. the key exchange
-
etc.
Validate Inputs
Golden Rule: Validate Inputs
Any external input must be validated. It is irrelevant whether this input is from a human user, a software interface, or a device.
The content of the validation is the check for expected inputs. This is intended to exclude the exploitation of extended input up to the insertion of active code.
The following points need to be optimized:
-
Checking the character set (e.g. checking whether unauthorized characters are present)
-
Checking the length (minimum and maximum length)
-
Checking the time input (e.g. the fast repetition on an interface for human users is conspicuous)
-
Checking the content (e.g. February 31 is not a valid date)
-
etc.
Update regularly
Golden Rule: Update regularly
Systems or components with outdated versions are vulnerable to attacks. Especially in the case of known security vulnerabilities, corresponding versions must be patched. It should be noted that patches can be introduced by the component vendor, but also corrective action can also take place in the component environment.
Continuously Verify Security
Golden Rule: Continuously Verify Security
The cyber security attack analysis is not static but constantly evolving. This affects the security level of the components or the system if it is not constantly improved.
System monitoring must be used. These are advanced firewall systems IPS (Intrusion Prevention Systems) or IDS (Intrusion Detection Systems). As a result, the field of application is observed and measures can be derived directly from it.
This system monitoring is accompanied by verification at component level. Vulnerability and penetration tests should be mentioned here.
Finally, a process must be established to evaluate the relevant log files.