Forensic Analysis of WhatsApp Conversations Using NER-Based Information Extraction Techniques

Authors

  • Febrianto Febrianto Universitas Bina Nusantara
  • Tuga Mauritsius Universitas Bina Nusantara

DOI:

https://doi.org/10.59261/jequi.v8i5.463

Keywords:

Digital Forensics, Whatsapp, Named Entity Recognition, IndoBERT, Narcotics

Abstract

Background: The widespread use of WhatsApp as a primary communication medium in narcotics-related crimes generates a massive volume of digital evidence, making manual forensic analysis inefficient, time-consuming, and prone to human error.

Objective: This study aims to design, develop, and evaluate a custom named entity recognition (NER) model based on IndoBERT Base P1 to automatically extract forensic information from WhatsApp conversations in narcotics-related cases.

Methods: This study adopts the Cross-Industry Standard Process for Data Mining (CRISP-DM) framework, which comprises six phases: Business Understanding, Data Understanding, Data Preparation, Modeling, Evaluation, and Deployment. The dataset was derived from forensic extractions of WhatsApp conversations conducted by the Indonesian National Police Forensic Laboratory Center (Puslabfor Bareskrim Polri). It comprises 822,943 message rows from 859 pieces of digital evidence. Following annotation using the BIO (Beginning, Inside, Outside) tagging scheme, the dataset yielded 334,576 annotated instances across 18 custom forensic entity categories.

Results: The evaluation results show that the model achieved a precision of 83.44%, a recall of 95.81%, a weighted F1 score of 89.05%, and a macro F1 score of 89.15%. Training was completed in 5,090.05 seconds over three epochs. All aggregate evaluation metrics exceeded the researcher-defined operational criterion of 80% established for this study.

Conclusion: These findings indicate that the IndoBERT-based custom NER model can transform unstructured conversational data into structured investigative information and has the potential to serve as a digital forensic decision-support tool for narcotics crime investigations.

Downloads

Download data is not yet available.

References

Tenggino, D., & Mauritsius, T. (2022). Evaluation of Factors Affecting Intention to Use QRIS Payment Transaction. ICIC Express Letters, 16(4), 343-349

Binsar, F., & Mauritsius, T. (2020). Mining of Social Media on Covid-19 Big Data Infodemic in Indonesia. Journal of Computer Science, 16(11), 1598-1609. https://doi.org/10.3844/jcssp.2020.1598.1609

Tuga, Mauritsius & Alatas, Sofia & Binsar, Faisal & Jayadi, Riyanto & Legowo, Nilo. (2020). Promo Abuse Modeling in E-Commerce Using Machine Learning Approach. 1-6. 10.1109/ICOT51877.2020.9468744

Darmawan, T., Birawa, A. S., Eryanto, E., & Mauritsius, T. (2020). Credit Classification Using CRISP-DM Method On Bank ABC Customers. International Journal of Emerging Trends in Engineering Research. 8. 2375-2380. 10.30534/ijeter/2020/28862020

Mauritsius, T., et al. (2025). An analytics framework for predicting electric vehicle charging station demand using spatial and interpretive methods. Decision Analytics Journal, 17, 100648. https://doi.org/10.1016/j.dajour.2025.100648

Anwar, N., & -, S. (2019). Forensic Authentication of WhatsApp Messenger Using the Information Retrieval Approach. International Journal of Cyber-Security and Digital Forensics, 8(3). https://doi.org/10.17781/p002609

Arshad, H., Jantan, A. Bin, & Abiodun, O. I. (2018). Digital forensics: Review of issues in scientific validation of digital evidence. Journal of Information Processing Systems, 14(2). https://doi.org/10.3745/JIPS.03.0095

Dauletov, A., Muminov, B., Matyakubova, N., Matyakubova, T., Akhmedova, K., Kholmatova, Z., & Buriev, B. (2026). A Hybrid Model for Standardized, Flexible, and Intelligent Metadata-Based Description of Electronic Documents in Digital Library and Archival Information Systems. Information (Switzerland), 17(6). https://doi.org/10.3390/info17060590

Fathiyana, R. Z., -, Y., Cahyadi, N., & Hidayat, D. J. (2023). Comparative Study and Analysis of Forensic Artifacts of WhatsApp and Telegram on Android Devices. Journal of Informatics and Communication Technology (JICT), 4(2). https://doi.org/10.52661/j_ict.v4i2.143

Gunes Eris, F., & Akbal, E. (2021). Forensic Analysis of Popular Social Media Applications on Android Smartphones. Balkan Journal of Electrical and Computer Engineering, 9(4). https://doi.org/10.17694/bajece.761271

Haryati, E. D. W. and E. S. (2026). The Legal Position of Electronic Systems in Digital Forensic Practices under Law Number 1 of 2023 concerning the Criminal Code of Indonesia . Jurnal Ilmiah Multidisiplin Indonesia (JIM-ID), 5(5), 970–980.

