5GhOSTS explained to the tax payer

23 Aug 2021


In 2016, 95% of the world’s population and 85% of people in the least developed countries were covered by a mobile-cellular signal. At the end of 2020, 2G and 3G has been largely replaced by 4G but the increase in coverage has slowed down. For example, coverage in 2020 was only 1.3% higher than in 20191. The hope is that roll-out of 5G networks will again speed up the increase in global coverage but more importantly bring Internet to currently underserved rural populations as well as the least developed countries so that the percentage of people using the Internet will grow as well.

5G networks will also support various novel applications such as vehicle-to-infrastructure applications and remote surgery. Consider, for example, urgent life-saving manipulations by a surgeon that are performed by a robotic arm to a patient in an ambulance. Another example is the automated detection of a car accident event that is immediately followed by putting approaching vehicles to a safe, concerted stop. These applications have ultra-low-latency and ultra-high-reliability requirements that come from safety and health regulations as well as contractual performance obligations. For example, user actions and sensor data (such as surgery manipulations and detection of car accidents) must always be responded correctly to in a timely manner. When users and devices should interact in real-time, end-to-end latencies should even be below 3 milliseconds.

The 5GhOSTS project aims to improve the security of container-based cluster orchestration in the edge of 5G networks. Before explaining the security challenges and how 5GhOSTS intends to tackle these challenges, this blog article will first explain what is meant with “container-based cluster orchestration in the edge”.

Container-Based Cluster Orchestration in the Edge

Edge computing refers to the placement of application components on distributed, small-sized data centers that have been purposefully built nearby 5G base stations in order to meet ultra-low end-to-end latencies. Edge computing depends also on the cloud computing2 paradigm to scale application components in order to meet performance and availability requirements. By relying on cloud computing, application components can be easily instantiated across such distributed data centres in an automated and cost-effective manner. The technological underpinnings to integrate the 5G network architecture with such cloud computing capabilities are based on a technology called network virtualization 3.

Containers are the latest virtualization technology that has drastically improved the speed and cost of deploying and managing application components in the cloud. More specifically, the concept of a container and its efficient implementation has proven to be a radical improvement of the reusability, portability and manageability of application components. This observed gain in reusability, portability and manageability is very similar to the well-known physical containers that are used in the world-wide shipping and transport of goods 4.

Container-based cluster orchestrators have been incepted to deploy and manage whole distributed applications as sets of containers that run across multiple data centers. Their main functionalities are the automated management of virtual compute and network infrastructure for running the clusters, setting up of a container network with support for service discovery and fine-grained security firewalls, as well as the automated deployment and management of various types of workloads such as web services, databases and data processing jobs, all uniformly running as portable containers.

Very quickly after the breakthrough of containers, the container orchestration framework Kubernetes has become the de-facto standard for deploying and managing portable container-based clusters. Kubernetes has also become the preferred cluster orchestrator for companies that work with two or more cloud providers in order to realize portable, multi-cloud applications. Kubernetes started as an open-source project that is partially based on Google’s internal cluster orchestrator and later has been donated to the Cloud Native Computing Foundation5.

The adoption of Kubernetes has skyrocketed in both the private cloud6 and public cloud7. According to a recent survey of 500 relevant IT professionals8, its adaption rate has spiked during the Corona pandemic: 68% of the respondents said to have increased their use of Kubernetes during the pandemic in order to achieve faster deployment cycles of their new applications. A quarter of respondents said that they achieved a cost reduction of at least 30% on an annual basis as a result of using Kubernetes. Moreover, Kubernetes has increasingly been used to manage compute-intensive workloads. For example, 84% of respondents have used a Kubernetes environment to test or develop AI models and applications. Kubernetes has also been tested for deploying applications across distributed edge sites of the 5G network and it has been put forward as a new foundation for the virtual infrastructure management layer of existing management and orchestration architectures for telecommunication networks.

Security in Kubernetes

