APT_RUBY_RokRat_Loader
Description
Ruby loader seen loading the ROKRAT malware family.
Query · yara
strings:
$magic1 = "'https://update.microsoft.com/driverupdate?id=" ascii wide
$magic2 = "sVHZv1mCNYDO0AzI';" ascii wide
$magic3 = "firoffset..scupd.size" ascii wide
$magic4 = /alias UrlFilter[0-9]{2,5} eval;"/
// Original: 'Fiddle::Pointer' (Reversed)
$s1 = "clRnbp9GU6oTZsRGZpZ"
$s2 = "RmlkZGxlOjpQb2ludGVy"
$s3 = "yVGdul2bQpjOlxGZklmR"
$s4 = "XZ05WavBlO6UGbkRWaG"
condition:
any of ($magic*) or
any of ($s*)
}
rule APT_PY_BlueLight_Loader : InkySquid
{
meta:
author = "threatintel@volexity.com"
description = "Python Loader used to execute the BLUELIGHT malware family."
date = "2021-06-22"
hash1 = "80269413be6ad51b8b19631b2f5559c9572842e789bbce031babe6e879d2e120"
license = "See license at https://github.com/volexity/threat-intel/LICENSE.txt"
reference = "https://www.volexity.com/blog/2021/08/24/north-korean-bluelight-special-inkysquid-deploys-rokrat/"
id = "f8da3e40-c3b0-5b7f-8ece-81874993d8cd"
strings:
$s1 = "\"\".join(chr(ord(" ascii
$s2 = "import ctypes " ascii
$s3 = "ctypes.CFUNCTYPE(ctypes.c_int)" ascii
$s4 = "ctypes.memmove" ascii
$s5 = "python ended" ascii
condition:
all of them