Sneed-Reactivity/yara-Neo23x0/gen_bad_pdf.yar

16 lines
572 B
Text
Raw Normal View History

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
}