signature-base/yara/gen_bad_pdf.yar

15 lines
504 B
Plaintext
Raw Normal View History

rule SUSP_Bad_PDF {
meta:
description = "Detects PDF that embeds code to steal NTLM hashes"
2018-05-29 12:22:41 +00:00
author = "Florian Roth, Markus Neis"
reference = "Internal Research"
date = "2018-05-03"
hash1 = "d8c502da8a2b8d1c67cb5d61428f273e989424f319cfe805541304bdb7b921a8"
strings:
2018-05-29 12:22:41 +00:00
$s1 = " /F (http//" ascii
2019-01-10 10:28:31 +00:00
$s2 = " /F (\\\\\\\\" ascii
$s3 = "<</F (\\\\" ascii
condition:
2018-05-29 12:22:41 +00:00
( uint32(0) == 0x46445025 or uint32(0) == 0x4450250a ) and 1 of them
}