Zum Inhalt springen

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_SUSP_PS1_Msdt_Execution_May22

Detects suspicious calls of msdt.exe as seen in CVE-2022-30190 / Follina exploitation

Verdächtig / HuntingSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Kompiliert mit YARA-X
Autor
Nasreddine Bencherchali, Christian Burkard
Datum
2022-05-31
Geändert
2025-03-21
Score / Qualität
65 / 85

Was diese Regel erkennt

Detects suspicious calls of msdt.exe as seen in CVE-2022-30190 / Follina exploitation

Sie definiert 11 Muster (10 Text, 1 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

susp-ps1-msdt-execution-may22.yarDetection Rule License 1.1
rule SIGNATURE_BASE_SUSP_PS1_Msdt_Execution_May22 : CVE_2022_30190 FILE
{
	meta:
		description = "Detects suspicious calls of msdt.exe as seen in CVE-2022-30190 / Follina exploitation"
		author = "Nasreddine Bencherchali, Christian Burkard"
		id = "a1863582-87a2-5d07-a549-ef4a31bf0ed2"
		date = "2022-05-31"
		modified = "2025-03-21"
		reference = "https://doublepulsar.com/follina-a-microsoft-office-code-execution-vulnerability-1a47fce5629e"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_doc_follina.yar#L2-L37"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "9b8a061de4210d23e58b5190a300ee331273fc98f357156a0bb1d79f9f2b49b1"
		score = 65
		quality = 85
		tags = "CVE-2022-30190, FILE"

	strings:
		$a = "PCWDiagnostic" ascii wide fullword
		$sa1 = "msdt.exe" ascii wide
		$sa2 = "msdt " ascii wide
		$sa3 = "ms-msdt" ascii wide
		$sb1 = "/af " ascii wide
		$sb2 = "-af " ascii wide
		$sb3 = "IT_BrowseForFile=" ascii wide
		$fp1 = { 4F 00 72 00 69 00 67 00 69 00 6E 00 61 00 6C 00
               46 00 69 00 6C 00 65 00 6E 00 61 00 6D 00 65 00
               00 00 70 00 63 00 77 00 72 00 75 00 6E 00 2E 00
               65 00 78 00 65 00 }
		$fp2 = "FilesFullTrust" wide
		$fp3 = "Cisco Spark" ascii wide
		$fp4 = "author: " ascii

	condition:
		filesize < 10MB and $a and 1 of ( $sa* ) and 1 of ( $sb* ) and not 1 of ( $fp* ) and not uint8( 0 ) == 0x7B
}

Strings (11 Muster)

BezeichnerTypWertModifikatoren
$aText"PCWDiagnostic"ascii wide fullword
$sa1Text"msdt.exe"ascii wide
$sa2Text"msdt "ascii wide
$sa3Text"ms-msdt"ascii wide
$sb1Text"/af "ascii wide
$sb2Text"-af "ascii wide
$sb3Text"IT_BrowseForFile="ascii wide
$fp1Hex{ 4F 00 72 00 69 00 67 00 69 00 6E 00 61 00 6C 00 46 00 69 00 6C 00 65 00 6E 00 61 00 6D 00 65 00 00 00 70 00 63 00 77 00 72 00 75 …
$fp2Text"FilesFullTrust"wide
$fp3Text"Cisco Spark"ascii wide
$fp4Text"author: "ascii

Bedingung

filesize < 10MB and $a and 1 of ( $sa* ) and 1 of ( $sb* ) and not 1 of ( $fp* ) and not uint8( 0 ) == 0x7B

In Worten (Heuristik)

  • Die Datei muss kleiner als 10MB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Mindestens 1 Muster aus ( $sa* ) müssen treffen.
  • Mindestens 1 Muster aus ( $sb* ) müssen treffen.
  • Mindestens 1 Muster aus ( $fp* ) müssen treffen.
  • Muster $a muss vorhanden sein.

Diese Regel im Browser testen

Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.

Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.

Im Editor öffnen

Referenzen

Lizenz & Namensnennung

Autor: Nasreddine Bencherchali, Christian Burkard

Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Lizenz: Detection Rule License 1.1 (Repository-Lizenz)

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: a1863582-87a2-5d07-a549-ef4a31bf0ed2

Tags:CVE_2022_30190FILE