Sneed-Reactivity/yara-mikesxrs/Brian Carter -carterb/demuzacert.yar

21 lines
517 B
Text
Raw Normal View History

rule PotentiallyCompromisedCert
{
meta:
description = "Search for PE files using cert issued to DEMUZA "
author = "Brian Carter"
last_modified = "July 21, 2017"
sample = "7ef8f5e0ca92a0f3a5bd8cdc52236564"
TLP = "WHITE"
strings:
$magic = { 50 4b 03 04 (14 | 0a) 00 }
$txt1 = "demuza@yandex.ru" nocase
$txt2 = "https://secure.comodo.net/CPS0C" nocase
$txt3 = "COMODO CA Limited1"
condition:
$magic at 0 and all of ($txt*)
}