Sneed-Reactivity/yara-mikesxrs/RSA/RTF_Shellcode.yar
Sam Sneed 08e8d462fe OMG ISTG PLS WORK
RED PILL 🔴 💊
2024-07-25 12:43:35 -05:00

16 lines
542 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

rule RTF_Shellcode
{
meta:
author = "RSA-IR Jared Greenhill"
date = "01/21/13"
description = "identifies RTF's with potential shellcode"
reference = "https://community.rsa.com/community/products/netwitness/blog/2014/02/12/triaging-malicious-microsoft-office-documents-cve-2012-0158"
filetype = "RTF"
strings:
$rtfmagic={7B 5C 72 74 66}
$scregex=/[39 30]{2,20}/
condition:
($rtfmagic at 0) and ($scregex)
}