D
DGuardAPI Documentation

SMS Phishing Protection (Smishing)

Protection against phishing in SMS messages (Smishing). Available for Android with real-time analysis of incoming messages.

Features

Real-time ML Analysis

Instant detection

Malicious URL Detection

URL scanning in messages

Identity Spoofing

Impersonation detection

Native Android Support

Batch analysis for sync

Analyze SMS

POST /sms/analyze

Request Example

{
  "sender": "+34612345678",
  "message_content": "BANK: Your account has been blocked. Verify here: http://banco-secure.tk/verificar",
  "message_id": "sms_123_android",
  "received_date": "2025-01-14T18:00:00Z",
  "platform": "android",
  "extracted_urls": ["http://banco-secure.tk/verificar"],
  "device_id": "device_abc123"
}

Response Example

{
  "analysis_id": "sms_xyz789",
  "is_phishing": true,
  "risk_level": "critical",
  "risk_score": 0.91,
  "confidence_score": 0.94,
  "threat_indicators": [
    {
      "type": "bank_impersonation",
      "severity": "critical",
      "description": "Message impersonates bank identity"
    },
    {
      "type": "urgency_language",
      "severity": "high",
      "description": "Uses urgent language: 'blocked', 'verify'"
    },
    {
      "type": "suspicious_url",
      "severity": "critical",
      "description": "Suspicious .tk domain URL"
    }
  ],
  "sender_analysis": {
    "is_known_contact": false,
    "sender_type": "unknown_number"
  },
  "url_analysis": {
    "urls_found": 1,
    "malicious_urls": 1
  },
  "recommendations": [
    "DO NOT click the link",
    "DO NOT reply to the message",
    "Block this sender",
    "Report as spam to your carrier"
  ]
}

Batch SMS Analysis

Analyze multiple SMS messages in one request. Useful for app initial synchronization.

POST /sms/analyze/batch

Limits: 1-100 messages per request

Common SMS Threats

Bank Impersonation

Fake messages pretending to be from banks

145 detected

Delivery Scam

Fake package delivery notifications

89 detected

Prize Scam

False prize or lottery winnings

56 detected

URL Phishing

Messages with malicious links

52 detected