Skip to content

Commit d4f4e76

Browse files
[PR #3996] modified rule: Attachment: PDF with specific object hash pattern
1 parent ea5df80 commit d4f4e76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

detection-rules/3996_attachment_pdf_object_hash_partial_match.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ source: |
77
and any(filter(attachments, .file_type == "pdf"),
88
any(file.explode(.),
99
strings.contains(.scan.pdf_obj_hash.hash_string,
10-
"Catalog|Pages|Page|Filter|Font/TrueType|FontDescriptor|ExtGState|ExtGState|Font/Type0|None|Font/CIDFontType2|Ordering|FontDescriptor|Font/TrueType|FontDescriptor|Subtype|Subtype|Font/Type0|None|Font/CIDFontType2|Ordering|FontDescriptor|"
10+
"Catalog|Pages|Page|Filter|Font/TrueType|FontDescriptor|ExtGState|ExtGState|Font/Type0|None|Font/CIDFontType2|Ordering|FontDescriptor|Font/TrueType|FontDescriptor|Subtype|Subtype|Font/Type0|None|Font/CIDFontType2|Ordering|FontDescriptor|Subtype|XObject/Image|Subtype|XObject/Image|"
1111
)
1212
)
1313
)
@@ -21,4 +21,4 @@ detection_methods:
2121
id: "ea53a4d4-af8b-5a0e-a837-24c4fe3b28d2"
2222
og_id: "39a99174-f2f3-5106-9e99-0684bc7b738c"
2323
testing_pr: 3996
24-
testing_sha: 653f01c807e17c120e10e7098d6c86bef8b7759a
24+
testing_sha: 0e8c7b9f24c4dbd22e91bebc865c04431ead0ac1

0 commit comments

Comments
 (0)