CoolFace
Datasetpublic

Akshat4112/Glyphnet

GlyphNet: Homoglyph Domains Dataset Data for detecting homoglyph phishing domains (e.g. facebook.com spoofed with visually-similar Unicode characters). Every genuine domain is paired with a synthetically generated homoglyph variant, and each domain is also rendered to a 256x256 grayscale image so the task can be tackled as text or image classification. Paper: arXiv:2306.10392 · Code: github.com/Akshat4112/Glyphnet Configs & splits Both configs share the same train… See the full description on the dataset page: https://huggingface.co/datasets/Akshat4112/Glyphnet.

sourceHugging Facemitupdated 3mo agoView on Hugging Face
0likes55downloads
Dataset Card

GlyphNet: Homoglyph Domains Dataset

Data for detecting homoglyph phishing domains (e.g. facebook.com spoofed with visually-similar Unicode characters). Every genuine domain is paired with a synthetically generated homoglyph variant, and each domain is also rendered to a 256x256 grayscale image so the task can be tackled as text or image classification.

Paper: arXiv:2306.10392 · Code: github.com/Akshat4112/Glyphnet

Configs & splits

Both configs share the same train / validation / test split (70/20/10). Splits are assigned per pair (seeded), so a genuine domain and its homoglyph always fall in the same split - preventing leakage between near-identical pairs.

ConfigRowsFields
pairs1,285,579 pairsdomain (genuine), homoglyphs (spoofed), pair_id
images2,571,158 imagesimage (256x256 grayscale PNG), label (real/phish), text, pair_id

pair_id links the two images rows (one real, one phish) that came from the same source pair, and matches the pair_id in the pairs config.

python
from datasets import load_dataset

pairs  = load_dataset("Akshat4112/Glyphnet", "pairs")
images = load_dataset("Akshat4112/Glyphnet", "images")
train_img = images["train"]        # or "validation" / "test"

How it was generated

Homoglyphs are produced by substituting one or two characters with Unicode confusables (code/dataGeneration.py). Images are rendered with the DejaVu Sans font - Arial (used in the paper) is proprietary and not redistributed here, so glyph shapes may differ slightly from the original figures.

Intended uses & limitations

  • Intended for research on homoglyph / IDN-homograph phishing detection.
  • Homoglyphs are synthetic, not harvested from real attacks, so the distribution may not match live phishing in the wild.
  • The genuine and spoofed strings within a pair are near-identical; always respect the provided splits (or group by pair_id) to avoid leakage.
  • Rendering font differs from the paper (DejaVu Sans vs Arial).

License

MIT (same as the source repository).

Citation

If you use this dataset in your research, please cite the GlyphNet paper:

bibtex
@article{gupta2023glyphnet,
  title   = {GlyphNet: Homoglyph domains dataset and detection using attention-based Convolutional Neural Networks},
  author  = {Gupta, Akshat and Tomar, Laxman Singh and Garg, Ridhima},
  journal = {arXiv preprint arXiv:2306.10392},
  year    = {2023}
}
Gupta, A., Tomar, L. S., & Garg, R. (2023). GlyphNet: Homoglyph domains dataset and detection using attention-based Convolutional Neural Networks. arXiv:2306.10392.