Detecting Gambling SEO Spam on Academic Domains using Structural and Textual Features: A Domain-Holdout Evaluation

Muh Ghazy Daffa Sampe, Muhammad Kevin Adli Pratama, Muhamad Rayhan Akhsani Taqwim, Kalingga Dwindra Putraka, Anindita Septiarini, Novianti Puspitasari

Abstract


SEO spam practices related to gambling on Indonesian academic domains pose dual risks: they undermine the integrity of institutional websites and impose an operational burden on security teams tasked with distinguishing compromised pages from legitimate content. This study develops a supervised detection approach to identify gambling-related SEO spam pages on .ac.id domains using a rigorously curated reference dataset. The final dataset contains 2,003 manually annotated pages collected from 938 unique domains, comprising 815 malicious pages and 1,188 benign pages. The proposed pipeline combines textual signals from character-level TF-IDF with structural page indicators, including hidden elements, suspicious links, iframes, and external-link patterns. To avoid overly optimistic performance estimates, evaluation was conducted using a domain-holdout protocol, in which 20% of the domains were completely excluded from model training and selection. Five models were compared: a keyword-based baseline, Naïve Bayes with word-level TF-IDF, Random Forest with structural features, and hybrid Logistic Regression and Support Vector Machine (SVM) models. Experimental results on the holdout set show that Random Forest with structural features achieved the highest F1-score of 0.8844, whereas the proposed hybrid SVM achieved the highest precision of 0.9205, with an F1-score of 0.8663. These findings indicate that structural compromise signals are more robust than textual cues in detecting stealthy SEO spam scenarios, while hybrid models remain promising when high precision and interpretability are prioritized.

Keywords


deteksi halaman berbahaya; domain akademik; domain-holdout; machine learning; SEO-spam judi

Full Text:

PDF

References


L. Tang and Q. H. Mahmoud, "A Survey of Machine Learning-based Solutions for Phishing Website Detection," Machine Learning and Knowledge Extraction, Vol. 3, No. 3, pp. 672-694, 2021, DOI: 10.3390/make3030034.

Y. Tian, Y. Yu, J. Sun, and Y. Wang, "From Past to Present: A Survey of Malicious URL Detection Techniques, Datasets and Code Repositories," Computer Science Review, Vol. 58, p. 100810, 2025, DOI: 10.1016/j.cosrev.2025.100810.

M. Sánchez-Paniagua, E. Fidalgo, E. Alegre, and R. Alaiz-Rodríguez, "Phishing Websites Detection using a Novel Multipurpose Dataset and Web Technologies Features," Expert Systems with Applications, Vol. 207, p. 118010, 2022, DOI: 10.1016/j.eswa.2022.118010.

A. K. Jha, R. Muthalagu, and P. M. Pawar, "Intelligent Phishing Website Detection using Machine Learning," Multimedia Tools and Applications, Vol. 82, pp. 29431-29456, 2023, DOI: 10.1007/s11042-023-14731-4.

C. Opara, Y. Chen, and B. Wei, "Look Before You Leap: Detecting Phishing Web Pages by Exploiting Raw URL and HTML Characteristics," Expert Systems with Applications, Vol. 236, p. 121183, 2024, DOI: 10.1016/j.eswa.2023.121183.

S. Sheikhi and P. Kostakos, "Safeguarding Cyberspace: Enhancing Malicious Website Detection with PSO Optimized XGBoost and Firefly-based Feature Selection," Computers & Security, Vol. 142, p. 103885, 2024, DOI: 10.1016/j.cose.2024.103885.

W. Li, S. Manickam, Y.-W. Chong, W. Leng, and P. Nanda, "A State-of-the-Art Review on Phishing Website Detection Techniques," IEEE Access, Vol. 12, pp. 187976-188012, 2024, DOI: 10.1109/ACCESS.2024.3514972.

S. Kavya and D. Sumathi, "Staying Ahead of Phishers: A Review of Recent Advances and Emerging Methodologies in Phishing Detection," Artificial Intelligence Review, Vol. 58, art. No. 50, 2025, DOI: 10.1007/s10462-024-11055-z.

G. S. Collins, K. G. M. Moons, P. Dhiman, R. D. Riley, A. L. Beam, B. Van Calster, et al., "TRIPOD+AI Statement: Updated Guidance for Reporting Clinical Prediction Models that Use Regression or Machine Learning Methods," BMJ, Vol. 385, p. e078378, 2024, DOI: 10.1136/bmj-2023-078378.

M. Mia, D. Derakhshan, and M. M. A. Pritom, "Can Features for Phishing URL Detection Be Trusted Across Diverse Datasets? A Case Study with Explainable AI," in Proceedings of the 2nd International Conference on AI Foundation Models and Software Engineering, 2025, DOI: 10.1145/3704522.3704532.

B. Wang, "Malicious URL Detection with Explainable Machine Learning Techniques," in Proceedings of the 2nd International Conference on Informatics, Education and Computer Technology Applications (IECA '25), pp. 293-299, 2025, DOI: 10.1145/3732801.3732854.

J. L. Wilk-Jakubowski, Ł. Pawlik, G. Wilk-Jakubowski, and A. Sikora, "Machine Learning and Neural Networks for Phishing Detection: A Systematic Review (2017–2024)," Electronics, Vol. 14, No. 18, p. 3744, 2025, DOI: 10.3390/electronics14183744.

R. Liu, Y. Wang, Z. Guo, H. Xu, Z. Qin, W. Ma, and F. Zhang, "TransURL: Improving Malicious URL Detection with Multi-Layer Transformer Encoding and Multi-Scale Pyramid Features," Computer Networks, Vol. 253, p. 110707, 2024, DOI: 10.1016/j.comnet.2024.110707.

R. Liu, Y. Wang, H. Xu, Z. Qin, F. Zhang, Y. Liu, and Z. Cao, "PMANet: Malicious URL Detection via Post-Trained Language Model Guided Multi-Level Feature Attention Network," Information Fusion, 2025, DOI: 10.1016/j.inffus.2024.102638.

A. E. Omolara and M. Alawida, "DaE2: Unmasking Malicious URLs by Leveraging Diverse and Efficient Ensemble Machine Learning for Online Security," Computers & Security, Vol. 148, p. 104170, 2025, DOI: 10.1016/j.cose.2024.10417.




DOI: https://doi.org/10.32520/stmsi.v15i8.6457

Article Metrics

Abstract view : 2 times
PDF - 0 times

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.