Commit 642e4150 by mmorenog Committed by GitHub

Merge pull request #129 from halos/master

Fixed 'RTF_Shellcode' rule regular expression
parents 8880b2d9 fb786a03
......@@ -275,20 +275,19 @@ rule Embedded_EXE_Cloaking : maldoc {
// This rule have beed improved by Javier Rascon
rule RTF_Shellcode : maldoc
{
meta:
meta:
author = "RSA-IR – Jared Greenhill"
date = "01/21/13"
description = "identifies RTF's with potential shellcode"
filetype = "RTF"
strings:
strings:
$rtfmagic={7B 5C 72 74 66}
/* $scregex=/[39 30]{2,20}/ */
$scregex=/(39 30){2,20}/
condition:
$scregex=/(90){2,20}/
condition:
($rtfmagic at 0) and ($scregex)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment