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

基于奖励机器的强化学习知识驱动自动化渗透测试

Knowledge-Informed Auto-Penetration Testing Based on Reinforcement Learning with Reward Machine

Concordia University(康考迪亚大学)

Yuanliang Li, Hanzheng Dai, Jun Yan

AI总结:

提出DRLRM-PT框架,利用奖励机器编码MITRE ATT&CK领域知识,结合深度Q学习优化横向移动渗透测试策略,提升训练效率与性能。

摘要:

基于强化学习(RL)的自动化渗透测试(AutoPT)已被证明能够提高信息系统中漏洞识别的效率。然而,基于RL的渗透测试面临若干挑战,包括采样效率低下、奖励规格复杂以及可解释性有限。为解决这些问题,我们提出了一种知识驱动的AutoPT框架,称为DRLRM-PT,该框架利用奖励机器(RMs)将领域知识编码为训练渗透测试策略的指导准则。在我们的研究中,我们特别关注横向移动作为渗透测试的案例研究,并将其建模为受奖励机器引导的部分可观测马尔可夫决策过程(POMDP)。我们基于MITRE ATT&CK知识库为横向移动设计了两种奖励机器。为求解POMDP并优化渗透测试策略,我们采用了带奖励机器的深度Q学习算法(DQRM)。实验结果表明,与未嵌入知识的智能体相比,DQRM智能体在渗透测试中表现出更高的训练效率。此外,编码更详细领域知识的奖励机器相比知识较简单的奖励机器展现了更好的渗透测试性能。

英文摘要:

Automated penetration testing (AutoPT) based on reinforcement learning (RL) has proven its ability to improve the efficiency of vulnerability identification in information systems. However, RL-based PT encounters several challenges, including poor sampling efficiency, intricate reward specification, and limited interpretability. To address these issues, we propose a knowledge-informed AutoPT framework called DRLRM-PT, which leverages reward machines (RMs) to encode domain knowledge as guidelines for training a PT policy. In our study, we specifically focus on lateral movement as a PT case study and formulate it as a partially observable Markov decision process (POMDP) guided by RMs. We design two RMs based on the MITRE ATT\&CK knowledge base for lateral movement. To solve the POMDP and optimize the PT policy, we employ the deep Q-learning algorithm with RM (DQRM). The experimental results demonstrate that the DQRM agent exhibits higher training efficiency in PT compared to agents without knowledge embedding. Moreover, RMs encoding more detailed domain knowledge demonstrated better PT performance compared to RMs with simpler knowledge.

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

↑