YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_MAL_Win_Decrok
The DECROK malware family, which uses the victim's hostname to decrypt and execute an embedded payload.
- Author
- threatintel@volexity.com
- Date
- 2021-06-23
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
The DECROK malware family, which uses the victim's hostname to decrypt and execute an embedded payload.
It defines 4 patterns (2 text, 2 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_APT_MAL_Win_Decrok : INKYSQUID
{
meta:
= "The DECROK malware family, which uses the victim's hostname to decrypt and execute an embedded payload."
= "threatintel@volexity.com"
= "dc83843d-fd2a-52f1-82e8-8e36b135a0c5"
= "2021-06-23"
= "2023-12-05"
= "https://www.volexity.com/blog/2021/08/24/north-korean-bluelight-special-inkysquid-deploys-rokrat/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_nk_inkysquid.yar#L61-L82"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "6a452d088d60113f623b852f33f8f9acf0d4197af29781f889613fed38f57855"
= "47fa03e95ac17ba7195858cd63b1769e5d56ab8a5edf872b345989b767050b87"
= 75
= 85
= "INKYSQUID"
= "See license at https://github.com/volexity/threat-intel/LICENSE.txt"
strings:
$v1 = {C7 ?? ?? ?? 01 23 45 67 [2-20] C7 ?? ?? ?? 89 AB CD EF C7 ?? ?? ?? FE DC BA 98}
$av1 = "Select * From AntiVirusProduct" wide
$av2 = "root\\SecurityCenter2" wide
$funcformat = { 25 30 32 78 [0-10] 43 72 65 61 74 65 54 68 72 65 61 64 }
condition:
all of them
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $v1 | hex | {C7 ?? ?? ?? 01 23 45 67 [2-20] C7 ?? ?? ?? 89 AB CD EF C7 ?? ?? ?? FE DC BA 98} | |
| $av1 | text | "Select * From AntiVirusProduct" | wide |
| $av2 | text | "root\\SecurityCenter2" | wide |
| $funcformat | hex | { 25 30 32 78 [0-10] 43 72 65 61 74 65 54 68 72 65 61 64 } |
Condition
all of themIn plain words (Heuristic)
- All patterns in the rule 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).
- 6a452d088d60113f623b852f33f8f9acf0d4197af29781f889613fed38f57855
Licence & attribution
Author: threatintel@volexity.com
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: BSD 2-Clause License (stated in the rule's own meta)
“See license at https://github.com/volexity/threat-intel/LICENSE.txt”
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: dc83843d-fd2a-52f1-82e8-8e36b135a0c5
Tags:INKYSQUID
Related rules
- APT / threat actorSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-04-23
- APT / threat actorSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-06-22
- Hack toolSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-05-25
- WebshellSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-03-01