YARA · Embee Research
EMBEERESEARCH_Win_Cobalt_Sleep_Encrypt
Detects Sleep Encryption Logic Found in Cobalt Strike Deployments
- Author
- Matthew @ Embee_Research
- Date
- 2023-08-27
- Modified
- 2023-10-18
- Score / Quality
- 75 / 75
What this rule detects
Detects Sleep Encryption Logic Found in Cobalt Strike Deployments
It defines 2 patterns (0 text, 2 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule EMBEERESEARCH_Win_Cobalt_Sleep_Encrypt : FILE
{
meta:
= "Detects Sleep Encryption Logic Found in Cobalt Strike Deployments"
= "Matthew @ Embee_Research"
= "6bd6fbb4-6634-5b51-90f0-f24e48d69043"
= "2023-08-27"
= "2023-10-18"
= "https://github.com/embee-research/Yara-detection-rules/"
= "https://github.com/embee-research/Yara-detection-rules//blob/ac56d6f6fd2a30c8cb6e5c0455d6519210a8b0f4/Rules/win_cobalt_sleep_encrypt_aug_2023.yar#L1-L55"
= "N/A"
= "26b2f12906c3590c8272b80358867944fd86b9f2cc21ee6f76f023db812e5bb1"
= "7aa2674ecaaae819c3f26924fa0622df322b1214493f37b1bdf5e00ba5ee98e6"
= 75
= 75
= "FILE"
strings:
$r1_nokey = {4E 8B 04 08 B8 ?? ?? ?? ?? 41 F7 E3 41 8B C3 C1 EA 02 41 FF C3 6B D2 0D 2B C2 8A 4C 18 18 41 30 0C 38 48 8B 43 10 41 8B FB 4A 3B 7C 08 08}
$r2_nokey = {49 8B F9 4C 8B 03 B8 ?? ?? ?? ?? 41 F7 E1 41 8B C1 C1 EA 02 41 FF C1 6B D2 0D 2B C2 8A 4C 18 18 42 30 0C 07 48 FF C7 45 3B CB}
condition:
($r1_nokey or $r2_nokey )
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $r1_nokey | hex | {4E 8B 04 08 B8 ?? ?? ?? ?? 41 F7 E3 41 8B C3 C1 EA 02 41 FF C3 6B D2 0D 2B C2 8A 4C 18 18 41 30 0C 38 48 8B 43 10 41 8B FB 4A 3B 7C 08 08} | |
| $r2_nokey | hex | {49 8B F9 4C 8B 03 B8 ?? ?? ?? ?? 41 F7 E1 41 8B C1 C1 EA 02 41 FF C1 6B D2 0D 2B C2 8A 4C 18 18 42 30 0C 07 48 FF C7 45 3B CB} |
Condition
($r1_nokey or $r2_nokey )In plain words (Heuristic)
- Pattern $r1_nokey must be present.
- Pattern $r2_nokey must be present.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 26b2f12906c3590c8272b80358867944fd86b9f2cc21ee6f76f023db812e5bb1
Licence & attribution
Author: Matthew @ Embee_Research
Source repository: Embee Research @ ac56d6f6fd
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: 6bd6fbb4-6634-5b51-90f0-f24e48d69043
Tags:FILE
Related rules
- Hack toolEmbee Research· Matthew @ Embee_Research· 2023-11-04
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-08-27
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-09-13
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-09-13
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-12-24
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-08-27
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-10-03
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-10-03