100DaysofYARA - CosmicRust
2024-01-04 • Greg Lesewich •
https://g-les.github.io/yara/2024/01/04/100DaysofYARA-CosmicRust.html
TA444, also known as Sapphire Sleet, BLUENOROFF, or STARDUST CHOLLIMA, is linked in the excerpt to CosmicRust, a Rust-based Mach-O backdoor described as less mature than RustBucket. The sample uses WebSockets for communications, carries an ad-hoc signature identifier tied to "bot_client," and reuses paths previously seen in TA444 samples. Visible Rust symbols expose host-information and command-handling functions such as architecture, boot time, current directory, version, string encoding/decoding, request processing, and response processing. The excerpt provides a YARA rule using Mach-O headers, bot_client/basicinfo strings, function-name strings, and several hashes to track CosmicRust samples.
Indicators of Compromise
| Type | Value | First Seen | Last Seen |
|---|---|---|---|
| YARA | APT_NK_TA444_CosmicRust | 2024-01-04 | 2024-01-04 |
| HASH | 3315e5a4590e430550a4d85d0caf5f5… | 2024-01-04 | 2024-01-04 |
| HASH | 16396c63d8de359d88297dbbe9f94663 | 2024-01-04 | 2024-01-04 |
| HASH | 045959bcc47fc8c3d4fdfe4e065bfbc… | 2024-01-04 | 2024-01-04 |
| HASH | 5115be816d0cd579915d079573bfa38… | 2024-01-04 | 2024-01-04 |