
Full exploit chain lab and Suricata IDS detection for CVE-2022-30190 (Follina) - MSDT RCE
Researcher: Abhimanyu Rawat Role: Technical Research & Cyber Security Operations Intern Date: May 8, 2026
CVE-2022-30190 (nicknamed "Follina") is a zero-day Remote Code Execution (RCE) vulnerability in Microsoft Windows that allows an attacker to execute arbitrary commands simply by having a victim open a Word document — no macros required.
It works by abusing the ms-msdt:// URI handler, a legitimate Windows diagnostic protocol, through Microsoft Office's external template feature.
⚠️ Disclaimer: This lab was conducted in a fully isolated VMware environment for educational research purposes only. No real systems were targeted.
Attacker (Kali) Victim (Windows 10)
│ │
│── python3 follina.py ──────────────────►│ clickme.docx served
│ │
│ Word opens doc
│ │
│◄── GET /exploit.html ───────────────────│ ms-msdt:// triggered
│ │
│── exploit.html sent ───────────────────►│
│ │
│ MSDT executes
│ calc.exe ✅
Stage 1: Payload generated with follina.py → clickme.docx + exploit.html
Stage 2: Windows VM opened document in Word 2019 → clicked Enable Editing
Stage 3: Word fetched exploit.html from Kali HTTP server via ms-msdt:// handler
Stage 4: MSDT executed calc.exe — arbitrary code execution confirmed
Custom Suricata rule SID:9000002 fired 8 times in fast.log:
05/08/2026-07:21:31 [**] [1:9000002:1] CVE-2022-30190 Follina exploit.html Fetch Detected [**]
[Classification: A Network Trojan was detected] [Priority: 1]
{TCP} 192.168.153.129:51278 -> 192.168.153.128:8000
Detection rule used:
alert http any any -> any any (msg:"CVE-2022-30190 Follina exploit.html Fetch Detected"; flow:established,to_server; content:"exploit.html"; http_uri; nocase; classtype:trojan-activity; sid:9000002; rev:1;)
Apply KB5014699 — Released June 14, 2022. Removes the ms-msdt:// URI handler from Windows entirely.
Verify patch is installed:
wmic qfe list | findstr "5014699"
| Technique ID | Name |
|---|---|
| T1059.003 | Command and Scripting Interpreter: Windows Command Shell |
| T1204.002 | User Execution: Malicious File |
| T1190 | Exploit Public-Facing Application |
| T1105 | Ingress Tool Transfer |
| Component | Details |
|---|
| Attacker OS | Kali Linux — 192.168.153.128 |
| Victim OS | Windows 10 Build 19041.1 (Unpatched) |
| Office Version | Microsoft Office 2019 Version 1808 |
| IDS | Suricata 8.0.4 |
| Exploit Tool | chvancooten/follina.py |
| Network | Isolated VMware NAT — 192.168.153.0/24 |
| File | Description |
|---|
CVE-2022-30190-Follina-Technical-Breakdown.docx | Full technical research article |
suricata_follina_rules.rules | Custom Suricata IDS detection rules |
exploit.html | Follina payload (lab use only) |
clickme.docx | Lure document used in lab (lab use only) |
screenshot*.png | Lab evidence screenshots |