NEWS Lyrix Ransomware: A Python-Built Threat Operating Like Special Forces

ExcalibuR

Legend
LEGEND
PREMIUM
MEMBER
Joined
Jan 17, 2025
Messages
4,031
Reaction score
7,800
Deposit
11,800$

Lyrix Ransomware: A Python-Built Threat Operating Like Special Forces

1748617881204.png
One file, one execution—and no chance of recovery.

CYFIRMA’s research team has uncovered a new malware strain—Lyrix Ransomware—developed in Python and compiled using PyInstaller to run as a standalone Windows executable. This approach bundles all dependencies into a single file, facilitating its distribution. Lyrix employs strong encryption and unique evasion techniques, making it particularly dangerous and difficult to remove. Its activity was first detected on April 20, 2025.

According to experts, the malware disguises its malicious behavior, bypasses signature-based detection, encrypts user files, and threatens data leaks. Each encrypted file is given the extension ".02dq34jROu", while the encrypted keys are stored in the ProgramData system directory under a file with the same name. Decryption without the attackers' private key is impossible.

Lyrix Ransomware executes under the guise of Encryptor.exe (size: 20.43 MB), using the standard Win32 EXE format with an "MZ" header. It lacks a digital signature, further complicating antivirus blocking. Upon infection, the malware scans user directories—Downloads, Documents, Desktop, Pictures, Music, and Videos—selectively encrypting popular file formats like DOCX, PDF, XLS, and JPG. Executables, DLLs, and shortcuts remain untouched to avoid system disruption and early detection.

Encryption & Persistence Mechanisms

  • Generates a unique AES key, encrypting it with an embedded RSA public key.
  • Deletes shadow copies using:
    cmd


    vssadmin delete shadows /all /quiet
    wmic shadowcopy delete
  • Modifies Windows boot configuration to disable error messages and recovery:
    cmd


    bcdedit /set {default} bootstatuspolicy ignoreallfailures
    bcdedit /set {default} recoveryenabled no
After encryption, a "Readme.txt" ransom note is dropped in each directory, claiming data theft and encryption. Victims are offered two free file decryptions as proof. The attackers threaten to leak data if demands are unmet, providing a ProtonMail contact (registered April 2025).

Evasion & Anti-Analysis Techniques

Lyrix employs multiple anti-virtualization and anti-analysis tricks, including:

  • VirtualProtect, Sleep, GetCurrentProcess, TerminateProcess
  • GetStartupInfoW, GetWindowLongPtrW, ShutdownBlockReasonCreate
These techniques hinder automated analysis. MITRE ATT&CK techniques observed include:

  • Script execution, process injection
  • Artifact hiding, credential manipulation

Mitigation & Defense Recommendations

  1. Block execution from temp directories via AppLocker/SRP.
  2. Restrict access to vssadmin, wmic, bcdedit, and other system tools.
  3. Enhance email security with attachment filtering.
  4. Deploy modern EDR solutions to detect mass file encryption/renaming.
  5. Conduct regular employee training, including phishing simulations.
  6. Maintain and test incident response plans.
  7. Isolate infected systems immediately upon detection.
  8. Preserve artifacts for forensic analysis; do not delete encrypted files.
  9. Never pay the ransom—no guarantee of recovery.
CYFIRMA also provides YARA rules and IoCs for detection tuning. The importance of regular offline backups is emphasized.

Stay vigilant—Lyrix is a silent but deadly threat.
 
Top Bottom