YARA · Volexity threat-intel
VOLEXITY_Apt_Malware_Rb_Rokrat_Loader
Ruby loader seen loading the ROKRAT malware family.
- Author
- threatintel@volexity.com
- Date
- 2021-06-22
- Modified
- 2024-08-22
- Score / Quality
- 75 / 80
What this rule detects
Ruby loader seen loading the ROKRAT malware family.
Associated malware family: Rokrat.
It defines 8 patterns (7 text, 0 hex, 1 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule VOLEXITY_Apt_Malware_Rb_Rokrat_Loader : INKYPINE FILE MEMORY
{
meta:
= "Ruby loader seen loading the ROKRAT malware family."
= "threatintel@volexity.com"
= "69d09560-a769-55d3-a442-e37f10453cde"
= "2021-06-22"
= "2024-08-22"
= "https://github.com/volexity/threat-intel"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2021/2021-08-24 - InkySquid Part 2/indicators/yara.yar#L1-L32"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "5bc52f6c1c0d0131cee30b4f192ce738ad70bcb56e84180f464a5125d1a784b2"
= "30ae14fd55a3ab60e791064f69377f3b9de9b871adfd055f435df657f89f8007"
= 75
= 80
= "INKYPINE, FILE, MEMORY"
= "win"
= "all"
= "file,memory"
= "critical"
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
= 5598
= 7
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;"/
$s1 = "clRnbp9GU6oTZsRGZpZ"
$s2 = "RmlkZGxlOjpQb2ludGVy"
$s3 = "yVGdul2bQpjOlxGZklmR"
$s4 = "XZ05WavBlO6UGbkRWaG"
condition:
any of ( $magic* ) or any of ( $s* )
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $magic1 | text | "'https://update.microsoft.com/driverupdate?id=" | ascii wide |
| $magic2 | text | "sVHZv1mCNYDO0AzI';" | ascii wide |
| $magic3 | text | "firoffset..scupd.size" | ascii wide |
| $magic4 | regex | /alias UrlFilter[0-9]{2,5} eval;"/ | |
| $s1 | text | "clRnbp9GU6oTZsRGZpZ" | |
| $s2 | text | "RmlkZGxlOjpQb2ludGVy" | |
| $s3 | text | "yVGdul2bQpjOlxGZklmR" | |
| $s4 | text | "XZ05WavBlO6UGbkRWaG" |
Condition
any of ( $magic* ) or any of ( $s* )In plain words (Heuristic)
- At least one pattern in ( $magic* ) must match.
- At least one pattern in ( $s* ) must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
References
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 5bc52f6c1c0d0131cee30b4f192ce738ad70bcb56e84180f464a5125d1a784b2
Licence & attribution
Author: threatintel@volexity.com
Source repository: Volexity threat-intel @ 3a9d0b5245
Licence: BSD 2-Clause License (stated in the rule's own meta)
“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”
Copyright notice: Copyright 2022 by Volexity, Inc.
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 69d09560-a769-55d3-a442-e37f10453cde
Metadata
| os | win |
|---|---|
| os_arch | all |
| scan_context | file,memory |
| severity | critical |
| rule_id | 5598 |
| version | 7 |
Related rules
- APT / threat actorSignature Base (Florian Roth / Nextron)· S2WLAB_TALON_JACK2· 2021-07-09
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-07-11
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2021-06-22
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2021-04-23
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2021-06-23
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2021-06-23
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2024-07-30