Classifying the content of online notepad services using active learning
Abstract Pastebin is an online notepad service to share text anonymously. However, it could be misused to propagate suspicious or even illegal activities, like leaking sensitive information or sharing hyperlinks to child sexual abuse material. Due to the high rate of daily upload pastes, manual inspection of this material is not feasible. Conversely, an automatic classifier could identify such activities with little or no human intervention. However, a supervised model may require a significant number of training samples and have to handle distinct text typologies presented in Pastebin. This paper presents a classification approach composed of three cascading supervised classifiers that use Active Learning to select and label the most informative samples from Pastebin. The modularity of the proposed design allows each classifier to adapt to a specific text typology. The first classifier determines whether the text is a code snippet, and the second is to identify whether it is readable. The third classification level is twofold: (i) a binary classifier to say whether the text is suspicious and (ii) a multiclass classifier with seven predefined categories of possibly illegal activities. The average class recall of the binary and multiclass classifiers is $$95.24\%$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mn>95.24</mml:mn> <mml:mo>%</mml:mo> </mml:mrow> </mml:math> and $$80.33\%$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mn>80.33</mml:mn> <mml:mo>%</mml:mo> </mml:mrow> </mml:math> , respectively. Additionally, this paper presents a dataset of 3.8 million Pastebin samples, called onlIne Notepad Services PastEbin aCtiviTies (INSPECT-3.8M), along with their labels using our classification framework. Our classifier recognised that $$7.54\%$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mn>7.54</mml:mn> <mml:mo>%</mml:mo> </mml:mrow> </mml:math> of the collected samples are correlated with presumably criminal activities. Law enforcement agencies may benefit from the insights shared in our research when aiming to investigate or automate the monitoring of Pastebin or other Online Notepad Services. This would allow responsible authorities to block illegal content before it spreads to the public.
Authors
- Enrique Alegre (ORCID: https://orcid.org/0000-0003-2081-774X)
- Eduardo Fidalgo (ORCID: https://orcid.org/0000-0003-1202-5232)
- Mhd Wesam Al-Nabki (ORCID: https://orcid.org/0000-0002-3975-3478)
- Francisco Jáñez-Martino (ORCID: https://orcid.org/0000-0001-7665-6418)
- Sarah Jane Delany (ORCID: https://orcid.org/0000-0002-2062-7439)
Institutions
- Technological University Dublin (IE)
- Universidad de León (ES)
Publication Details
- Journal
- Journal of Intelligent Information Systems
- Published
- 2024-10-17
- DOI
- https://doi.org/10.1007/s10844-024-00902-8
- Primary Topic
- Machine Learning and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Instituto Nacional de Ciberseguridad
- Universidad de León