← Back to SOC feed Coverage →

Detects suspicious pattern in msdt diagnostics log (e.g. CVE-2022-30190 / Follina exploitation)

yara HIGH 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-04T11:00:00Z · Confidence: medium

Hunt Hypothesis

This hunt hypothesis targets adversaries leveraging Microsoft Support Diagnostic Tool (MSDT) to execute remote code via Office document exploits, specifically mimicking the Follina vulnerability (CVE-2022-30190). Proactive hunting in Azure Sentinel is critical because this technique often bypasses traditional email security controls by triggering local process execution that can lead to immediate lateral movement or credential theft.

YARA Rule

rule SUSP_Msdt_Artefact_Jun22_2 {
   meta:
      description = "Detects suspicious pattern in msdt diagnostics log (e.g. CVE-2022-30190 / Follina exploitation)"
      author = "Christian Burkard"
      date = "2022-06-01"
      modified = "2022-07-29"
      reference = "https://twitter.com/nas_bench/status/1531718490494844928"
      score = 75
      id = "aa2a4bd7-2094-5652-a088-f58d0c7d3f62"
   strings:
      $a1 = "<ScriptError><Data id=\"ScriptName\" name=\"Script\">TS_ProgramCompatibilityWizard.ps1" ascii

      $x1 = "/../../" ascii
      $x2 = "$(Invoke-Expression" ascii
      $x3 = "$(IEX(" ascii nocase
   condition:
      uint32(0) == 0x6D783F3C /* <?xm */
      and $a1
      and 1 of ($x*)
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 4 string patterns in its detection logic.

References

False Positive Guidance

Here are 4 specific false positive scenarios for the Follina (CVE-2022-30190) detection rule involving msdt.exe, along with recommended filters and exclusions:

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