A weakness of Kubernetes is however security. In the above survey, 54 % of the respondents said that security is the greatest challenge for their organization. Security is difficult to handle because it is not implemented by a single system component but by multiple system layers (cloud, clusters, containers, and application code) that each require specific security policies and specific security controllers for enforcing these policies. As a result, cross-layer inconsistencies may arise due to conflicting security policies and the lack of coordination among security controllers. This is also reflected in a recent report by StackRox9 that found that misconfigurations are by far the most common cause of Kubernetes-related incidents. The amount of security policies is also unfortunately huge as container-based clusters are multi-tenant systems on top of which multiple human administrators deploy and manage different applications that need to be isolated from each other.

Critical infrastructures that are essential to society – such as telecommunication networks – essentially require a system architecture where the number of mutually trusted components is kept as small as possible and the outer shell around these trusted components is watertight. Realizing such a system architecture on top of the relatively new and fast evolving Kubernetes project is challenging. This is because Kubernetes is composed of and depends on many moving parts that expose specific web services or configuration facilities to external users. The more such accessible and evolvable parts exist, the larger its security attack interface becomes. Moreover, security mechanisms such as encryption, authentication, authorization, and confidential computing cause a non-negligible performance overhead. Designing appropriate security techniques that offer the right balance between security and performance is therefore important in the era of contractual service-level agreements, but this is especially needed in 5G networks.

To harness the security of Kubernetes with watertight defences that have little performance overhead, 5GhOSTS is creating novel technological building blocks for increasing the confidentiality, availability and integrity of commonly used components in the Kubernetes eco-system . These building blocks are based on well-founded methods such as trusted computing, secure programming languages and formal verification. 5GhOSTS also conducts legal research with a focus on privacy as defined by telecommunication law so that these components can be engineered with privacy in mind.

5GhOSTS has formed an international and interdisciplinary research group of four Early-Stage-Researchers (ESRs) that work towards this goal under supervision of senior researchers from KU Leuven and Ericsson. As 5GhOSTS is an International Training Network project from the Horizon 2020 Marie Skłodowska-Curie Action programme, it also comprises an ambitious training program so that the ESRs will develop transferable skills, both soft and technical skills that will uplift their future careers in the academic and industry sector. This addresses the growing need of the EU economy for young researchers with a strong profile (technical, legal and economic) in the 5G telecommunication domain.

ESR Projects

The final part of this blog article will introduce the different ESR projects in more detail and what are the inter-correlations between the different projects. Finally, we reflect on the first half of the project that has been conducted almost entirely under the full force of the Corona pandemic.

Gianluca Scopelliti is tackling the integrity protection of container images. Container images can be made corrupt, for instance, by man-in-the-middle attacks that inject malicious code into the image while it is being sent over the network. More generally, it needs to be ensured that the integrity and confidentiality of the container image is not damaged during the container image life cycle, which encompasses multiple phases such as development, image building, image distribution, and container execution. Despite the ample existing security measures (image scanning, digital signing and hashing, trusted execution environments ) there still remains a small window during the container execution phase when the container images are left vulnerable. Gianluca tackles this challenge by using and combining trusted computing and remote attestation techniques in a novel way. Moreover, approaches to interconnect enclave applications in heterogeneous and distributed trusted computing environments are not well understood. Gianluca will therefore further develop the concept of authentic execution so that it becomes applicable to distributed container-based applications. Authentic execution is a notion of end-to-end security and secure I/O where the overall application’s behaviour depends solely on trusted code executed within a hardware-protected memory segment and authenticated inputs.

Gerald Budigiri is focusing on inter-container communication that occurs at the level of the network between containers. This network is set up and managed by external system components that interact with Kubernetes through a standardized interface. Gerald has evaluated the performance overheads of these external components with a more detailed assessment of the overhead of the aforementioned security policies that restrict inter-container communication by means of fine-grained firewall rules. He has also analysed the main security threats and vulnerabilities of such security policies. With regard to the performance evaluation, no significant performance overhead has been observed, which means that network-level security policies are suitable for ultra-low-latency applications. Regarding the analysis of security threats the main problem, as already noted by the above mentioned StackRox report, is that of misconfiguration. In view of this threat, Gerald is developing a verification method that will not only verify policy correctness and compliance but also verify against cross-layer inconsistencies between different system layers of the Kubernetes stack. Different trust models may apply with respect to the extent how different system layers in the Kubernetes stack trust each other. It is important that the verification method can operate under such different trust models.

