LANGUAGE MODELS-ASSISTED PENETRATION TESTING: APPLICATIONS, TECHNICAL LIMITATIONS AND THE NEED FOR HUMAN OVERSIGHT

Authors

  • Fábio Henrique de Almeida Author

DOI:

https://doi.org/10.56238/levv16n46-107

Keywords:

Penetration Testing, Language Models, Cybersecurity, Artificial Intelligence, Human Oversight

Abstract

The increasing adoption of artificial intelligence in cybersecurity has expanded opportunities for automating penetration testing, particularly through language models capable of interpreting source code, identifying vulnerability patterns, and supporting the organization of technical information, this study aimed to analyze the applications of these technologies in penetration testing, their operational limitations, and the need for human oversight, through bibliographic research employing a qualitative, exploratory, and descriptive approach, supported by a critical examination of scientific literature on intelligent automation and computer security, the findings revealed advances in semantic code processing, vulnerability classification, and automated assessment planning, while identifying limitations related to response accuracy, training data quality, and the generation of potentially insecure instructions, the analysis indicated that performance achieved under experimental conditions does not guarantee equivalent reliability in real-world infrastructures, leading to the conclusion that language models can support specific penetration testing activities, provided that their recommendations undergo technical validation and remain subject to oversight by qualified cybersecurity professionals.

Downloads

Download data is not yet available.

References

CHEN, Mark et al. Evaluating large language models trained on code. arXiv, 2021. arXiv:2107.03374. Disponível em: https://arxiv.org/pdf/2107.03374.

FENG, Zhangyin et al. CodeBERT: a pre-trained model for programming and natural languages. In: Findings of the Association for Computational Linguistics: EMNLP 2020. Online: Association for Computational Linguistics, 2020. p. 1536-1547. DOI: https://doi.org/10.18653/v1/2020.findings-emnlp.139. Disponível em: https://aclanthology.org/2020.findings-emnlp.139.pdf. DOI: https://doi.org/10.18653/v1/2020.findings-emnlp.139

GHANEM, Mohamed C.; CHEN, Thomas M. Reinforcement learning for intelligent penetration testing. In: WORLD CONFERENCE ON SMART TRENDS IN SYSTEMS, SECURITY AND SUSTAINABILITY (WorldS4), 2., 2018, London. Proceedings [...]. Piscataway: IEEE, 2018. p. 185-192. DOI: https://doi.org/10.1109/WorldS4.2018.8611595. Disponível em: https://livrepository.liverpool.ac.uk/3177443/1/Reinforcement_Learning_for_Intelligent_Penetration_Testing.pdf. DOI: https://doi.org/10.1109/WorldS4.2018.8611595

GHANEM, Mohamed C.; CHEN, Thomas M. Reinforcement learning for efficient network penetration testing. Information, Basel, v. 11, n. 1, art. 6, 2020. DOI: https://doi.org/10.3390/info11010006. Disponível em: https://www.mdpi.com/2078-2489/11/1/6/pdf. DOI: https://doi.org/10.3390/info11010006

GIL, Antonio Carlos. Métodos e técnicas de pesquisa social. 7. ed. São Paulo: Atlas, 2019.

HANIF, Hazim; MAFFEIS, Sergio. VulBERTa: simplified source code pre-training for vulnerability detection. In: INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2022, Padua. 2022 International Joint Conference on Neural Networks (IJCNN). Piscataway: IEEE, 2022. p. 1-8. DOI: https://doi.org/10.1109/IJCNN55064.2022.9892280. DOI: https://doi.org/10.1109/IJCNN55064.2022.9892280

MARCONI, Marina de Andrade; LAKATOS, Eva Maria. Fundamentos de metodologia científica. 8. ed. São Paulo: Atlas, 2017.

THAPA, Chandra et al. Transformer-based language models for software vulnerability detection. In: ANNUAL COMPUTER SECURITY APPLICATIONS CONFERENCE (ACSAC), 38., 2022, Austin. Proceedings of the 38th Annual Computer Security Applications Conference. New York: ACM, 2022. p. 481-496. DOI: https://doi.org/10.1145/3564625.3567985. Disponível em: https://arxiv.org/pdf/2204.03214. DOI: https://doi.org/10.1145/3564625.3567985

WANG, Yue; WANG, Weishi; JOTY, Shafiq; HOI, Steven C. H. CodeT5: identifier-aware unified pre-trained encoder-decoder models for code understanding and generation. In: CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP), 2021, Punta Cana. Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing. Punta Cana: Association for Computational Linguistics, 2021. p. 8696-8708. DOI: https://doi.org/10.18653/v1/2021.emnlp-main.685. Disponível em: https://aclanthology.org/2021.emnlp-main.685.pdf. DOI: https://doi.org/10.18653/v1/2021.emnlp-main.685

ZHOU, Shicheng; LIU, Jingju; HOU, Dongdong; ZHONG, Xiaofeng; ZHANG, Yue. Autonomous penetration testing based on improved deep Q-network. Applied Sciences, Basel, v. 11, n. 19, art. 8823, 2021. DOI: https://doi.org/10.3390/app11198823. Disponível em: https://www.mdpi.com/2076-3417/11/19/8823/pdf. DOI: https://doi.org/10.3390/app11198823

Published

2025-03-24

How to Cite

DE ALMEIDA, F. H. LANGUAGE MODELS-ASSISTED PENETRATION TESTING: APPLICATIONS, TECHNICAL LIMITATIONS AND THE NEED FOR HUMAN OVERSIGHT. LUMEN ET VIRTUS, v. 16, n. 46, p. e15528, 24 Mar.2025.

Most read articles by the same author(s)

Similar Articles

1-10 of 50

You may also start an advanced similarity search for this article.