Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Linux_Akira

Detects Akira Ransomware Linux

MalwareAkiraditekSHen detectionBSD 2-Clause LicenseCompila con YARA-X
Autor
ditekSHen
Fecha
2020-11-06
Modificada
2024-11-01
Puntuación / Calidad
75 / 75

Qué detecta esta regla

Detects Akira Ransomware Linux

Familia de malware asociada: Akira.

Define 12 patrones (11 de texto, 1 hex, 0 regex).

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

Código de la regla

malware-linux-akira.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Linux_Akira : FILE
{
	meta:
		description = "Detects Akira Ransomware Linux"
		author = "ditekSHen"
		id = "3ac144b3-c747-58e5-bc75-b3f90786f404"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10245-L10264"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "3a00154e1cfc442718e753641d3706ffd4dd8465525d0bb2854f74dfb1cf5dd0"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = "https://akira" ascii
		$x2 = ":\\akira\\" ascii
		$x3 = ".akira" ascii
		$x4 = "akira_readme.txt" ascii
		$s1 = "--encryption_" ascii
		$s2 = "--share_file" ascii
		$s3 = { 00 24 52 65 63 79 63 6c 65 2e 42 69 6e 00 24 52 45 43 59 43 4c 45 2e 42 49 4e 00 }
		$s4 = " PUBLIC KEY-----" ascii
		$s5 = ".onion" ascii
		$s6 = "/Esxi_Build_Esxi6/./" ascii nocase
		$s7 = "No path to encrypt" ascii
		$s8 = "-fork" fullword ascii

	condition:
		uint16( 0 ) == 0x457f and ( 3 of ( $x* ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) or 6 of ( $s* ) )
}

Cadenas (12 patrones)

IdentificadorTipoValorModificadores
$x1texto"https://akira"ascii
$x2texto":\\akira\\"ascii
$x3texto".akira"ascii
$x4texto"akira_readme.txt"ascii
$s1texto"--encryption_"ascii
$s2texto"--share_file"ascii
$s3hex{ 00 24 52 65 63 79 63 6c 65 2e 42 69 6e 00 24 52 45 43 59 43 4c 45 2e 42 49 4e 00 }
$s4texto" PUBLIC KEY-----"ascii
$s5texto".onion"ascii
$s6texto"/Esxi_Build_Esxi6/./"ascii nocase
$s7texto"No path to encrypt"ascii
$s8texto"-fork"fullword ascii

Condición

uint16( 0 ) == 0x457f and ( 3 of ( $x* ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) or 6 of ( $s* ) )

En palabras sencillas (Heurística)

  • Deben coincidir al menos 3 patrones de ( $x* ).
  • Deben coincidir al menos 1 patrones de ( $x* ).
  • Deben coincidir al menos 4 patrones de ( $s* ).
  • Deben coincidir al menos 6 patrones de ( $s* ).

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: ditekSHen

Repositorio de origen: ditekSHen detection @ e76c93dcde

Licencia: BSD 2-Clause License (licencia del repositorio)

Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

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: 3ac144b3-c747-58e5-bc75-b3f90786f404

Etiquetas:FILE

Más reglas de Akira