4.3. VNF Security
The objective of this section is to provide the key security requirements that need to be met by VNFs. The security requirements are grouped into five areas as listed below. Other security areas will be addressed in future updates. These security requirements are applicable to all VNFs. Additional security requirements for specific types of VNFs will be applicable and are outside the scope of these general requirements.
Section 4.3 Security in VNF Guidelines outlines the five broad security areas for VNFs that are detailed in the following sections:
VNF General Security: This section addresses general security requirements for the VNFs that the VNF provider will need to address.
VNF Identity and Access Management: This section addresses security requirements with respect to Identity and Access Management as these pertain to generic VNFs.
VNF API Security: This section addresses the generic security requirements associated with APIs. These requirements are applicable to those VNFs that use standard APIs for communication and data exchange.
VNF Security Analytics: This section addresses the security requirements associated with analytics for VNFs that deal with monitoring, data collection and analysis.
VNF Data Protection: This section addresses the security requirements associated with data protection.
4.3.1. VNF General Security Requirements
This section provides details on the VNF general security requirements on various security areas such as user access control, network security, ACLs, infrastructure security, and vulnerability management. These requirements cover topics associated with compliance, security patching, logging/accounting, authentication, encryption, role-based access control, least privilege access/authorization. The following security requirements need to be met by the solution in a virtual environment:
General Security Requirements
Integration and operation within a robust security environment is necessary and expected. The security architecture will include one or more of the following: IDAM (Identity and Access Management) for all system and applications access, Code scanning, network vulnerability scans, OS, Database and application patching, malware detection and cleaning, DDOS prevention, network security gateways (internal and external) operating at various layers, host and application based tools for security compliance validation, aggressive security patch application, tightly controlled software distribution and change control processes and other state of the art security solutions. The VNF is expected to function reliably within such an environment and the developer is expected to understand and accommodate such controls and can expected to supply responsive interoperability support and testing throughout the product’s lifecycle.
Requirement: R-23740
|
The VNF MUST implement and enforce the principle of least privilege on all protected interfaces. |
Requirement: R-61354
|
The VNF MUST provide a mechanism (e.g., access control list) to permit and/or restrict access to services on the VNF by source, destination, protocol, and/or port. |
Requirement: R-92207
|
The VNF SHOULD provide a mechanism that enables the operators to perform automated system configuration auditing at configurable time intervals. |
Requirement: R-46986
|
The VNF provider MUST follow GSMA vendor practices and SEI CERT Coding Standards when developing the VNF in order to minimize the risk of vulnerabilities. See GSMA NESAS Network Equipment Security Assurance Scheme – Development and Lifecycle Security Requirements Version 1.0 (https://www.gsma.com/ security/wp-content/uploads/2019/11/FS.16-NESAS-Development-and-Lifecycle-Security- Requirements-v1.0.pdf) and SEI CERT Coding Standards (https://wiki.sei.cmu.edu/ confluence/display/seccode/SEI+CERT+Coding+Standards). |
Requirement: R-99771
|
The VNF MUST have all code (e.g., QCOW2) and configuration files (e.g., HEAT template, Ansible playbook, script) hardened, or with documented recommended configurations for hardening and interfaces that allow the Operator to harden the VNF. Actions taken to harden a system include disabling all unnecessary services, and changing default values such as default credentials and community strings. |
Requirement: R-19768
|
The VNF SHOULD support the separation of (1) signaling and payload traffic (i.e., customer facing traffic), (2) operations, administration and management traffic, and (3) internal VNF traffic (i.e., east-west traffic such as storage access) using technologies such as VPN and VLAN. |
Requirement: R-56904
|
The VNF MUST interoperate with the ONAP (SDN) Controller so that it can dynamically modify the firewall rules, ACL rules, QoS rules, virtual routing and forwarding rules. This does not preclude the VNF providing other interfaces for modifying rules. |
Requirement: R-69649
|
The VNF Provider MUST have patches available for vulnerabilities in the VNF as soon as possible. Patching shall be controlled via change control process with vulnerabilities disclosed along with mitigation recommendations. |
Requirement: R-62498
|
The VNF MUST support only encrypted access protocols, e.g., TLS, SSH, SFTP. |
Requirement: R-872986
|
The VNF MUST store Authentication Credentials used to authenticate to other systems encrypted except where there is a technical need to store the password unencrypted in which case it must be protected using other security techniques that include the use of file and directory permissions. Ideally, credentials SHOULD rely on a HW Root of Trust, such as a TPM or HSM. |
Requirement: R-80335
|
For all GUI and command-line interfaces, the VNF MUST provide the ability to present a warning notice that is set by the Operator. A warning notice is a formal statement of resource intent presented to everyone who accesses the system. |
Requirement: R-19082
|
The VNF MUST not contain undocumented functionality. |
Requirement: R-21819
|
VNFs that are subject to regulatory requirements MUST provide functionality that enables the Operator to comply with ETSI TC LI requirements, and, optionally, other relevant national equivalents. |
Requirement: R-86261
|
The VNF MUST be able to authenticate and authorize all remote access. |
Requirement: R-638682
|
The VNF MUST log any security event required by the VNF Requirements to Syslog using LOG_AUTHPRIV for any event that would contain sensitive information and LOG_AUTH for all other relevant events. |
Requirement: R-756950
|
The VNF MUST be operable without the use of Network File System (NFS). |
Requirement: R-240760
|
The VNF MUST NOT contain any backdoors. |
Requirement: R-256267
|
If SNMP is utilized, the VNF MUST support at least SNMPv3 with message authentication. |
Requirement: R-258686
|
The VNF application processes SHOULD NOT run as root. If a VNF application process must run as root, the technical reason must be documented. |
Requirement: R-118669
|
Login access (e.g., shell access) to the operating system layer, whether interactive or as part of an automated process, MUST be through an encrypted protocol such as SSH or TLS. |
Requirement: R-842258
|
The VNF MUST include a configuration (e.g. a heat template or CSAR package) that specifies the targeted parameters (e.g. a limited set of ports) over which the VNF will communicate; including internal, external and management communication. |
Requirement: R-353637
|
Containerized components of VNFs SHOULD follow the recommendations for Container Base Images and Build File Configuration in the latest available version of the CIS Docker Community Edition Benchmarks to ensure that containerized VNFs are secure. All non-compliances with the benchmarks MUST be documented. |
Requirement: R-381623
|
Containerized components of VNFs SHOULD execute in a Docker run-time environment that follows the Container Runtime Configuration in the latest available version of the CIS Docker Community Edition Benchmarks to ensure that containerized VNFs are secure. All non-compliances with the benchmarks MUST be documented. |
4.3.2. VNF Identity and Access Management Requirements
The following security requirements for logging, identity, and access management need to be met by the solution in a virtual environment:
Identity and Access Management Requirements
Requirement: R-99174
|
The VNF MUST, if not integrated with the Operator’s Identity and Access Management system, support the creation of multiple IDs so that individual accountability can be supported. |
Requirement: R-42874
|
The VNF MUST allow the Operator to restrict access to protected resources based on the assigned permissions associated with an ID in order to support Least Privilege (no more privilege than required to perform job functions). |
Requirement: R-358699
|
The VNF MUST support at least the following roles: system administrator, application administrator, network function O&M. |
Requirement: R-373737
|
The VNF MUST, if not integrated with the operator’s IAM system, provide a mechanism for assigning roles and/or permissions to an identity. |
Requirement: R-59391
|
The VNF MUST NOT allow the assumption of the permissions of another account to mask individual accountability. For example, use SUDO when a user requires elevated permissions such as root or admin. |
Requirement: R-86835
|
The VNF MUST set the default settings for user access to deny authorization, except for a super user type of account. |
Requirement: R-81147
|
The VNF MUST, if not integrated with the Operator’s Identity and Access Management system, support multifactor authentication on all protected interfaces exposed by the VNF for use by human users. |
Requirement: R-39562
|
The VNF MUST disable unnecessary or vulnerable cgi-bin programs. |
Requirement: R-75041
|
The VNF MUST, if not integrated with the Operator’s Identity and Access Management system, support configurable password expiration. |
Requirement: R-46908
|
The VNF MUST, if not integrated with the Operator’s Identity and Access Management system, comply with “password complexity” policy. When passwords are used, they shall be complex and shall at least meet the following password construction requirements: (1) be a minimum configurable number of characters in length, (2) include 3 of the 4 following types of characters: upper-case alphabetic, lower-case alphabetic, numeric, and special, (3) not be the same as the UserID with which they are associated or other common strings as specified by the environment, (4) not contain repeating or sequential characters or numbers, (5) not to use special characters that may have command functions, and (6) new passwords must not contain sequences of three or more characters from the previous password. |
Requirement: R-844011
|
The VNF MUST not store authentication credentials to itself in clear text or any reversible form and must use salting. |
Requirement: R-79107
|
The VNF MUST, if not integrated with the Operator’s Identity and Access Management system, support the ability to lock out the userID after a configurable number of consecutive unsuccessful authentication attempts using the same userID. The locking mechanism must be reversible by an administrator and should be reversible after a configurable time period. |
Requirement: R-23135
|
The VNF MUST, if not integrated with the Operator’s identity and access management system, authenticate all access to protected resources. |
Requirement: R-78010
|
The VNF MUST support LDAP in order to integrate with an external identity and access manage system. It MAY support other identity and access management protocols. |
Requirement: R-814377
|
The VNF MUST have the capability of allowing the Operator to create, manage, and automatically provision user accounts using one of the protocols specified in Chapter 7. |
Requirement: R-931076
|
The VNF MUST support account names that contain at least A-Z, a-z, and 0-9 character sets and be at least 6 characters in length. |
Requirement: R-581188
|
The VNF MUST NOT identify the reason for a failed authentication, only that the authentication failed. |
Requirement: R-479386
|
The VNF MUST provide the capability of setting a configurable message to be displayed after successful login. It MAY provide a list of supported character sets. |
Requirement: R-231402
|
The VNF MUST provide a means to explicitly logout, thus ending that session. |
Requirement: R-251639
|
The VNF MUST provide explicit confirmation of a session termination such as a message, new page, or rerouting to a login page. |
Requirement: R-45719
|
The VNF MUST, if not integrated with the Operator’s Identity and Access Management system, enforce a configurable “terminate idle sessions” policy by terminating the session after a configurable period of inactivity. |
4.3.3. VNF API Security Requirements
This section covers API security requirements when these are used by the VNFs. Key security areas covered in API security are Access Control, Authentication, Passwords, PKI Authentication Alarming, Anomaly Detection, Lawful Intercept, Monitoring and Logging, Input Validation, Cryptography, Business continuity, Biometric Authentication, Identification, Confidentiality and Integrity, and Denial of Service.
The solution in a virtual environment needs to meet the following API security requirements:
API Requirements
Requirement: R-43884
|
The VNF SHOULD integrate with the Operator’s authentication and authorization services (e.g., IDAM). |
Requirement: R-21652
|
The VNF MUST implement the following input validation control: Check the size (length) of all input. Do not permit an amount of input so great that it would cause the VNF to fail. Where the input may be a file, the VNF API must enforce a size limit. |
Requirement: R-54930
|
The VNF MUST implement the following input validation controls: Do not permit input that contains content or characters inappropriate to the input expected by the design. Inappropriate input, such as SQL expressions, may cause the system to execute undesirable and unauthorized transactions against the database or allow other inappropriate access to the internal network (injection attacks). |
Requirement: R-21210
|
The VNF MUST implement the following input validation control on APIs: Validate that any input file has a correct and valid Multipurpose Internet Mail Extensions (MIME) type. Input files should be tested for spoofed MIME types. |
4.3.4. VNF Security Analytics Requirements
This section covers VNF security analytics requirements that are mostly applicable to security monitoring. The VNF Security Analytics cover the collection and analysis of data following key areas of security monitoring:
Anti-virus software
Logging
Data capture
Tasking
DPI
API based monitoring
Detection and notification
Resource exhaustion detection
Proactive and scalable monitoring
Mobility and guest VNF monitoring
Closed loop monitoring
Interfaces to management and orchestration
Malformed packet detections
Service chaining
Dynamic security control
Dynamic load balancing
Connection attempts to inactive ports (malicious port scanning)
The following requirements of security monitoring need to be met by the solution in a virtual environment.
Security Analytics Requirements
Requirement: R-48470
|
The VNF MUST support Real-time detection and notification of security events. |
Requirement: R-32636
|
The VNF MUST support API-based monitoring to take care of the scenarios where the control interfaces are not exposed, or are optimized and proprietary in nature. |
Requirement: R-22367
|
The VNF MUST support detection of malformed packets due to software misconfiguration or software vulnerability, and generate an error to the syslog console facility. |
Requirement: R-73223
|
The VNF MUST support proactive monitoring to detect and report the attacks on resources so that the VNFs and associated VMs can be isolated, such as detection techniques for resource exhaustion, namely OS resource attacks, CPU attacks, consumption of kernel memory, local storage attacks. |
Requirement: R-58370
|
The VNF SHOULD operate with anti-virus software which produces alarms every time a virus is detected. |
Requirement: R-56920
|
The VNF MUST protect all security audit logs (including API, OS and application-generated logs), security audit software, data, and associated documentation from modification, or unauthorized viewing, by standard OS access control mechanisms, by sending to a remote system, or by encryption. |
Requirement: R-54520
|
The VNF MUST log successful and unsuccessful authentication attempts, e.g., authentication associated with a transaction, authentication to create a session, authentication to assume elevated privilege. |
Requirement: R-55478
|
The VNF MUST log logoffs. |
Requirement: R-13344
|
The VNF MUST log starting and stopping of security logging. |
Requirement: R-07617
|
The VNF MUST log success and unsuccessful creation, removal, or change to the inherent privilege level of users. |
Requirement: R-94525
|
The VNF MUST log connections to the network listeners of the resource. |
Requirement: R-31614
|
The VNF MUST log the field “event type” in the security audit logs. |
Requirement: R-97445
|
The VNF MUST log the field “date/time” in the security audit logs. |
Requirement: R-25547
|
The VNF MUST log the field “protocol” in the security audit logs. |
Requirement: R-06413
|
The VNF MUST log the field “service or program used for access” in the security audit logs. |
Requirement: R-15325
|
The VNF MUST log the field “success/failure” in the security audit logs. |
Requirement: R-89474
|
The VNF MUST log the field “Login ID” in the security audit logs. |
Requirement: R-04982
|
The VNF MUST NOT include an authentication credential, e.g., password, in the security audit logs, even if encrypted. |
Requirement: R-63330
|
The VNF MUST detect when its security audit log storage medium is approaching capacity (configurable) and issue an alarm. |
Requirement: R-41252
|
The VNF MUST support the capability of online storage of security audit logs. |
Requirement: R-41825
|
The VNF MUST activate security alarms automatically when a configurable number of consecutive unsuccessful login attempts is reached. |
Requirement: R-43332
|
The VNF MUST activate security alarms automatically when it detects the successful modification of a critical system or application file. |
Requirement: R-74958
|
The VNF MUST activate security alarms automatically when it detects an unsuccessful attempt to gain permissions or assume the identity of another user. |
Requirement: R-15884
|
The VNF MUST include the field “date” in the Security alarms (where applicable and technically feasible). |
Requirement: R-23957
|
The VNF MUST include the field “time” in the Security alarms (where applicable and technically feasible). |
Requirement: R-71842
|
The VNF MUST include the field “service or program used for access” in the Security alarms (where applicable and technically feasible). |
Requirement: R-57617
|
The VNF MUST include the field “success/failure” in the Security alarms (where applicable and technically feasible). |
Requirement: R-99730
|
The VNF MUST include the field “Login ID” in the Security alarms (where applicable and technically feasible). |
Requirement: R-29705
|
The VNF MUST restrict changing the criticality level of a system security alarm to users with administrative privileges. |
Requirement: R-13627
|
The VNF MUST monitor API invocation patterns to detect anomalous access patterns that may represent fraudulent access or other types of attacks, or integrate with tools that implement anomaly and abuse detection. |
Requirement: R-04492
|
The VNF MUST generate security audit logs that can be sent to Security Analytics Tools for analysis. |
Requirement: R-30932
|
The VNF MUST log successful and unsuccessful access to VNF resources, including data. |
Requirement: R-54816
|
The VNF MUST support the storage of security audit logs for a configurable period of time. |
Requirement: R-84160
|
The VNF MUST have security logging for VNFs and their OSs be active from initialization. Audit logging includes automatic routines to maintain activity records and cleanup programs to ensure the integrity of the audit/logging systems. |
Requirement: R-34552
|
The VNF MUST be implemented so that it is not vulnerable to OWASP Top 10 web application security risks. |
Requirement: R-33488
|
The VNF MUST protect against all denial of service attacks, both volumetric and non-volumetric, or integrate with external denial of service protection tools. |
Requirement: R-629534
|
The VNF MUST be capable of automatically synchronizing the system clock daily with the Operator’s trusted time source, to assure accurate time reporting in log files. It is recommended that Coordinated Universal Time (UTC) be used where possible, so as to eliminate ambiguity owing to daylight savings time. |
Requirement: R-303569
|
The VNF MUST log the Source IP address in the security audit logs. |
Requirement: R-703767
|
The VNF MUST have the capability to securely transmit the security logs and security events to a remote system before they are purged from the system. |
Requirement: R-465236
|
The VNF SHOULD provide the capability of maintaining the integrity of its static files using a cryptographic method. |
Requirement: R-859208
|
The VNF MUST log automated remote activities performed with elevated privileges. |
4.3.5. VNF Data Protection Requirements
This section covers VNF data protection requirements that are mostly applicable to security monitoring.
Data Protection Requirements
Requirement: R-58964
|
The VNF MUST provide the capability to restrict read and write access to data handled by the VNF. |
Requirement: R-83227
|
The VNF MUST Provide the capability to encrypt data in transit on a physical or virtual network. |
Requirement: R-32641
|
The VNF MUST provide the capability to encrypt data on non-volatile memory.Non-volative memory is storage that is capable of retaining data without electrical power, e.g. Complementary metal-oxide-semiconductor (CMOS) or hard drives. |
Requirement: R-13151
|
The VNF SHOULD disable the paging of the data requiring encryption, if possible, where the encryption of non-transient data is required on a device for which the operating system performs paging to virtual memory. If not possible to disable the paging of the data requiring encryption, the virtual memory should be encrypted. |
Requirement: R-73067
|
The VNF MUST use NIST and industry standard cryptographic algorithms and standard modes of operations when implementing cryptography. |
Requirement: R-12467
|
The VNF MUST NOT use compromised encryption algorithms. For example, SHA, DSS, MD5, SHA-1 and Skipjack algorithms. Acceptable algorithms can be found in the NIST FIPS publications (https://csrc.nist.gov/publications/fips) and in the NIST Special Publications (https://csrc.nist.gov/publications/sp). |
Requirement: R-02170
|
The VNF MUST use, whenever possible, standard implementations of security applications, protocols, and formats, e.g., S/MIME, TLS, SSH, IPSec, X.509 digital certificates for cryptographic implementations. These implementations must be purchased from reputable vendors or obtained from reputable open source communities and must not be developed in-house. |
Requirement: R-70933
|
The VNF MUST provide the ability to migrate to newer versions of cryptographic algorithms and protocols with minimal impact. |
Requirement: R-95864
|
The VNF MUST support digital certificates that comply with X.509 standards. |
Requirement: R-12110
|
The VNF MUST NOT use keys generated or derived from predictable functions or values, e.g., values considered predictable include user identity information, time of day, stored/transmitted data. |
Requirement: R-69610
|
The VNF MUST provide the capability of using X.509 certificates issued by an external Certificate Authority. |
Requirement: R-47204
|
The VNF MUST be capable of protecting the confidentiality and integrity of data at rest and in transit from unauthorized access and modification. |
4.3.6. VNF Cryptography Requirements
This section covers VNF cryptography requirements that are mostly applicable to encryption or protocol meethods.
Requirement: R-48080
|
The VNF SHOULD support an automated certificate management protocol such as CMPv2, Simple Certificate Enrollment Protocol (SCEP) or Automated Certificate Management Environment (ACME). |
Requirement: R-93860
|
The VNF SHOULD provide the capability to integrate with an external encryption service. |
Requirement: R-44723
|
The VNF MUST use symmetric keys of at least 112 bits in length. |
Requirement: R-25401
|
The VNF MUST use asymmetric keys of at least 2048 bits in length. |
Requirement: R-52060
|
The VNF MUST provide the capability to configure encryption algorithms or devices so that they comply with the laws of the jurisdiction in which there are plans to use data encryption. |
Requirement: R-83500
|
The VNF MUST provide the capability of allowing certificate renewal and revocation. |
Requirement: R-29977
|
The VNF MUST provide the capability of testing the validity of a digital certificate by validating the CA signature on the certificate. |
Requirement: R-24359
|
The VNF MUST provide the capability of testing the validity of a digital certificate by validating the date the certificate is being used is within the validity period for the certificate. |
Requirement: R-39604
|
The VNF MUST provide the capability of testing the validity of a digital certificate by checking the Certificate Revocation List (CRL) for the certificates of that type to ensure that the certificate has not been revoked. |
Requirement: R-75343
|
The VNF MUST provide the capability of testing the validity of a digital certificate by recognizing the identity represented by the certificate - the “distinguished name”. |
Requirement: R-49109
|
The VNF or PNF MUST support HTTPS using TLS v1.2 or higher with strong cryptographic ciphers. |
Requirement: R-41994
|
The VNF MUST support the use of X.509 certificates issued from any Certificate Authority (CA) that is compliant with RFC5280, e.g., a public CA such as DigiCert or Let’s Encrypt, or an RFC5280 compliant Operator CA. Note: The VNF provider cannot require the use of self-signed certificates in an Operator’s run time environment. |