YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_Crime_Win64_Backdoor_Bazarbackdoor1
Detects BazarBackdoor injected 64-bit malware
- Author
- @VK_Intel
- Date
- 2020-04-24
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Detects BazarBackdoor injected 64-bit malware
Targets: Windows PE.
It defines 3 patterns (1 text, 2 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
crime-win64-backdoor-bazarbackdoor1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_Crime_Win64_Backdoor_Bazarbackdoor1 : FILE
{
meta:
= "Detects BazarBackdoor injected 64-bit malware"
= "@VK_Intel"
= "1e387791-97fa-527d-87ed-68872b1891c4"
= "2020-04-24"
= "2023-12-05"
= "https://twitter.com/pancak3lullz/status/1252303608747565057"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/crime_bazarbackdoor.yar#L1-L18"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "becb6ebc3a1be061b4f602cc188b172f59bfb6342605af68d8b38009d589f57e"
= 75
= 85
= "FILE"
= "white"
strings:
$str1 = "%id%"
$start = { 48 ?? ?? ?? ?? 57 48 83 ec 30 b9 01 00 00 00 e8 ?? ?? ?? ?? 84 c0 0f ?? ?? ?? ?? ?? 40 32 ff 40 ?? ?? ?? ?? e8 ?? ?? ?? ?? 8a d8 8b ?? ?? ?? ?? ?? 83 f9 01 0f ?? ?? ?? ?? ?? 85 c9 75 ?? c7 ?? ?? ?? ?? ?? ?? ?? ?? ?? 48 ?? ?? ?? ?? ?? ?? 48 ?? ?? ?? ?? ?? ?? e8 ?? ?? ?? ?? 85 c0 74 ?? b8 ff 00 00 00 e9 ?? ?? ?? ?? 48 ?? ?? ?? ?? ?? ?? 48 ?? ?? ?? ?? ?? ?? e8 ?? ?? ?? ?? c7 ?? ?? ?? ?? ?? ?? ?? ?? ?? eb ?? 40 b7 01 40 ?? ?? ?? ?? 8a cb e8 ?? ?? ?? ?? e8 ?? ?? ?? ?? 48 8b d8 48 ?? ?? ?? 74 ??}
$server = {40 53 48 83 ec 20 48 8b d9 e8 ?? ?? ?? ?? 85 c0 75 ?? 0f ?? ?? ?? ?? ?? ?? 66 83 f8 50 74 ?? b9 bb 01 00 00 66 3b c1 74 ?? a8 01 74 ?? 48 8b cb e8 ?? ?? ?? ?? 84 c0 75 ?? 48 8b cb e8 ?? ?? ?? ?? b8 f6 ff ff ff eb ?? 33 c0 48 83 c4 20 5b c3}
condition:
uint16( 0 ) == 0x5a4d and all of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str1 | text | "%id%" | |
| $start | hex | { 48 ?? ?? ?? ?? 57 48 83 ec 30 b9 01 00 00 00 e8 ?? ?? ?? ?? 84 c0 0f ?? ?? ?? ?? ?? 40 32 ff 40 ?? ?? ?? ?? e8 ?? ?? ?? ?? 8a d8 8b ?? ?? ?? ?? ?? 83 f9 01 0f … | |
| $server | hex | {40 53 48 83 ec 20 48 8b d9 e8 ?? ?? ?? ?? 85 c0 75 ?? 0f ?? ?? ?? ?? ?? ?? 66 83 f8 50 74 ?? b9 bb 01 00 00 66 3b c1 74 ?? a8 01 74 ?? 48 8b cb e8 ?? ?? ?? ?? … |
Condition
uint16( 0 ) == 0x5a4d and all of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in the rule 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.
Licence & attribution
Author: @VK_Intel
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: 1e387791-97fa-527d-87ed-68872b1891c4
Metadata
| tlp | white |
|---|
Tags:FILE
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· @VK_Intel· 2020-02-24
- MalwareSignature Base (Florian Roth / Nextron)· @VK_Intel· 2020-02-24
- MalwareSignature Base (Florian Roth / Nextron)· @VK_Intel· 2020-04-18
- MalwareSignature Base (Florian Roth / Nextron)· @VK_Intel· 2020-05-05
- MalwareSignature Base (Florian Roth / Nextron)· @VK_Intel· 2020-04-06
- MalwareSignature Base (Florian Roth / Nextron)· @VK_Intel· 2020-04-06