Perbandingan Model Classification And Regression Tree (Cart), Xgboost, Dan Lightgbm Untuk Klasifikasi Phishing Url

Atiqa, Farah Nafisa and Prof. Achmad Efendi, S.Si., M.Si, Ph.D (2026) Perbandingan Model Classification And Regression Tree (Cart), Xgboost, Dan Lightgbm Untuk Klasifikasi Phishing Url. Sarjana thesis, Universitas Brawijaya.

Abstract

Serangan phishing merupakan salah satu bentuk kejahatan siber yang terus meningkat dan menimbulkan risiko terhadap keamanan pengguna layanan digital, sehingga diperlukan sistem deteksi otomatis yang akurat dan efisien. Penelitian ini bertujuan untuk membandingkan kinerja model Classification and Regression Tree (CART), Extreme Gradient Boosting (XGBoost), dan Light Gradient Boosting Machine (LightGBM) dalam mengklasifikasikan URL phishing dan legitimate berdasarkan karakteristik struktur URL. Dataset yang digunakan berjumlah 450.176 URL dengan proporsi 80% sebagai data latih dan 20% sebagai data uji. Tahapan analisis meliputi proses feature extraction berbasis struktur leksikal URL, eksplorasi data, preprocessing, pelatihan model, serta hyperparameter tuning menggunakan RandomizedSearchCV untuk memperoleh konfigurasi optimal masing-masing algoritma. Evaluasi performa dilakukan menggunakan metrik accuracy, recall, specificity, precision, F1-score, dan ROC-AUC. Hasil penelitian menunjukkan bahwa model boosting memberikan performa yang lebih unggul dibandingkan pohon tunggal. Secara khusus, model XGBoost menghasilkan kinerja terbaik dengan nilai Accuracy sebesar 0,9876, Recall sebesar 0,95016, Specificity sebesar 0,9892, Precision sebesar 0,99624, F1-Score sebesar 0,97265, serta ROC-AUC sebesar 0,99133, diikuti oleh LightGBM dengan performa yang relatif sebanding, sedangkan CART menunjukkan performa paling rendah dari ketiga model. Hal tersebut menunjukkan bahwa pendekatan boosting lebih efektif dalam menangani pola non-linear dan ketidakseimbangan kelas pada klasifikasi phishing berbasis struktur URL.

English Abstract

Phishing attacks represent a form of cybercrime that continues to increase and pose significant risks to the security of digital service users, thereby necessitating the development of accurate and efficient automated detection systems. This study aims to compare the performance of the Classification and Regression Tree (CART), Extreme Gradient Boosting (XGBoost), and Light Gradient Boosting Machine (LightGBM) algorithms in classifying phishing and legitimate URLs based on the structural characteristics of URLs. The dataset used consists of 450,176 URLs, with 80% allocated as training data and 20% as testing data. The analytical process includes feature extraction based on the lexical structure of URLs, exploratory data analysis, preprocessing, model training, and hyperparameter tuning using RandomizedSearchCV to obtain the optimal configuration for each algorithm. Model performance was evaluated using several metrics, including accuracy, recall, specificity, precision, F1-score, and ROC-AUC. The results indicate that boosting-based models outperform the single decision tree model. In particular, the XGBoost model achieved the best performance with an accuracy of 0.9876, recall of 0.95016, specificity of 0.9892, precision of 0.99624, F1-score of 0.97265, and ROC-AUC of 0.99133. LightGBM demonstrated relatively comparable performance, while while CART showed the lowest performance among the three models. These findings suggest that the boosting approach is more effective in capturing non-linear patterns and handling class imbalance in phishing URL classification based on URL structural features.

Item Type: Thesis (Sarjana)
Identification Number: 052609
Uncontrolled Keywords: Boosting, CART, Klasifikasi, LightGBM, Phishing URL, XGBoost.
Subjects: 500 Natural sciences and mathematics > 519 Probabilities and applied mathematics > 519.5 Statistical mathematics
Divisions: Fakultas Sains, Teknologi dan Matematika > Statistika
Depositing User: Nanda
Date Deposited: 31 Jul 2026 06:54
Last Modified: 31 Jul 2026 06:54
URI: http://repository.ub.ac.id/id/eprint/260950
[thumbnail of DALAM MASA EMBARGO] Text (DALAM MASA EMBARGO)
Farah Nafisa Atiqa.pdf
Restricted to Registered users only

Download (2MB)

Actions (login required)

View Item View Item