YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_Emotet_Jan20_1
Detects Emotet malware
- Author
- Florian Roth (Nextron Systems)
- Date
- 2020-01-29
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Detects Emotet malware
Associated malware family: Emotet.
Targets: Windows PE.
It defines 3 patterns (0 text, 3 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_MAL_Emotet_Jan20_1 : FILE
{
meta:
= "Detects Emotet malware"
= "Florian Roth (Nextron Systems)"
= "334ae7e5-0a46-5e95-bf53-0f343db4e4de"
= "2020-01-29"
= "2023-12-05"
= "https://app.any.run/tasks/5e81638e-df2e-4a5b-9e45-b07c38d53929/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/crime_emotet.yar#L20-L37"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "e7c22ccdb1103ee6bd15c528270f56913bb2f47345b360802b74084563f1b73d"
= "23ffcdde3eae7637e5b47a0f940cbebafccfd4c3f222b882e73d7d02447b83c3"
= 75
= 85
= "FILE"
strings:
$op0 = { 74 60 8d 34 18 eb 54 03 c3 50 ff 15 18 08 41 00 }
$op1 = { 03 fe 66 39 07 0f 85 2a ff ff ff 8b 4d f0 6a 20 }
$op2 = { 8b 7d fc 0f 85 49 ff ff ff 85 db 0f 84 d1 }
condition:
uint16( 0 ) == 0x5a4d and filesize <= 200KB and ( pe.imphash ( ) == "009889c73bd2e55113bf6dfa5f395e0d" or 1 of them )
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $op0 | hex | { 74 60 8d 34 18 eb 54 03 c3 50 ff 15 18 08 41 00 } | |
| $op1 | hex | { 03 fe 66 39 07 0f 85 2a ff ff ff 8b 4d f0 6a 20 } | |
| $op2 | hex | { 8b 7d fc 0f 85 49 ff ff ff 85 db 0f 84 d1 } |
Condition
uint16( 0 ) == 0x5a4d and filesize <= 200KB and ( pe.imphash ( ) == "009889c73bd2e55113bf6dfa5f395e0d" or 1 of them )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 200KB (a cheap guard that skips large files).
- At least 1 patterns in the rule must match.
- Uses the pe module.
- Checks the PE import hash (imphash).
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- e7c22ccdb1103ee6bd15c528270f56913bb2f47345b360802b74084563f1b73d
Licence & attribution
Author: Florian Roth (Nextron Systems)
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: 334ae7e5-0a46-5e95-bf53-0f343db4e4de
Tags:FILE
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· press inquiries <info@bka.de>, technical contact <info@mh…· 2021-03-23
- MalwareSignature Base (Florian Roth / Nextron)· press inquiries <info@bka.de>, technical contact <info@mh…· 2021-03-23
- MalwareEmbee Research· Embee_Research @ HuntressLabs· 2022-10-14
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2022-05-31
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2022-03-31
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-07-21
- ARKBIRD_SOLG_MAL_Emotet_Nov_2021_1Metadata onlyMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-11-15
- SECUINFRA_MALWARE_Emotet_Onenote_Delivery_Wsf_Mar23Metadata onlyMalwareSecuInfra Falcon Team· SECUINFRA Falcon Team (@SI_FalconTeam)· 2023-03-16