错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Development Generative AI for Cybersecurity: Evaluating Script Generation and Attack Classification in Penetration Testing

  • Walaa H. Elashmawi,
  • Heba Osman,
  • Mahmoud Osama,
  • Nour Nader

摘要

The application of Artificial Intelligence (AI) in cybersecurity is designed to address the growing complexity and volume of cyber threats, which create significant challenges for traditional penetration testing methods. Utilizing advanced Natural Language Processing (NLP) models can boost automation, consistency, and efficiency in detecting and mitigating vulnerabilities. This paper focuses on generating payloads for penetration testers using tuned pre-trained models such as ChatGPT-2, CodeBERT, and T5 models on a customized dataset. The effectiveness of the outperforming model is compared with Support Vector Machines (SVM) and Logistic Regression for dataset classification. By achieving these objectives, this study aims to enhance penetration testing processes, contributing to stronger cybersecurity defenses. The results of this study prove the effectiveness of using CodeBERT for the payload generation and as a classifier.