English

PhishSnap: Image-Based Phishing Detection Using Perceptual Hashing

Cryptography and Security 2025-12-09 v1 Computer Vision and Pattern Recognition Machine Learning

Abstract

Phishing remains one of the most prevalent online threats, exploiting human trust to harvest sensitive credentials. Existing URL- and HTML-based detection systems struggle against obfuscation and visual deception. This paper presents \textbf{PhishSnap}, a privacy-preserving, on-device phishing detection system leveraging perceptual hashing (pHash). Implemented as a browser extension, PhishSnap captures webpage screenshots, computes visual hashes, and compares them against legitimate templates to identify visually similar phishing attempts. A \textbf{2024 dataset of 10,000 URLs} (70\%/20\%/10\% train/validation/test) was collected from PhishTank and Netcraft. Due to security takedowns, a subset of phishing pages was unavailable, reducing dataset diversity. The system achieved \textbf{0.79 accuracy}, \textbf{0.76 precision}, and \textbf{0.78 recall}, showing that visual similarity remains a viable anti-phishing measure. The entire inference process occurs locally, ensuring user privacy and minimal latency.

Keywords

Cite

@article{arxiv.2512.02243,
  title  = {PhishSnap: Image-Based Phishing Detection Using Perceptual Hashing},
  author = {Md Abdul Ahad Minhaz and Zannatul Zahan Meem and Md. Shohrab Hossain},
  journal= {arXiv preprint arXiv:2512.02243},
  year   = {2025}
}

Comments

IEE Standard Formatting, 3 pages, 3 figures

R2 v1 2026-07-01T08:04:45.097Z