YARA · Volexity threat-intel
VOLEXITY_Apt_Malware_Apk_Badbazaar_Common_Certificate
Detection of the common.cer file used for a large BADBAZAAR malware cluster for its certificate pinning for the C2 communication.
- Author
- threatintel@volexity.com
- Date
- 2023-06-01
- Modified
- 2023-06-13
- Score / Quality
- 75 / 80
What this rule detects
Detection of the common.cer file used for a large BADBAZAAR malware cluster for its certificate pinning for the C2 communication.
It defines 8 patterns (7 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule VOLEXITY_Apt_Malware_Apk_Badbazaar_Common_Certificate : EVILBAMBOO FILE
{
meta:
= "Detection of the common.cer file used for a large BADBAZAAR malware cluster for its certificate pinning for the C2 communication."
= "threatintel@volexity.com"
= "5a033770-7ad3-5c79-90ac-b1e3fff6b5f0"
= "2023-06-01"
= "2023-06-13"
= "https://github.com/volexity/threat-intel"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2023/2023-09-22 EvilBamboo/indicators/rules.yar#L230-L255"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "6aefc2b33e23f6e3c96de51d07f7123bd23ff951d67849a9bd32d446e76fb405"
= "861d4e1c40847c6ade04eddb047370d645afea6d5c16d55155fa58a16111c39e"
= 75
= 80
= "EVILBAMBOO, FILE"
= "file"
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
strings:
$b1 = {30 82 03 61 30 82 02 49 a0 03 02 01 02 02 04 2b 6e df 67 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b}
$s1 = "california1"
$s2 = "los1"
$s3 = "tech1"
$s4 = "common1"
$s5 = "common0"
$s6 = "220401234506Z"
$s7 = "470326234506Z0a1"
condition:
$b1 at 0 or all of ( $s* )
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $b1 | hex | {30 82 03 61 30 82 02 49 a0 03 02 01 02 02 04 2b 6e df 67 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b} | |
| $s1 | text | "california1" | |
| $s2 | text | "los1" | |
| $s3 | text | "tech1" | |
| $s4 | text | "common1" | |
| $s5 | text | "common0" | |
| $s6 | text | "220401234506Z" | |
| $s7 | text | "470326234506Z0a1" |
Condition
$b1 at 0 or all of ( $s* )In plain words (Heuristic)
- All patterns in ( $s* ) must match.
- Pattern $b1 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.
References
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 6aefc2b33e23f6e3c96de51d07f7123bd23ff951d67849a9bd32d446e76fb405
Licence & attribution
Author: threatintel@volexity.com
Source repository: Volexity threat-intel @ 3a9d0b5245
Licence: BSD 2-Clause License (stated in the rule's own meta)
“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”
Copyright notice: Copyright 2022 by Volexity, Inc.
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 5a033770-7ad3-5c79-90ac-b1e3fff6b5f0
Metadata
| scan_context | file |
|---|
Tags:EVILBAMBOOFILE
Related rules
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-06-15
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-05-25
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-06-27
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2024-07-30
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-07-21
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-08-17
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-03-30
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2022-11-03