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

Raijū:强化学习引导的后渗透,用于网络系统安全评估自动化

Raijū: Reinforcement Learning-Guided Post-Exploitation for Automating Security Assessment of Network Systems

University of Information Technology(信息技术大学);Vietnam National University, Ho Chi Minh City(胡志明市越南国家大学)

Van-Hau Pham, Hien Do Hoang, Phan Thanh Trung, Van Dinh Quoc, Trong-Nghia To, Phan The Duy

AI总结:

本文提出 Raijū 框架,利用 A2C 与 PPO 强化学习训练智能体自动选择 Metasploit 模块完成后渗透攻击,在四个真实环境中以少于55步实现逾84%成功率。

摘要:

为了评估网络系统的风险,研究攻击者在成功利用漏洞之后的行为(即所谓后渗透)十分重要。尽管存在各种高效工具支持后渗透实施,但没有任何应用程序能够自动化这一过程。该流程的大多数步骤由具备深厚安全知识的专家完成,他们被称为渗透测试人员或 pen-testers。为此,本研究提出 Raijū 框架,这是一种强化学习(RL)驱动的自动化方法,可协助渗透测试人员快速实施后渗透流程,以评估网络系统的安全等级。我们实现了两种 RL 算法,即 Advantage Actor-Critic(A2C)和 Proximal Policy Optimization(PPO),用于训练能够采取智能动作的专门智能体;这些动作是 Metasploit 模块,可自动发起权限提升、收集 hashdump 以及横向移动攻击。通过利用 RL,我们旨在赋予这些智能体自主选择并执行可利用目标系统漏洞之动作的能力。该方法使我们能够自动化渗透测试工作流的某些方面,使其更高效,并能更快响应新出现的威胁和漏洞。实验在四个真实环境中进行,智能体经过数千个 episode 的训练。智能体在这些环境中自动选择动作并发起攻击,在给定少于 55 个攻击步骤的情况下实现了超过 84% 的攻击成功率。此外,A2C 算法被证明在为后渗透自动化选择适当动作方面极其有效。

英文摘要:

In order to assess the risks of a network system, it is important to investigate the behaviors of attackers after successful exploitation, which is called post-exploitation. Although there are various efficient tools supporting post-exploitation implementation, no application can automate this process. Most of the steps of this process are completed by experts who have profound knowledge of security, known as penetration testers or pen-testers. To this end, our study proposes the Raijū framework, a Reinforcement Learning (RL)-driven automation approach that assists pen-testers in quickly implementing the process of post-exploitation for security-level evaluation in network systems. We implement two RL algorithms, Advantage Actor-Critic (A2C) and Proximal Policy Optimization (PPO), to train specialized agents capable of making intelligent actions, which are Metasploit modules to automatically launch attacks of privileges escalation, gathering hashdump, and lateral movement. By leveraging RL, we aim to empower these agents with the ability to autonomously select and execute actions that can exploit vulnerabilities in target systems. This approach allows us to automate certain aspects of the penetration testing workflow, making it more efficient and responsive to emerging threats and vulnerabilities. The experiments are performed in four real environments with agents trained in thousands of episodes. The agents automatically select actions and launch attacks on the environments and achieve over 84\% of successful attacks with under 55 attack steps given. Moreover, the A2C algorithm has proved extremely effective in the selection of proper actions for automation of post-exploitation.

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

↑