signature-base/yara/gen_faked_versions.yar
2016-02-15 12:31:27 +01:00

30 lines
884 B
Plaintext

rule Fake_AdobeReader_EXE
{
meta:
description = "Detects an fake AdobeReader executable based on filesize OR missing strings in file"
date = "2014-09-11"
author = "Florian Roth"
score = 50
strings:
$s1 = "Adobe Systems" ascii
condition:
uint16(0) == 0x5a4d and
filename matches /AcroRd32.exe/i and
not $s1 in (filesize-2500..filesize)
}
rule Fake_FlashPlayerUpdaterService_EXE
{
meta:
description = "Detects an fake AdobeReader executable based on filesize OR missing strings in file"
date = "2014-09-11"
author = "Florian Roth"
score = 50
strings:
$s1 = "Adobe Systems Incorporated" ascii
condition:
uint16(0) == 0x5a4d and
filename matches /FlashPlayerUpdateService.exe/i and
not $s1 in (filesize-2500..filesize)
}