Browse By Repository


Phishing Email Classification Using TF-IDF Method and Random Forest Algorithm


Dwianti, Ismi Rosia and Cahyani, Dilla Regita and T.K.A, Rahman and Faisal, Muhammad and Aedah, Abd Rahman and Lee Lee, Swa and Usman, Nasir (2025) Phishing Email Classification Using TF-IDF Method and Random Forest Algorithm. ROUTERS:Jurnal Sistem dan Teknologi Informasi, 3 (2). pp. 125-135.

[img] Text
routers,+4310-Article+Text-17162-2-11-20250728.pdf

Download (377kB)

Abstract

Phishing attacks through email are increasingly becoming a serious threat to cybersecurity. Traditional detection methods such as blacklists and pattern matching have proven to be ineffective in addressing increasingly complex attacks. Therefore, a new approach is needed one that can analyze email content contextually and intelligently.This study develops a phishing email detection system by integrating the Term Frequency–Inverse Document Frequency (TF-IDF) method and the Random Forest algorithm. The system is designed to analyze the linguistic structure of email content and recognize common patterns frequently used in phishing attacks.The research stages include text preprocessing, feature extraction using TF-IDF, model training with Random Forest, and performance evaluation using three data splitting scenarios: 60:40, 70:30, and 80:20. The dataset was obtained from Kaggle and consists of 82,486 emails that have been adjusted to be balanced between phishing and legitimate emails. The evaluation results show that the system achieved high accuracy in all scenarios, with the highest score reaching 98.01% in the 80:20 split. The precision, recall, and F1-score metrics also indicate strong and stable performance. In addition, feature importance analysis shows that the model can identify key terms such as “click,” “money,” and “attached” that frequently appear in phishing emails. This research is expected to serve as a foundation for the development of more adaptive, intelligent, and responsive phishing detection systems in the face of evolving cyber threats.

Item Type: Journal
Uncontrolled Keywords: Phishing, Natural Language Processing, TF-IDF, Random Forest, Email
Divisions: School of Graduate Studies
Depositing User: Muhamad Aizat Nazmi Mohd Nor Hamin
Date Deposited: 24 Aug 2026 07:38
Last Modified: 24 Aug 2026 07:38
URI: http://ur.aeu.edu.my/id/eprint/1508

Actions (login required)

View Item View Item