Irfandhia, M. D., Satrya, G. B., & Nuha, H. H. (2022). Forensic Investigation Analysis of WhatsApp Messenger and Telegram Messenger on Android Based Device. 2022 1st International Conference on Software Engineering and Information Technology, ICoSEIT 2022. https://doi.org/10.1109/ICoSEIT55604.2022.10030029

Khaled Zakarneh, S. (2024). Mobile Forensic Investigation on iOS & Android Smartphones: Case Study Investigation on WhatsApp. International Journal of Applied Sciences and Smart Technologies, 6(1). https://doi.org/10.24071/ijasst.v6i1.6770

Moreb, M. (2022). Mobile Forensic Investigation for WhatsApp. In Practical Forensic Analysis of Artifacts on iOS and Android Devices. https://doi.org/10.1007/978-1-4842-8026-3_9

Mubarok Nahdli, M. F., Biddinika, M. K., & Riadi, I. (2024). Forensic Analysis of the WhatsApp Application Using the National Institute of Justice Framework. International Journal of Advances in Data and Information Systems, 5(2). https://doi.org/10.59395/ijadis.v5i2.1328

Nor, G., Abuhmida, Dr. M., & Llewellyn, Dr. E. (2023). Improving Digital Forensic Investigations through Automated User Entity Correlation. International Journal for Research in Applied Science and Engineering Technology, 11(5). https://doi.org/10.22214/ijraset.2023.51446

Pirzada, S., Ab Rahman, N. H., Cahyani, N. D. W., & Othman, M. F. (2024). A Framework of Forensic Analysis and Visualization: Using WhatsApp Chat Data as a Case Study. International Journal on Informatics Visualization, 8(3–2). https://doi.org/10.62527/joiv.8.3-2.2868

Pozzi, R., Barbera, V., Alva Principe, R., Giardini, D., Rubini, R., & Palmonari, M. (2025). Combining Knowledge Graphs and NLP to Analyze Instant Messaging Data in Criminal Investigations. Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 15437 LNCS. https://doi.org/10.1007/978-981-96-0567-5_30

Pusiknas Bareskrim Polri. (2025, December 30). Refleksi akhir tahun: Data kepolisian dan tantangan penegakan hukum. https://pusiknas.polri.go.id/detail_artikel/refleksi_akhir_tahun%3A_data_kepolisian_dan_tantangan_penegakan_hukum

Qonita, N. N., Handayani, M. R., & Umam, K. (2025). Digital Forensic Chatbot Using DeepSeek LLM and NER for Automated Electronic Evidence Investigation. Jurnal Teknik Informatika (Jutif), 6(3). https://doi.org/10.52436/1.jutif.2025.6.3.4593

Salah, S., Amro, B., & Moreb, M. (2025). WhatsApp Messenger Forensics: Extracting Insights for Enhanced Learning Analytics in Smart Education. 2025 International Conference on Smart Learning Courses, SCME 2025. https://doi.org/10.1109/SCME62582.2025.11104884

Shimaoka, A. M., Ferreira, R. C., & Goldman, A. (2024). The evolution of CRISP-DM for data science: Methods, processes and frameworks. SBC Computing Reviews, 4(1), 28–43.

Skipanes, M., Demartini, G., Franke, K., & Nissen, A. B. (2025). Information analysis in criminal investigations: methods, challenges, and computational opportunities processing unstructured text. Policing (Oxford), 19. https://doi.org/10.1093/police/paaf005

Soni, N. (2024). Forensic Analysis of WhatsApp: A Review of Techniques, Challenges, and Future Directions. Journal of Forensic Science and Research, 8(1). https://doi.org/10.29328/journal.jfsr.1001059

Subbulakshmi, N., Ariffa Begum, S., Kumar, A., Kumar, S., Satyarthi, S., & Singh, A. (2024). Forensic Investigation and WhatsApp Chat Analysis Using Named Entity Recognition with Web Based Visualization. 5th International Conference on Sustainable Communication Networks and Application, ICSCNA 2024 - Proceedings. https://doi.org/10.1109/ICSCNA63714.2024.10864198

Sulisdyantoro, D., & Marzuki, M. I. (2023). Identification of Whatsapp Digital Evidence on Android Smartphones using The Android Backup APK (Application Package Kit) Downgrade Method. Journal of Integrated and Advanced Engineering (JIAE), 3(1). https://doi.org/10.51662/jiae.v3i1.70

Wilie, B., Vincentio, K., Winata, G. I., Cahyawijaya, S., Li, X., Lim, Z. Y., Soleman, S., Mahendra, R., Fung, P., Bahar, S., & Purwarianti, A. (2020). IndoNLU: Benchmark and Resources for Evaluating Indonesian Natural Language Understanding. Proceedings of the 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th International Joint Conference on Natural Language Processing, AACL-IJCNLP 2020. https://doi.org/10.18653/v1/2020.aacl-main.85

Yadav, V., & Bethard, S. (2018). A survey on recent advances in named entity recognition from deep learning models. COLING 2018 - 27th International Conference on Computational Linguistics, Proceedings.

Downloads

Published

2026-10-24