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
fb786a03
Commit
fb786a03
authored
Jul 07, 2016
by
Javier Rascón Mesa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed RTF_Shellcode regular expression
parent
8880b2d9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
malicious_document.yar
Malicious_Documents/malicious_document.yar
+5
-6
No files found.
Malicious_Documents/malicious_document.yar
View file @
fb786a03
...
@@ -275,20 +275,19 @@ rule Embedded_EXE_Cloaking : maldoc {
...
@@ -275,20 +275,19 @@ rule Embedded_EXE_Cloaking : maldoc {
// This rule have beed improved by Javier Rascon
// This rule have beed improved by Javier Rascon
rule RTF_Shellcode : maldoc
rule RTF_Shellcode : maldoc
{
{
meta:
meta:
author = "RSA-IR – Jared Greenhill"
author = "RSA-IR – Jared Greenhill"
date = "01/21/13"
date = "01/21/13"
description = "identifies RTF's with potential shellcode"
description = "identifies RTF's with potential shellcode"
filetype = "RTF"
filetype = "RTF"
strings:
strings:
$rtfmagic={7B 5C 72 74 66}
$rtfmagic={7B 5C 72 74 66}
/* $scregex=/[39 30]{2,20}/ */
/* $scregex=/[39 30]{2,20}/ */
$scregex=/(39 30){2,20}/
$scregex=/(90){2,20}/
condition:
condition:
($rtfmagic at 0) and ($scregex)
($rtfmagic at 0) and ($scregex)
}
}
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