Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beneath the Cream

Here we analyze the PostCog dataset to classify textual information and justify categories using GPT-based models. Paper.

Requirements

  • Python>=3.12

Overview

"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.

Dataset

The PostCog framework is a data exploration and analysis system built to work on large cybercrime forum datasets such as CrimeBB dataset and ExtremeBB.

Download

To download the dataset, use this link. Or send an e-mail asking for data.

Data Preparation

  • 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 .env file, 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, run notebooks/Data/Languages.ipynb.
    Then, run notebooks/Data/LLM_Labeling.ipynb.
    Then, run notebooks/Data/CVE_Statistics.ipynb.

  • Second, run notebooks/Features/Extraction.ipynb.

  • Finally, run notebooks/Models/Linear_and_Ensemble_Models.ipynb.

Citation

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}
}

Contact us

For any issue please kindly email to felipe [dot] moreno [at] ppgi [dot] ufrj [dot] br

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages