YARA · Volexity threat-intel
VOLEXITY_Apt_Win_Powerstar_Decrypt_Function
Detects PowerStar decrypt function, potentially downloaded standalone and then injected.
- Author
- threatintel@volexity.com
- Date
- 2023-05-16
- Modified
- 2023-09-20
- Score / Quality
- 75 / 80
What this rule detects
Detects PowerStar decrypt function, potentially downloaded standalone and then injected.
It defines 7 patterns (7 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule VOLEXITY_Apt_Win_Powerstar_Decrypt_Function : CHARMINGKITTEN
{
meta:
= "Detects PowerStar decrypt function, potentially downloaded standalone and then injected."
= "threatintel@volexity.com"
= "1fbc2689-8169-53b1-b581-c41ab2b3a16f"
= "2023-05-16"
= "2023-09-20"
= "https://github.com/volexity/threat-intel"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2023/2023-06-28 POWERSTAR/indicators/rules.yar#L98-L121"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "b79d28fe5e3c988bb5aadb12ce442d53291dbb9ede0c7d9d64eec078beba5585"
= "d022e363464488836a1c161f2b9c7463ac91ae6f60f14dfd574189233201c9aa"
= 75
= 80
= "CHARMINGKITTEN"
= 1
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
strings:
$f_1 = "function Borjol{"
$s_1 = "$global:Domain = \""
$s_2 = "$global:IP = \""
$s_3 = "$global:yeolsoe"
$s_4 = "$semii.Close()"
$s_5 = "$cemii.Close()"
$s_6 = "$memii.Close()"
condition:
any of ( $f_* ) or 2 of ( $s_* )
}
Strings (7 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $f_1 | text | "function Borjol{" | |
| $s_1 | text | "$global:Domain = \"" | |
| $s_2 | text | "$global:IP = \"" | |
| $s_3 | text | "$global:yeolsoe" | |
| $s_4 | text | "$semii.Close()" | |
| $s_5 | text | "$cemii.Close()" | |
| $s_6 | text | "$memii.Close()" |
Condition
any of ( $f_* ) or 2 of ( $s_* )In plain words (Heuristic)
- At least one pattern in ( $f_* ) must match.
- At least 2 patterns 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).
- b79d28fe5e3c988bb5aadb12ce442d53291dbb9ede0c7d9d64eec078beba5585
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: 1fbc2689-8169-53b1-b581-c41ab2b3a16f
Metadata
| memory_suitable | 1 |
|---|
Tags:CHARMINGKITTEN
Related rules
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-05-16
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-05-16
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-05-16
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2021-10-13
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-05-16
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2024-07-30
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-07-21
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-08-17