Sneed-Reactivity/yara-mikesxrs/patrickrolsen/jpg_web_shell.yar

17 lines
331 B
Text
Raw Permalink Normal View History

/*
rule jpg_web_shell
{
meta:
author = "@patrickrolsen"
version = "0.1"
data = "12/19/2013"
reference = "http://www.securelist.com/en/blog/208214192/Malware_in_metadata"
strings:
$magic = { ff d8 ff e? } // e0, e1, e8
$s1 = "<script src"
$s2 = "/.*//*e"
$s3 = "base64_decode"
condition:
($magic at 0) and 1 of ($s*)
}
*/