Anomalous traffic identification method for POST messages based on gambling website templates
Malicious websites pose significant social risks, necessitating automatic, efficient, and accurate identification methods. This paper proposes a POST traffic classification method based on website templates to identify abnormal traffic from gambling websites. Using Fiddler, POST message data is collected from several gambling sites, extracting features like URLs, cookie parameters, and request body parameters to create a Gambling Website Single POST Message Dataset (GSPD). These features are converted into vector representations withWord2Vec and TF-IDF techniques. Hierarchical clustering identifies template-generated types, achieving unsupervised template recognition. Using clustering results, individual POST messages are labeled and features are extracted using TF-IDF and mutual information methods. The parameters of a Support Vector Machine (SVM) are then optimized with the Particle Swarm Optimization (PSO) algorithm for optimal classification. Experimental results show the model?s excellent performance, with a test set accuracy of 0.9985 and high precision, recall, and F1-scores, effectively identifying gambling and other illegal websites.
Authors
- Wenqi Sun
- Dezhi Han (ORCID: https://orcid.org/0000-0001-8861-5461)
- Zhimin Feng
- Songyang Wu (ORCID: https://orcid.org/0000-0001-5631-8876)
- Shuxin Shi (ORCID: https://orcid.org/0009-0004-8286-5100)
Institutions
- Ministry of Public Security of the People's Republic of China (CN)
- Shanghai Maritime University (CN)
Publication Details
- Journal
- Computer Science and Information Systems
- Published
- 2024-11-05
- DOI
- https://doi.org/10.2298/csis240728069f
- Primary Topic
- Internet Traffic Analysis and Secure E-voting
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Natural Science Foundation of Shanghai
- National Natural Science Foundation of China
- Ministry of Public Security of the People's Republic of China