Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Apt_Aridviper_Rustsysjoker

Detects Rust Sysjoker variant via PDB path or key and Rust string

APT / actorSysjokerSEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
Autor
Sekoia.io
Fecha
2023-11-27
Modificada
2024-12-19
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Detects Rust Sysjoker variant via PDB path or key and Rust string

Familia de malware asociada: Sysjoker.

Objetivos: PE de Windows.

Define 3 patrones (3 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

apt-aridviper-rustsysjoker.yarDetection Rule License 1.1
rule SEKOIA_Apt_Aridviper_Rustsysjoker : FILE
{
	meta:
		description = "Detects Rust Sysjoker variant via PDB path or key and Rust string"
		author = "Sekoia.io"
		id = "14ff3f76-0371-4b45-9864-bf69c74e60aa"
		date = "2023-11-27"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_aridviper_rustsysjoker.yar#L1-L18"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "cb3c5d37095c27aa169a6aa61fa12972ff71877c615eaa254c3906ef10c662a9"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$Rust = "called `Option::unwrap()` on a `None` value"
		$Key = "QQL8VJUJMABL8H5YNRC9QNEOHA"
		$PDB = "C:\\Code\\Rust\\RustDown-Belal\\target\\release\\deps\\RustDown.pdb"

	condition:
		uint16be( 0 ) == 0x4d5a and filesize < 1MB and ( $PDB or ( $Rust and $Key ) )
}

Cadenas (3 patrones)

IdentificadorTipoValorModificadores
$Rusttexto"called `Option::unwrap()` on a `None` value"
$Keytexto"QQL8VJUJMABL8H5YNRC9QNEOHA"
$PDBtexto"C:\\Code\\Rust\\RustDown-Belal\\target\\release\\deps\\RustDown.pdb"

Condición

uint16be( 0 ) == 0x4d5a and filesize < 1MB and ( $PDB or ( $Rust and $Key ) )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • El archivo debe ocupar menos de 1MB (un límite barato que descarta archivos grandes).
  • El patrón $PDB debe estar presente.
  • El patrón $Rust debe estar presente.
  • El patrón $Key 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: Sekoia.io

Repositorio de origen: SEKOIA.IO Community @ a438a5901a

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: 14ff3f76-0371-4b45-9864-bf69c74e60aa

Metadatos

version1.0
classificationTLP:CLEAR

Etiquetas:FILE