LunarMail
LunarMail is a malware family reported by ESET Research in the 2024-05-15 publication "To the Moon and back(doors): Lunar landing in diplomatic missions." The available content indicates it is used in espionage activity associated with the Turla/Secret Blizzard ecosystem targeting diplomatic missions. LunarMail has been installed through malicious Microsoft Word documents containing VBA macros. It communicates with command and control using email messages via the Outlook Messaging API (MAPI), and can also use email image attachments with embedded data to receive C2 commands and exfiltrate data. Reported behaviors include pinging a specific C2 URL with the victim machine ID in the subdomain, creating a directory under %TEMP% to stage data prior to exfiltration, and capturing the recipients of sent email messages from compromised accounts. High-confidence artifacts and behaviors mentioned in the content include macro-based installation, %TEMP% staging, Outlook/MAPI-based email C2, image-attachment-based embedded-data C2/exfiltration, and collection of sent-message recipient information.
Techniques & procedures
21 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
3 techniques
Execution
[LunarMail](https://attack.mitre.org/software/S1142) has been installed using a VBA macro.(Citation: ESET Turla Lunar toolset May 2024)
The content repeatedly mentions malicious macros in Word/Excel documents, such as "enable macros," "embedded macros," and "macro-enabled documents."
[LunarMail](https://attack.mitre.org/software/S1142) has been installed through a malicious macro in a Microsoft Word document.(Citation: ESET Turla Lunar toolset May 2024)
Persistence
2 techniques
Persistence
[LunarMail](https://attack.mitre.org/software/S1142) has the ability to use Outlook add-ins for persistence.(Citation: ESET Turla Lunar toolset May 2024)
[LunarMail](https://attack.mitre.org/software/S1142) can create an arbitrary process with a specified command line and redirect its output to a staging directory.(Citation: ESET Turla Lunar toolset May 2024)
Privilege Escalation
1 technique
Privilege Escalation
[LunarMail](https://attack.mitre.org/software/S1142) can create an arbitrary process with a specified command line and redirect its output to a staging directory.(Citation: ESET Turla Lunar toolset May 2024)
Stealth
5 techniques
Stealth
The content contains many examples of base64, XOR, RC4, AES, Rijndael, custom ciphers, rolling XOR, and multi-layer obfuscation used to hide payloads, strings, scripts, and C2 data.
[LunarMail](https://attack.mitre.org/software/S1142) has used RC4 and AES to encrypt strings and its exfiltration configuration respectively.(Citation: ESET Turla Lunar toolset May 2024)
[LunarMail](https://attack.mitre.org/software/S1142) can delete the previously used staging directory and files on subsequent rounds of exfiltration and replace it with a new one.(Citation: ESET Turla Lunar toolset May 2024)
[LunarMail](https://attack.mitre.org/software/S1142) can set the `PR_DELETE_AFTER_SUBMIT` flag to delete messages sent for data exfiltration.(Citation: ESET Turla Lunar toolset May 2024)
[LunarMail](https://attack.mitre.org/software/S1142) can decrypt strings to retrieve configuration settings.(Citation: ESET Turla Lunar toolset May 2024)
Discovery
2 techniques
Discovery
[LunarMail](https://attack.mitre.org/software/S1142) can capture environmental variables on compromised hosts.(Citation: ESET Turla Lunar toolset May 2024)
[LunarMail](https://attack.mitre.org/software/S1142) can search its staging directory for output files it has produced.(Citation: ESET Turla Lunar toolset May 2024)
Collection
4 techniques
Collection
The content repeatedly describes adversaries and malware storing collected data, command output, credentials, archives, or files in local temporary folders, working directories, hidden directories, registry locations, recycle bins, or specific files prior to exfiltration.
[LunarMail](https://attack.mitre.org/software/S1142) can create a directory in `%TEMP%\` to stage data prior to exfilration.(Citation: ESET Turla Lunar toolset May 2024)
[LunarMail](https://attack.mitre.org/software/S1142) can capture screenshots from compromised hosts.(Citation: ESET Turla Lunar toolset May 2024)
[LunarMail](https://attack.mitre.org/software/S1142) can capture the recipients of sent email messages from compromised accounts.(Citation: ESET Turla Lunar toolset May 2024)
Command and Control
3 techniques
Command and Control
[LunarMail](https://attack.mitre.org/software/S1142) can parse IDAT chunks from .png files to look for zlib-compressed and AES encrypted C2 commands.(Citation: ESET Turla Lunar toolset May 2024)
[LunarMail](https://attack.mitre.org/software/S1142) can communicates with C2 using email messages via the Outlook Messaging API (MAPI).(Citation: ESET Turla Lunar toolset May 2024)
[LunarMail](https://attack.mitre.org/software/S1142) can ping a specific C2 URL with the ID of a victim machine in the subdomain.(Citation: ESET Turla Lunar toolset May 2024)
Exfiltration
2 techniques
Exfiltration
[LunarMail](https://attack.mitre.org/software/S1142) can use email image attachments with embedded data for receiving C2 commands and data exfiltration.(Citation: ESET Turla Lunar toolset May 2024)
Cannon exfiltrates collected data over email via SMTP/S and POP3/S C2 channels... CURIUM has used IMAP and SMTPS for exfiltration via tools such as IMAPLoader... Kevin can send data from the victim host through a DNS C2 channel... NightClub can use SMTP and DNS for file exfiltration and C2.
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.