From 2417f4477ae56a856a154c056e95b737ad7c28f4 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Fri, 8 Jul 2016 15:37:03 +0200 Subject: Fix the previous commit It seems that a lot of jpeg files contain some 250) and not IsWhitelisted } +rule HiddenInAFile +{ + strings: + $gif = {47 49 46 38 ?? 61} // GIF8[version]a + $png = {89 50 4E 47 0D 0a 1a 0a} // \X89png\X0D\X0A\X1A\X0A + $jpeg = {FF D8 FF E0 ?? ?? 4A 46 49 46 } // https://raw.githubusercontent.com/corkami/pics/master/JPG.png + + condition: + ($gif at 0 or $png at 0 or $jpeg at 0) and (PasswordProtection or ObfuscatedPhp or DodgyPhp or DangerousPhp) +} -- cgit v1.3