YARA · SEKOIA.IO Community
SEKOIA_Trojan_Android_Cerberus
Detect samples of the Android banking trojan Cerberus, or its family
- Author
- Sekoia.io
- Date
- 2022-01-24
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detect samples of the Android banking trojan Cerberus, or its family
Targets: ZIP / Office Open XML.
It defines 8 patterns (8 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
trojan-android-cerberus.yarDetection Rule License 1.1
rule SEKOIA_Trojan_Android_Cerberus : FILE
{
meta:
= "Detect samples of the Android banking trojan Cerberus, or its family"
= "Sekoia.io"
= "3ea398bd-a80c-40f4-ad52-73b528add4ad"
= "2022-01-24"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/trojan_android_cerberus.yar#L1-L26"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "18109733d15c994015646e786a7c6177a1209200fd4c80042db3d48c97c02030"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str0 = "assets/neurax.txt"
$str1 = "assets/Card_UpPotency_UI.json"
$str2 = "assets/Card_SignetFoster_UI.json"
$str3 = "assets/Gene_EmpathyTrainer.png"
$bin0 = "assets/180417.bin"
$bin1 = "assets/180513.bin"
$bin2 = "assets/180527.bin"
$bin3 = "assets/180528.bin"
condition:
uint32be( 0 ) == 0x504B0304 and filesize > 1MB and filesize < 4MB and 3 of ( $str* ) and 3 of ( $bin* )
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str0 | text | "assets/neurax.txt" | |
| $str1 | text | "assets/Card_UpPotency_UI.json" | |
| $str2 | text | "assets/Card_SignetFoster_UI.json" | |
| $str3 | text | "assets/Gene_EmpathyTrainer.png" | |
| $bin0 | text | "assets/180417.bin" | |
| $bin1 | text | "assets/180513.bin" | |
| $bin2 | text | "assets/180527.bin" | |
| $bin3 | text | "assets/180528.bin" |
Condition
uint32be( 0 ) == 0x504B0304 and filesize > 1MB and filesize < 4MB and 3 of ( $str* ) and 3 of ( $bin* )In plain words (Heuristic)
- The file must start with “PK” — a ZIP archive (also Office Open XML, JAR, APK).
- The file must be smaller than 4MB (a cheap guard that skips large files).
- The file must be larger than 1MB.
- At least 3 patterns in ( $str* ) must match.
- At least 3 patterns in ( $bin* ) 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: 3ea398bd-a80c-40f4-ad52-73b528add4ad
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