Using LSMs to Strengthen Access Control of Applications that use hostPath in Kubernetes Clusters
This paper presents a methodology to enhance the security of Kubernetes clusters using hostPath volumes, a feature that introduces considerable risks due to direct host access. Our approach leverages Linux Security Modules (LSMs) to enforce access control between workloads and host nodes, aligning with Zero Trust principles. The proposed solution is demonstrated through integration with the SPIFFE CSI Driver within the SPIRE framework. Experimental results show that, among various performance metrics, only the SPIRE Agent’s identity synchronization latency increased notably, around 29.68%. While this overhead appears significant, it may be acceptable in less time-sensitive scenarios, particularly when balanced against the improved security posture achieved.
Authors
- Luciana Maria Malosá Sampaio (ORCID: https://orcid.org/0000-0002-0110-7710)
- Reinaldo Gomes (ORCID: https://orcid.org/0000-0002-5352-0830)
- Ronaldo Medeiros
- Raphael Agra
Institutions
- Faculdades Guarulhos (BR)
Publication Details
- Published
- 2025-09-01
- DOI
- https://doi.org/10.5753/sbseg.2025.11402
- Primary Topic
- Access Control and Trust
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Empresa Brasileira de Pesquisa e Inovação Industrial