YARA · SEKOIA.IO Community
SEKOIA_Implant_Mac_Rustbucket
Detect the RustBucket malware
- Author
- Sekoia.io
- Date
- 2023-04-24
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detect the RustBucket malware
It defines 4 patterns (2 text, 2 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
implant-mac-rustbucket.yarDetection Rule License 1.1
rule SEKOIA_Implant_Mac_Rustbucket : FILE
{
meta:
= "Detect the RustBucket malware"
= "Sekoia.io"
= "fcbb745d-7f56-4c51-9db5-427da22a0c68"
= "2023-04-24"
= "2024-12-19"
= "https://www.jamf.com/blog/bluenoroff-apt-targets-macos-rustbucket-malware/"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/implant_mac_rustbucket.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "9ca914b1cfa8c0ba021b9e00bda71f36cad132f27cf16bda6d937badee66c747"
= "ab7bc706b0d3f0dcd739ffe7f8153ba7377892143d8d53ce1591519ffe4ae84f"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "/Users/hero/"
$ = "PATHIpv6Ipv4Bodyslotpath"
$macho_magic = {CF FA ED FE}
$java_magic = {CA FE BA BE}
condition:
($macho_magic at 0 or $java_magic at 0 ) and all of them
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | text | "/Users/hero/" | |
| $ | text | "PATHIpv6Ipv4Bodyslotpath" | |
| $macho_magic | hex | {CF FA ED FE} | |
| $java_magic | hex | {CA FE BA BE} |
Condition
($macho_magic at 0 or $java_magic at 0 ) and all of themIn plain words (Heuristic)
- All patterns in the rule must match.
- Pattern $macho_magic must be found at offset 0.
- Pattern $java_magic must be found at offset 0.
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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 9ca914b1cfa8c0ba021b9e00bda71f36cad132f27cf16bda6d937badee66c747
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: fcbb745d-7f56-4c51-9db5-427da22a0c68
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20