Introduction
In cloud computing, trust is often treated as a static social contract rather than a verifiable technical state. Traditional Remote Attestation (RA) methods typically verify the binary image of an application before execution. However, this "all-or-nothing" approach fails to account for runtime exploits or the complex, multi-layered nature of Platform-as-a-Service (PaaS) and Software-as-a-Service (SaaS) environments. To bridge this "trust gap," this paper introduces the Trusted Bytecode Virtual Machine Module (TBVMM), a system that embeds dynamic trust mechanisms directly into the language runtime.
System Architecture and Methodology
The TBVMM operates within a Bytecode Virtual Machine (BVM), such as the Java Virtual Machine (JVM). By positioning the security module at the runtime layer, the system gains a unique vantage point to monitor application behavior that is otherwise opaque to the underlying operating system.
The core of TBVMM's trust calculation relies on two sophisticated mathematical models:
- Bayesian Network Modeling: The system calculates a continuous "trusted-degree" ($T \in [0, 1]$) based on three dimensions: Behavior (TOB), State (TOS), and Policy Confinement (TOP). This moves security beyond binary checks into probabilistic assessment.
- Kalman Filter Integration: To manage runtime uncertainty and the natural "erosion" of trust over time, a Kalman filter is used to predict and correct trust states based on real-time observations.
Additionally, the module utilizes a hardware-based Trusted Platform Module (TPM) for memory shielding, encrypting the BVM’s virtual memory to prevent unauthorized access to runtime data. Security policies are defined using XACML and enforced at both the API and native interface levels.
Performance Evaluation and Key Results
The authors evaluated TBVMM using the Java Grande Benchmarks and the Tomcat servlet container, simulating load with Loadrunner. While the system provides robust security, it introduces a significant "cost of trust."
Key findings include:
- Performance Overhead: When all security features (encryption, monitoring, and attestation) are active, the JVM's performance is reduced to approximately 40% of its baseline speed.
- Memory Throughput: The Encryption Module (EM) significantly impacts data operations, roughly halving the read/write performance across various data structures like linked lists and arrays.
- Scalability: Stress testing revealed that while a standard JVM handles up to 800 virtual users gracefully, the TBVMM-enabled JVM experiences a sharp spike in response time after 600 users, indicating a lower ceiling for concurrent processing.
- Risk Detection: Despite the overhead, the Trusted-Degree Calculator (TDC) proved highly effective, identifying significantly more potential risks over a 13-hour window compared to a baseline system.
Conclusion
The TBVMM represents a significant step toward dynamic, fine-grained trust in the cloud. By treating the virtual machine as the "root of trust" for the application layer, it addresses the limitations of static attestation. However, the 60% performance penalty remains a substantial barrier to commercial adoption. Future research will focus on performance optimization, more efficient isolation mechanisms, and extending the model to other runtimes like the .NET Common Language Runtime (CLR).
Summary updated