arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.15656cs.CRcs.AI
收藏

基于A3C、Q-learning和DQN的自主渗透测试强化学习评估

Evaluation of Reinforcement Learning for Autonomous Penetration Testing using A3C, Q-learning and DQN

German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);OPS-GDA, ESA-ESOC(欧洲空间操作中心(ESA-ESOC)OPS-GDA部门);Technische Universität Kaiserslautern(凯泽斯劳滕工业大学)

Norman Becker, Daniel Reti, Evridiki V. Ntagiou, Marcus Wallum, Hans D. Schotten

AI总结:

本研究利用NASim环境训练强化学习智能体(Q-learning、DQN、A3C)进行自主渗透测试,A3C在三个安全场景中表现最佳,能以更少动作实现泛化,证明RL可有效执行渗透测试。

摘要:

渗透测试是通过模拟攻击来搜索安全漏洞的过程。它通常由经验丰富的专业人员执行,并应用扫描和攻击工具。通过自动化执行此类工具,可以减少对人工交互和决策的需求。在本工作中,使用网络攻击模拟器(NASim)作为环境,训练强化学习智能体解决三个预定义的安全场景。这些场景涵盖了利用、利用后和窃听技术。进行了大规模的超参数网格搜索,以找到最佳的超参数组合。使用了Q-learning、DQN和A3C算法,其中A3C能够解决所有场景并实现泛化。此外,A3C可以用比基线自动化渗透测试更少的动作来解决这些场景。尽管训练是在相当小的场景以及智能体的小状态和动作空间中进行的,但结果表明,强化学习智能体可以成功执行渗透测试。

英文摘要:

Penetration testing is the process of searching for security weaknesses by simulating an attack. It is usually performed by experienced professionals, where scanning and attack tools are applied. By automating the execution of such tools, the need for human interaction and decision-making could be reduced. In this work, a Network Attack Simulator (NASim) was used as an environment to train reinforcement learning agents to solve three predefined security scenarios. These scenarios cover techniques of exploitation, post-exploitation and wiretapping. A large hyperparameter grid search was performed to find the best hyperparameter combinations. The algorithms Q-learning, DQN and A3C were used, whereby A3C was able to solve all scenarios and achieve generalization. In addition, A3C could solve these scenarios with fewer actions than the baseline automated penetration testing. Although the training was performed on rather small scenarios and with small state and action spaces for the agents, the results show that a penetration test can successfully be performed by the RL agent.

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

↑