Possible_Emotet_DLL

YARA-2025-0129 Medium general Active

observed indicators Emotet DLL loaded into memory March 2022

Possible_Emotet_DLL.yar Valid Syntax
/*
 This Yara ruleset is under the GNU-GPLv2 license (http://www.gnu.org/licenses/gpl-2.0.html) and open to any user or organization, as long as you use it under this license.
*/
import "pe"
rule Possible_Emotet_DLL
{
   meta:
        author = "Lucas Acha (http://www.lukeacha.com)"
        description = "observed indicators Emotet DLL loaded into memory March 2022"
  strings:
      $htt1 = "MS Shell Dlg" wide
      $mzh = "This program cannot be run in DOS mode"
  condition:
      (pe.imphash() == "066d4e2c6288c042d958ddc93cfa07f1" or pe.imphash() == "	38617efee413c2d5919637769ddb6a9") and $htt1 and $mzh
}

Rule Metadata

author
Lucas Acha (http://www.lukeacha.com)
description
observed indicators Emotet DLL loaded into memory March 2022

String Definitions

{"name":"$htt1","value":"\"MS Shell Dlg\" wide"}
{"name":"$mzh","value":"\"This program cannot be run in DOS mode\""}

Threat Analysis

This YARA rule is designed to detect general threats.

Severity Level: Medium

The rule uses pattern matching to identify specific byte sequences, strings, or behavioral patterns associated with malicious activity.

Detection Capabilities

  • File-based detection for executables and documents
  • Memory scanning for running processes
  • Network traffic analysis support

Command Line Usage

# Scan a single file
yara Possible_Emotet_DLL.yar /path/to/suspicious/file

# Scan a directory recursively
yara -r Possible_Emotet_DLL.yar /path/to/directory/

# Scan with metadata output
yara -m Possible_Emotet_DLL.yar target_file

# Scan process memory (Linux)
yara Possible_Emotet_DLL.yar /proc/[pid]/exe

Integration Examples

Python (yara-python)

import yara
rules = yara.compile(filepath='Possible_Emotet_DLL.yar')
matches = rules.match('/path/to/file')

ClamAV Integration

clamscan --yara-rules=Possible_Emotet_DLL.yar /path/to/scan

Rule Information

YARA ID
YARA-2025-0129
Created
August 19, 2025
Last Updated
August 19, 2025
Last Imported
Never

Threat Intelligence

Risk Level Medium
Category general
Detection Confidence Analysis Pending
False Positive Rate Not Available
Last Seen in Wild No Data

Export Options