DGuardAPI Docs

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

Platform Availability

Android Integration

Direct API integration is fully supported on Android. This requires the application to request device permissions to extract and forward SMS information to our analysis endpoint.

API Eligible

iOS Implementation

Due to system-level device limitations on iOS, direct API integration is not possible. Implementation on iOS can only be achieved through the DGuard SDK.

SDK Required

Analyze SMS

bash
POST /sms/analyze

Request Example

json
{
  "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

json
{
  "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.

bash
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

Rate Limiting

Rate limits for the SMS Protection module are enforced per application. All endpoints share the same quota based on your plan. For detailed specifications, see the Security & Compliance page.

Sandbox: 60 req/min
Production: 1,000 req/min