icedid/photoloader/icedid_photoloader.yar (29 lines of code) (raw):
rule icedid_photoloader
{
meta:
description = "IcedID PhotoLoader"
os = "Windows"
category_type = "Trojan"
family = "IcedID"
threat_name = "Windows.Trojan.IcedID"
reference = "https://4rchib4ld.github.io/blog/IcedIDOnMyNeckImTheCoolest/"
author = "4rchib4ld"
hash = "0321aea38c3eeae272549f306caaa97a"
type = "malware.downloader"
created = "2021-05-10"
tlp = "clear"
rev = 1
strings:
$obfuscationCode = { 8A 44 11 ?? 32 04 11 88 44 0D 07 48 FF C1 48 83 F9 ?? }
$s1 = "_gat=" ascii wide
$s2 = "_ga=" ascii wide
$s3 = "_u=" ascii wide
$s4 = "__io=" ascii wide
$s5 = "_gid=" ascii wide
$s6 = "__gads=" ascii wide
condition:
uint16(0) == 0x5a4d and
filesize < 800KB and
$obfuscationCode and
3 of ($s*)
}