YARA · SEKOIA.IO Community
SEKOIA_Apt_Boldmove_Strings
Detects BOLDMOVE via strings
- Author
- Sekoia.io
- Date
- 2023-01-16
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects BOLDMOVE via strings
Associated malware family: Boldmove.
Targets: Windows PE, Linux ELF.
It defines 5 patterns (5 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-boldmove-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Boldmove_Strings : FILE
{
meta:
= "Detects BOLDMOVE via strings"
= "Sekoia.io"
= "0458e282-f92f-4600-964a-de6b66b4a82d"
= "2023-01-16"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_boldmove_strings.yar#L1-L20"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "71649451b88629da1779c0856b2f1f60f87501962c69556f7943b049688a2d96"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "cwd=%s" ascii wide
$s2 = "executable=%s" ascii wide
$s3 = "curl/6.12.34" ascii wide
$s4 = "www.example.com" ascii wide
$s5 = "GET /ws HTTP/1.1" ascii wide
condition:
( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and filesize < 4MB and 4 of them
}
Strings (5 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "cwd=%s" | ascii wide |
| $s2 | text | "executable=%s" | ascii wide |
| $s3 | text | "curl/6.12.34" | ascii wide |
| $s4 | text | "www.example.com" | ascii wide |
| $s5 | text | "GET /ws HTTP/1.1" | ascii wide |
Condition
( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and filesize < 4MB and 4 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must start with the ELF header — a Linux/Unix executable.
- The file must be smaller than 4MB (a cheap guard that skips large files).
- At least 4 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.
References
Licence & attribution
Author: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
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: 0458e282-f92f-4600-964a-de6b66b4a82d
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-06-11