CACTUSTORCH
Description
Detects CactusTorch Hacktool
Query · yara
strings:
$x1 = "$payload = shellcode(%options[\"listener\"], \"true\", \"x86\");" fullword ascii
$x2 = "Copy the base64 encoded payload into the code variable below." fullword ascii
$x3 = " CACTUSTORCH Payload" ascii
$x4 = "ms.Write transform.TransformFinalBlock(enc.GetBytes_4(b), 0, length), 0, ((length / 4) * 3)" fullword ascii
$x5 = "' Author: Vincent Yiu (@vysecurity)" fullword ascii
$x6 = "Dim binary : binary = \"rundll32.exe\"" fullword ascii
$a1 = "code = code & \"" ascii
$a2 = "serialized_obj = serialized_obj & \"" ascii
$s1 = "binary = \"rundll32.exe\"" fullword ascii
$s2 = "EL.DataType = \"bin.hex\"" fullword ascii
$s3 = "Set stm = CreateObject(\"System.IO.MemoryStream\")" fullword ascii
$s4 = "var binary = \"rundll32.exe\";" fullword ascii
$s5 = "var serialized_obj = \"" ascii
condition:
( filesize < 800KB and
(
1 of ($x*) or
( 1 of ($a*) and 1 of ($s*) )
)
) or ( 3 of them )