Mail Shield & Phishing Interceptor
Email remains the #1 primary delivery vehicle for cybercrime worldwide. Over 90% of all successful cyberattacks—from ransomware and corporate espionage to credential theft and wire fraud—begin with a deceptive email containing an infected attachment or a spoofed phishing link.
The DodaShield Mail Shield serves as an intelligent, zero-trust barrier between your inbox and your operating system, inspecting incoming messages, deconstructing attachments, and neutralizing deceptive links.
1. Why Built-In Email Spam Filters Fail
Webmail providers and standard desktop clients (such as Outlook or Thunderbird) have basic spam filters, but they struggle against modern targeted attacks:
- Spear-Phishing: Highly personalized emails appearing to come from your CEO, bank, or accountant that pass standard SPF/DKIM filters.
- Obfuscated Attachments: Double-extension files (e.g.,
Invoice_OCT2026.pdf.exe) disguised with legitimate Adobe PDF icons. - Homograph Domain Spoofing: Deceptive URLs using Cyrillic lookalike characters (e.g., swapping Latin
awith Cyrillicаinpаypal.com) that look identical to the naked eye. - Password-Protected ZIPs: Cybercriminals place malicious payloads inside password-protected ZIP archives to bypass cloud gateway scanners.
Without DodaShield Mail Shield, clicking a single bad attachment or link can compromise your entire computer within seconds.
With DodaShield Mail Shield:
- Attachments are intercepted and deeply scanned before they can be opened.
- Links are verified against Cloudflare R2 threat blocklists and homograph domain analyzers.
- Executable attachments masquerading as innocent office documents are flagged immediately.
2. Mail Shield Architecture
graph TD
EMAIL["Incoming Email / Saved Message / Local EML & MSG File"] --> PARSE["MIME & Header Deconstructor"]
subgraph INSPECTION ["Multi-Vector Email Inspection"]
PARSE --> ATTACH["Attachment Decompressor & YARA Scanner"]
PARSE --> URLS["URL Extractor & Homograph Analyzer"]
PARSE --> SPF["Header & Sender Authentication Validator"]
end
ATTACH -- "Malicious Code / Executable Disguise" --> BLOCK_ATT["Quarantine Attachment & Strip From Mail"]
URLS -- "Phishing / Homograph / C2 Link" --> WARN_URL["Defang Link & Display Warning Card"]
SPF -- "Spoofed / Impersonated Sender" --> FLAG_SPAM["Flag as High-Risk Impersonation Attack"]
3. How to Use Mail Shield (Procedure)
- Open Security → Mail Shield in the left sidebar.
- The dashboard displays your active email defenses:
- Attachment Protection:
Active - Homograph URL Interceptor:
Active - Total Attachments Inspected: Counter of scanned documents, spreadsheets, and archives.
- Threats Neutralized: Count of blocked trojans and phishing attempts.
- Attachment Protection:
- Manual Attachment & Email File Inspection:
- Have a suspicious
.eml,.msg, or downloaded attachment you aren’t sure about? - Drag and drop the file directly into the Mail Shield Inspection Box (or click Scan Email File).
- DodaShield parses all headers, extracts attachments, unpacks nested archives, evaluates links, and provides an instant green/red risk assessment.
- Have a suspicious
- Configuring Protection Rules:
- Under the Settings tab, configure automated handling:
- Block All Executable Extensions: Automatically blocks
.exe,.scr,.bat,.vbs, and.jseven if hidden in archives. - Enforce Safe Link Defanging: Automatically neutralizes clicked links until verified against the threat intelligence database.
- Block All Executable Extensions: Automatically blocks
- Under the Settings tab, configure automated handling:
4. Under the Hood: Homograph Detection & MIME Parsing
DodaShield’s Mail Shield (durga_av/engine/mail_shield.py and durga_av/engine/mail_shield_config.py) performs advanced linguistic and structural analysis:
- Internationalized Domain Name (IDN) Punycode Analysis: Unpacks homograph URLs by translating display strings into their underlying Punycode format (
xn--...). If a domain mixes character sets (e.g., Latin and Cyrillic) to mimic high-value financial institutions (like Google, Apple, PayPal, or Microsoft), it is flagged as an active spoofing exploit. - Double-Extension & Right-to-Left Override (RLO) Defense: Detects Unicode RLO characters (
\u202E) used by hackers to reverse file extensions on screen (turningevil_fdp.exeintoevil_exe.pdf). - Nested Archive Unpacking: Recurses through nested archives (e.g., a
.zipcontaining a.isocontaining an.exe) up to 5 layers deep to ensure malware cannot hide behind nested compression.
5. Comparison: Without DodaShield vs. With DodaShield
| Email Attack Vector | Unprotected PC | DodaShield Protected PC |
|---|---|---|
| Spoofed PayPal Invoice | User clicks link; enters password on identical fake login page; credentials stolen. | Mail Shield flags homograph domain (xn--...); warns user with red modal and blocks page load. |
Hidden .pdf.exe Malware | User sees a PDF icon and double-clicks; ransomware launches immediately. | Mail Shield detects double-extension trickery; blocks file execution and quarantines payload. |
| Macro-Enabled Excel Sheet | User clicks “Enable Content”; background macro downloads banking Trojan. | Real-time scanner flags the embedded VBA payload and quarantines the document upon download. |
Related Security Modules
- Malware Scanner — Scan unzipped email attachments using multi-engine heuristic inspection.
- Web Protection & SafeSearch — Intercept deceptive phishing URLs embedded in incoming messages.
- Encrypted Quarantine Vault — Isolate malicious Office macros, infostealers, and weaponized PDFs safely.