Aller au contenu

YARA · Trellix Advanced Research Center

TRELLIX_ARC_Cryptonar_Ransomware

Rule to detect CryptoNar Ransomware

MalwareCryptoNarTrellix Advanced Research CenterApache License 2.0Compile avec YARA-X
Auteur
Marc Rivero | McAfee ATR Team
Date
2026-09-01
Modifiée
2020-08-14
Score / Qualité
75 / 70

Ce que détecte cette règle

Rule to detect CryptoNar Ransomware

Famille de malware associée : CryptoNar.

Cibles : PE Windows.

Elle définit 14 motifs (14 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

cryptonar-ransomware.yarApache License 2.0
rule TRELLIX_ARC_Cryptonar_Ransomware : RANSOMWARE FILE
{
	meta:
		description = "Rule to detect CryptoNar Ransomware"
		author = "Marc Rivero | McAfee ATR Team"
		id = "0911250f-fc1f-58bc-ac09-d77d2a2ed3ce"
		date = "2026-09-01"
		modified = "2020-08-14"
		reference = "https://www.bleepingcomputer.com/news/security/cryptonar-ransomware-discovered-and-quickly-decrypted/"
		source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_CryptoNar.yar#L1-L36"
		license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE"
		logic_hash = "04c1c4f45ad3552aa0876c3b645c6ca92493018f7fdc5d9d9ed26cf67199d21b"
		score = 75
		quality = 70
		tags = "RANSOMWARE, FILE"
		malware_type = "ransomware"
		malware_family = "Ransom:W32/CryptoNar"
		actor_type = "Cybercrime"
		actor_group = "Unknown"

	strings:
		$s1 = "C:\\narnar\\CryptoNar\\CryptoNarDecryptor\\obj\\Debug\\CryptoNar.pdb" fullword ascii
		$s2 = "CryptoNarDecryptor.exe" fullword wide
		$s3 = "server will eliminate the key after 72 hours since its generation (since the moment your computer was infected). Once this has " fullword ascii
		$s4 = "Do not delete this file, else the decryption process will be broken" fullword wide
		$s5 = "key you received, and wait until the decryption process is done." fullword ascii
		$s6 = "In order to receive your decryption key, you will have to pay $200 in bitcoins to this bitcoin address: [bitcoin address]" fullword ascii
		$s7 = "Decryption process failed" fullword wide
		$s8 = "CryptoNarDecryptor.KeyValidationWindow.resources" fullword ascii
		$s9 = "Important note: Removing CryptoNar will not restore access to your encrypted files." fullword ascii
		$s10 = "johnsmith987654@tutanota.com" fullword wide
		$s11 = "Decryption process will start soon" fullword wide
		$s12 = "CryptoNarDecryptor.DecryptionProgressBarForm.resources" fullword ascii
		$s13 = "DecryptionProcessProgressBar" fullword wide
		$s14 = "CryptoNarDecryptor.Properties.Resources.resources" fullword ascii

	condition:
		( uint16( 0 ) == 0x5a4d and filesize < 2000KB ) and all of them
}

Chaînes (14 motifs)

IdentifiantTypeValeurModificateurs
$s1texte"C:\\narnar\\CryptoNar\\CryptoNarDecryptor\\obj\\Debug\\CryptoNar.pdb"fullword ascii
$s2texte"CryptoNarDecryptor.exe"fullword wide
$s3texte"server will eliminate the key after 72 hours since its generation (since the moment your computer was infected). Once this has "fullword ascii
$s4texte"Do not delete this file, else the decryption process will be broken"fullword wide
$s5texte"key you received, and wait until the decryption process is done."fullword ascii
$s6texte"In order to receive your decryption key, you will have to pay $200 in bitcoins to this bitcoin address: [bitcoin address]"fullword ascii
$s7texte"Decryption process failed"fullword wide
$s8texte"CryptoNarDecryptor.KeyValidationWindow.resources"fullword ascii
$s9texte"Important note: Removing CryptoNar will not restore access to your encrypted files."fullword ascii
$s10texte"johnsmith987654@tutanota.com"fullword wide
$s11texte"Decryption process will start soon"fullword wide
$s12texte"CryptoNarDecryptor.DecryptionProgressBarForm.resources"fullword ascii
$s13texte"DecryptionProcessProgressBar"fullword wide
$s14texte"CryptoNarDecryptor.Properties.Resources.resources"fullword ascii

Condition

( uint16( 0 ) == 0x5a4d and filesize < 2000KB ) and all of them

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Le fichier doit faire moins de 2000KB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Tous les 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 : Marc Rivero | McAfee ATR Team

Dépôt source : Trellix Advanced Research Center @ 1919562a59

Licence : Apache License 2.0 (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: 0911250f-fc1f-58bc-ac09-d77d2a2ed3ce

Métadonnées

malware_typeransomware
malware_familyRansom:W32/CryptoNar
actor_typeCybercrime
actor_groupUnknown

Tags:RANSOMWAREFILE