YARA · Trellix Advanced Research Center
TRELLIX_ARC_Cryptonar_Ransomware
Rule to detect CryptoNar Ransomware
- Autor
- Marc Rivero | McAfee ATR Team
- Fecha
- 2026-09-01
- Modificada
- 2020-08-14
- Puntuación / Calidad
- 75 / 70
Qué detecta esta regla
Rule to detect CryptoNar Ransomware
Familia de malware asociada: CryptoNar.
Objetivos: PE de Windows.
Define 14 patrones (14 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
rule TRELLIX_ARC_Cryptonar_Ransomware : RANSOMWARE FILE
{
meta:
= "Rule to detect CryptoNar Ransomware"
= "Marc Rivero | McAfee ATR Team"
= "0911250f-fc1f-58bc-ac09-d77d2a2ed3ce"
= "2026-09-01"
= "2020-08-14"
= "https://www.bleepingcomputer.com/news/security/cryptonar-ransomware-discovered-and-quickly-decrypted/"
= "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_CryptoNar.yar#L1-L36"
= "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE"
= "04c1c4f45ad3552aa0876c3b645c6ca92493018f7fdc5d9d9ed26cf67199d21b"
= 75
= 70
= "RANSOMWARE, FILE"
= "ransomware"
= "Ransom:W32/CryptoNar"
= "Cybercrime"
= "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
}
Cadenas (14 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "C:\\narnar\\CryptoNar\\CryptoNarDecryptor\\obj\\Debug\\CryptoNar.pdb" | fullword ascii |
| $s2 | texto | "CryptoNarDecryptor.exe" | fullword wide |
| $s3 | texto | "server will eliminate the key after 72 hours since its generation (since the moment your computer was infected). Once this has " | fullword ascii |
| $s4 | texto | "Do not delete this file, else the decryption process will be broken" | fullword wide |
| $s5 | texto | "key you received, and wait until the decryption process is done." | fullword ascii |
| $s6 | texto | "In order to receive your decryption key, you will have to pay $200 in bitcoins to this bitcoin address: [bitcoin address]" | fullword ascii |
| $s7 | texto | "Decryption process failed" | fullword wide |
| $s8 | texto | "CryptoNarDecryptor.KeyValidationWindow.resources" | fullword ascii |
| $s9 | texto | "Important note: Removing CryptoNar will not restore access to your encrypted files." | fullword ascii |
| $s10 | texto | "johnsmith987654@tutanota.com" | fullword wide |
| $s11 | texto | "Decryption process will start soon" | fullword wide |
| $s12 | texto | "CryptoNarDecryptor.DecryptionProgressBarForm.resources" | fullword ascii |
| $s13 | texto | "DecryptionProcessProgressBar" | fullword wide |
| $s14 | texto | "CryptoNarDecryptor.Properties.Resources.resources" | fullword ascii |
Condición
( uint16( 0 ) == 0x5a4d and filesize < 2000KB ) and all of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El archivo debe ocupar menos de 2000KB (un límite barato que descarta archivos grandes).
- Deben coincidir todos los 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.
Licencia y atribución
Autor: Marc Rivero | McAfee ATR Team
Repositorio de origen: Trellix Advanced Research Center @ 1919562a59
Licencia: Apache License 2.0 (licencia del repositorio)
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: 0911250f-fc1f-58bc-ac09-d77d2a2ed3ce
Metadatos
| malware_type | ransomware |
|---|---|
| malware_family | Ransom:W32/CryptoNar |
| actor_type | Cybercrime |
| actor_group | Unknown |
Etiquetas:RANSOMWAREFILE
Reglas relacionadas
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2026-09-01
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-03-17
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-02-23
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-04-06
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-08-11
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-07-19
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-07-13
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2019-12-05