YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_HKTL_Cobaltstrike_Beacon_4_2_Decrypt
Identifies deobfuscation routine used in Cobalt Strike Beacon DLL version 4.2
Hack toolCobalt StrikeSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
- Author
- Elastic
- Date
- 2021-03-16
- Modified
- 2026-05-26
- Score / Quality
- 75 / 85
What this rule detects
Identifies deobfuscation routine used in Cobalt Strike Beacon DLL version 4.2
Associated malware family: Cobalt Strike.
It defines 2 patterns (0 text, 2 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
hktl-cobaltstrike-beacon-4-2-decrypt.yarDetection Rule License 1.1
rule SIGNATURE_BASE_HKTL_Cobaltstrike_Beacon_4_2_Decrypt
{
meta:
= "Identifies deobfuscation routine used in Cobalt Strike Beacon DLL version 4.2"
= "Elastic"
= "63b71eef-0af5-5765-b957-ccdc9dde053b"
= "2021-03-16"
= "2026-05-26"
= "https://www.elastic.co/blog/detecting-cobalt-strike-with-memory-signatures"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_cobaltstrike.yar#L92-L104"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "8685b1626c8d263f49ccf129dcd4fe1b42482fcdb37c2e109cedcecaed8c2407"
= 75
= 85
= ""
strings:
$a_x64 = { 4C 8B 53 08 45 8B 0A 45 8B 5A 04 4D 8D 52 08 45 85 C9 75 05 45 85 DB 74 33 45 3B CB 73 E6 49 8B F9 4C 8B 03 }
$a_x86 = { 8B 46 04 8B 08 8B 50 04 83 C0 08 89 55 08 89 45 0C 85 C9 75 04 85 D2 74 23 3B CA 73 E6 8B 06 8D 3C 08 33 D2 }
condition:
any of them
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $a_x64 | hex | { 4C 8B 53 08 45 8B 0A 45 8B 5A 04 4D 8D 52 08 45 85 C9 75 05 45 85 DB 74 33 45 3B CB 73 E6 49 8B F9 4C 8B 03 } | |
| $a_x86 | hex | { 8B 46 04 8B 08 8B 50 04 83 C0 08 89 55 08 89 45 0C 85 C9 75 04 85 D2 74 23 3B CA 73 E6 8B 06 8D 3C 08 33 D2 } |
Condition
any of themIn plain words (Heuristic)
- At least one pattern 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.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
Licence & attribution
Author: Elastic
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 63b71eef-0af5-5765-b957-ccdc9dde053b
Related rules
- Hack toolSignature Base (Florian Roth / Nextron)· Elastic· 2021-03-16
- Hack toolSignature Base (Florian Roth / Nextron)· Elastic· 2021-03-16
- Hack toolSignature Base (Florian Roth / Nextron)· CodeX· 2022-07-04
- Hack toolSignature Base (Florian Roth / Nextron)· gssincla@google.com· 2022-11-18
- Hack toolSignature Base (Florian Roth / Nextron)· yara@s3c.za.net· 2021-07-08
- Hack toolSignature Base (Florian Roth / Nextron)· yara@s3c.za.net· 2021-07-19
- Hack toolSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-05-25
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2026-02-02