Sneed-Reactivity/yara-mikesxrs/ReversingLabs/image_eval_hunt.yar
Sam Sneed 08e8d462fe OMG ISTG PLS WORK
RED PILL 🔴 💊
2024-07-25 12:43:35 -05:00

13 lines
315 B
Text

rule image_eval_hunt
{
meta:
author = "ReversingLabs"
reference = "https://blog.reversinglabs.com/blog/malware-in-images"
strings:
$png = {89 50 4E 47}
$jpeg = {FF D8 FF}
$gif = "GIF"
$eval = "eval("
condition:
(($png at 0) or ($jpeg at 0) or ($gif at 0)) and $eval
}