YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_RU_APT27_Hyperbro_Vftrace_Loader_Jan22_1
Yara rule to detect first Hyperbro Loader Stage, often called vftrace.dll. Detects decoding function.
- Author
- Bundesamt fuer Verfassungsschutz (modified by Florian Roth)
- Date
- 2022-01-14
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Yara rule to detect first Hyperbro Loader Stage, often called vftrace.dll. Detects decoding function.
Associated malware family: Hyperbro.
Targets: Windows PE.
It defines 1 patterns (0 text, 1 hex, 0 regex). YARA modules used: pe.
Summary generated from the rule's metadata and condition.
Rule source
Includes the imports needed to compile it on its own.
import "pe"
rule SIGNATURE_BASE_APT_RU_APT27_Hyperbro_Vftrace_Loader_Jan22_1 : FILE
{
meta:
= "Yara rule to detect first Hyperbro Loader Stage, often called vftrace.dll. Detects decoding function."
= "Bundesamt fuer Verfassungsschutz (modified by Florian Roth)"
= "b049e163-2694-5fb9-a3a3-98cc77bcd0ca"
= "2022-01-14"
= "2023-12-05"
= "https://www.verfassungsschutz.de/SharedDocs/publikationen/DE/cyberabwehr/2022-01-bfv-cyber-brief.pdf"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_apt27_hyperbro.yar#L3-L19"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "333b52c2cfac56b86ee9d54aef4f0ff4144528917bc1aa1fe1613efc2318339a"
= "d8785ea937891636bea5ed8128de44fa6084a1a48800c1586739c5ca9e4c43bd"
= 75
= 85
= "FILE"
= "TLP:WHITE"
strings:
$decoder_routine = { 8A ?? 41 10 00 00 8B ?? 28 ?? ?? 4? 3B ?? 72 ?? }
condition:
uint16( 0 ) == 0x5a4d and filesize < 5MB and $decoder_routine and pe.exports ( "D_C_Support_SetD_File" )
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $decoder_routine | hex | { 8A ?? 41 10 00 00 8B ?? 28 ?? ?? 4? 3B ?? 72 ?? } |
Condition
uint16( 0 ) == 0x5a4d and filesize < 5MB and $decoder_routine and pe.exports ( "D_C_Support_SetD_File" )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 5MB (a cheap guard that skips large files).
- Pattern $decoder_routine must be present.
- Uses the pe module.
- Checks exported functions or the DLL name.
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).
- 333b52c2cfac56b86ee9d54aef4f0ff4144528917bc1aa1fe1613efc2318339a
Licence & attribution
Author: Bundesamt fuer Verfassungsschutz (modified by Florian Roth)
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: b049e163-2694-5fb9-a3a3-98cc77bcd0ca
Metadata
| sharing | TLP:WHITE |
|---|
Tags:FILE
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· Moritz Oettle· 2022-02-07
- MalwareSignature Base (Florian Roth / Nextron)· Marko Dorfhuber· 2022-02-07
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareditekSHen detection· ditekSHen· 2020-11-06