YARA · SEKOIA.IO Community
SEKOIA_Apt_Yemen_Apk_Guardzoo
Detects Dex files containing GuardZoo strings.
- Author
- Sekoia.io
- Date
- 2024-08-09
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects Dex files containing GuardZoo strings.
It defines 9 patterns (9 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-yemen-apk-guardzoo.yarDetection Rule License 1.1
rule SEKOIA_Apt_Yemen_Apk_Guardzoo : FILE
{
meta:
= "Detects Dex files containing GuardZoo strings."
= "Sekoia.io"
= "f4004e7c-2904-46ea-a3e6-2bdd3e704fea"
= "2024-08-09"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_yemen_apk_guardzoo.yar#L1-L40"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "3afad114c68489e2d294720339baf570"
= "c59d0f5c8d00485199f147b96c5abca0"
= "75c58948725133160085dc1cfdf602ec"
= "d76a39ee85263900f7e6eaacb804f5e2"
= "51356c95dfe1221c0f4ca2475bc787f8"
= "1d0dd8201c051d9c8d2c945c8b31a48c"
= "b7b6be5e8eec44dd13e1df1f3908fcf0"
= "229984f004578a8fa643afb881d81e8c"
= "f3f1ccb3912c49a0a6ea710a0bd856de"
= "a3f8365bfa5f8185e8c7eba8efc63165"
= "7392deaf81ddf50b8a6f2179538f7e81"
= "c40d56e1586f9fa382c688d624d25525"
= "629fb04b91c4db4ea282440e20317dab"
= "bcebc41628196f8bd119f72e1e8eb47c"
= "f1cfdc9e91c3a20563246cf366b94f10"
= "a75ffb11adbace40a7c59128adba43ad"
= "7d98aefa4c2ee7316e0ff47a67d9f19913852d1a451ef38ccb77709394e4ba73"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$classes_1 = "GuardZoo.java"
$classes_2 = "com/animals"
$path_1 = "&Password="
$path_2 = "&Coordinates="
$path_3 = "&Data="
$path_4 = "&Device="
$path_5 = "&ISPICTURE="
$path_6 = "&Phone_Number="
$path_7 = "&Provider="
condition:
uint32be( 0 ) == 0x6465780a and filesize < 10MB and ( ( any of ( $classes_* ) ) and ( 3 of ( $path_* ) ) )
}
Strings (9 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $classes_1 | text | "GuardZoo.java" | |
| $classes_2 | text | "com/animals" | |
| $path_1 | text | "&Password=" | |
| $path_2 | text | "&Coordinates=" | |
| $path_3 | text | "&Data=" | |
| $path_4 | text | "&Device=" | |
| $path_5 | text | "&ISPICTURE=" | |
| $path_6 | text | "&Phone_Number=" | |
| $path_7 | text | "&Provider=" |
Condition
uint32be( 0 ) == 0x6465780a and filesize < 10MB and ( ( any of ( $classes_* ) ) and ( 3 of ( $path_* ) ) )In plain words (Heuristic)
- The file must be smaller than 10MB (a cheap guard that skips large files).
- At least one pattern in ( $classes_* ) must match.
- At least 3 patterns in ( $path_* ) 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
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 3afad114c68489e2d294720339baf570
- c59d0f5c8d00485199f147b96c5abca0
- 75c58948725133160085dc1cfdf602ec
- d76a39ee85263900f7e6eaacb804f5e2
- 51356c95dfe1221c0f4ca2475bc787f8
- 1d0dd8201c051d9c8d2c945c8b31a48c
- b7b6be5e8eec44dd13e1df1f3908fcf0
- 229984f004578a8fa643afb881d81e8c
- f3f1ccb3912c49a0a6ea710a0bd856de
- a3f8365bfa5f8185e8c7eba8efc63165
- 7392deaf81ddf50b8a6f2179538f7e81
- c40d56e1586f9fa382c688d624d25525
- 629fb04b91c4db4ea282440e20317dab
- bcebc41628196f8bd119f72e1e8eb47c
- f1cfdc9e91c3a20563246cf366b94f10
- a75ffb11adbace40a7c59128adba43ad
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: f4004e7c-2904-46ea-a3e6-2bdd3e704fea
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