Saltar al contenido

YARA · Trellix Advanced Research Center

TRELLIX_ARC_Ransom_Conti

Conti ransomware is havnig capability too scan and encrypt oover the network

MalwareContiTrellix Advanced Research CenterApache License 2.0Compila con YARA-X (con avisos)
Autor
McAfee ATR team
Fecha
2020-07-09
Modificada
2020-10-12
Puntuación / Calidad
75 / 70

Qué detecta esta regla

Conti ransomware is havnig capability too scan and encrypt oover the network

Familia de malware asociada: Conti.

Objetivos: PE de Windows.

Define 6 patrones (3 de texto, 3 hex, 0 regex). Módulos YARA usados: pe.

YARA-X dice: warning[deprecated_field]: field `number_of_sections` is deprecated

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

Código de la regla

Incluye los imports necesarios para compilarla por sí sola.

ransom-conti.yarApache License 2.0
import "pe"

rule TRELLIX_ARC_Ransom_Conti : RANSOMWARE FILE
{
	meta:
		description = "Conti ransomware is havnig capability too scan and encrypt oover the network"
		author = "McAfee ATR team"
		id = "8fc6943d-fb99-5957-929b-4c264d9fba2d"
		date = "2020-07-09"
		modified = "2020-10-12"
		reference = "https://www.carbonblack.com/blog/tau-threat-discovery-conti-ransomware/"
		source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/Ransom_Conti.yar#L3-L37"
		license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE"
		hash = "eae876886f19ba384f55778634a35a1d975414e83f22f6111e3e792f706301fe"
		logic_hash = "953471c130309bbc712197d49d2072bd45838f49d2b25f86273a15c6baa87354"
		score = 75
		quality = 70
		tags = "RANSOMWARE, FILE"
		rule_version = "v1"
		malware_type = "ransomware"
		malware_family = "Ransom:W32/Conti"
		actor_type = "Cybercrime"
		actor_group = "Unknown"

	strings:
		$string1 = "HOW_TO_DECRYPTP" fullword ascii
		$string2 = "The system is LOCKED." fullword ascii
		$string3 = "The network is LOCKED." fullword ascii
		$code1 = { ff b4 b5 48 ff ff ff 53 ff 15 bc b0 41 00 85 c0 }
		$code2 = { 6a 02 6a 00 6a ff 68 ec fd ff ff ff 76 0c ff 15 }
		$code3 = { 56 8d 85 38 ff ff ff 50 ff d7 85 c0 0f 84 f2 01 }

	condition:
		uint16( 0 ) == 0x5a4d and filesize < 300KB and pe.number_of_sections == 5 and ( pe.imphash ( ) == "30fe3f044289487cddc09bfb16ee1fde" or ( all of them and all of ( $code* ) ) )
}

Cadenas (6 patrones)

IdentificadorTipoValorModificadores
$string1texto"HOW_TO_DECRYPTP"fullword ascii
$string2texto"The system is LOCKED."fullword ascii
$string3texto"The network is LOCKED."fullword ascii
$code1hex{ ff b4 b5 48 ff ff ff 53 ff 15 bc b0 41 00 85 c0 }
$code2hex{ 6a 02 6a 00 6a ff 68 ec fd ff ff ff 76 0c ff 15 }
$code3hex{ 56 8d 85 38 ff ff ff 50 ff d7 85 c0 0f 84 f2 01 }

Condición

uint16( 0 ) == 0x5a4d and filesize < 300KB and pe.number_of_sections == 5 and ( pe.imphash ( ) == "30fe3f044289487cddc09bfb16ee1fde" or ( all of them and all of ( $code* ) ) )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • El archivo debe ocupar menos de 300KB (un límite barato que descarta archivos grandes).
  • Deben coincidir todos los patrones de la regla.
  • Deben coincidir todos los patrones de ( $code* ).
  • Usa el módulo pe.
  • Comprueba el hash de importaciones PE (imphash).
  • Comprueba secciones PE (nombres, número o propiedades).

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

Hashes de muestras

Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).

  • eae876886f19ba384f55778634a35a1d975414e83f22f6111e3e792f706301fe

Licencia y atribución

Autor: McAfee ATR team

Repositorio de origen: Trellix Advanced Research Center @ 1919562a59

Licencia: Apache License 2.0 (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: 8fc6943d-fb99-5957-929b-4c264d9fba2d

Metadatos

rule_versionv1
malware_typeransomware
malware_familyRansom:W32/Conti
actor_typeCybercrime
actor_groupUnknown

Etiquetas:RANSOMWAREFILE

Más reglas de Conti