Phishing website detection using machine learning

Research Article • Article ID: IJREK-2026-00173

Authors & Institutional Affiliations
Dhiraj Dattatray MeherCorresponding Author
Dattakala Group of Institutions
dhirajmeher5555@gmail.com
Guide / Supervisor:Mrs. Dhage T.S.

Abstract

Phishing websites imitate legitimate online services to trick users into revealing passwords, payment details, and other sensitive information. Static blacklists are useful for known threats but may not recognize newly created or rapidly modified sites. This paper presents a proposed machine-learning framework that classifies a website URL as likely legitimate or potentially phishing by examining lexical, domain, and— where safely available—HTML-based features. The workflow includes data validation, leakage-aware preprocessing, model training, threshold selection, and user-facing risk explanations. Random Forest, Support Vector Machine, and gradient-boosting models are considered as candidate classifiers. The evaluation plan uses precision, recall, F1-score, ROC-AUC, PR-AUC, false-positive rate, and inference time, with special attention to class imbalance and temporal testing. This paper is a design proposal; it does not claim newly conducted experiments or measured performance. The intended outcome is an understandable prototype that supports safer browsing while preserving human judgment and privacy.

Keywords

Phishing detectionmachine learningmalicious URLcybersecurityfeature extractionRandom Forestexplainable A

I. INTRODUCTION

Online banking, shopping, education, and communication increasingly depend on web services. Attackers exploit this trust by creating pages and URLs that resemble genuine organizations. A user may be directed to a deceptive login page through email, messaging applications, advertisements, or social media. Successful phishing can lead to account takeover, financial loss, identity theft, and further compromise. Machine-learning detection can generalize from patterns in labeled examples instead of relying only on previously reported URLs. URL lexical features can be computed without opening a potentially dangerous site; domain and page-content features can provide additional context when collected through controlled, safe processes. No single feature or model is sufficient in every environment, so robust evaluation and cautious user messaging are essential.

II. PROBLEM STATEMENT AND OBJECTIVES

The problem is to design a practical detector that identifies suspicious websites while limiting false alarms, processing cost, and unnecessary collection of user data. Objectives are to: (1) extract useful URL and domain indicators; (2) compare candidate classifiers using consistent data splits; (3) produce interpretable risk outputs; (4) evaluate minority-class detection and runtime; and (5) document limitations and responsible deployment requirements.

III. RELATED WORK

Research on phishing detection commonly groups defenses into list-based, similarity-based, heuristic, and machine-learning approaches. Blacklists can be efficient for known malicious resources, but they depend on timely updates. Similarity methods compare a suspicious page with a known brand or legitimate site, while machine-learning methods infer patterns from URL, domain, page-content, and behavioral features. A broad IEEE Access survey reviews these categories and discusses datasets and research gaps [1]. A recent IEEE Access systematic review focuses specifically on feature engineering for phishing website detection. It groups features into URL/lexical, HTML/content, domain, behavioral, and hybrid categories, and notes ongoing challenges involving evolving attacks, dataset limitations, high dimensionality, and efficiency [2]. Other IEEE work studies lexical analysis of URLs and evaluates conventional classifiers [3], while additional surveys review broader webpage-detection techniques, including content and visual signals [4], [5]. These sources motivate a modular design rather than dependence on one feature family.

IV. PROPOSED SYSTEM

The proposed system receives a URL, extracts safe-to-compute features, applies a trained classifier, and displays a risk category with a short explanation. In a browser or web demonstration, the URL should be analyzed without automatically submitting credentials or executing unknown scripts. Any HTML inspection should use a controlled retrieval sandbox, strict timeouts, and disabled active content.

TABLE I
ModuleFunctionExample output
URL intakeNormalize and validate URL syntaxNormalized URL string
Feature extractorCompute lexical and optional domain/page featuresNumeric feature vector
ClassifierEstimate phishing likelihoodProbability or class score
Explanation layerShow major contributing indicatorsSuspicious tokens, unusual length
User interfacePresent cautionary resultLikely safe / suspicious / uncertain

V. FEATURE ENGINEERING

TABLE II
Feature familyIllustrative attributesStrength / caution
Lexical URLLength, special characters, token count, digit ratioFast; attackers can obfuscate patterns
Host/domainSubdomain depth, domain age when available, DNS contextAdds context; external lookups may fail or be stale
HTML/contentForm destinations, iframe use, page text indicatorsPotentially useful; requires safe page retrieval
ReputationKnown blacklist or trusted-list matchStrong for known URLs; misses new domains
Behavioral/visualRedirect sequence, brand similarityCan improve context; higher cost and privacy risk

VI. DETECTION WORKFLOW

Fig. 2. Detection and user-notification flowchart.
Fig. 2. Detection and user-notification flowchart.

VII. IMPLEMENTATION METHODOLOGY

A prototype can be implemented in Python using pandas for tabular data, scikit-learn for preprocessing and classification, and a lightweight web interface such as Streamlit. A reproducible pipeline should combine preprocessing and model fitting so the same operations are applied consistently during training and inference. Model versions, feature definitions, random seeds, and dataset versions should be recorded. A. Model Development Chain

Fig. 3. End-to-end development and maintenance chain.
Fig. 3. End-to-end development and maintenance chain.
Fig. 1. Proposed system architecture for phishing website detection.
Fig. 1. Proposed system architecture for phishing website detection.
TABLE III
MetricPurposeInterpretation
PrecisionShare of flagged URLs that are phishingHigher precision means fewer false alarms among alerts
RecallShare of phishing URLs detectedHigher recall means fewer missed phishing URLs
F1-scoreHarmonic mean of precision and recallUseful summary when both matter
PR-AUCPrecision–recall trade-offEspecially informative for imbalanced data
False-positive rateLegitimate URLs incorrectly flaggedImportant for user trust
Inference timeTime needed for a predictionRelevant for browser integration

