Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Autonomous Penetration Testing Framework Based on Reinforcement Learning and Intrinsic Motivation

Author 1: Rasha A. Alsakran Author 2: Sultan S. Alqahtani
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 17, No. 10 · Published 2026

DOI: 10.14569/IJACSA.2026.0171009

Abstract

Ethical penetration testing (PT) is a structured security assessment in which cybersecurity experts simulate real attacks on an organization’s digital assets in a controlled testing environment. The primary objective is to evaluate the effectiveness of cybersecurity controls by detecting vulnerabilities in systems, networks, or applications. Subsequently, report these vulnerabilities to facilitate remediation prior to exploitation by malicious adversaries. In most cases, manual penetration testing relies mostly on expert knowledge and requires substantial human resources, particularly in cases where the network infrastructure is large and complex. Hence, the development of autonomous penetration testing emerges as a promising avenue. Recently, reinforcement learning (RL) has gained attention as an effective approach for automating penetration testing by enabling intelligent agents to interact with target environments and make adaptive attack decisions. This research study proposes an automated penetration testing framework termed PTiRL. powered by reinforcement learning, particularly the Deep Q-Network (DQN) algorithm. Unlike prior work, the proposed framework enhances agent learning by incorporating intrinsic motivation (IM) mechanisms, such as Random Network Distillation (RND), to address challenges associated with sparse and delayed rewards. A comparative evaluation is conducted between our PTiRL agents that utilize intrinsic motivation and those agents relying solely on standard reward signals, demonstrating the effectiveness of intrinsic motivation in improving environment exploration and learning efficiency in attack path discovery. The experiments were conducted using the Network Attack Simulator (NASim), which is an abstract network attack simulator that has benchmark scenarios designed to be used for rapid testing of autonomous penetration testing agents based on reinforcement learning.

Keywords

How to Cite this Article

Alsakran, R. A., & Alqahtani, S. S. (2026). Autonomous Penetration Testing Framework Based on Reinforcement Learning and Intrinsic Motivation. International Journal of Advanced Computer Science and Applications, 17(10). https://doi.org/10.14569/IJACSA.2026.0171009

Alsakran, Rasha A., and Sultan S. Alqahtani. "Autonomous Penetration Testing Framework Based on Reinforcement Learning and Intrinsic Motivation." International Journal of Advanced Computer Science and Applications, vol. 17, no. 10, 2026, https://doi.org/10.14569/IJACSA.2026.0171009.

@article{Alsakran2026,
  title     = {Autonomous Penetration Testing Framework Based on Reinforcement Learning and Intrinsic Motivation},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {17},
  number    = {10},
  year      = {2026},
  publisher = {The Science and Information Organization},
  author    = {Rasha A. Alsakran and Sultan S. Alqahtani},
  doi       = {10.14569/IJACSA.2026.0171009},
  url       = {https://doi.org/10.14569/IJACSA.2026.0171009}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.

Call for Papers - Important Dates

Volume 17 No. 12, December 2026
Paper Submission Due November 25, 2026
Review Notification December 15, 2026
Publication Date December 31, 2026