YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_HKTL_Cobaltstrike_Beacon_Strings
Identifies strings used in Cobalt Strike Beacon DLL
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 strings used in Cobalt Strike Beacon DLL
Associated malware family: Cobalt Strike.
It defines 3 patterns (3 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
hktl-cobaltstrike-beacon-strings.yarDetection Rule License 1.1
rule SIGNATURE_BASE_HKTL_Cobaltstrike_Beacon_Strings
{
meta:
= "Identifies strings used in Cobalt Strike Beacon DLL"
= "Elastic"
= "af558aa2-a3dc-5a7a-bc74-42bb2246091c"
= "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#L54-L67"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "4349a7ad94df2269217b55c2aef9628c4eef078566c276936accdd4f996ba2cf"
= 75
= 85
= ""
strings:
$s1 = "%02d/%02d/%02d %02d:%02d:%02d"
$s2 = "Started service %s on %s"
$s3 = "%s as %s\\%s: %d"
condition:
2 of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "%02d/%02d/%02d %02d:%02d:%02d" | |
| $s2 | text | "Started service %s on %s" | |
| $s3 | text | "%s as %s\\%s: %d" |
Condition
2 of themIn plain words (Heuristic)
- At least 2 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.
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: af558aa2-a3dc-5a7a-bc74-42bb2246091c
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