arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.01975cs.CRcs.LG
收藏

GAIL-PT:一个基于生成对抗模仿学习的通用智能渗透测试框架

GAIL-PT: A Generic Intelligent Penetration Testing Framework with Generative Adversarial Imitation Learning

Zhejiang University of Technology(浙江工业大学);Army Engineering University of PLA(中国人民解放军陆军工程大学)

Jinyin Chen, Shulong Hu, Haibin Zheng, Changyou Xing, Guomin Zhang

摘要:

渗透测试(PT)是一种有效的网络测试和漏洞挖掘工具,通过模拟黑客的攻击来获取有价值的信息,在某些领域有着广泛的应用。与人工PT相比,智能PT由于耗时少、人工成本低而成为主导主流。然而,由于Agent的行为空间通常是高维离散的,导致算法收敛困难,因此基于RL的PT在实际应用中仍然面临挑战。此外,大多数PT方法仍然依赖于安全专家的决策。针对这些挑战,我们首次引入专家知识来指导智能体在基于RL的渗透测试中做出更好的决策,并提出了一种基于生成对抗模仿学习的通用智能渗透测试框架GAIL-PT,以解决由于安全专家的参与和高维离散动作空间而导致的较高劳动成本问题。具体来说,首先,当预训练的RL / DRL模型执行成功的渗透测试时,我们手动收集状态-动作对来构建专家知识库。其次,我们将专家知识和不同RL / DRL模型在线生成的状态-动作对输入到GAIL的训练器中进行训练。最后,我们应用机器人的输出奖励来指导智能体执行具有更高渗透成功率的动作,以提高PT的性能。在真实目标主机和模拟网络场景上进行的大量实验表明,GAIL-PT在利用实际目标Metasploitable 2和Q-learning优化渗透路径方面实现了SOTA渗透性能,不仅在小规模有或没有蜜罐网络环境中,而且在大规模虚拟网络环境中。

英文摘要:

Penetration testing (PT) is an efficient network testing and vulnerability mining tool by simulating a hacker's attack for valuable information applied in some areas. Compared with manual PT, intelligent PT has become a dominating mainstream due to less time-consuming and lower labor costs. Unfortunately, RL-based PT is still challenged in real exploitation scenarios because the agent's action space is usually high-dimensional discrete, thus leading to algorithm convergence difficulty. Besides, most PT methods still rely on the decisions of security experts. Addressing the challenges, for the first time, we introduce expert knowledge to guide the agent to make better decisions in RL-based PT and propose a Generative Adversarial Imitation Learning-based generic intelligent Penetration testing framework, denoted as GAIL-PT, to solve the problems of higher labor costs due to the involvement of security experts and high-dimensional discrete action space. Specifically, first, we manually collect the state-action pairs to construct an expert knowledge base when the pre-trained RL / DRL model executes successful penetration testings. Second, we input the expert knowledge and the state-action pairs generated online by the different RL / DRL models into the discriminator of GAIL for training. At last, we apply the output reward of the discriminator to guide the agent to perform the action with a higher penetration success rate to improve PT's performance. Extensive experiments conducted on the real target host and simulated network scenarios show that GAIL-PT achieves the SOTA penetration performance against DeepExploit in exploiting actual target Metasploitable2 and Q-learning in optimizing penetration path, not only in small-scale with or without honey-pot network environments but also in the large-scale virtual network environment.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