← Back to SOC feed Coverage →

Detects the malicious usage of the ms-msdt URI as seen in CVE-2022-30190 / Follina exploitation

yara CRITICAL signature-base
exploitflorian-roth
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at signature-base →
Retrieved: 2026-08-03T23:00:00Z · Confidence: medium

Hunt Hypothesis

This hunt hypothesis identifies adversaries leveraging the ms-msdt URI scheme to execute Office Document Object Model (DOM) attacks, specifically targeting the Follina vulnerability (CVE-2022-30190) which allows remote code execution without requiring user interaction. A proactive search within Azure Sentinel is critical because this technique often bypasses traditional email security controls by exploiting trusted Microsoft components to establish initial footholds and exfiltrate sensitive data before standard detection triggers activate.

YARA Rule

rule EXPL_Follina_CVE_2022_30190_Msdt_MSProtocolURI_May22 {
   meta:
      description = "Detects the malicious usage of the ms-msdt URI as seen in CVE-2022-30190 / Follina exploitation"
      author = "Tobias Michalski, Christian Burkard"
      date = "2022-05-30"
      modified = "2022-07-18"
      reference = "https://doublepulsar.com/follina-a-microsoft-office-code-execution-vulnerability-1a47fce5629e"
      hash1 = "4a24048f81afbe9fb62e7a6a49adbd1faf41f266b5f9feecdceb567aec096784"
      hash2 = "778cbb0ee4afffca6a0b788a97bc2f4855ceb69ddc5eaa230acfa2834e1aeb07"
      score = 80
      id = "62e67c25-a420-5dac-9d1c-b0648ea6b574"
   strings:
      $re1 = /location\.href\s{0,20}=\s{0,20}"ms-msdt:/
      $a1 = "%6D%73%2D%6D%73%64%74%3A%2F" ascii /* URL encoded "ms-msdt:/" */
   condition:
      filesize > 3KB and
      filesize < 100KB and
      1 of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 2 string patterns in its detection logic.

References

False Positive Guidance

Here are 5 specific false positive scenarios for the ms-msdt URI detection rule, including tailored filters and exclusions:

Original source: https://github.com/Neo23x0/signature-base/blob/main/yara/gen_doc_follina.yar