MyWScript_CompiledScript
Description
Detects a scripte with default name Mywscript compiled with Script2Exe (can also be a McAfee tool https://community.mcafee.com/docs/DOC-4124)
Query · yara
strings:
$x1 = "C:\\Projets\\vbsedit_source\\script2exe\\Release\\mywscript.pdb" fullword ascii
$s1 = "mywscript2" fullword wide
$s2 = "MYWSCRIPT2" fullword wide
condition:
uint16(0) == 0x5a4d and filesize < 800KB and ( $x1 or 2 of them )