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

15 lines
572 B
Text

rule SUSP_Bad_PDF {
meta:
description = "Detects PDF that embeds code to steal NTLM hashes"
author = "Florian Roth (Nextron Systems), Markus Neis"
reference = "Internal Research"
date = "2018-05-03"
hash1 = "d8c502da8a2b8d1c67cb5d61428f273e989424f319cfe805541304bdb7b921a8"
id = "149cf20c-4cfd-5b07-acc5-06ae25b209b1"
strings:
$s1 = " /F (http//" ascii
$s2 = " /F (\\\\\\\\" ascii
$s3 = "<</F (\\\\" ascii
condition:
( uint32(0) == 0x46445025 or uint32(0) == 0x4450250a ) and 1 of them
}