Saltar al contenido

YARA · Volexity threat-intel

VOLEXITY_Apt_Malware_Win_Freshfire

The FRESHFIRE malware family. The malware acts as a downloader, pulling down an encrypted snippet of code from a remote source, executing it, and deleting it from the remote server.

APT / actorVolexity threat-intelBSD 2-Clause LicenseCompila con YARA-X
Autor
threatintel@volexity.com
Fecha
2021-05-27
Modificada
2025-05-21
Puntuación / Calidad
75 / 80

Qué detecta esta regla

The FRESHFIRE malware family. The malware acts as a downloader, pulling down an encrypted snippet of code from a remote source, executing it, and deleting it from the remote server.

Objetivos: PE de Windows.

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

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.

apt-malware-win-freshfire.yarBSD 2-Clause License
import "pe"

rule VOLEXITY_Apt_Malware_Win_Freshfire : COZYLARCH FILE
{
	meta:
		description = "The FRESHFIRE malware family. The malware acts as a downloader, pulling down an encrypted snippet of code from a remote source, executing it, and deleting it from the remote server."
		author = "threatintel@volexity.com"
		id = "050b8e61-139a-5ff5-998a-7de67c9975bf"
		date = "2021-05-27"
		modified = "2025-05-21"
		reference = "https://www.volexity.com/blog/2021/05/27/suspected-apt29-operation-launches-election-fraud-themed-phishing-campaigns/"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2021/2021-05-27 - Suspected APT29 Operation Launches Election Fraud Themed Phishing Campaigns/indicators/yara.yar#L55-L87"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "ad67aaa50fd60d02f1378b4155f69cffa9591eaeb80523489a2355512cc30e8c"
		logic_hash = "69cd73f5812ba955c1352fb1552774d5cf49019d6b65a304fd1e33f852e678ba"
		score = 75
		quality = 80
		tags = "COZYLARCH, FILE"
		os = "win"
		os_arch = "all"
		scan_context = "file"
		severity = "critical"
		license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
		rule_id = 5459
		version = 9

	strings:
		$uniq1 = "UlswcXJJWhtHIHrVqWJJ"
		$uniq2 = "gyibvmt\x00"
		$path1 = "root/time/%d/%s.json"
		$path2 = "C:\\dell.sdr"
		$path3 = "root/data/%d/%s.json"

	condition:
		(pe.number_of_exports == 1 and pe.exports ( "WaitPrompt" ) ) or any of ( $uniq* ) or 2 of ( $path* )
}

Cadenas (5 patrones)

IdentificadorTipoValorModificadores
$uniq1texto"UlswcXJJWhtHIHrVqWJJ"
$uniq2texto"gyibvmt\x00"
$path1texto"root/time/%d/%s.json"
$path2texto"C:\\dell.sdr"
$path3texto"root/data/%d/%s.json"

Condición

(pe.number_of_exports == 1 and pe.exports ( "WaitPrompt" ) ) or any of ( $uniq* ) or 2 of ( $path* )

En palabras sencillas (Heurística)

  • Debe coincidir al menos un patrón de ( $uniq* ).
  • Deben coincidir al menos 2 patrones de ( $path* ).
  • Usa el módulo pe.
  • Comprueba funciones exportadas o el nombre de la DLL.

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).

  • ad67aaa50fd60d02f1378b4155f69cffa9591eaeb80523489a2355512cc30e8c

Licencia y atribución

Autor: threatintel@volexity.com

Repositorio de origen: Volexity threat-intel @ 3a9d0b5245

Licencia: BSD 2-Clause License (indicada en los metadatos de la regla)

“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”

Aviso de copyright: Copyright 2022 by Volexity, Inc.

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: 050b8e61-139a-5ff5-998a-7de67c9975bf

Metadatos

oswin
os_archall
scan_contextfile
severitycritical
rule_id5459
version9

Etiquetas:COZYLARCHFILE