Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Arcrypt

Detects ARCrypt / ChileLocker ransomware

MalwareArcryptditekSHen 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 ARCrypt / ChileLocker ransomware

Familia de malware asociada: Arcrypt.

Objetivos: PE de Windows.

Define 19 patrones (18 de texto, 0 hex, 1 regex).

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

Código de la regla

malware-win-arcrypt.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Arcrypt : FILE
{
	meta:
		description = "Detects ARCrypt / ChileLocker ransomware"
		author = "ditekSHen"
		id = "a53bbae6-a321-549d-9d45-e1a408d08740"
		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#L10373-L10399"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "cc9fa68d093fdf9745a06beb28e29108cb2ba846122ce097ad892213b1edba25"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$c1 = "readme_for_unlock.txt" wide
		$c2 = "vssadmin.exe delete shadows /all /quiet" wide
		$c3 = "START /b \"\" cmd /c wmic /node:" wide
		$c4 = "START /b \"\" cmd /c DEL \"" wide
		$c5 = "process call create cmd /c START" wide
		$c6 = "net config server /autodisconnect:" wide
		$c7 = "/NOBREAK>NUL) ELSE (START /b \"\" cmd /c DEL \"%~f" ascii
		$c8 = ":\\_ARC\\_WorkSolution\\cryptopp" ascii
		$e1 = /\.crYpt([A-F]{0,1}(\d+)?)?/ fullword wide
		$e2 = ".dnt___.crYpt" wide nocase
		$s1 = "create_directory" fullword ascii
		$s2 = "create_directories" fullword ascii
		$s3 = "NoClose" fullword ascii
		$s4 = "StartMenuLogOff" fullword ascii
		$s5 = "NoLogOff" fullword ascii
		$s6 = "DisableTaskMgr" fullword ascii
		$s7 = "DisableChangePassword" fullword ascii
		$s8 = "HideFastUserSwitching" fullword ascii
		$s9 = "RemotePath" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 5 of ( $c* ) or 7 of ( $s* ) or ( 3 of ( $c* ) and 4 of ( $s* ) ) or ( 1 of ( $e* ) and ( 1 of ( $c* ) and 1 of ( $s* ) ) ) or ( all of ( $e* ) and ( 1 of ( $c* ) or 1 of ( $s* ) ) ) )
}

Cadenas (19 patrones)

IdentificadorTipoValorModificadores
$c1texto"readme_for_unlock.txt"wide
$c2texto"vssadmin.exe delete shadows /all /quiet"wide
$c3texto"START /b \"\" cmd /c wmic /node:"wide
$c4texto"START /b \"\" cmd /c DEL \""wide
$c5texto"process call create cmd /c START"wide
$c6texto"net config server /autodisconnect:"wide
$c7texto"/NOBREAK>NUL) ELSE (START /b \"\" cmd /c DEL \"%~f"ascii
$c8texto":\\_ARC\\_WorkSolution\\cryptopp"ascii
$e1regex/\.crYpt([A-F]{0,1}(\d+)?)?/fullword wide
$e2texto".dnt___.crYpt"wide nocase
$s1texto"create_directory"fullword ascii
$s2texto"create_directories"fullword ascii
$s3texto"NoClose"fullword ascii
$s4texto"StartMenuLogOff"fullword ascii
$s5texto"NoLogOff"fullword ascii
$s6texto"DisableTaskMgr"fullword ascii
$s7texto"DisableChangePassword"fullword ascii
$s8texto"HideFastUserSwitching"fullword ascii
$s9texto"RemotePath"fullword ascii

Condición

uint16( 0 ) == 0x5a4d and ( 5 of ( $c* ) or 7 of ( $s* ) or ( 3 of ( $c* ) and 4 of ( $s* ) ) or ( 1 of ( $e* ) and ( 1 of ( $c* ) and 1 of ( $s* ) ) ) or ( all of ( $e* ) and ( 1 of ( $c* ) or 1 of ( $s* ) ) ) )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir todos los patrones de ( $e* ).
  • Deben coincidir al menos 5 patrones de ( $c* ).
  • Deben coincidir al menos 7 patrones de ( $s* ).
  • Deben coincidir al menos 3 patrones de ( $c* ).
  • Deben coincidir al menos 4 patrones de ( $s* ).
  • Deben coincidir al menos 1 patrones de ( $e* ).
  • Deben coincidir al menos 1 patrones de ( $c* ).
  • Deben coincidir al menos 1 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: a53bbae6-a321-549d-9d45-e1a408d08740

Etiquetas:FILE