VIII. SECURITY AND PRIVACY

The system should avoid storing complete browsing histories unless essential and explicitly disclosed. Logs should minimize personal information, protect access, and use retention limits. Suspicious pages must not be opened in an ordinary authenticated browser during data collection. The model and feature pipeline should be protected against tampering, and users should be able to report false alarms. A phishing label should be treated as a risk estimate rather than a legal or factual determination.

IX. EXPECTED OUTCOMES AND DISCUSSION

TABLE IV
ApproachAdvantagesLimitations to examine
Blacklist lookupFast and easy to explainNew or short-lived URLs may be absent
Heuristic rulesTransparent, low compute costRules can become outdated
Logistic RegressionSimple baseline, relatively interpretableMay miss complex relationships
Random ForestHandles non-linear feature interactionsModel size and calibration need testing
SVM / boostingCan capture complex decision boundariesTuning and runtime costs vary

X. LIMITATIONS

The proposal depends on the quality and representativeness of available labeled datasets. Dataset labels can be outdated, and random splits can overestimate generalization when similar URLs occur in both training and testing. Domain-age and reputation features may require external services and can be unavailable or delayed. HTML-based analysis adds collection risk and processing overhead. Finally, an offline test does not prove effectiveness against all future phishing campaigns; continuous evaluation and independent security review are necessary.

XI. ETHICAL AND RESPONSIBLE USE

The goal is defensive detection and user protection. Dataset acquisition should respect provider terms, applicable law, and institutional guidance. Collection should avoid accessing private accounts or submitting information to suspicious pages. When students or users participate in usability testing, consent and data minimization should be applied. Model decisions should not be presented as certain when the evidence is weak. Accessibility and language clarity matter because a warning that users cannot understand may fail to protect them.

XII. FUTURE WORK

Future work can examine hybrid URL and page-content features, explainability tools, calibrated confidence estimates, and temporal evaluation across multiple sources. A browser extension could be evaluated in a controlled pilot. Additional research should measure latency, memory use, and false-positive impact on real browsing tasks. Adversarial testing can investigate how small URL changes affect predictions, while privacy-preserving aggregation may help improve models without centralizing raw browsing histories.

XIII. CONCLUSION

This paper proposed a machine-learning framework for phishing website detection using URL, domain, and optional page-content features. The architecture includes data preparation, candidate classifiers, risk scoring, explanations, and user-facing warnings. The methodology emphasizes leakage-aware splits, class-sensitive metrics, temporal testing, and privacy-conscious collection. Its practical value must be established through implementation and controlled evaluation; no experimental results are claimed in this design paper.

REFERENCES

[1] G. L. S. et al., “Phishing or Not Phishing? A Survey on the Detection of Phishing Websites,” IEEE Access, vol. 11, pp. 18499–18519, 2023, doi: 10.1109/ACCESS.2023.3247135. [2] Y. A. Kustiawan and K. I. Ghauth, “Feature Engineering for Phishing Website Detection Using Machine Learning: A Systematic Review,” IEEE Access, vol. 13, pp. 192080–192104, 2025, doi: 10.1109/ACCESS.2025.3630334. [3] “URL Phishing Detection using Machine Learning Techniques based on URLs Lexical Analysis,” in Proc. 12th Int. Conf. Information and Communication Systems (ICICS), 2021, doi: 10.1109/ICICS52457.2021.9464539. [4] “Phishing Webpage Detection: Unveiling the Threat Landscape and Investigating Detection Techniques,” IEEE Communications Surveys & Tutorials, vol. 27, no. 2, pp. 974–1007, 2025, doi: 10.1109/COMST.2024.3441752. [5] “Exploring Techniques for Web Phishing Detection: A Comprehensive Survey,” in Proc. IEEE ICICCS, 2023, doi: 10.1109/ICICCS56967.2023.10142655. [6] “Survey on Detection and Prevention of Phishing Websites using Machine Learning,” in Proc. IEEE ICACITE, 2021, doi: 10.1109/ICACITE51222.2021.9404714. [7] “Across the Spectrum In-Depth Review AI-Based Models for Phishing Detection,” IEEE Open Journal of the Communications Society, vol. 6, pp. 2065– 2089, 2025, doi: 10.1109/OJCOMS.2024.3462503. [8] “Think Before You Click—Malicious URL Detection in Cybersecurity: A Systematic Review and Research Roadmap,” IEEE Access, vol. 13, pp. 154305– 154325, 2025, doi: 10.1109/ACCESS.2025.3601387. [9] “Comparative Evaluation of Machine Learning Models for Phishing Website Detection Using URL-Based Features,” IEEE Communications Standards Magazine, vol. 10, no. 3, 2026. [10] Scikit-learn Developers, “scikit-learn: Machine Learning in Python,” software documentation. https://scikit-learn.org/stable/

How to Cite this Contribution

APA Standard

Dhiraj Dattatray Meher et al. (2026). Phishing website detection using machine learning. International Journal of Research, Exploration & Knowledge (IJREK), 1(1).

Publication Metadata
Journal:IJREK
Published Date:October 29, 2026
Volume / Issue:Volume 1, Issue 1
Article ID:IJREK-2026-00173
Research Area:Machine Learning & Deep Learning
Open Access License

Distributed under Creative Commons Attribution 4.0 International (CC BY 4.0).