Automated Security Penetration Testing Based on Machine Learning
Penetration testing is a crucial measure for preventing cyberspace attacks. Typically, penetration testing is conducted manually, which presents challenges such as reliance on experience, high costs, and low efficiency. This study proposes an automated penetration testing method that integrates machine learning algorithms with Metasploit to achieve low-code generation and execution of penetration testing cases. This approach enhances testing efficiency, reduces costs, and mitigates dependence on experience. The study introduces a decision-making algorithm to facilitate the selection of exploit files during the generation of penetration testing cases and leverages Metasploit to implement basic penetration testing functionalities. Experimental results show that the algorithm achieves an accuracy of 73.16%, and the method successfully meets the objective of automated penetration testing.
Authors
- Hongbin Wu (ORCID: https://orcid.org/0000-0002-4425-9845)
- Longxi Han
- Daojuan Zhang (ORCID: https://orcid.org/0009-0000-7173-8895)
- Peng Zhang (ORCID: https://orcid.org/0000-0002-9603-8454)
- Wenhui Wang (ORCID: https://orcid.org/0000-0003-3258-1885)
- Qi Zhao (ORCID: https://orcid.org/0000-0001-8169-0573)
Publication Details
- Published
- 2024-12-27
- DOI
- https://doi.org/10.1109/eiecc64539.2024.10929572
- Citations
- 1
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.35