YARA · Trellix Advanced Research Center
TRELLIX_ARC_MALW_Emotet
Rule to detect unpacked Emotet
- Author
- Marc Rivero | McAfee ATR Team
- Date
- 2020-07-21
- Modified
- 2020-08-14
- Score / Quality
- 75 / 70
What this rule detects
Rule to detect unpacked Emotet
Associated malware family: Emotet.
It defines 10 patterns (0 text, 10 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malw-emotet.yarApache License 2.0
rule TRELLIX_ARC_MALW_Emotet : FINANCIAL FILE
{
meta:
= "Rule to detect unpacked Emotet"
= "Marc Rivero | McAfee ATR Team"
= "5bc83065-dfdd-56b7-9983-200bff35c8b1"
= "2020-07-21"
= "2020-08-14"
= "https://github.com/advanced-threat-research/Yara-Rules/"
= "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/malware/MALW_emotet.yar#L1-L32"
= "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE"
= "a6621c093047446e0e8ae104769af93a5a8ed147ab8865afaafbbd22adbd052d"
= "223e4453a6c3b56b0bc0f91147fa55ea59582d64b8a5c08f1f8d06026044065e"
= 75
= 70
= "FINANCIAL, FILE"
= "v1"
= "financial"
= "Backdoor:W32/Emotet"
= "Cybercrime"
= "Cybercrime"
= "Unknown"
strings:
$pattern_0 = { 8b45fc 8be5 5d c3 55 8bec }
$pattern_1 = { 3c39 7e13 3c61 7c04 3c7a 7e0b 3c41 }
$pattern_2 = { 7c04 3c39 7e13 3c61 7c04 3c7a 7e0b }
$pattern_3 = { 5f 8bc6 5e 5b 8be5 }
$pattern_4 = { 5f 668906 5e 5b }
$pattern_5 = { 3c30 7c04 3c39 7e13 3c61 7c04 }
$pattern_6 = { 53 56 57 8bfa 8bf1 }
$pattern_7 = { 3c39 7e13 3c61 7c04 3c7a 7e0b }
$pattern_8 = { 55 8bec 83ec14 53 }
$pattern_9 = { 5e 8be5 5d c3 55 8bec }
condition:
7 of them and filesize < 180224
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $pattern_0 | hex | { 8b45fc 8be5 5d c3 55 8bec } | |
| $pattern_1 | hex | { 3c39 7e13 3c61 7c04 3c7a 7e0b 3c41 } | |
| $pattern_2 | hex | { 7c04 3c39 7e13 3c61 7c04 3c7a 7e0b } | |
| $pattern_3 | hex | { 5f 8bc6 5e 5b 8be5 } | |
| $pattern_4 | hex | { 5f 668906 5e 5b } | |
| $pattern_5 | hex | { 3c30 7c04 3c39 7e13 3c61 7c04 } | |
| $pattern_6 | hex | { 53 56 57 8bfa 8bf1 } | |
| $pattern_7 | hex | { 3c39 7e13 3c61 7c04 3c7a 7e0b } | |
| $pattern_8 | hex | { 55 8bec 83ec14 53 } | |
| $pattern_9 | hex | { 5e 8be5 5d c3 55 8bec } |
Condition
7 of them and filesize < 180224In plain words (Heuristic)
- The file must be smaller than 180224 (a cheap guard that skips large files).
- At least 7 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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- a6621c093047446e0e8ae104769af93a5a8ed147ab8865afaafbbd22adbd052d
Licence & attribution
Author: Marc Rivero | McAfee ATR Team
Source repository: Trellix Advanced Research Center @ 1919562a59
Licence: Apache License 2.0 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 5bc83065-dfdd-56b7-9983-200bff35c8b1
Metadata
| rule_version | v1 |
|---|---|
| malware_type | financial |
| malware_family | Backdoor:W32/Emotet |
| actor_type | Cybercrime |
| actor_type | Cybercrime |
| actor_group | Unknown |
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
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-01-29
- MalwareEmbee Research· Embee_Research @ HuntressLabs· 2022-10-14
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2022-05-31
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2022-03-31
- 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