Skip to main content
QUICK REVIEW

[Paper Review] Semi-supervised Conditional GAN for Simultaneous Generation and Detection of Phishing URLs: A Game theoretic Perspective

Sharif Amit Kamran, Shamik Sengupta|arXiv (Cornell University)|Aug 4, 2021
Spam and Phishing DetectionComputer Science5 citations
TL;DR

This paper proposes a semi-supervised conditional GAN that simultaneously generates adversarial phishing URLs and detects malicious ones using a game-theoretic training strategy. The model outperforms state-of-the-art methods with 95.52% accuracy on phishing detection and 87.45% accuracy in detecting adversarial examples, achieving real-time inference at 0.64 ms per URL.

ABSTRACT

Spear Phishing is a type of cyber-attack where the attacker sends hyperlinks through email on well-researched targets. The objective is to obtain sensitive information by imitating oneself as a trustworthy website. In recent times, deep learning has become the standard for defending against such attacks. However, these architectures were designed with only defense in mind. Moreover, the attacker's perspective and motivation are absent while creating such models. To address this, we need a game-theoretic approach to understand the perspective of the attacker (Hacker) and the defender (Phishing URL detector). We propose a Conditional Generative Adversarial Network with novel training strategy for real-time phishing URL detection. Additionally, we train our architecture in a semi-supervised manner to distinguish between adversarial and real examples, along with detecting malicious and benign URLs. We also design two games between the attacker and defender in training and deployment settings by utilizing the game-theoretic perspective. Our experiments confirm that the proposed architecture surpasses recent state-of-the-art architectures for phishing URLs detection.

Motivation & Objective

  • Address the lack of attacker perspective in existing phishing detection models by integrating game-theoretic reasoning between attacker and defender.
  • Develop a unified framework that simultaneously generates adversarial phishing URLs and detects malicious ones, improving robustness against zero-day attacks.
  • Overcome limitations of traditional black/white list and feature-based models by leveraging character-level deep learning with adversarial training.
  • Enable real-time deployment through lightweight architecture and efficient inference (0.64 ms per URL) for client- and server-side monitoring.
  • Enhance model robustness by training on both real and synthetic adversarial examples via semi-supervised learning and joint discriminator-generator fine-tuning.

Proposed method

  • Propose a conditional GAN with a generator that takes real benign or malicious URLs, noise vectors, and class labels to synthesize adversarial URLs.
  • Design a novel three-stage training strategy: first pre-train the discriminator, then fine-tune the generator with reconstruction loss, and finally jointly fine-tune both networks with weighted total loss.
  • Utilize semi-supervised learning by training on both labeled real URLs and unlabeled data, improving generalization and adversarial example detection.
  • Incorporate game-theoretic training games: one between a pseudo-attacker (generator) and discriminator during training, and another between a real hacker and defender in deployment.
  • Apply multiple loss functions including reconstruction loss (ℒrec), MSE, SSIM, and NRMSE to ensure structural and semantic similarity between real and generated URLs.
  • Optimize the discriminator to detect both real and adversarial examples, achieving high specificity (100%) and 74.9% recall on adversarial inputs.

Experimental results

Research questions

  • RQ1Can a conditional GAN be effectively trained in a semi-supervised manner to generate realistic adversarial phishing URLs while detecting malicious ones?
  • RQ2How does incorporating a game-theoretic perspective between attacker and defender improve the robustness and generalization of phishing detection models?
  • RQ3To what extent does the proposed model outperform existing state-of-the-art architectures in detecting both benign and malicious URLs?
  • RQ4How effective is the discriminator in detecting adversarial examples generated by the generator, especially under a 50/50 real-adversarial test split?
  • RQ5Can the model maintain high inference speed and low latency for real-time deployment in client- or server-side environments?

Key findings

  • The proposed model achieves 95.52% accuracy, 96.00% sensitivity, and 0.9552 AUC on benign/malicious phishing URL classification, outperforming all compared SOTA models.
  • The generator produces adversarial URLs with 98.33% SSIM score, 0.000579 MSE, and 0.19708 NRMSE, indicating high structural similarity to real URLs.
  • The discriminator detects adversarial examples with 87.45% accuracy, 74.9% sensitivity (recall), and perfect 100% specificity, demonstrating strong robustness.
  • The model processes URLs in 0.64 ms per inference, enabling real-time performance at over 1,500 URLs per second.
  • The architecture is lightweight with only 81,000 parameters, making it suitable for deployment in resource-constrained environments.
  • The model significantly outperforms DC-GAN-based and hybrid CNN-LSTM models (e.g., [24]) despite having fewer parameters, indicating superior efficiency and generalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.