Saltar al contenido

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_SUSP_Msdt_Artefact_Jun22_2

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

Sospechoso / huntingSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compila con YARA-X
Autor
Christian Burkard
Fecha
2022-06-01
Modificada
2022-07-29
Puntuación / Calidad
75 / 85

Qué detecta esta regla

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

Define 4 patrones (4 de texto, 0 hex, 0 regex).

Resumen generado a partir de los metadatos y la condición de la regla.

Código de la regla

susp-msdt-artefact-jun22-2.yarDetection Rule License 1.1
rule SIGNATURE_BASE_SUSP_Msdt_Artefact_Jun22_2 : CVE_2022_30190 FILE
{
	meta:
		description = "Detects suspicious pattern in msdt diagnostics log (e.g. CVE-2022-30190 / Follina exploitation)"
		author = "Christian Burkard"
		id = "aa2a4bd7-2094-5652-a088-f58d0c7d3f62"
		date = "2022-06-01"
		modified = "2022-07-29"
		reference = "https://twitter.com/nas_bench/status/1531718490494844928"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_doc_follina.yar#L223-L242"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "e18f6405f0411128335336e65dda4ed2b6be6e9ad47b94646ececf0479fbe967"
		score = 75
		quality = 85
		tags = "CVE-2022-30190, FILE"

	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 and $a1 and 1 of ( $x* )
}

Cadenas (4 patrones)

IdentificadorTipoValorModificadores
$a1texto"<ScriptError><Data id=\"ScriptName\" name=\"Script\">TS_ProgramCompatibilityWizard.ps1"ascii
$x1texto"/../../"ascii
$x2texto"$(Invoke-Expression"ascii
$x3texto"$(IEX("ascii nocase

Condición

uint32( 0 ) == 0x6D783F3C and $a1 and 1 of ( $x* )

En palabras sencillas (Heurística)

  • Deben coincidir al menos 1 patrones de ( $x* ).
  • El patrón $a1 debe estar presente.

Prueba esta regla en tu navegador

Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.

Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.

Abrir en el editor

Referencias

Licencia y atribución

Autor: Christian Burkard

Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licencia: Detection Rule License 1.1 (licencia del repositorio)

Regla original

Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.

Id de la regla: aa2a4bd7-2094-5652-a088-f58d0c7d3f62

Etiquetas:CVE_2022_30190FILE