Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Rat_Win_Remcos

DEPRECATED : Find Remcos RAT samples based on specific strings

MalwareRemcosSEKOIA.IO CommunityDetection Rule License 1.1Compile avec YARA-X
Auteur
Sekoia.io
Date
2023-01-29
Modifiée
2024-12-19
Score / Qualité
75 / 80

Ce que détecte cette règle

DEPRECATED : Find Remcos RAT samples based on specific strings

Famille de malware associée : Remcos.

Cibles : PE Windows.

Elle définit 10 motifs (10 texte, 0 hex, 0 regex).

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

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
}

Chaînes (10 motifs)

IdentifiantTypeValeurModificateurs
$str01texte"/k %windir%\\System32\\reg.exe ADD HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System /v EnableLUA /t REG_DWORD /d 0 /f"ascii
$str02texte"Disconnection occurred, retrying to connect..."ascii
$str03texte"[Following text has been pasted from clipboard:]"ascii
$str04texte"[Following text has been copied to clipboard:]"ascii
$str05texte"[Chrome StoredLogins found, cleared!]"ascii
$str06texte"PING 127.0.0.1 -n 2"ascii
$str07texte"Remcos_Mutex_Inj"ascii
$str08texte" * REMCOS v"ascii
$str09texte"Connected to C&C!"ascii
$str10texte"[Cleared all cookies & stored logins!]"ascii

Condition

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

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 3 motifs de la règle doivent être trouvés.

Tester cette règle dans votre navigateur

Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.

Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.

Ouvrir dans l’éditeur

Références

Licence et attribution

Auteur : Sekoia.io

Dépôt source : SEKOIA.IO Community @ a438a5901a

Licence : Detection Rule License 1.1 (licence du dépôt)

Règle d’origine

Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.

Identifiant de règle: 011132f5-c5d9-4e97-bfed-0b94c9a30481

Métadonnées

version1.0
modification_date2024-01-08
classificationTLP:CLEAR

Tags:FILE

Plus de règles Remcos