maldoc_OLE_file_magic_number

YARA-2025-0557 Medium general Active
No description available for this rule
maldoc_OLE_file_magic_number.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.

*/

rule maldoc_OLE_file_magic_number : maldoc
{
    meta:
        author = "Didier Stevens (https://DidierStevens.com)"
    strings:
        $a = {D0 CF 11 E0}
    condition:
        $a
}

Rule Metadata

author
Didier Stevens (https://DidierStevens.com)

Tags

maldoc

String Definitions

{"name":"$a","value":"{D0 CF 11 E0}"}

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 maldoc_OLE_file_magic_number.yar /path/to/suspicious/file

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

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

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

Integration Examples

Python (yara-python)

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

ClamAV Integration

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

Rule Information

YARA ID
YARA-2025-0557
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