MirageAPTBackdoorSample

YARA-2025-1161 High general Active
No description available for this rule
MirageAPTBackdoorSample.yar Valid Syntax
rule MirageAPTBackdoorSample
{
        meta:
			Description  = "Backdoor.Mirage.sm"
			ThreatLevel  = "5"

        strings:
               $a1 = "welcome to the desert of the real" ascii wide
               $a2 = "Mirage" ascii wide
               $b = "Encoding: gzip" ascii wide
               $c = /\/[A-Za-z]*\?hl=en/
        condition:
               (($a1 or $a2) or $b) and $c
}

Rule Metadata

Description
Backdoor.Mirage.sm
ThreatLevel
5

String Definitions

{"name":"$a1","value":"\"welcome to the desert of the real\" ascii wide"}
{"name":"$a2","value":"\"Mirage\" ascii wide"}
{"name":"$b","value":"\"Encoding: gzip\" ascii wide"}
{"name":"$c","value":"\/\\\/[A-Za-z]*\\?hl=en\/"}

Threat Analysis

This YARA rule is designed to detect general threats.

Severity Level: High

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

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

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

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

Integration Examples

Python (yara-python)

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

ClamAV Integration

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

Rule Information

YARA ID
YARA-2025-1161
Author
Unknown
Created
August 19, 2025
Last Updated
August 19, 2025
Last Imported
Never

Threat Intelligence

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

Export Options