YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_Sandworm_Cyclopsblink_Handle_Mod_0Xf_Command
Detects the code bytes used to check module ID 0xf control flags and a format string used for file content upload
- Author
- NCSC
- Date
- 2022-02-23
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Detects the code bytes used to check module ID 0xf control flags and a format string used for file content upload
Targets: Linux ELF.
It defines 5 patterns (1 text, 4 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_APT_Sandworm_Cyclopsblink_Handle_Mod_0Xf_Command : FILE
{
meta:
= "Detects the code bytes used to check module ID 0xf control flags and a format string used for file content upload"
= "NCSC"
= "36646b7a-389d-5fd9-88a1-e43e7224763a"
= "2022-02-23"
= "2023-12-05"
= "https://www.ncsc.gov.uk/news/joint-advisory-shows-new-sandworm-malware-cyclops-blink-replaces-vpnfilter"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_sandworm_cyclops_blink.yar#L128-L150"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "3adf9a59743bc5d8399f67cab5eb2daf28b9b863"
= "c59bc17659daca1b1ce65b6af077f86a648ad8a8"
= "6e3eebe404c8cd24e1e16eb3c881b1eda78ba6b365bf89c2557329e6f89396ac"
= 75
= 85
= "FILE"
strings:
$ = {54 00 06 3E 54 00 07 FE 54 00 06 3E 2F 80 00 00}
$ = {54 00 06 3E 54 00 07 BC 2F 80 00 00}
$ = {54 00 06 3E 54 00 07 7A 2F 80 00 00}
$ = {54 00 06 3E 54 00 06 F6 2F 80 00 00}
$ = "file:%s\n" fullword
condition:
( uint32( 0 ) == 0x464c457f ) and ( all of them )
}
Strings (5 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | hex | {54 00 06 3E 54 00 07 FE 54 00 06 3E 2F 80 00 00} | |
| $ | hex | {54 00 06 3E 54 00 07 BC 2F 80 00 00} | |
| $ | hex | {54 00 06 3E 54 00 07 7A 2F 80 00 00} | |
| $ | hex | {54 00 06 3E 54 00 06 F6 2F 80 00 00} | |
| $ | text | "file:%s\n" | fullword |
Condition
( uint32( 0 ) == 0x464c457f ) and ( all of them )In plain words (Heuristic)
- The file must start with the ELF header — a Linux/Unix executable.
- 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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 3adf9a59743bc5d8399f67cab5eb2daf28b9b863
- c59bc17659daca1b1ce65b6af077f86a648ad8a8
Licence & attribution
Author: NCSC
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: 36646b7a-389d-5fd9-88a1-e43e7224763a
Tags:FILE
Related rules
- APT / threat actorSignature Base (Florian Roth / Nextron)· NCSC· 2022-02-23
- APT / threat actorSignature Base (Florian Roth / Nextron)· NCSC· 2022-02-23
- APT / threat actorSignature Base (Florian Roth / Nextron)· NCSC· 2022-02-23
- APT / threat actorSignature Base (Florian Roth / Nextron)· NCSC· 2022-02-23
- APT / threat actorSignature Base (Florian Roth / Nextron)· NCSC· 2022-02-23
- APT / threat actorSignature Base (Florian Roth / Nextron)· NCSC· 2022-02-23
- MalwareSignature Base (Florian Roth / Nextron)· NCSC· 2024-10-22
- MalwareSignature Base (Florian Roth / Nextron)· NCSC· 2025-09-25