detect_Lumma_stealer
YARA-2022-0002
Medium
general
Active
detect_Lumma_stealer
detect_Lumma_stealer.yar
Valid Syntax
rule detect_Lumma_stealer: Lumma
{
meta:
description = "detect_Lumma_stealer"
author = "@malgamy12"
date = "2022-11-3"
license = "DRL 1.1"
hunting = "https://www.hybrid-analysis.com/sample/f18d0cd673fd0bd3b071987b53b5f97391a56f6e4f0c309a6c1cee6160f671c0"
hash1 = "19b937654065f5ee8baee95026f6ea7466ee2322"
hash2 = "987f93e6fa93c0daa0ef2cf4a781ca53a02b65fe"
hash3 = "70517a53551269d68b969a9328842cea2e1f975c"
hash4 = "9b7b72c653d07a611ce49457c73ee56ed4c4756e"
hash5 = "4992ebda2b069281c924288122f76556ceb5ae02"
hash6 = "5c67078819246f45ff37d6db81328be12f8fc192"
hash7 = "87fe98a00e1c3ed433e7ba6a6eedee49eb7a9cf9"
strings:
$m1 = "LummaC\\Release\\LummaC.pdb" ascii fullword
$s1 = "Cookies.txt" ascii
$s2 = "Autofills.txt" ascii
$s3 = "ProgramData\\config.txt" ascii
$s4 = "ProgramData\\softokn3.dll" ascii
$s5 = "ProgramData\\winrarupd.zip" ascii
$chunk_1 = {C1 E8 ?? 33 C6 69 C8 ?? ?? ?? ?? 5F 5E 8B C1 C1 E8 ??}
condition:
$m1 or (4 of ($s*) and $chunk_1 )
}
Rule Metadata
description
detect_Lumma_stealer
author
@malgamy12
date
2022-11-3
license
DRL 1.1
hunting
https://www.hybrid-analysis.com/sample/f18d0cd673fd0bd3b071987b53b5f97391a56f6e4f0c309a6c1cee6160f671c0
hash1
19b937654065f5ee8baee95026f6ea7466ee2322
hash2
987f93e6fa93c0daa0ef2cf4a781ca53a02b65fe
hash3
70517a53551269d68b969a9328842cea2e1f975c
hash4
9b7b72c653d07a611ce49457c73ee56ed4c4756e
hash5
4992ebda2b069281c924288122f76556ceb5ae02
hash6
5c67078819246f45ff37d6db81328be12f8fc192
hash7
87fe98a00e1c3ed433e7ba6a6eedee49eb7a9cf9
Tags
Lumma
String Definitions
{"name":"$m1","value":"\"LummaC\\\\Release\\\\LummaC.pdb\" ascii fullword"}
{"name":"$s1","value":"\"Cookies.txt\" ascii"}
{"name":"$s2","value":"\"Autofills.txt\" ascii"}
{"name":"$s3","value":"\"ProgramData\\\\config.txt\" ascii"}
{"name":"$s4","value":"\"ProgramData\\\\softokn3.dll\" ascii"}
{"name":"$s5","value":"\"ProgramData\\\\winrarupd.zip\" ascii"}
{"name":"$chunk_1","value":"{C1 E8 ?? 33 C6 69 C8 ?? ?? ?? ?? 5F 5E 8B C1 C1 E8 ??}"}
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_Lumma_stealer.yar /path/to/suspicious/file # Scan a directory recursively yara -r detect_Lumma_stealer.yar /path/to/directory/ # Scan with metadata output yara -m detect_Lumma_stealer.yar target_file # Scan process memory (Linux) yara detect_Lumma_stealer.yar /proc/[pid]/exe
Integration Examples
Python (yara-python)
import yara
rules = yara.compile(filepath='detect_Lumma_stealer.yar')
matches = rules.match('/path/to/file')
ClamAV Integration
clamscan --yara-rules=detect_Lumma_stealer.yar /path/to/scan
Rule Information
YARA ID
YARA-2022-0002
Author
Repository
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
Related Rules
Export Options
Similar Rules in general
YARA-2023-0001
CRI
Detect_Mimic_Ransomware
Detect_Mimic_Ransomware
YARA-2023-0002
MED
SystemBC_malware
Detect_SystemBC
YARA-2023-0003
MED
detect_catB
detect_CatB_ransomware
YARA-2022-0001
MED
detect_Typhon_Stealer
detect_Typhon_Stealer
YARA-2023-0004
MED
Nosu_stealer
Detect_Nosu_stealer
YARA-2022-0003
MED
detect_StrelaStealer
detect_StrelaStealer
YARA-2022-0004
MED
detect_silence_Downloader
detect_silence_Downloader
YARA-2023-0005
MED
Cova_malware
Detect_Cova_malware