Paper Files / Cloud
Cryptographically Verifiable Architecture for Detection and Mitigation of Lateral Movement in Multi-Cloud Environments Based on Enriched Telemetry and Formal Zero Trust Modeling
Cryptographically Verifiable Architecture for Detection and Mitigation of Lateral Movement in Multi-Cloud Environments Based on Enriched Telemetry and Formal Zero Trust Modeling ABSTRACT: The massive adoption of multi-cloud and hybrid environments has significantly expanded the organizational attack surface, introducing complex vectors of lateral movement, identity abuse, and exploitation of misconfigurations. Recent incidents involving compromise of privileged credentials, exploitation of management APIs, and misuse of federated identity services highlight structural limitations in traditional monitoring and control approaches. In this work, we propose a cryptographically verifiable architecture for the detection and mitigation of lateral movement in multi-cloud environments, grounded in enriched telemetry, formal zero trust modeling, and continuous verification of policy integrity. Our methodology combines (i) normalized aggregation of multi-provider logs (AWS, Azure, GCP), (ii) construction of dynamic identity-resource graphs, (iii) anomaly detection based on robust statistical learning, and (iv) a cryptographic policy attestation mechanism using incremental integrity proofs. We evaluate the solution in an experimental environment with 1,200 virtual machines, 4 Kubernetes clusters, and 3 cloud providers, using synthetic traces and real data from public benchmarks. The results indicate a 37.4% reduction in mean time to detect (MTTD) and a 42.1% reduction in mean time to respond (MTTR) compared with traditional SIEMs, while maintaining a false positive rate below 3.2% (standard deviation 0.6). We also demonstrate that the asymptotic complexity of the event correlation mechanism is O(|E| log |V|), enabling scalability for environments with more than 10^7 daily events. The proposed approach establishes a formal basis for verifiable cloud monitoring and contributes to the advancement of identity-driven secure architectures.
- Introduction
Cloud computing has evolved from a predominantly centralized model to distributed multi-cloud and hybrid architectures, in which organizations combine services from multiple providers (e.g., AWS, Microsoft Azure, Google Cloud Platform) with on-premises infrastructure. This heterogeneity significantly expands the attack surface and introduces unprecedented complexities in identity governance, policy enforcement, and operational visibility.
Recent reports from the Verizon Data Breach Investigations Report (DBIR) indicate that more than 45% of breaches in 2023 involved abuse of valid credentials. Incidents such as the compromise of environments through exploitation of exposed credentials in public repositories (e.g., CVE-2022-22965 exploited as an initial vector followed by pivoting in the cloud) demonstrate the effectiveness of techniques cataloged in MITRE ATT&CK, such as T1078 (Valid Accounts), T1098 (Account Manipulation), and T1021 (Remote Services). In addition, misconfigurations in storage services (e.g., exposed S3 buckets) continue to be systematically exploited.
The central problem we address can be formalized as the difficulty of detecting, in near real time, sequences of distributed and seemingly legitimate actions that, when correlated, constitute malicious lateral movement in multi-cloud environments. Log fragmentation, format diversity, and the absence of a formal trust model render traditional SIEM mechanisms insufficient.
We formulate the following research questions:
RQ1: How can trust and dependency relationships between identities and resources in multi-cloud environments be formally modeled so as to enable efficient anomaly detection?
RQ2: Is it possible to build a cryptographic mechanism for policy integrity verification that scales to millions of daily events?
RQ3: What is the quantitative impact of an architecture based on dynamic graphs and enriched telemetry on MTTD and MTTR?
Our contributions are:
C1: We propose a formal multi-provider identity-resource graph model with adaptive centrality metrics for privilege abuse detection.
C2: We develop an incremental cryptographic attestation mechanism for continuous verification of access policy integrity.
C3: We implement and experimentally evaluate the architecture in a realistic multi-cloud environment, demonstrating statistically significant gains in detection and response.
The remainder of this article is organized as follows: Section 2 reviews background and related work; Section 3 formalizes the threat model; Section 4 describes the proposed methodology; Section 5 presents implementation details; Section 6 discusses the experimental evaluation; Section 7 analyzes implications and limitations; and Section 8 concludes the paper.
- Background and Related Work
Formally, we model a multi-cloud environment as a directed graph $G = (V, E)$, where $V$ represents entities (users, roles, services, resources) and $E$ represents access or dependency relationships. Each edge $e_{ij}$ has a weight $w_{ij}$ associated with the conditional probability of legitimate access.
The literature can be categorized into three main classes:
-
Traditional rule-based SIEMs: They rely on syntactic event correlation. Limitation: high false-positive rate and low adaptability.
-
Machine learning-based solutions: They use clustering or anomaly detection (e.g., Isolation Forest, Autoencoders). Limitation: lack of explicit policy modeling and reduced explainability.
-
Zero Trust architectures (NIST SP 800-207): They focus on continuous identity verification. Limitation: they rarely incorporate formal cryptographic verification.
Recent work explores cloud attack graphs, but often assumes a single-provider environment or ignores semantic inconsistencies between APIs.
We observe critical gaps: (i) absence of a unified mathematical model for multiple providers; (ii) lack of a cryptographic proof mechanism for policy integrity; (iii) experimental evaluations limited to synthetic datasets.
- Threat Model and Problem Formalization
We assume an adversary $\mathcal{A}$ with the following capabilities:
- Initial compromise of valid credentials.
- Ability to invoke legitimate APIs.
- Partial knowledge of the environment topology.
We do not assume compromise of the provider control plane.
We define lateral movement as a sequence ${e_1, e_2, …, e_k}$ such that:
$$ \exists v_i, v_j \in V : \text{reach}(v_i, v_j) = 1 \land P(\text{legitimate}) < \theta $$
where $\theta$ is an adaptive threshold.
The objective is to detect sequences whose joint probability:
$$ P(\mathcal{S}) = \prod_{i=1}^{k} P(e_i) $$
is below a dynamic threshold $\lambda$.
The desired security properties include:
- Completeness of Detection: High probability of identifying malicious sequences.
- Low False Positive: $FP < 5%$.
- Policy Integrity: Verifiable proof that policies were not improperly altered.
- Proposed Methodology
Our architecture consists of four main modules:
- Multi-Cloud Collector: Normalizes logs (CloudTrail, Azure Activity Logs, GCP Audit Logs).
- Dynamic Graph Constructor: Updates $G_t$ in near real time.
- Statistical Detection Engine: Computes anomalies based on centrality and entropy.
- Cryptographic Attestation Module: Generates chained hashes of policies.
Algorithm 1: Dynamic Graph Update
Input: Event e, Graph G_t
Output: G_{t+1}
1: Extract source and destination entities
2: If node does not exist, add to V
3: Update or create edge e_{ij}
4: Update weight w_{ij} via exponential moving average
5: Return G_{t+1}
Complexity: $O(\log |V|)$ using balanced structures.
Algorithm 2: Anomalous Sequence Detection
Input: Sequence S, threshold λ
Output: Boolean alert
1: Compute P(S)
2: If P(S) < λ then
3: Generate alert
4: Else
5: Ignore
The attestation mechanism uses hash chaining:
$$ H_t = H(H_{t-1} || \text{Policy}_t) $$
Ensuring incremental integrity with $O(1)$ complexity per update.
- Implementation
We implemented the system using:
- Go backend for event ingestion.
- Apache Kafka for streaming.
- Neo4j for graph storage.
- Prometheus and Grafana for metrics.
- Cryptographic module based on SHA-256 and HMAC.
We tested scalability with up to $10^7$ events/day. The architecture was deployed on Kubernetes clusters (v1.28) with horizontal autoscaling.
Trade-offs included latency versus consistency: we adopted eventual consistency for graph updates, reducing average latency to 240 ms per batch of 1,000 events.
- Experimental Evaluation
Environment
- 1,200 VMs (m5.large, Standard_D4s_v5, e2-standard-4)
- 4 Kubernetes clusters
- 3 cloud providers
- 30 days of data collection
Metrics
- MTTD
- MTTR
- False Positive Rate
- Computational overhead
Results
| Metric | Traditional SIEM | Proposed |
|---|---|---|
| MTTD | 18.4 min | 11.5 min |
| MTTR | 42.7 min | 24.7 min |
| FP | 8.9% | 3.2% |
| CPU Overhead | 12% | 16% |
We observed a 37.4% reduction in MTTD (p < 0.01) and a 42.1% reduction in MTTR. The FP standard deviation was 0.6%.
Sustained throughput was 115,000 events/minute.
- Discussion
The results indicate that dynamic graph-based modeling substantially improves the ability to identify distributed privilege abuse. The reduction in false positives stems from the consideration of structural context, absent in purely syntactic approaches.
Limitations include dependence on log quality and possible evasion through low-and-slow attacks. The insider threat with global administrative privileges remains challenging.
From a practical standpoint, the architecture is compatible with NIST CSF and MITRE ATT&CK frameworks, facilitating enterprise integration.
- Conclusion and Future Work
We presented a verifiable architecture for detecting lateral movement in multi-cloud environments. We demonstrated relevant quantitative gains in MTTD and MTTR while maintaining a low false-positive rate.
As future work, we intend to integrate deep learning techniques for attack-path prediction and explore zero-knowledge proofs for decentralized attestation.
REFERENCES
[1] S. Subashini and V. Kavitha, “A survey on security issues in service delivery models of cloud computing,” J. Netw. Comput. Appl., 2011.
[2] P. Mell and T. Grance, “The NIST Definition of Cloud Computing,” NIST SP 800-145, 2011.
[3] NIST, “Zero Trust Architecture,” SP 800-207, 2020.
[4] Verizon, “Data Breach Investigations Report,” 2023.
[5] MITRE, “ATT&CK Framework,” 2023.
[6] M. Almorsy et al., “Cloud computing security,” IEEE CLOUD, 2016.
[7] R. Buyya et al., “Cloud computing and emerging IT platforms,” Future Gener. Comput. Syst., 2009.
[8] C. Tankard, “Advanced persistent threats and how to monitor,” Netw. Secur., 2011.
[9] S. Roschke et al., “Intrusion detection in the cloud,” ICNS, 2009.
[10] OWASP, “Cloud Security Top 10,” 2022.
[11] A. Singhal et al., “Attack graphs for enterprise security,” NIST, 2011.
[12] G. Ateniese et al., “Provable data possession,” CCS, 2007.
[13] M. Newman, “Networks: An Introduction,” Oxford, 2010.
[14] T. Kim et al., “Graph-based anomaly detection,” IEEE S&P, 2018.
[15] J. Sherry et al., “Making middleboxes someone else’s problem,” SIGCOMM, 2012.
[16] Amazon Web Services, “CloudTrail Documentation,” 2024.
[17] Microsoft, “Azure Monitor Logs,” 2024.
[18] Google, “Cloud Audit Logs Overview,” 2024.
[19] S. Pearson, “Privacy, security and trust in cloud computing,” Privacy Secur. Cloud Comput., 2013.
[20] ENISA, “Cloud Security Risk Assessment,” 2022.