xRAC: Execution and Access Control for Restricted Application Containers on Managed Hosts

Frederik Hauser, Mark Schmidt, Michael Menth · DOI

TL;DR

xRAC is a framework that combines Docker containers with the 802.1X authentication standard to ensure that only authorized users can run verified applications. By assigning each container a unique IPv6 address, xRAC allows Software-Defined Network (SDN) controllers to automatically grant specific network permissions to an application the moment it starts.

What Problem Does This Paper Address?

In managed environments—like corporate offices or university labs—administrators face a constant tug-of-war between security and usability. Users need to run specific applications, but those applications often require access to sensitive internal servers or the open internet.

Traditional network security relies on IP-based firewalls or Deep Packet Inspection (DPI). However, these methods are failing for two reasons:

  1. Encryption: With the rise of TLS, firewalls can no longer "see" inside packets to identify which application is talking.
  2. Shared Identities: Multiple applications on a single host usually share one IP address, making it impossible for a firewall to distinguish between a "trusted" admin tool and a "risky" web browser.

The authors identify a gap: there is no standard way to verify the integrity of an application and the identity of the user before granting that specific application network access.

Methods

The authors propose xRAC (Execution and Access Control for Restricted Application Containers). Their approach retools existing enterprise standards for the container age:

  • Restricted Application Containers (RACs): Applications are packaged as Docker images containing only the necessary binaries and configurations.
  • 802.1X for Apps: They adapt the 802.1X framework—traditionally used to gatekeep physical Ethernet ports or Wi-Fi—to gatekeep container execution.
  • Supplicant (802.1X CS): A Docker authorization plugin on the host.
  • Authenticator (802.1X CA): An application running on an SDN controller.
  • Authentication Server (802.1X AS): A standard RADIUS server.
  • EAP-over-UDP (EAPoUDP): Since standard 802.1X (EAPoL) works at Layer 2, it’s hard to use for individual apps. xRAC uses EAPoUDP to allow the authentication handshake to happen over standard IP networking.
  • Unique IPv6 Identity: Every RAC is assigned its own global IPv6 address. When the RADIUS server authorizes a user to run a specific RAC, it sends "Authorization Data" (CAZD) to the SDN controller. The controller then programs the network switches to allow traffic from that specific IPv6 address to reach specific destinations.

Datasets

The paper does not use a traditional machine learning dataset. Instead, the authors built a comprehensive testbed environment to validate their architecture:

  • Virtualization: KVM/QEMU hypervisors running Ubuntu 17.04 VMs.
  • Containerization: Docker version 17.05.
  • Networking: Open vSwitch (OVS) controlled by the Ryu SDN framework.
  • Authentication: FreeRADIUS for the backend server.
  • Test App: A wget container used to simulate traffic to "protected" and "public" web servers.

Key Insights and Ideas

  • Integrity Matters: xRAC doesn't just check who you are; it checks what you are running. The system calculates a SHA256 checksum of the container image and sends it to the RADIUS server. If the image has been tampered with or is out of date, it won't start.
  • Network-Aware Execution: In most systems, the OS starts an app, and then the app tries to navigate the network. In xRAC, the network "permits" the app to exist. The container won't even launch until the SDN controller has confirmed it has a place for that container's traffic.
  • Standard Reuse: By using RADIUS and 802.1X, xRAC can be integrated into existing corporate identity providers (like Active Directory) without a complete infrastructure overhaul.

Key Results

The authors successfully demonstrated a "proof of concept" that enforces fine-grained security:

  • Successful Isolation: They proved that a managed host could be blocked from a protected server while a RAC running on that same host was granted access.
  • Performance Overhead: Security comes at a cost of startup time.
  • A standard wget container starts in ~0.6 seconds.
  • An xRAC-protected wget container takes ~1.51 seconds.
  • Integrity Check Scaling: The integrity check (hashing) is the main bottleneck for large apps. While a 6MB wget image adds only 0.12s of hashing time, a 880MB Chrome image takes 3.2 seconds to verify.

Limitations and Future Work

  • The Trust Anchor: xRAC assumes the host's OS and Docker daemon are "managed" and trusted. If the host OS is compromised, the 802.1X CS plugin could be bypassed.
  • Resource Sharing: Encapsulating apps in RACs makes it harder to share local files or hardware (like webcams) between the host and the container, which might be cumbersome for some users.
  • Scaling the Hashing: As noted in the results, verifying massive container images (multi-gigabyte) during every launch could lead to frustrating delays for users. Future work might look at caching integrity results or using Merkle trees for faster verification.

Summary updated

BibTeX
@misc{hauser2019xrac,
  author = {Frederik Hauser and Mark Schmidt and Michael Menth},
  title = {{xRAC: Execution and Access Control for Restricted Application Containers on Managed Hosts}},
  year = {2019},
  eprint = {1907.03544},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.03544},
}
Figure