YARA · Embee Research
EMBEERESEARCH_Win_Cobaltstrike_Pipe_Strings_Nov_2023
Detects default strings related to cobalt strike named pipes
- Author
- Matthew @ Embee_Research
- Date
- 2023-11-04
- Score / Quality
- 75 / 75
What this rule detects
Detects default strings related to cobalt strike named pipes
Associated malware family: Cobalt Strike.
It defines 4 patterns (4 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule EMBEERESEARCH_Win_Cobaltstrike_Pipe_Strings_Nov_2023 : FILE
{
meta:
= "Detects default strings related to cobalt strike named pipes"
= "Matthew @ Embee_Research"
= "9237f4e8-b9c4-54cb-9cb2-999d267392af"
= "2023-11-04"
= "2023-11-04"
= "https://github.com/embee-research/Yara-detection-rules/"
= "https://github.com/embee-research/Yara-detection-rules//blob/ac56d6f6fd2a30c8cb6e5c0455d6519210a8b0f4/Rules/win_cobaltstrike_pipe_strings_nov_2023.yar#L1-L24"
= "N/A"
= "99986d438ec146bbb8b5faa63ce47264750a8fdf508a4d4250a8e1e3d58377fd"
= "090402a6e2db12cbdd3a889b7b46bb7702acc0cad37d87ff201230b618fe7ed5"
= "eb2b263937f8d28aa9df7277b6f25d10604a5037d5644c98ee0ab8f7a25db7b4"
= "ff17fe9d04d9ad6aa5c034b69d412b0d62c48c537c3a54a465761e27e9255e6d"
= 75
= 75
= "FILE"
strings:
$s1 = "%c%c%c%c%c%cMSSE-%d-server"
$s2 = "ConnectNamedPipe"
$s3 = "CreateNamedPipeA"
$s4 = "TlsGetValue"
condition:
( all of ( $s* ) ) and filesize < 500KB
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "%c%c%c%c%c%cMSSE-%d-server" | |
| $s2 | text | "ConnectNamedPipe" | |
| $s3 | text | "CreateNamedPipeA" | |
| $s4 | text | "TlsGetValue" |
Condition
( all of ( $s* ) ) and filesize < 500KBIn plain words (Heuristic)
- The file must be smaller than 500KB (a cheap guard that skips large files).
- All 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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 99986d438ec146bbb8b5faa63ce47264750a8fdf508a4d4250a8e1e3d58377fd
- 090402a6e2db12cbdd3a889b7b46bb7702acc0cad37d87ff201230b618fe7ed5
- eb2b263937f8d28aa9df7277b6f25d10604a5037d5644c98ee0ab8f7a25db7b4
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: 9237f4e8-b9c4-54cb-9cb2-999d267392af
Tags:FILE
Related rules
- Hack toolEmbee Research· Matthew @ Embee_research· 2023-07-03
- Hack toolSignature Base (Florian Roth / Nextron)· CodeX· 2022-07-04
- Hack toolAvast / Gen Digital IOC· Gen Threat Labs· 2021-07-08
- Hack toolAvast / Gen Digital IOC· Gen Threat Labs· 2021-07-08
- Hack toolAvast / Gen Digital IOC· Gen Threat Labs· 2021-07-08
- Hack toolAvast / Gen Digital IOC· Gen Threat Labs· 2021-07-08
- Hack toolAvast / Gen Digital IOC· Gen Threat Labs· 2021-07-08
- Hack toolAvast / Gen Digital IOC· Gen Threat Labs· 2021-07-08