mirror of
https://github.com/valitydev/signature-base.git
synced 2024-11-07 02:25:19 +00:00
Maldoc Excel Macro
This commit is contained in:
parent
cc4a6ba2ff
commit
71e6bf7e6c
18
yara/gen_macro_builders.yar
Normal file
18
yara/gen_macro_builders.yar
Normal file
@ -0,0 +1,18 @@
|
||||
|
||||
rule SUSP_MalDoc_ExcelMacro {
|
||||
meta:
|
||||
description = "Detects malicious Excel macro Artifacts"
|
||||
author = "James Quinn"
|
||||
date = "2020-11-03"
|
||||
reference = "YARA Exchange - Undisclosed Macro Builder"
|
||||
strings:
|
||||
$artifact1 = {5c 00 ?? 00 ?? 00 ?? 00 ?? 00 ?? 00 ?? 00 ?? 00 2e 00 ?? 00 ?? 00}
|
||||
$url1 = "http://" wide
|
||||
$url2 = "https://" wide
|
||||
$import1 = "URLDownloadToFileA" wide ascii
|
||||
$macro = "xl/macrosheets/"
|
||||
condition:
|
||||
uint16(0) == 0x4b50 and
|
||||
filesize < 2000KB and
|
||||
$artifact1 and $macro and $import and 1 of ($url*)
|
||||
}
|
Loading…
Reference in New Issue
Block a user