Saved in:
Bibliographic Details
Main Authors: Shafee, Samaneh, Bessani, Alysson, Ferreira, Pedro M.
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2401.15127
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908350853152768
author Shafee, Samaneh
Bessani, Alysson
Ferreira, Pedro M.
author_facet Shafee, Samaneh
Bessani, Alysson
Ferreira, Pedro M.
contents Knowledge sharing about emerging threats is crucial in the rapidly advancing field of cybersecurity and forms the foundation of Cyber Threat Intelligence (CTI). In this context, Large Language Models are becoming increasingly significant in the field of cybersecurity, presenting a wide range of opportunities. This study surveys the performance of ChatGPT, GPT4all, Dolly, Stanford Alpaca, Alpaca-LoRA, Falcon, and Vicuna chatbots in binary classification and Named Entity Recognition (NER) tasks performed using Open Source INTelligence (OSINT). We utilize well-established data collected in previous research from Twitter to assess the competitiveness of these chatbots when compared to specialized models trained for those tasks. In binary classification experiments, Chatbot GPT-4 as a commercial model achieved an acceptable F1 score of 0.94, and the open-source GPT4all model achieved an F1 score of 0.90. However, concerning cybersecurity entity recognition, all evaluated chatbots have limitations and are less effective. This study demonstrates the capability of chatbots for OSINT binary classification and shows that they require further improvement in NER to effectively replace specially trained models. Our results shed light on the limitations of the LLM chatbots when compared to specialized models, and can help researchers improve chatbots technology with the objective to reduce the required effort to integrate machine learning in OSINT-based CTI tools.
format Preprint
id arxiv_https___arxiv_org_abs_2401_15127
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Evaluation of LLM Chatbots for OSINT-based Cyber Threat Awareness
Shafee, Samaneh
Bessani, Alysson
Ferreira, Pedro M.
Cryptography and Security
Computation and Language
Machine Learning
Knowledge sharing about emerging threats is crucial in the rapidly advancing field of cybersecurity and forms the foundation of Cyber Threat Intelligence (CTI). In this context, Large Language Models are becoming increasingly significant in the field of cybersecurity, presenting a wide range of opportunities. This study surveys the performance of ChatGPT, GPT4all, Dolly, Stanford Alpaca, Alpaca-LoRA, Falcon, and Vicuna chatbots in binary classification and Named Entity Recognition (NER) tasks performed using Open Source INTelligence (OSINT). We utilize well-established data collected in previous research from Twitter to assess the competitiveness of these chatbots when compared to specialized models trained for those tasks. In binary classification experiments, Chatbot GPT-4 as a commercial model achieved an acceptable F1 score of 0.94, and the open-source GPT4all model achieved an F1 score of 0.90. However, concerning cybersecurity entity recognition, all evaluated chatbots have limitations and are less effective. This study demonstrates the capability of chatbots for OSINT binary classification and shows that they require further improvement in NER to effectively replace specially trained models. Our results shed light on the limitations of the LLM chatbots when compared to specialized models, and can help researchers improve chatbots technology with the objective to reduce the required effort to integrate machine learning in OSINT-based CTI tools.
title Evaluation of LLM Chatbots for OSINT-based Cyber Threat Awareness
topic Cryptography and Security
Computation and Language
Machine Learning
url https://arxiv.org/abs/2401.15127