Secure Your Containers

Maintaining the integrity of cloud containers is critical

Development and deployment of container-based software has become a popular movement in technology. Docker, and container technology in general, is redefining cloud computing and offers significant benefits to developers and companies, including efficiency, cost savings, consistency, reliability and scalability for the entire DevOps processes. However, for enterprises running sensitive applications at scale using Docker, securing and maintaining the integrity of cloud containers is a critical aspect of DevOps.

A new approach proving effective is to run the cloud containers in a trusted environment, also known as a secure enclave, protected by hardware such as Intel SGX or AMD SEV. The secure enclave technology removes the risk associated with trusting the infrastructure or a user. Even if the infrastructure is comprised or the root user is hacked, the application remains secure.

Here is an illustration to better understand why this is important. An employee, Bill has decided to roll out a hotel reservation website using Kubernetes to scale and handle peak loads. Since the website will also collect guests’ personal information, security is a prime concern for Bill. Bill reaches out to Lori, the CISO, with a plan for security that includes database encryption and TLS.

Lori offers the tough question: “What about data in use?” She knows that even if data is carefully safeguarded while at rest and when exchanged over secure channels such TLS, data gets decrypted for use in memory, making software containers a good attack target for hackers in the cloud.

Bill does his homework and decides that running securitycritical services in Intel SGX secure enclaves is the only way to satisfy Lori’s security requirements. However, this also introduces various challenges to system administrators and developers:

  • Since running in Intel SGX involves making OCALLS (a new set of hardware instructions), instead of standard system calls, the applications need to be heavily refactored. This is almost impossible if applications are written in popular programming languages such as Java or Python.
  • Simply running an application (or its sensitive parts) within an enclave is not entirely sufficient. To fully utilize the security guarantees of Intel SGX, the user must also verify the integrity of the application, including whether it is running unmodified inside a secure enclave. Intel provides a way for users to achieve this using remote attestation. The remote attestation flow is complex, depends on the external Intel Attestation Service (IAS), and requires modifications to the application setup.
  • When running applications at scale, it becomes difficult to track the attestation status of every instance and apply software patches.

The security guarantees delivered by Intel SGX secure enclaves are promising, but by themselves introduce a level of cost and complexity. A new technology called runtime encryption is proving to be a successful approach to addressing these challenges, runtime encryption platform, which when combined with Intel SGX secure enclaves enables containers to be securely executed inside Intel SGX secure enclaves without the cost and complexity of using Intel SGX alone.

Runtime encryption’s approach is to decrypt and analyze data only when it is within a secure enclave protected by hardware technologies such as Intel SGX or AMD SEV. This new technology enables software to safely run in a secure enclave, creates keys to decrypt data, runs the analysis, and encrypts the result.

Other than runtime encryption, there are practically no solutions available which let organizations run containers in the cloud securely, while adhering to regulations and privacy. Runtime encryption can help organizations meet compliance requirements for regulations such as GDPR, California Consumer Privacy Act, and other similar regulations.

Runtime encryption also provides fine-grained access controls for the datasets in use in containers. With this new approach, the aggregate data is never exposed outside the secure enclave. Private analytics with runtime encryption are an easy to use, efficient, and offer a scalable approach which is critical for deploying containers.

Also, with runtime encryption, organizations can monitor the lifecycle of secure enclaves that run the container applications. Runtime encryption provides features such remote attestation, geolocation enforcement, DRM and secret injections. The platform seamlessly integrates with existing container orchestration technologies, including Kubernetes, Docker Swarm and OpenShift.

Containerization offers significant advantages to organizations, but only if they can keep their cloud data safe. Secure enclaves now combined with runtime encryption technology offer an effective, easy-to-use and low-cost solution to what was previously an unaddressed issue of migrating to the cloud.

This article originally appeared in the March 2020 issue of Security Today.

Featured

  • Tradeshow Work Can Be Fun

    While at ISC West last week, I ran into numerous friends and associates all of which was a pleasant experience. The first question always seemed to be, “How many does this make for you?” Read Now

    • Industry Events
    • ISC West
  • New Report Says 1 in 5 SMBs Would Be Forced to Shutter After Successful Cyberattack

    Small and medium-sized businesses (SMBs) play a crucial role in the U.S. economy, making up 99.9% of all businesses and contributing to half of the nation's GDP. However, these vital economic growth drivers face an escalating threat—cyberattacks that could put them out of business. Read Now

  • The Yellow Brick Road

    The road to and throughout Wednesday's and Thursday's ISC West was crowded but it was amazing. Read Now

    • Industry Events
    • ISC West
  • An Inside Look From Napco at ISC West

    Get a look into the excitement at ISC West 2025 from Napco. Hear from some of their top-tech executives live from the show floor. Read Now

    • Industry Events
    • ISC West
  • Upping the Ante

    I am not a betting man in terms of cards, dice, blackjack or that wheel with the black marble racing around the circumference of a spinning wheel, but I would bet on the success of ISC West this year. Read Now

    • Industry Events
    • ISC West

New Products

  • Unified VMS

    AxxonSoft introduces version 2.0 of the Axxon One VMS. The new release features integrations with various physical security systems, making Axxon One a unified VMS. Other enhancements include new AI video analytics and intelligent search functions, hardened cybersecurity, usability and performance improvements, and expanded cloud capabilities

  • Camden CV-7600 High Security Card Readers

    Camden CV-7600 High Security Card Readers

    Camden Door Controls has relaunched its CV-7600 card readers in response to growing market demand for a more secure alternative to standard proximity credentials that can be easily cloned. CV-7600 readers support MIFARE DESFire EV1 & EV2 encryption technology credentials, making them virtually clone-proof and highly secure.

  • Camden CM-221 Series Switches

    Camden CM-221 Series Switches

    Camden Door Controls is pleased to announce that, in response to soaring customer demand, it has expanded its range of ValueWave™ no-touch switches to include a narrow (slimline) version with manual override. This override button is designed to provide additional assurance that the request to exit switch will open a door, even if the no-touch sensor fails to operate. This new slimline switch also features a heavy gauge stainless steel faceplate, a red/green illuminated light ring, and is IP65 rated, making it ideal for indoor or outdoor use as part of an automatic door or access control system. ValueWave™ no-touch switches are designed for easy installation and trouble-free service in high traffic applications. In addition to this narrow version, the CM-221 & CM-222 Series switches are available in a range of other models with single and double gang heavy-gauge stainless steel faceplates and include illuminated light rings.