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
eccc40c0
Commit
eccc40c0
authored
Oct 20, 2017
by
mmorenog
Committed by
GitHub
Oct 20, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #273 from nbeede/master
Create Maldoc_DDE.yar
parents
d9b429a9
196b4db6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
Maldoc_DDE.yar
Malicious_Documents/Maldoc_DDE.yar
+19
-0
No files found.
Malicious_Documents/Maldoc_DDE.yar
0 → 100644
View file @
eccc40c0
rule Contains_DDE_Protocol
{
meta:
author = "Nick Beede"
description = "Detect Dynamic Data Exchange protocol in doc/docx"
reference = "https://sensepost.com/blog/2017/macro-less-code-exec-in-msword/"
date = "2017-10-19"
filetype = "Office documents"
strings:
$doc = {D0 CF 11 E0 A1 B1 1A E1}
$s1 = { 13 64 64 65 61 75 74 6F 20 } // !!ddeauto
$s2 = { 13 64 64 65 20 } // !!dde
$s3 = "dde" nocase
$s4 = "ddeauto" nocase
condition:
($doc at 0) and 2 of ($s1, $s2, $s3, $s4)
}
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