| 90 | 0 | 402 |
| 下载次数 | 被引频次 | 阅读次数 |
云原生微服务已广泛应用于各个领域,但是目前其内部容器的安全防御功能欠缺,一旦某个微服务遭到恶意攻击,关联的其他微服务都存在被攻击的风险,可能导致整个系统崩溃。仅靠外部传统防火墙的单一安全防护策略,不能满足云原生微服务的差异化安全要求。针对云原生微服务面临的安全问题,设计实现了面向云原生微服务的安全防御方法(Security Defense Method, SDM)和功能模块,提出了通过构建微服务的多层综合级联关系矩阵,实现微服务之间的安全联动。若检测发现安全异常的攻击行为,则根据微服务数据架构的多层综合级联关系,查找并通知关联的其他同类云原生容器的微服务,并启动级联自陷熔断,阻止恶意安全攻击请求而不会影响正常功能,实现保障云原生微服务安全的目标。以此方法为基础,在云原生容器内部的原始架构上新增安全防御模块及其6个子模块。实验结果表明,该方法显著提升了云原生微服务的安全性,对于抵抗跨站脚本(Cross-Site Scripting, XSS)攻击、结构化查询语言注入(Structured Query Language Injection, SQLI)攻击、远程代码执行(Remote Code Execution, RCE)攻击和本地文件包含(Local File Inclusion, LFI)攻击等均有明显效果。为云原生微服务的安全防护提供了一种新方法,对保护企业应用和数据安全具有重要的实际价值和意义。
Abstract:Cloud native microservices have been widely applied in various fields. However, the current security defense capabilities of internal containers are lacking. Once a single microservice is subjected to malicious attacks, other associated microservices are at risk of being attacked, potentially leading to the collapse of the entire system. Relying solely on the security protection strategy of external traditional firewalls cannot meet the differentiated security requirements of cloud native microservices. To address the security issues faced by cloud native microservices, the Security Defense Method(SDM) for cloud native microservices have been designed and implemented. It is proposed that several multi-layer comprehensive cascading relationship matrices of microservices are constructed to achieve security interlinking among microservices.If an attack behavior with abnormal security is detected, the system will identify and notify other related microservices in the same type of cloud native containers based on the multi-layer comprehensive cascading relationship of microservice data and architecture. It will then initiate a cascading self-trapping circuit breaker to block malicious attack requests without affecting normal functionality. Finally, it will achieve the goal of ensuring the security of cloud native microservices.Based on the method, a security defense module and its six sub-modules have been added to the original architecture in cloud native containers. The experimental results demonstrate that the method outstandingly improves the security of cloud native microservices. It has significant effects on resisting Cross-Site Scripting(XSS) attacks, Structured Query Language Injection(SQLI) attacks, Remote Code Execution(RCE) attacks, and Local File Inclusion(LFI) attacks. It provides a new method for security protection of cloud native microservices, which has important practical value and significance for protecting enterprise applications and data security.
[1] 刘荫铭.计算机安全技术[M].北京:清华大学出版社,2000.
[2] 俞能海,郝卓,徐甲甲,等.云安全研究进展综述[J].电子学报,2013,41(2):371-381.
[3] 冯登国,张敏,张妍,等.云计算安全研究[J].软件学报,2011,22(1):71-83.
[4] 唐文宇.面向SOA架构微服务的安全系统的设计与实现[D].南京:南京大学,2016.
[5] SUN Y Q,NANDA S,JAEGER T.Security-as-a-Service for Microservices-based Cloud Applications[C]//2015 IEEE 7th International Conference on Cloud Computing Technology and Science (CloudCom).Vancouver:IEEE,2015:50-57.
[6] TORKURA K A,SUKMANA M I H,MEINEL C.Integrating Continuous Security Assessments in Microservices and Cloud Native Applications[C]//Proceedings of 10th IEEE/ACM International Conference on Utility and Cloud Computin.Austin:ACM,2017:171-180.
[7] YARYGINA T,BAGGE A H.Overcoming Security Challenges in Microservice Architectures[C]// 2018 IEEE Symposium on Service-Oriented System Engineering (SOSE).Bamberg:IEEE,2018:11-20.
[8] KUMAR S,KARNANI G,GAUR M S,et al.Cloud Security with Encryption Using Hybrid Algorithm and Secured Endpoints[C]// 2021 2nd International Conference on Intelligent Engineering and Management (ICIEM).London:IEEE,2021:599-604.
[9] RADFORD A,NARASIMHAN K,SALIMANS T,et al.Improving Language Understanding by Generative Pre-training[J].Computation and Language,2017,4(6):212-220.
[10] LEWIS P,PEREZ E,PIKTUS A,et al.Retrieval-augmented Generation for Knowledge-intensive NLP Tasks[C]//Proceedings of the 34th International Conference on Neural Information Processing Systems.Vancouver:Curran Associates Inc.,2020:9459-9474.
[11] NAGEL M,FOURNARAKIS M,AMJAD R A,et al.A White Paper on Neural Network Quantization[EB/OL].(2021-06-15)[2025-02-03].https://arxiv.org/abs/2106.08295.
[12] WEISS G.Multiagent Systems:A Modern Approach to Distributed Artificial Intelligence[M].Cambridge:MIT Press,2000.
基本信息:
DOI:10.20149/j.cnki.issn1008-1739.2025.04.006
中图分类号:TP393.08
引用信息:
[1]刘永胜,李湛,田辉,等.面向云原生微服务的安全防御方法[J].计算机与网络,2025,51(04):347-356.DOI:10.20149/j.cnki.issn1008-1739.2025.04.006.
2025-08-18
2025-08-18