Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Rat_Win_Remcos

DEPRECATED : Find Remcos RAT samples based on specific strings

MalwareRemcosSEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
Autor
Sekoia.io
Fecha
2023-01-29
Modificada
2024-12-19
Puntuación / Calidad
75 / 80

Qué detecta esta regla

DEPRECATED : Find Remcos RAT samples based on specific strings

Familia de malware asociada: Remcos.

Objetivos: PE de Windows.

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

rat-win-remcos.yarDetection Rule License 1.1
rule SEKOIA_Rat_Win_Remcos : FILE
{
	meta:
		description = "DEPRECATED : Find Remcos RAT samples based on specific strings"
		author = "Sekoia.io"
		id = "011132f5-c5d9-4e97-bfed-0b94c9a30481"
		date = "2023-01-29"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/rat_win_remcos.yar#L1-L25"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "259f31d745449dc81cde698bb0ae4a20b4bbf050a1c818fbb5a891f26ca2e856"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		modification_date = "2024-01-08"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "/k %windir%\\System32\\reg.exe ADD HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System /v EnableLUA /t REG_DWORD /d 0 /f" ascii
		$str02 = "Disconnection occurred, retrying to connect..." ascii
		$str03 = "[Following text has been pasted from clipboard:]" ascii
		$str04 = "[Following text has been copied to clipboard:]" ascii
		$str05 = "[Chrome StoredLogins found, cleared!]" ascii
		$str06 = "PING 127.0.0.1 -n 2" ascii
		$str07 = "Remcos_Mutex_Inj" ascii
		$str08 = " * REMCOS v" ascii
		$str09 = "Connected to C&C!" ascii
		$str10 = "[Cleared all cookies & stored logins!]" ascii

	condition:
		uint16( 0 ) == 0x5A4D and 3 of them
}

Cadenas (10 patrones)

IdentificadorTipoValorModificadores
$str01texto"/k %windir%\\System32\\reg.exe ADD HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System /v EnableLUA /t REG_DWORD /d 0 /f"ascii
$str02texto"Disconnection occurred, retrying to connect..."ascii
$str03texto"[Following text has been pasted from clipboard:]"ascii
$str04texto"[Following text has been copied to clipboard:]"ascii
$str05texto"[Chrome StoredLogins found, cleared!]"ascii
$str06texto"PING 127.0.0.1 -n 2"ascii
$str07texto"Remcos_Mutex_Inj"ascii
$str08texto" * REMCOS v"ascii
$str09texto"Connected to C&C!"ascii
$str10texto"[Cleared all cookies & stored logins!]"ascii

Condición

uint16( 0 ) == 0x5A4D and 3 of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir al menos 3 patrones de la regla.

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: 011132f5-c5d9-4e97-bfed-0b94c9a30481

Metadatos

version1.0
modification_date2024-01-08
classificationTLP:CLEAR

Etiquetas:FILE

Más reglas de Remcos