Zum Inhalt springen

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_SUSP_Doc_Wordxmlrels_May22

Detects a suspicious pattern in docx document.xml.rels file as seen in CVE-2022-30190 / Follina exploitation

Verdächtig / HuntingSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Kompiliert mit YARA-X
Autor
Tobias Michalski, Christian Burkard, Wojciech Cieslak
Datum
2022-05-30
Geändert
2022-06-20
Score / Qualität
70 / 85

Was diese Regel erkennt

Detects a suspicious pattern in docx document.xml.rels file as seen in CVE-2022-30190 / Follina exploitation

Sie definiert 6 Muster (6 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

susp-doc-wordxmlrels-may22.yarDetection Rule License 1.1
rule SIGNATURE_BASE_SUSP_Doc_Wordxmlrels_May22 : CVE_2022_30190 FILE
{
	meta:
		description = "Detects a suspicious pattern in docx document.xml.rels file as seen in CVE-2022-30190 / Follina exploitation"
		author = "Tobias Michalski, Christian Burkard, Wojciech Cieslak"
		id = "304c4816-b2f6-5319-9fe9-8f74bdb82ad0"
		date = "2022-05-30"
		modified = "2022-06-20"
		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#L39-L61"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "62f262d180a5a48f89be19369a8425bec596bc6a02ed23100424930791ae3df0"
		logic_hash = "c9846f8c2c1724792de14ab4de0064f951a8faaf01cc27d873e600f29d59c842"
		score = 70
		quality = 85
		tags = "CVE-2022-30190, FILE"

	strings:
		$a1 = "<Relationships" ascii
		$a2 = "TargetMode=\"External\"" ascii
		$x1 = ".html!" ascii
		$x2 = ".htm!" ascii
		$x3 = "%2E%68%74%6D%6C%21" ascii
		$x4 = "%2E%68%74%6D%21" ascii

	condition:
		filesize < 50KB and all of ( $a* ) and 1 of ( $x* )
}

Strings (6 Muster)

BezeichnerTypWertModifikatoren
$a1Text"<Relationships"ascii
$a2Text"TargetMode=\"External\""ascii
$x1Text".html!"ascii
$x2Text".htm!"ascii
$x3Text"%2E%68%74%6D%6C%21"ascii
$x4Text"%2E%68%74%6D%21"ascii

Bedingung

filesize < 50KB and all of ( $a* ) and 1 of ( $x* )

In Worten (Heuristik)

  • Die Datei muss kleiner als 50KB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Alle Muster aus ( $a* ) müssen treffen.
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.

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

Proben-Hashes

Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).

  • 62f262d180a5a48f89be19369a8425bec596bc6a02ed23100424930791ae3df0

Lizenz & Namensnennung

Autor: Tobias Michalski, Christian Burkard, Wojciech Cieslak

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: 304c4816-b2f6-5319-9fe9-8f74bdb82ad0

Tags:CVE_2022_30190FILE