Commissioning and hardening notes and organizational measures
The following commissioning instructions must be followed:
General instructions
-
An IT security-protected network environment is mandatory for operating the Controller. Operation on the Internet is not permitted.
-
For protection, additionally use data link layers such as a VPN for remote access.
-
Install Firewall mechanisms, IPS (Intrusion Prevention Systems) and IDS (Intrustion Detection Systems).
-
Connect external devices upstream to provide protection against DoS (Denial of Service) or DDoS (Distributed Denial of Service) attacks.
-
Restrict physical access to authorized persons only. A particular focus here is on physical access to the SD Card. This concerns access to the data on the SD Card, but also the physical swapping of SD Cards between Controllers.
-
Change existing default passwords after the first start-up and regularly afterwards. Please use only high-strength passwords.
-
As soon as the web server functions of the Controller are accessed with a browser, we recommend activating the logging functions of the browser and backing up the certificate store of the browser. In this way, communication to the Controller can be traced.
-
The Controller records activities via an internal security logbook. This also applies to the tool accesses such as PLC Designer, EASY Starter Suite, UI Designer, etc.. This must be taken into account by the customer when considering data protection.
Input Validation for Customer Data
If you copy your own data to the Controller or to the SD Card, validation of this data is crucial to ensure that it is correct, complete and functional. Validation can take place on several levels.
Format and structure check: Ensure that the data corresponds to the expected format. For example, if you have copied zip files or docx files to the Controller, check after the process whether these files still have the original file format.
Integrity check: Another type of validation is the integrity check. This involves checking that the data has not been corrupted. This can be done by executing the data on the Controller or by using hash values or checksums.
Correct execution: Last but not least, you can check the execution of the copy process itself. This is done by reading the log entries. If a copy process was initiated, an entry was created for this in the audit log. This entry proves that the copy process was carried out.
Commissioning and hardening instructions
Device Security:
-
On receipt of the Controller, the security seal must be checked to ensure that it is intact (Controller.SecuritySeal).
Operation System Security:
-
Have a look at the Secure-by-Default and check the settings for the requirements of the application (Controller.SecuryByDefault).
-
Be sure, that there is no ".enable-ssh" file on the SD Card for SSH access (Controller.SSHServer).
-
Change the key for SFTP server communication (Controller.SFTPServer).
Prepare Programming and Design Application:
-
Setup the programming tool with Installer, Inspector and connect to Deployment Server (PLCDesigner.InstallerInspectorDeploymentServer).
-
If using the EASY System Designer use the Import File Function within the PLC Designer (PLCDesigner.ImportFile).
-
The Password Manager can be used for easy handling of credentials in the PLC Designer (PLCDesigner.PasswordManager).
-
It is recommended not to save the offline PLC Designer project without security protection. Depending on the criticality of the project, four levels are available, starting with integrity protection (PLCDesigner.Project.Integrity), encryption with password (PLCDesigner.Project.Encryption.WithPassword), encryption with certificate (PLCDesigner.Project.Encryption.WithCertificate) and signing the project with certificate (PLCDesigner.Project.Signature.WithCertificate).
-
If several people are working on a PLC Designer project, it is possible to use user management in the tool (PLCDesigner.UserManagement).
-
If libraries are integrated for application creation, these must be validated in the signature (FAST.Library.Signature).
-
The function "Encrypted Communication" (Controller.EncryptedCommunication.PLCDesigner) is activated by default. If Encrypted Communication is not enabled, the communication is not protected against a man-in-the-middle attack.
-
Activate encrypted application to secure the application on the controller (Controller.Application.Encryption).
Initial Programming and Application Security:
-
Change the settings of the controller firewall for hardening the component (Controller.Firewall).
-
The controller user management is activated by default (Controller.UserManagement).
-
The PLC Designer can be used to access the following directories from the controller via the file access (Controller.PLCDesigner.Files).
-
Handle the certificates in the programming phase of the machine with the »PLC Designer« (Controller.CertificateStore.viaPLCDesigner).
-
Check, that the communication to the web visualization is set to https (Controller.CertificateStore.HAProxy).
-
Handle the certificates in the production phase via the Diagnosis Visu (Controller.CertificateStore.viaAdvancedVisu).
-
Change the credentials for the guest- and the advanced-user of the WebDiagnosis (Controller.WebDiagnosis).
-
When using the OPC-UA Server, please use the authentication (Controller.OPCUAServer.Authentification) and the certificate handling (Controller.OPCUAServer.Certificate).
-
The OPC UA server can be used to access the following directories from the controller via file access (Controller.OPCUAServer.FileAccess).
-
Change the settings of the controller least functionality for hardening the component (Controller.LeastFunctionality).
-
Activation and configuration of the NTP client (Controller.NTP). The NTP connection in the operator's mains must be organizationally protected, as classic NTP protocols are used without encryption and without signature verification of the NTP server.
-
The USB stick is deactivated by default. The USB interface can be activated if required (Controller.USBInterface).
-
Activate the SysLog functionality for logging security relevant events (Controller.SysLog).
-
If required, messages can be sent from the application to the SysLog mechanism (FAST.SysLog).
-
Activate and test the component directory at the controller (Controller.ComponentDirectory).
Error Handling, Reset, Backup and Restore:
-
A Reaction Manager is available to react to security problems in the controller (Controller.ReactionManager).
-
If necessary, the controller can be reset to its original state (Controller.ResetToFactoryDefault).
-
The controller supports different key handling, which is required for backup and restore but also for device replacement (Controller.KeyHandling).
-
The two functions are available for transferring the data of a controller to a backup or restoring it (Controller.BackupAndRestore).
-
The DeviceReplacement function can be used to transfer the data when a controller is replaced (Controller.DeviceReplacement).
Optional OPC UA Functionalitites:
-
When using the OPC-UA Client, please use the Authentication (Controller.OPCUAClient.Authentificate) and the certificate handling (Controller.OPCUAClient.Certificate).
-
If OPC UA PubSub is used the SKS (Controller.OPCUAPubSub.SecurityKeyService) functions are available.
-
If OPC UA GDS is used, the ProvisioningMode (Controller.OPCUAServer.GlobalDiscoveryService.ProvisioningMode), PullManagement (Controller.OPCUAServer.GlobalDiscoveryService.PullManagement), PushManagement (Controller.OPCUAServer.GlobalDiscoveryService.PushManagement), Registration (Controller.OPCUAServer.GlobalDiscoveryService.Registration) and ServerCustomizing (Controller.OPCUAServer.GlobalDiscoveryService.ServerCustomizingProductURLAndCertificate) functions are available.
EASY Starter Suite:
-
If using the EASY Firmware Loader the user has to authentificate (FirmwareLoader.Authentification) and has to use the encrypted communication (FirmwareLoader.Certificate).
-
If using the EASY Starter the user has to authentificate (EasyStarter.Authentification) and has to use the encrypted communication (EasyStarter.Certificate).
-
If using the EASY Application Loader the user has to authentificate (ApplicationLoader.Authentification) and has to use the encrypted communication (ApplicationLoader.Certificate).
UI Designer and Web Visualization:
-
If using the ServerManager in the EASY UI Designer the user has to authentificate (UIDesigner.ServerManager.Authentification) and has to use the encrypted communication (UIDesigner.ServerManager.Certificate).
-
If using the Target Device Manager in the EASY UI Designer the user has to authentificate (UIDesigner.TargetDeviceManager.Authentification) and has to use the encrypted communication (UIDesigner.TargetDeviceManager.Certificate).
-
If user management is required within the web visualization, the following function can be used (UIDesigner.UserManagement).
-
For the variable connection between UI Runtime and Application Runtime, the data channel must be authenticated internally (UIDesigner.OPCUAClient.Authentification) and if communication is to take place across the controller boundary, the data must also be encrypted (UIDesigner.OPCUAClient.Certificate).
-
Restart Device:
After all settings have been configured, the device must be restarted for the changes to take effect.
Periodic security maintenance
-
It is recommended to check the password policy periodically for updates and to adjust the requirements if necessary.
-
It is recommended to change the passwords cyclically.
-
It is recommended to check the certificates used with regard to their key lengths for up-to-dateness and to generate new certificates with higher key lengths if necessary.
-
It is recommended to exchange the certificates regularly.
Decommissioning instructions
-
The device command 0x2022:001 "Device command: Load Lenze settings" must be executed. This resets all application settings.
-
The Reset to Factory Default should also be carried out (Controller.ResetToFactoryDefault).
-
It is recommended to update the firmware using the EASY Firmware Loader.
-
Remove the SD card and format it (in order to retain the Application Credits, the corresponding data must first be memorized and restored on the formatted SD card).
Removal product from environment
-
It is recommended that all industrial communication partners of the controller to be removed, to change the trusted certificates of the controller into untrusted certificates.
-
It is recommended to securely remove the login data for the controller to be removed, and such as name and password for the necessary authentication, from all industrial communication partners.