Phishing webpage detection using structured URL generation
摘要
Phishing attacks remain a persistent threat in cybersecurity. Attackers continuously create deceptive webpages to trick users. As a result, the cybersecurity research community needs to build detection systems that can keep pace. Many existing methods rely on fixed-length padding to handle variable-length URLs, resulting in sparse inputs and reduced classifier performance in unknown data. We propose an augmentation framework that improves phishing detection by completing short or partial URLs before classification. We split each URL into a prefix and a target, train a character-level generator to produce realistic completions conditioned on the prefix, and add these completions to the training set alongside the original URLs. Then, a page-level classifier takes the main URL and all embedded URLs within a webpage as input. It predicts whether the page is phishing or benign. We evaluate the framework on a dataset of 31,462 webpages collected from Alexa and PhishTank. Across five random seeds, the Full Model achieves a mean AUC of 0.9425 (0.0029), compared with 0.9381 (0.0024) for the baseline, and improves recall from 0.8732 to 0.8857. A paired t-test confirms the gains are statistically significant (