Trojan:Win32/Laqma is a stealthy, highly evasive trojan designed to silently infiltrate corporate networks, establish a persistent backdoor, and act as a reliable conduit for data exfiltration and secondary payload delivery.
Understanding Laqma
For the victim, Laqma provides zero visual indicators of compromise. For threat intelligence analysts, Laqma represents a highly capable Remote Access Trojan (RAT). It is designed to bypass endpoint defenses, harvest system information, and establish a covert Command-and-Control (C2) channel to receive further instructions or download severe secondary payloads like ransomware.
Execution and Evasion Strategies
Laqma is typically delivered via spearphishing campaigns containing malicious attachments or dropped as a secondary payload by exploit kits. Upon execution, it utilizes heavy packing and obfuscation to evade static antivirus signatures. It drops a randomized executable into the %AppData% or %SystemRoot% directories. Persistence is achieved by creating a hidden scheduled task or modifying the Registry Run keys. Laqma frequently injects its core modules into legitimate system processes (like svchost.exe) to mask its outbound network traffic.
Indicators of Compromise (IoCs)
Threat hunters should investigate EDR alerts for 'Suspicious Process Injection' or 'Anomalous Child Process Spawning'. Network logs will often reveal Laqma reaching out to compromised domains using encrypted HTTP/HTTPS traffic. The presence of unexpected, hidden scheduled tasks designed to execute randomly named binaries in the user's profile is a strong IoC. Memory analysis is crucial to extract the injected modules and identify the specific C2 infrastructure.
Observed techniques used by this family, mapped to the MITRE ATT&CK framework:
These YARA and Sigma rules are auto-generated based on the family name and aliases. They must be heavily tuned before deployment in a production environment.
rule MALWARE_WIN_LAQMA {
meta:
description = "Detects Laqma (trojan_generic)"
author = "SystemHelpdesk Boilerplate Generator"
date = "2026-07-06"
strings:
$s1 = "laqma" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}title: Suspicious Laqma Activity
id: e8c9a8c5fa031eba68d7d98f7e1b9121
status: experimental
description: Detects generic indicators of the laqma malware family.
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
CommandLine|contains:
- "*laqma*"
condition: selection
level: mediumOrdered checklist for responders. Adapt to your environment and engage professional support for active incidents.
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
Explore other malware families in the same category:
Get this profile as JSON: https://jordanricky1604-ship-it.github.io/malware-families-catalog/api/laqma.json
This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Replit, StackBlitz, CodeSandbox, and CodePen.