YARA · Embee Research
EMBEERESEARCH_Win_Havoc_Djb2_Hashing_Routine_Oct_2022
No description has been set in the source file - EmbeeResearch
- Author
- embee_research @ HuntressLabs
- Date
- 2022-10-11
- Modified
- 2023-10-18
- Score / Quality
- 75 / 75
What this rule detects
No description has been set in the source file - EmbeeResearch
Associated malware family: Havoc.
Targets: Windows PE.
It defines 2 patterns (0 text, 2 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
win-havoc-djb2-hashing-routine-oct-2022.yarDetection Rule License 1.1
rule EMBEERESEARCH_Win_Havoc_Djb2_Hashing_Routine_Oct_2022 : FILE
{
meta:
= "No description has been set in the source file - EmbeeResearch"
= "embee_research @ HuntressLabs"
= "cde3e14f-0671-5bcf-93e8-e0a0af9b462c"
= "2022-10-11"
= "2023-10-18"
= "https://github.com/embee-research/Yara-detection-rules/"
= "https://github.com/embee-research/Yara-detection-rules//blob/ac56d6f6fd2a30c8cb6e5c0455d6519210a8b0f4/Rules/2022/win_havoc_djb2_hashing_routine_oct_2022.yar#L1-L24"
= "N/A"
= "9f645480c3d78153186a247440739a1d2e627ec64a4225083bd8db4ad9bd5ef3"
= 75
= 75
= "FILE"
= "Huntress Research"
strings:
$dll = {b8 05 15 00 00 0f be 11 48 ff c1 84 d2 74 07 6b c0 21 01 d0 eb ef}
$shellcode = {41 80 f8 60 76 04 41 83 e8 20 6b c0 21 45 0f b6 c0 49 ff c1 44 01 c0 eb c4}
condition:
( any of them ) and ( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0x00e8 or uint16( 0 ) == 0x4856 )
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $dll | hex | {b8 05 15 00 00 0f be 11 48 ff c1 84 d2 74 07 6b c0 21 01 d0 eb ef} | |
| $shellcode | hex | {41 80 f8 60 76 04 41 83 e8 20 6b c0 21 45 0f b6 c0 49 ff c1 44 01 c0 eb c4} |
Condition
( any of them ) and ( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0x00e8 or uint16( 0 ) == 0x4856 )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least one pattern 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: embee_research @ HuntressLabs
Source repository: Embee Research @ ac56d6f6fd
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: cde3e14f-0671-5bcf-93e8-e0a0af9b462c
Metadata
| vendor | Huntress Research |
|---|
Tags:FILE
Related rules
- Hack toolMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-10-07
- Suspicious / huntingditekSHen detection· ditekSHen· 2020-11-06