Using Large Language Models to Better Detect and Handle Software Vulnerabilities and Cyber Security Threats
Author:
Taghavi Seyed Mohammad1, Feyzi Farid1
Abstract
Abstract
Large Language Models (LLMs) have emerged as powerful tools in the domain of software vulnerability and cybersecurity tasks, offering promising capabilities in detecting and handling security threats. This article explores the utilization of LLMs in various aspects of cybersecurity, including vulnerability detection, threat prediction, and automated code repair. We explain the concept of LLMs, highlighting their various applications, and evaluates their effectiveness and challenges through literature review. We explore the effectiveness of various LLMs across different cybersecurity domains, showcasing their proficiency in tasks like malware detection and code summarization. Comparing LLMs to traditional methods, our work highlights their superior performance in identifying vulnerabilities and proposing fixes. Furthermore, we outline the workflow of LLM models, emphasizing their integration into cyber threat detection frameworks and incident response systems. We also discuss complementary methods and tools that enhance LLMs' capabilities, including static and dynamic code analyzers. Additionally, we synthesize findings from previous research, demonstrating how the utilization of LLMs has significantly enhanced productivity in identifying and addressing software vulnerabilities and cybersecurity threats. Finally, the study offers insights into optimizing the implementation of LLMs based on the lessons learned from existing literature.
Publisher
Research Square Platform LLC
Reference75 articles.
1. Hou, X., Zhao, Y., Liu, Y., Yang, Z., Wang, K., Li, L., Luo, X., Lo, D., Grundy, J.: Haoyu Wang. Large Language Models for Software Engineering: A Systematic Literature Review. arXiv:2308.10620v4 2024 2. Charalambous, Y., Tihanyi, N., Jain, R., Sun, Y., Ferrag, M., Amine, Cordeiro, L.: A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verification. (2023). 10.48550/arXiv.2305.14752 3. Dipayan Saha, S., Tarek, K., Yahyaei, S.K., Saha, J., Zhou: Mark Tehranipoor, Farimah Farahmandi. LLM for SoC Security A Paradigm Shift. arXiv:2310.06046v1 2023 4. Merouane Debbah, Thierry Lestable, Narinderjit Singh Thandi. Revolutionizing Cyber Threat Detection with Large Language Models;Ferrag MA 5. Andreas Happe and Jürgen Cito: Getting pwn’d by AI: Penetration Testing with Large Language Models. In Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE 2023). Association for Computing Machinery, New York, NY, USA, 2082–2086. (2023). https://doi.org/10.1145/3611643.3613083
|
|