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

22 lines
564 B
Text

rule layer1_vbs
{
meta:
author = "Trendmicro"
reference = "http://blog.trendmicro.com/trendlabs-security-intelligence/from-cybercrime-to-cyberpropaganda/"
strings:
$vbs = /[a-z]+ = [a-z]+ & ChrW\(AscW\(Mid\([a-z]+, [a-z]+, 1\)\) - [a-z]+ \* [a-z]+\)/ wide
condition:
$vbs
}
rule layer0_vbs
{
meta:
author = "Trendmicro"
reference = "http://blog.trendmicro.com/trendlabs-security-intelligence/from-cybercrime-to-cyberpropaganda/"
strings:
$code = /Dim \w+\s+\r\n\s+For Each \w+ In split\(\w+,".+"\)\r\n\s+\w+ = \w+ & ChrW\(\w+ - "\d+"\)/
condition:
$code
}