mirror of
https://github.com/Yara-Rules/rules
synced 2026-06-08 12:58:40 +00:00
Update PDF.yar
This commit is contained in:
@@ -51,6 +51,22 @@ rule suspicious_creation : PDF
|
||||
$magic at 0 and $header and 1 of ($create*)
|
||||
}
|
||||
|
||||
rule multiple_filtering : PDF
|
||||
{
|
||||
meta:
|
||||
author = "Glenn Edwards (@hiddenillusion)"
|
||||
version = "0.2"
|
||||
weight = 3
|
||||
|
||||
strings:
|
||||
$magic = { 25 50 44 46 }
|
||||
$attrib = /\/Filter.*(\/ASCIIHexDecode\W+|\/LZWDecode\W+|\/ASCII85Decode\W+|\/FlateDecode\W+|\/RunLengthDecode){2}/
|
||||
// left out: /CCITTFaxDecode, JBIG2Decode, DCTDecode, JPXDecode, Crypt
|
||||
|
||||
condition:
|
||||
$magic at 0 and $attrib
|
||||
}
|
||||
|
||||
rule suspicious_title : PDF
|
||||
{
|
||||
meta:
|
||||
|
||||
Reference in New Issue
Block a user