Here we analyze the PostCog dataset to classify textual information and justify categories using GPT-based models. Paper.
- Python>=3.12
"Beneath the Cream" performs Natural Language Processing (NLP) and Large Language Models (LLM) to analyze and categories threat level of exploitations in dark hack forums. We also apply explanations to understand and study what are the relevant keywords in messages.
The PostCog framework is a data exploration and analysis system built to work on large cybercrime forum datasets such as CrimeBB dataset and ExtremeBB.
To download the dataset, use this link. Or send an e-mail asking for data.
-
Clone this repository:
git clone https://github.com/famveer/BeneathCream git submodule add -b main https://github.com/fmorenovr/nlpToolkit.git py/nlpToolkit git submodule update --remote
-
Download dataset here.
-
Create a
.envfile, and add the path of the data downloaded and models.DATA_PATH=/path_to/datasets/ MODEL_PATH=/path_to/models/ -
First, run the notebook
notebooks/Data/CVE_Codes.ipynb.
Then, runnotebooks/Data/Languages.ipynb.
Then, runnotebooks/Data/LLM_Labeling.ipynb.
Then, runnotebooks/Data/CVE_Statistics.ipynb. -
Second, run
notebooks/Features/Extraction.ipynb. -
Finally, run
notebooks/Models/Linear_and_Ensemble_Models.ipynb.
If you use this data, please cite:
@incollection{moreno2024beneath,
title={Beneath the Cream: Unveiling Relevant Information Points from CrimeBB Underground Forums with Its Ground Truth Labels},
author={Moreno-Vera, Felipe and Menasche, Daniel and Lima, Cabral},
booktitle={International Symposium on Cyber Security, Cryptology and Machine Learning},
pages={280--290},
year={2024},
publisher={Springer}
}
For any issue please kindly email to felipe [dot] moreno [at] ppgi [dot] ufrj [dot] br