Merve Turhan aims to improve the security of commonly used system and application components in 5G applications by applying and combining techniques for strong software isolation mechanisms, safe programming languages and formal verification. As such, Merve will incept a development methodology and provide trustworthy software components that are ready to be deployed in existing container-based clusters. Currently, she is looking at low-latency applications that are implemented in systems-oriented programming languages such as C and C++ that do not offer memory-safety, and thus can be exploited by buffer-overflow attacks These attacks submit carefully crafted inputs to an application in order to trick the application to execute arbitrary code or to leak sensitive information. This is especially damaging in multi-tenant applications such as web services where a HTTP request from one user can overwrite or steal data from other users.

Mykyta Petik will ensure compliance of the technological building blocks with the relevant EU legislation on privacy, data protection and security, such as GDPR and the NIS Directive. Any produced results by the other three ESRs will be studied for privacy compliance and potential recommendations to policy-makers and regulators will be formulated and disseminated. One of the findings is that software-defined networks themselves contribute to disruption of privacy in 5G due to their dynamic and flexible nature. Software-defined networks can dynamically re-route user traffic to different data centers in the edge or in the cloud, and together with container-based orchestration it will enable the dynamic provisioning of new data processing functions. In summary, the 5G network and its data processing facilities are not fixed once data is sent from the mobile device of end users. As such privacy compliance cannot be certified once and for all, instead, the container orchestration process and software-defined networks have to guarantee compliance with privacy, data protection, and security requirements in an auditable fashion.

In summary, Kubernetes is being adopted at an increasing rate, resulting in a huge number of Kubernetes deployments world-wide. Kubernetes has however a large security attack interface, which means that it is composed of many system components that expose specific web services or configuration facilities to external users. The more such accessible components exist, the more challenging it becomes to ensure data protection, security and privacy compliance. 5GhOSTS intends to tackle this security problem for 5G networks by means of an inter-disciplinary research group of four PhD students and senior researchers that will provide formally-founded building blocks for common system components of Kubernetes: networking components, container runtime engines, third-party application components. These building blocks must also be engineered with privacy compliance in mind so that legal policies can be enforced in an automated manner. Last but not least, security solutions must be designed without violating performance requirements in order to support envisioned ultra-low-latency applications of 5G networks such as vehicle-to-infrastructure communication and remote surgery.


Resources

  1. United Nations, “Progress of sustainable development goal 9”, visit site ↩

  2. Cloud computing has been initially proposed by the industry as a way to smoothly rent racked computers in a data center on a per-hour basis by means of a web service. In this way, companies can reduce their capital expenses that would be spent on buying computers themselves. Cloud computing also incorporates a mechanism called auto-scaling which automatically adjusts the necessary number of computers and their respective computing speed and memory capacity in function of the average workload of these computers. ↩

  3. Hardware virtualization allows to create a virtual computer on top of a physical computer so that it would appear as a real, fully-functioning computer. Network virtualization entails the creation of a virtualized IP address space within or across physical subnets and setting up the necessary network elements (e.g. routers, gateways, network interfaces) as virtual network functions. Virtual network functions are either implemented within a physical network device (e.g a virtual router runs on top a physical router) or are emulated in software that can be executed on any kind of computer. The main benefit of virtualization is that the resources of a distributed computer infrastructure can be shared cost-effectively among different users who have a lot of flexibility in terms of installed software and required resources without interfering with each other. ↩

  4. Physical containers have the same shape and size so that they can be handled by means of a wide range of harbour cranes and lifts, and transported by different kinds of trucks and ships, no matter what the contents of the containers are. Very similarly, containers for application components can be ran on any kind of computer and operating system and they can be transferred to any computer in the world by means of the same mechanism. ↩

  5. Cloud Native Computing Foundation visit site ↩

  6. Openstack User Surveyvisit site ↩

  7. why-organizations-choose-a-multicloud-strategy visit site ↩

  8. kubernetes adoption survey visit site ↩

  9. State of Container and Kubernetes Report visit site ↩