Threat Advisory

Lunex Stealer Chain Steals Credentials and Enables Remote Access

Threat: Malware
Targeted Region: Europe
Alias: Lunex
Targeted Sector: Technology & IT
Criticality: High
[subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

A new delivery chain for the Lunex Stealer malware family has emerged, primarily targeting the European hospitality sector. Unlike previous campaigns that relied on malicious installer packages, this variant arrives as a large, obfuscated script file hosted on cloud storage. The initial access vector is assessed as spear phishing, exploiting the high volume of customer data held by hospitality businesses. This shift in distribution bypasses traditional controls focused on installer execution, presenting a direct risk to organizations that rely on standard endpoint protections to block common file types.

The infection proceeds through five distinct stages, each employing unique encoding to conceal the next component. The initial script decodes a PowerShell stager using a custom base32 alphabet and ChaCha20 encryption, passing the code through a named pipe to avoid disk writes. The stager extracts a loader and a custom container file, which hold an RC4-encrypted dynamic link library. This library uses a proprietary cipher and compression to reveal the final payload, which it injects into a suspended system process. The stealer then installs a browser extension and a native messaging host, enabling remote file access, command execution, and credential harvesting. Command and control addresses are resolved dynamically via Ethereum smart contracts, allowing operators to change infrastructure without modifying the malware binaries.[/subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

A new delivery chain for the Lunex Stealer malware family has emerged, primarily targeting the European hospitality sector. Unlike previous campaigns that relied on malicious installer packages, this variant arrives as a large, obfuscated script file hosted on cloud storage. The initial access vector is assessed as spear phishing, exploiting the high volume of customer data held by hospitality businesses. This shift in distribution bypasses traditional controls focused on installer execution, presenting a direct risk to organizations that rely on standard endpoint protections to block common file types.

The infection proceeds through five distinct stages, each employing unique encoding to conceal the next component. The initial script decodes a PowerShell stager using a custom base32 alphabet and ChaCha20 encryption, passing the code through a named pipe to avoid disk writes. The stager extracts a loader and a custom container file, which hold an RC4-encrypted dynamic link library. This library uses a proprietary cipher and compression to reveal the final payload, which it injects into a suspended system process. The stealer then installs a browser extension and a native messaging host, enabling remote file access, command execution, and credential harvesting. Command and control addresses are resolved dynamically via Ethereum smart contracts, allowing operators to change infrastructure without modifying the malware binaries.[emaillocker id="1283"]

The campaign demonstrates active development, with the ability to swap individual stages independently while maintaining the overall infection logic. The focus on hospitality organizations suggests a motive to harvest customer data for resale or further targeted attacks. Defenders should prioritize behavioral detection over static signatures, monitoring for script hosts launching hidden PowerShell processes and the presence of unauthorized browser extensions with native messaging capabilities. Since the command and control infrastructure is decentralized through blockchain, blocking single domains is insufficient; organizations must focus on detecting the anomalous network patterns and local file system artifacts associated with the extension and host components.

THREAT PROFILE:

Tactic Technique Id Technique Sub-technique
Initial Access T1566 Phishing -
Execution T1059.005 Command and Scripting Interpreter PowerShell
Persistence T1547.008 Boot or Logon Autostart Execution Scheduled Task
Defense Evasion T1059.005 Command and Scripting Interpreter PowerShell
Defense Evasion T1027.010 Obfuscated Files or Information Command Obfuscation
Defense Evasion T1027.002 Obfuscated Files or Information Software Packing
Defense Evasion T1055.012 Process Injection Process Hollowing
Defense Evasion T1055.009 Process Injection Process Hollowing
Credential Access T1555.003 Credentials from Password Stores Credentials from Web Browsers
Credential Access T1552.001 Unsecured Credentials Credentials In Files
Command and Control T1573.001 Encrypted Channel Symmetric Cryptography
Exfiltration T1041 Exfiltration Over C2 Channel -

MBC MAPPING:

Objective Behavior ID Behavior
Anti-Behavioral Analysis B0001 Debugger Detection
Command and Control B0030 C2 Communication
Anti-Static Analysis B0032 Executable Code Obfuscation
Communication Micro-objective C0002 HTTP Communication
Communication Micro-objective C0003 Interprocess Communication
Communication Micro-objective C0011 DNS Communication
Process Micro-objective C0017 Create Process
Cryptography Micro-objective C0027 Encrypt Data
Cryptography Micro-objective C0029 Cryptographic Hash
Cryptography Micro-objective C0031 Decrypt Data
Operating System Micro-objective C0036 Registry
Defense Evasion E1055 Process Injection

REFERENCES:

The following reports contain further technical details:

[/emaillocker]
crossmenu