Latrodectus
- Type
- Loader
- Capabilities
- Initial accessReconnaissancePersistenceDefense evasionExfiltrationDLL sideloading
- Delivery
- PhishingSpearphishingMalspamMalvertisingWatering holeClickfix
- Platforms
- Windows
Latrodectus, also known as IceNova, BLACKWIDOW, and Lotus, is a Windows malware loader first discovered in October 2023. It is used in financially motivated campaigns to establish initial access, perform reconnaissance, and download and execute additional payloads. Distributors include TA577, TA578, and Storm-0249. Observed follow-on payloads include IcedID, Lumma Stealer, Brute Ratel C4, and ransomware including Interlock and Qilin.
Distribution methods include phishing links and attachments, email spam, malicious advertisements, compromised websites, and ClickFix campaigns using fake CAPTCHA verification prompts. Infection chains commonly employ JavaScript, PowerShell, and MSI installers, with execution through legitimate Windows utilities. Some campaigns use DLL sideloading. Latrodectus has also been deployed by other malware, including DanaBot, and through Brute Ratel C4.
Its command handlers support downloading and executing executables, DLLs, and shellcode; updating or terminating the loader; and collecting host, process, network, domain, user, and installed-security-software information. Collected system data is transmitted to command-and-control infrastructure through encrypted web communications. Persistence mechanisms include scheduled tasks and startup mechanisms, with implementation varying across versions.
Defense-evasion features include debugger and sandbox checks, process-count and network-adapter checks, dynamic API resolution, encrypted strings, software packing, and masquerading as legitimate software components. Latrodectus can delete its on-disk executable while remaining active by abusing NTFS alternate data streams. It shares infrastructure and several implementation characteristics with IcedID, although these similarities do not conclusively establish common authorship.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
11 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
(Citation: Latrodectus APR 2024)(Citation: Bitsight Latrodectus June 2024)
Latrodectus is a loader primarily used for initial access and payload delivery. It features dynamic command-and-control (C2) configurations, anti-analysis features such as minimum process count and network adapter check, C2 check-in behavior that splits POST data between the Cookie header and POST data.
2024-03-07 (THURSDAY): LATRODECTUS INFECTION LEADS TO LUMMA STEALER
On 20 September 2024, Proofpoint researchers identified a campaign delivering Brute Ratel C4 and Latrodectus.
Latrodectus, also known as IceNova Backdoor ... is a family of malware that has been observed lately in campaigns linked to groups such as Trickbot ( WIZARD SPIDER ) and Conti (and potentially, in Ransomware deliveries), in addition to being attributed to developers from IcedID . Therefore, Latrodectus has been highlighted as a potential threat and is used as a Loader for other malware.
+5 more in the app. View in Mallory
Techniques & procedures
84 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
5 techniques
Resource Development
Malvertising and SEO Poisoning: Victims searching tax-related content are redirected to download malicious JavaScript files like Document-16-32-50.js.
“abuse legitimate services like file-hosting services and business profile pages…”, “downloaded a ZIP file… from Dropbox”, “received a JavaScript file from Firebase”
"Threat actors buy Bing search engine advertisements to direct users to convincing-looking, but malicious landing pages"; "continued abuse of SEO poisoning and malicious advertisements"
Danabot operators upload other malware to their infrastructure for further spreading.
Malvertising and SEO Poisoning: Victims searching tax-related content are redirected to download malicious JavaScript files like Document-16-32-50.js.
Initial Access
6 techniques
Initial Access
the attacker exploited a vulnerable website and injected Javascript to load the malicious C2 domain. The injected Javascript creates an iframe that overlays the original site, with the attacker’s page being displayed within that iframe. | This article will explore how a watering hole attack was employed to spread the Latrodectus Malware.
The attacker usually targets websites with Cross-Origin Resource Sharing (CORS) Vulnerability. In the recent attack vector, the attacker exploited a vulnerable website and injected Javascript
MITRE ATT&CK® Techniques Tactic Technique Procedure Initial Access (TA0001) Phishing (T1566) Phishing website hosted a malicious binary as a legitimate application
[Latrodectus](https://attack.mitre.org/software/S1160) has been distributed through reply-chain phishing emails with malicious attachments.(Citation: Bleeping Computer Latrodectus April 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) has been distributed to victims through emails containing malicious links.(Citation: Latrodectus APR 2024)(Citation: Bleeping Computer Latrodectus April 2024)
These campaigns notably use redirection methods such as URL shorteners and QR codes contained in malicious attachments and abuse legitimate services like file-hosting services and business profile pages to avoid detection.
Execution
15 techniques
Execution
[Latrodectus](https://attack.mitre.org/software/S1160) has used WMI in malicious email infection chains to facilitate the installation of remotely-hosted files.(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
Once active, it can execute commands, steal data, deploy additional malware, and maintain persistence through scheduled tasks and encrypted communication with its command-and-control servers.
[Latrodectus](https://attack.mitre.org/software/S1160) can create scheduled tasks for persistence.(Citation: Latrodectus APR 2024)(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
Among the several features it contains is the ability to download and execute additional payloads...
The victim initiates the process(cmd.exe), and the process(cmd.exe) spawns the Powershell process. The Powershell process attempts to download the malicious payload(d.txt) from the attacker domain(using curl.exe).
The [Latrodectus](https://attack.mitre.org/software/S1160) command handler can use `cmdexe` to run multiple discovery commands.(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) has used JavaScript files as part its infection chain during malicious spam email campaigns.(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)(Citation: Palo Alto Latrodectus Activity June 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) has used multiple Windows API post exploitation including `GetAdaptersInfo`, `CreateToolhelp32Snapshot`, and `CreateProcessW`.(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
The Rhysida ransomware gang are also one of the few cybercriminals leveraging Trusted Signing from Microsoft—Microsoft’s own service for issuing code-signing certificates.
The final payload is a DLL and its DllMain function is called by the crypter code. The next step is the execution of the “AnselEnableCheck” exported function, which is responsible for the execution of the final payload.
Finally, the malicious command is copied to the browser’s clipboard so that the victim can execute it by pasting it into the Run command screen.
[Latrodectus](https://attack.mitre.org/software/S1160) has been executed through malicious links distributed in email campaigns.(Citation: Latrodectus APR 2024)(Citation: Bleeping Computer Latrodectus April 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) has lured users into opening malicious email attachments for execution.(Citation: Bleeping Computer Latrodectus April 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) can use the Windows Component Object Model (COM) to set scheduled tasks.(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
"wtsapi32.dll was suspicious and this scenario immediately resembled DLL side-loading."
Persistence
4 techniques
Persistence
Once active, it can execute commands, steal data, deploy additional malware, and maintain persistence through scheduled tasks and encrypted communication with its command-and-control servers.
[Latrodectus](https://attack.mitre.org/software/S1160) can create scheduled tasks for persistence.(Citation: Latrodectus APR 2024)(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.
[Latrodectus](https://attack.mitre.org/software/S1160) can set an AutoRun key to establish persistence.(Citation: Latrodectus APR 2024)
Privilege Escalation
4 techniques
Privilege Escalation
Once active, it can execute commands, steal data, deploy additional malware, and maintain persistence through scheduled tasks and encrypted communication with its command-and-control servers.
[Latrodectus](https://attack.mitre.org/software/S1160) can create scheduled tasks for persistence.(Citation: Latrodectus APR 2024)(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
Rundll32 loads the LATRODECTUS DLL from AppData and starts code injection. Shellcode execution triggers endpoint behavior alerts and a memory threat detection alert.
[Latrodectus](https://attack.mitre.org/software/S1160) can set an AutoRun key to establish persistence.(Citation: Latrodectus APR 2024)
Stealth
22 techniques
Stealth
LATRODECTUS is delivered via oversized Javascript files, on average more than 800KB filled with random text. All of the strings within LATRODECTUS are protected using a straightforward algorithm.
[Latrodectus](https://attack.mitre.org/software/S1160) has been obfuscated with a 129 byte sequence of junk data prepended to the file.(Citation: Elastic Latrodectus May 2024)
The [Latrodectus](https://attack.mitre.org/software/S1160) payload has been packed for obfuscation.(Citation: Elastic Latrodectus May 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) can resolve Windows APIs dynamically by hash.(Citation: Latrodectus APR 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) has used a pseudo random number generator (PRNG) algorithm and a rolling XOR key to obfuscate strings.(Citation: Latrodectus APR 2024)(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
Our LATRODECTUS sample comes initially packed with file information masquerading as a component to Bitdefender’s kernel-mode driver (TRUFOS.SYS).
[Latrodectus](https://attack.mitre.org/software/S1160) has been packed to appear as a component to Bitdefender’s kernel-mode driver, TRUFOS.SYS.(Citation: Elastic Latrodectus May 2024)
Rundll32 loads the LATRODECTUS DLL from AppData and starts code injection. Shellcode execution triggers endpoint behavior alerts and a memory threat detection alert.
Many entries explicitly describe deleting artifacts 'to cover tracks,' 'evade detection,' 'remove evidence,' 'reduce their footprint,' or as part of 'post-intrusion cleanup process.' Examples include APT28 deleting files to cover tracks, FIN5 using SDelete to clean up the environment, and Dragonfly deleting operational files as part of cleanup.
[Latrodectus](https://attack.mitre.org/software/S1160) has the ability to delete itself.(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
The Rhysida ransomware gang are also one of the few cybercriminals leveraging Trusted Signing from Microsoft—Microsoft’s own service for issuing code-signing certificates.
[Latrodectus](https://attack.mitre.org/software/S1160) has the ability to deobfuscate encrypted strings.(Citation: Latrodectus APR 2024)(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
Then downloads obfuscated JavaScript to download MSI and uses rundll32.exe to execute 64-bit DLL.
[Latrodectus](https://attack.mitre.org/software/S1160) has called `msiexec` to install remotely-hosted MSI files.(Citation: Latrodectus APR 2024)(Citation: Bleeping Computer Latrodectus April 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) can use rundll32.exe to execute downloaded DLLs.(Citation: Elastic Latrodectus May 2024)(Citation: Bleeping Computer Latrodectus April 2024)
In order to avoid sandboxes or virtual machines that may have a low number of active processes, two validation checks are used to combine the number of running processes with the OS product version.
[Latrodectus](https://attack.mitre.org/software/S1160) can determine if it is running in a virtualized environment by checking the OS version, checking the number of running processes, ensuring a 64-bit application is running on a 64-bit host, and checking if the host has a valid MAC address.(Citation: Latrodectus APR 2024)(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
Found a potential packed payload in the resources... the tested samples that had the packed payload in a resource the resource type was an icon... Check if the packed payload is in a section with a 'weird name'.
[Latrodectus](https://attack.mitre.org/software/S1160) can delete itself while its process is still running through the use of an alternate data stream.(Citation: Elastic Latrodectus May 2024)
"wtsapi32.dll was suspicious and this scenario immediately resembled DLL side-loading."
Upon analysis, this DLL unpacks another stage DLL payload in memory
[Latrodectus](https://attack.mitre.org/software/S1160) has the ability to check for the presence of debuggers.(Citation: Latrodectus APR 2024)
Defense Impairment
3 techniques
Defense Impairment
Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.
The Rhysida ransomware gang uses certificates to give their own malicious files a higher level of trust.
"NTDLL unhooking, reading ntdll.dll from disk and manually importing it into process, bypassing typical AV and debugger detection mechanics."
Discovery
17 techniques
Discovery
"reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography /v MachineGuid" and "reg query ... HwProfileGuid"
[Latrodectus](https://attack.mitre.org/software/S1160) can discover the IP and MAC address of a targeted host.(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
C:\Windows\System32\cmd.exe /c net view /all /domain [and] net view /all
[Latrodectus](https://attack.mitre.org/software/S1160) can discover the username of an infected host.(Citation: Elastic Latrodectus May 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) can enumerate running processes including process grandchildren on targeted hosts.(Citation: Latrodectus APR 2024)(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
"/c net group \"Domain Admins\" /domain" and "/c whoami /groups"
[Latrodectus](https://attack.mitre.org/software/S1160) can identify domain groups through `cmd.exe /c net group "Domain Admins" /domain`.(Citation: Bitsight Latrodectus June 2024)(Citation: Elastic Latrodectus May 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) can gather operating system information.(Citation: Latrodectus APR 2024)(Citation: Elastic Latrodectus May 2024)(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) can collect desktop filenames.(Citation: Latrodectus APR 2024)(Citation: Bitsight Latrodectus June 2024)(Citation: Elastic Latrodectus May 2024)
Multiple actors and tools are described enumerating domain users/admins via Windows net commands (e.g., net user /domain, net group "Domain Admins" /domain), LDAP/AD queries (e.g., Get-ADUser, Get-ADGroupMember), and AD enumeration utilities (e.g., AdFind, BloodHound, AD Explorer).
[Latrodectus](https://attack.mitre.org/software/S1160) can run `C:\Windows\System32\cmd.exe /c net group "Domain Admins" /domain` to identify domain administrator accounts.(Citation: Elastic Latrodectus May 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) can run `C:\Windows\System32\cmd.exe /c net view /all` to discover network shares.(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) can run `C:\Windows\System32\cmd.exe /c nltest /domain_trusts` to discover domain trusts.(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
In order to avoid sandboxes or virtual machines that may have a low number of active processes, two validation checks are used to combine the number of running processes with the OS product version.
[Latrodectus](https://attack.mitre.org/software/S1160) can determine if it is running in a virtualized environment by checking the OS version, checking the number of running processes, ensuring a 64-bit application is running on a 64-bit host, and checking if the host has a valid MAC address.(Citation: Latrodectus APR 2024)(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) has the ability to identify installed antivirus products.(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) has the ability to check for the presence of debuggers.(Citation: Latrodectus APR 2024)
Lateral Movement
2 techniques
Lateral Movement
the script will use the MapNetworkDrive method to map the external resource wireoneinternet[.]info@80\share\ as a shared directory on the network... After mapping the C2 address as a share, the script will use the ‘ net.exe ‘ utility to connect to the ‘ remote share ‘.
[Latrodectus](https://attack.mitre.org/software/S1160) has routed C2 traffic using Keyhole VNC.(Citation: Palo Alto Latrodectus Activity June 2024)
Collection
3 techniques
Collection
[Latrodectus](https://attack.mitre.org/software/S1160) can collect data from a compromised host using a stealer module.(Citation: Bitsight Latrodectus June 2024)
Finally, the malicious command is copied to the browser’s clipboard so that the victim can execute it by pasting it into the Run command screen.
NOTES: Zip files are password-protected. Of note, this site has a new password scheme.
Command and Control
11 techniques
Command and Control
The information is formatted using a specific pattern, encrypted using the RC4 algorithm, encoded using base64 and sent to the C2.
The script uses Telegram API to send the data to the attacker.
[Latrodectus](https://attack.mitre.org/software/S1160) can send registration information to C2 via HTTP `POST`.(Citation: Latrodectus APR 2024)(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
"The ability to proxy traffic through the infected machine allows threat actors to map the internal network stealthily"
[Latrodectus](https://attack.mitre.org/software/S1160) has used Google Firebase to download malicious installation scripts.(Citation: Palo Alto Latrodectus Activity June 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) has used a two-tiered C2 configuration with tier one nodes connecting to the victim and tier two nodes connecting to backend infrastructure.(Citation: Latrodectus APR 2024)
[Latrodectus](https://attack.mitre.org/software/S1160) can download and execute PEs, DLLs, and shellcode from C2.(Citation: Latrodectus APR 2024)(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
C2 traffic from ADVSTORESHELL is encrypted, then encoded with Base64 encoding... APT19 HTTP malware variant used Base64 to encode communications to the C2 server... APT33 has used base64 to encode command and control traffic.
[Latrodectus](https://attack.mitre.org/software/S1160) has Base64-encoded the message body of a HTTP request sent to C2.(Citation: Latrodectus APR 2024)(Citation: Elastic Latrodectus May 2024)
On 15 December 2023, Proofpoint observed TA578 deliver the Latrodectus downloader via a DanaBot infection.
[Latrodectus](https://attack.mitre.org/software/S1160) can send RC4 encrypted data over C2 channels.(Citation: Latrodectus APR 2024)(Citation: Elastic Latrodectus May 2024)(Citation: Bitsight Latrodectus June 2024)
Exfiltration
2 techniques
Exfiltration
Befehl 25 ... erhält die Malware einen Dateinamen und einen Remote-Speicherort, von dem die Datei heruntergeladen werden soll. Der Dateiname wird dann an %AppData% angehängt, die Datei wird heruntergeladen und ihr Inhalt in den angegebenen Pfad geschrieben.
[Latrodectus](https://attack.mitre.org/software/S1160) can exfiltrate encrypted system information to the C2 server.(Citation: Latrodectus APR 2024)(Citation: Bitsight Latrodectus June 2024)
Impact
2 techniques
Impact
Perform a multibyte XOR operation against an array of bytes... Try to find the XOR key used to decode the final payload.
[Latrodectus](https://attack.mitre.org/software/S1160) has the ability to restart compromised hosts.(Citation: Elastic Latrodectus May 2024)
Observables
282 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
115 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.