08e8d462fe
RED PILL 🔴 💊
32 lines
No EOL
1.1 KiB
Text
32 lines
No EOL
1.1 KiB
Text
rule Careto {
|
|
meta:
|
|
author = "AlienVault (Alberto Ortega)"
|
|
description = "TheMask / Careto generic malware signature"
|
|
reference = "www.securelist.com/en/downloads/vlpdfs/unveilingthemask_v1.0.pdf"
|
|
strings:
|
|
|
|
/* General */
|
|
$name1 = "Careto" ascii wide
|
|
$s_1 = "GetSystemReport" ascii wide
|
|
$s_2 = "SystemReport.txt" ascii wide
|
|
$s_3 = /URL_AUX\w*=/ ascii wide
|
|
$s_4 = /CaretoPruebas.+release/
|
|
|
|
/* Certificate */
|
|
$sign_0 = "Sofia"
|
|
$sign_1 = "TecSystem Ltd"
|
|
$sign_2 = "<<<Obsolete>>>" wide
|
|
|
|
/* Encryption keys */
|
|
$rc4_1 = "!$7be&.Kaw-12[}" ascii wide
|
|
$rc4_2 = "Caguen1aMar" ascii wide
|
|
/* http://laboratorio.blogs.hispasec.com/2014/02/analisis-del-algoritmo-de-descifrado.html */
|
|
$rc4_3 = {8d 85 86 8a 8f 80 88 83 8d 82 88 85 86 8f 8f 87 8d 82 83 82 8c 8e 83 8d 89 82 86 87 82 83 83 81}
|
|
|
|
/* Decryption routine fragment */
|
|
$dec_1 = {8b 4d 08 0f be 04 59 0f be 4c 59 01 2b c7 c1 e0 04 2b cf 0b c1 50 8d 85 f0 fe ff ff}
|
|
$dec_2 = {8b 4d f8 8b 16 88 04 11 8b 06 41 89 4d f8 c6 04 01 00 43 3b 5d fc}
|
|
|
|
condition:
|
|
$name1 and (any of ($s_*)) or all of ($sign_*) or any of ($rc4_*) or all of ($dec_*)
|
|
} |