detect_StrelaStealer

YARA-2022-0003 Medium general Active

detect_StrelaStealer

detect_StrelaStealer.yar Valid Syntax
rule detect_StrelaStealer: StrelaStealer
{
    meta:
	description = "detect_StrelaStealer"
	author = "@malgamy12"
	date = "2022/11/12"
	license = "DRL 1.1"
        hash = "6e8a3ffffd2f7a91f3f845b78dd90011feb80d30b4fe48cb174b629afa273403"
        

    strings:
        $pdb = "StrelaDLLCompile.pdb" ascii

        $s1 = "4f3855aa-af7e-4fd2-b04e-55e63653d2f7" ascii
        $s2 = "StrelaDLLCompile.dll" ascii

        $chunk_1 = {33 D2 8B C7 F7 F3 8D 04 2E 83 C7 ?? 83 C6 ?? 8A 92 [4] 30 56 ?? 33 D2 F7 F3 8A 82 [4] 30 46 ?? 83 FF ??} 

        
    condition:
        uint16(0) == 0x5A4D  and ($pdb  or  (1 of ($s*) and $chunk_1 ))

}

Rule Metadata

description
detect_StrelaStealer
author
@malgamy12
date
2022/11/12
license
DRL 1.1
hash
6e8a3ffffd2f7a91f3f845b78dd90011feb80d30b4fe48cb174b629afa273403

Tags

StrelaStealer

String Definitions

{"name":"$pdb","value":"\"StrelaDLLCompile.pdb\" ascii"}
{"name":"$s1","value":"\"4f3855aa-af7e-4fd2-b04e-55e63653d2f7\" ascii"}
{"name":"$s2","value":"\"StrelaDLLCompile.dll\" ascii"}
{"name":"$chunk_1","value":"{33 D2 8B C7 F7 F3 8D 04 2E 83 C7 ?? 83 C6 ?? 8A 92 [4] 30 56 ?? 33 D2 F7 F3 8A 82 [4] 30 46 ?? 83 FF ??}"}

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

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

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

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

Integration Examples

Python (yara-python)

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

ClamAV Integration

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

Rule Information

YARA ID
YARA-2022-0003
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