Lexical-Feature Machine Learning versus Naive Keyword Matching for Phishing URL Detection Under Adversarial Evasion Attacks

Phishing remains one of the most widespread vectors for credential theft, and machine learning (ML) has become a common tool for detecting malicious URLs automatically. However, many practical detectors, especially in beginner and small-scale deployments, still rely on naive string/keyword matching rather than ML. This paper presents a controlled comparative study of a naive keyword-matching filter against a logistic-regression detector trained on lexical/structural URL features (length, character entropy, digit ratio, subdomain count, suspicious top-level domains). Both detectors are evaluated on a labeled dataset of legitimate and phishing-style URLs before and after four evasion techniques are applied: typosquatting, subdomain injection, Unicode homograph substitution, and a combined attack. Results show that the naive filter’s detection rate collapses to 0% under typosquatting and combined attacks and to 6.7% under homograph substitution, while in this controlled synthetic evaluation the lexical-feature ML detector retains 93.3–100% recall across all four fixed transformations. We analyze why the selected structural features are more robust than exact substring matching under the transformations evaluated, note the one condition (subdomain injection) that does not degrade either detector, and discuss the limitations of a synthetic, model-agnostic evaluation setting together with directions for future work.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-09-18
DOI
https://doi.org/10.5281/zenodo.22830602
Primary Topic
Spam and Phishing Detection
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
preprint

Lexical-Feature Machine Learning versus Naive Keyword Matching for Phishing URL Detection Under Adversarial Evasion Attacks

Muhammad Moiz Iftikhar
Zenodo (CERN European Organization for Nuclear Research)
Spam and Phishing Detection
preprint

Lexical-Feature Machine Learning versus Naive Keyword Matching for Phishing URL Detection Under Adversarial Evasion Attacks

Muhammad Moiz Iftikhar
preprint en

Abstract

Phishing remains one of the most widespread vectors for credential theft, and machine learning (ML) has become a common tool for detecting malicious URLs automatically. However, many practical detectors, especially in beginner and small-scale deployments, still rely on naive string/keyword matching rather than ML. This paper presents a controlled comparative study of a naive keyword-matching filter against a logistic-regression detector trained on lexical/structural URL features (length, character entropy, digit ratio, subdomain count, suspicious top-level domains). Both detectors are evaluated on a labeled dataset of legitimate and phishing-style URLs before and after four evasion techniques are applied: typosquatting, subdomain injection, Unicode homograph substitution, and a combined attack. Results show that the naive filter’s detection rate collapses to 0% under typosquatting and combined attacks and to 6.7% under homograph substitution, while in this controlled synthetic evaluation the lexical-feature ML detector retains 93.3–100% recall across all four fixed transformations. We analyze why the selected structural features are more robust than exact substring matching under the transformations evaluated, note the one condition (subdomain injection) that does not degrade either detector, and discuss the limitations of a synthetic, model-agnostic evaluation setting together with directions for future work.

Zenodo (CERN European Organization for Nuclear Research)
University of Engineering and Technology Taxila (PK)
Peace, Justice and strong institutions
Spam and Phishing Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Lexical-Feature Machine Learning versus Naive Keyword Matching for Phishing URL Detection Under Adversarial Evasion Attacks — Muhammad Moiz Iftikhar · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS