信息网络安全 ›› 2025, Vol. 25 ›› Issue (3): 438-450.doi: 10.3969/j.issn.1671-1122.2025.03.007

• 理论研究 • 上一篇    下一篇

基于动态异构冗余的非侵入式内生安全微服务模型研究

石磊1,2, 李世博1, 程国振2,3, 高宇飞1,2()   

  1. 1.郑州大学网络空间安全学院,郑州 450002
    2.嵩山实验室,郑州 450052
    3.信息工程大学信息技术研究所,郑州 450007
  • 收稿日期:2024-12-30 出版日期:2025-03-10 发布日期:2025-03-26
  • 通讯作者: 高宇飞 E-mail:yfgao@zzu.edu.cn
  • 作者简介:石磊(1967—),男,河南,教授,博士,CCF高级会员,主要研究方向为信息安全、网络与分布式计算、服务计算与智慧城市|李世博(1998—),男,河南,硕士研究生,主要研究方向为云计算、网络安全|程国振(1986—),男,河南,副教授,博士,主要研究方向为网络空间安全、云计算安全、拟态防御、软件定义网络|高宇飞(1990—),男,河南,副研究员,博士,主要研究方向为人工智能安全、视觉计算、机器学习
  • 基金资助:
    河南省重大科技专项(221100211200);河南省研究生联合培养基地项目(YJS2023JD04);南阳市协同创新重大专项(22XTCX12001);郑州大学高层次人才科研启动基金(32340306)

Research on Non-Intrusive Endogenous Security Microservice Model Based on Dynamic Heterogeneous Redundancy

SHI Lei1,2, LI Shibo1, CHENG Guozhen2,3, GAO Yufei1,2()   

  1. 1. School of Cyber Science and Engineering, Zhengzhou University, Zhengzhou 450002, China
    2. Songshan Laboratory, Zhengzhou 450052, China
    3. Institute of Information Technology, Information Engineering University, Zhengzhou 450007, China
  • Received:2024-12-30 Online:2025-03-10 Published:2025-03-26
  • Contact: GAO Yufei E-mail:yfgao@zzu.edu.cn

摘要:

基于微服务架构的云原生应用具有高度的灵活性和效率,但也面临着多种安全威胁。由于微服务架构的松散分布、动态独立部署和协同响应等特点,传统的拟态Web服务器裁决策略无法适应,导致高内存占用、高延时的低裁决效率问题。针对以上问题,文章提出一种基于动态异构冗余架构的非侵入式内生安全微服务模型(EnSecDHR)。该模型利用云原生API网关实现对微服务组件的动态异构冗余改造,选取系统调用被触发的类别与次数、内核栈与用户栈调用信息为特征,构建基于白名单机制的持续裁决模型,为裁决器提供短路判定机制,避免裁决器在等待各个组件完整响应的时间消耗。对比实验采用缓冲区溢出漏洞攻击和漏洞扫描,结果表明EnSecDHR模型能够有效提高拟态Web服务器的安全性,同时降低性能损失和资源消耗,提升了DHR架构的微服务适配性。

关键词: 微服务, 拟态系统架构, 动态冗余架构, 非侵入式技术

Abstract:

Cloud-Native applications based on microservices architecture are highly flexible and efficient but also face multiple security threats. Due to the loosely coupled nature, dynamic independent deployment, and collaborative response of microservice architecture, traditional mimetic Web server adjudication strategies are not adaptable, resulting in issues such as low adjudication efficiency, high memory consumption, and high latency. To address these challenges, this paper proposed a non-intrusive endogenous security microservice model (EnSecDHR) based on a dynamic heterogeneous redundant architecture. The model leveraged a cloud-native API gateway to achieve dynamic heterogeneous redundancy transformation of microservice components. It selected the frequency and categories of system calls, kernel stack, and user stack call information as features, constructed a continuous adjudication model based on a whitelisting mechanism, and provided a short-circuit adjudication mechanism for the adjudicator. This avoided the time consumption associated with waiting for the complete response from each component. Comparative experiments were conducted using buffer overflow vulnerability attacks and vulnerability scanning. The results demonstrate that the EnSecDHR model can effectively enhance the security of the proposed Web server while reducing performance loss and resource consumption, thereby improving the microservice adaptability of the DHR architecture.

Key words: microservices, mimic system architecture, dynamic redundancy architecture, non-intrusive techniques

中图分类号: