YARA · SEKOIA.IO Community
SEKOIA_Apt_Cloudatlas_Init_Module_Virtualalloc
Find init module of CloudAtlas with params passed to VirtualAlloc
- Author
- Sekoia.io
- Date
- 2023-09-19
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Find init module of CloudAtlas with params passed to VirtualAlloc
Targets: Windows PE, Linux ELF.
It defines 1 patterns (0 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SEKOIA_Apt_Cloudatlas_Init_Module_Virtualalloc : FILE
{
meta:
= "Find init module of CloudAtlas with params passed to VirtualAlloc"
= "Sekoia.io"
= "299ed681-9d1f-4b47-8389-ff5a608f49d4"
= "2023-09-19"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_cloudatlas_init_module_virtualalloc.yar#L1-L25"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "02a1a9582f5ccf421b08c41c35049416b9cdefc9228daf6b38d95e9b0930cc5a"
= "c7f19c7c295c86867ea7fa4597ba0cebe12f751753866e7298fd5d84676facc3"
= "31ffaeccc0b8fe36eea3b3a8200eff6a420b1a3937fd439dc84121654fcea502"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$chunk_1 = {
6A 40
68 00 30 10 00
8B 8D ?? ?? ?? ??
8B 51 50
52
6A 00
FF 15 ?? ?? ?? ??
}
condition:
( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and $chunk_1 and filesize < 3MB
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $chunk_1 | hex | { 6A 40 68 00 30 10 00 8B 8D ?? ?? ?? ?? 8B 51 50 52 6A 00 FF 15 ?? ?? ?? ?? } |
Condition
( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and $chunk_1 and filesize < 3MBIn 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 3MB (a cheap guard that skips large files).
- Pattern $chunk_1 must be present.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
References
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 02a1a9582f5ccf421b08c41c35049416b9cdefc9228daf6b38d95e9b0930cc5a
- c7f19c7c295c86867ea7fa4597ba0cebe12f751753866e7298fd5d84676facc3
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: 299ed681-9d1f-4b47-8389-ff5a608f49d4
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- 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
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-03-06