Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rules
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
rules
Commits
47939a0e
Commit
47939a0e
authored
9 years ago
by
mmorenog
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update PDF.yar
parent
bb2bce5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
+1
-3
PDF.yar
Malicious_Documents/PDF.yar
+1
-3
No files found.
Malicious_Documents/PDF.yar
View file @
47939a0e
...
@@ -383,9 +383,7 @@ rule invalid_xref_numbers : PDF
...
@@ -383,9 +383,7 @@ rule invalid_xref_numbers : PDF
strings:
strings:
$magic = { 25 50 44 46 }
$magic = { 25 50 44 46 }
$reg0 = /xref\r?\n?.*\r?\n?.*65535\sf/
$reg0 = /xref\r?\n?.*\r?\n?.*65535\sf/
$reg1 = /endstream.*?\r?\n?endobj.*?\r?\n?.*startxref/
$reg1 = /endstream.*?\r?\n?endobj.*?\r?\n?startxref.*?\r?\n?/
condition:
condition:
$magic at 0 and not $reg0 and not $reg1
$magic at 0 and not $reg0 and not $reg1
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment