Zum Inhalt springen

YARA · Trellix Advanced Research Center

TRELLIX_ARC_Cryptonar_Ransomware

Rule to detect CryptoNar Ransomware

MalwareCryptoNarTrellix Advanced Research CenterApache License 2.0Kompiliert mit YARA-X
Autor
Marc Rivero | McAfee ATR Team
Datum
2026-09-01
Geändert
2020-08-14
Score / Qualität
75 / 70

Was diese Regel erkennt

Rule to detect CryptoNar Ransomware

Zugehörige Malware-Familie: CryptoNar.

Ziele: Windows-PE.

Sie definiert 14 Muster (14 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

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
}

Strings (14 Muster)

BezeichnerTypWertModifikatoren
$s1Text"C:\\narnar\\CryptoNar\\CryptoNarDecryptor\\obj\\Debug\\CryptoNar.pdb"fullword ascii
$s2Text"CryptoNarDecryptor.exe"fullword wide
$s3Text"server will eliminate the key after 72 hours since its generation (since the moment your computer was infected). Once this has "fullword ascii
$s4Text"Do not delete this file, else the decryption process will be broken"fullword wide
$s5Text"key you received, and wait until the decryption process is done."fullword ascii
$s6Text"In order to receive your decryption key, you will have to pay $200 in bitcoins to this bitcoin address: [bitcoin address]"fullword ascii
$s7Text"Decryption process failed"fullword wide
$s8Text"CryptoNarDecryptor.KeyValidationWindow.resources"fullword ascii
$s9Text"Important note: Removing CryptoNar will not restore access to your encrypted files."fullword ascii
$s10Text"johnsmith987654@tutanota.com"fullword wide
$s11Text"Decryption process will start soon"fullword wide
$s12Text"CryptoNarDecryptor.DecryptionProgressBarForm.resources"fullword ascii
$s13Text"DecryptionProcessProgressBar"fullword wide
$s14Text"CryptoNarDecryptor.Properties.Resources.resources"fullword ascii

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Die Datei muss kleiner als 2000KB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Alle Muster aus der Regel müssen treffen.

Diese Regel im Browser testen

Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.

Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.

Im Editor öffnen

Referenzen

Lizenz & Namensnennung

Autor: Marc Rivero | McAfee ATR Team

Quell-Repository: Trellix Advanced Research Center @ 1919562a59

Lizenz: Apache License 2.0 (Repository-Lizenz)

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: 0911250f-fc1f-58bc-ac09-d77d2a2ed3ce

Metadaten

malware_typeransomware
malware_familyRansom:W32/CryptoNar
actor_typeCybercrime
actor_groupUnknown

Tags:RANSOMWAREFILE