Mail-O
- Type
- Downloader
- Capabilities
- ExfiltrationPersistencePost exploitationDefense evasion
- Delivery
- Spearphishing
- Platforms
- Windows
Mail-O is a Windows malware family used in espionage intrusions against Russian government organizations, including entities associated with the FSB. It has been described both as a stealthy backdoor and, more specifically from technical analysis, as a downloader that masquerades as legitimate Mail.ru Disk-O software. The malware imitates the appearance and network behavior of that software, checks for signs of a legitimate Disk-O installation, and uses a real Mail.ru cloud service as part of its command-and-control workflow to blend malicious traffic with normal-looking cloud communications.
Mail-O exposes service-oriented functionality and is designed to run as a Windows service. Its ServiceMain routine initializes service handling and invokes its main execution logic. The malware gathers basic victim information, encrypts it, sends it to remote infrastructure via Mail.ru cloud services, retrieves a next-stage payload, writes that payload locally, and executes it. Analysis also notes logic to launch a PsExec-related component if present, indicating integration with broader post-compromise tradecraft.
Operational reporting ties Mail-O to campaigns in which attackers stole confidential information from mail servers, document management systems, file servers, and workstations after gaining broad access to victim environments. Initial access in those operations reportedly included spearphishing, exploitation of web application vulnerabilities, and compromise of government contractors. Mail-O was paired with Webdav-O in some intrusions, with both implants used for command execution and data theft while attempting to evade antivirus detection.
Technical and behavioral overlaps have linked Mail-O to PhantomNet, also known as SManager, and to related tooling such as TManger. Reported similarities include shared service-style structure and the unusual exported function name "Entery." These overlaps have been used to associate the malware with the TA428 activity cluster, also tracked by some researchers as ThunderCats, a suspected Chinese-linked espionage actor with a history of targeting Russian and Southeast Asian entities. Mail-O is therefore best understood as a cloud-masquerading Windows downloader/backdoor used in targeted state-aligned cyberespionage operations.
Associated threat actors
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Several researchers had previously described a series of attacks using WebDav-O and Mail-O.
This research focuses on the ‘Mail-O’ malware used against the FSB and other Russian government organizations... In line with the findings of the NKTsKI-Rostelecom report, the Mail-O malware acts as a downloader with a thin veneer of similarity to the legitimate Mail.ru Disk-O software.
This research focuses on the ‘Mail-O’ malware used against the FSB and other Russian government organizations... In line with the findings of the NKTsKI-Rostelecom report, the Mail-O malware acts as a downloader with a thin veneer of similarity to the legitimate Mail.ru Disk-O software.
Techniques & procedures
17 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
To breach Russian federal agencies, Rostelecom and NKTsKI said the attackers used a broad set of entry vectors that included spear-phishing, exploiting vulnerabilities in web applications...
To breach Russian federal agencies, Rostelecom and NKTsKI said the attackers used a broad set of entry vectors that included spear-phishing, exploiting vulnerabilities in web applications, and hacking the IT infrastructure of government contractors.
To breach Russian federal agencies, Rostelecom and NKTsKI said the attackers used a broad set of entry vectors that included spear-phishing...
Execution
3 techniques
Execution
...the attackers would deploy two never-before-seen malware strains named Mail-O and Webdav-O, both stealthy backdoors that the intruders used to execute commands on infected hosts and steal data.
The payload is written to a temporary path before being launched.
ServiceMain takes a service name as an argument and attempts to register a service control handler with a specific HandlerProc function meant to check and set the status of that service. With a valid service status handle, Mail-O detaches the calling process from its console, changes the service status values to reflect its current running state, and calls the Entery function.
Persistence
1 technique
Persistence
ServiceMain takes a service name as an argument and attempts to register a service control handler with a specific HandlerProc function meant to check and set the status of that service.
Privilege Escalation
1 technique
Privilege Escalation
ServiceMain takes a service name as an argument and attempts to register a service control handler with a specific HandlerProc function meant to check and set the status of that service.
Stealth
1 technique
Stealth
The disguise consists of a version number (“19.05.0045”) lifted from a legitimate Disk-O executable and the use of a real Mail.ru to post victim details and host a next stage payload.
Defense Impairment
1 technique
Defense Impairment
Both Mail-O and Webdav-O were also designed to bypass Kaspersky antivirus software, which is usually installed on Russian federal networks...
Discovery
2 techniques
Discovery
First, Mail-O checks the registry for an existing install of the legitimate Mail.Ru Disk-O software.
Mail-O uses the SystemTime to POST the encrypted victim hostname (or in its absence the string “[none]”) and receive a payload.
Collection
2 techniques
Collection
After a complete compromise of the infrastructure, the attackers proceeded to collect confidential information from all sources of interest... and workstations of various levels.
After a complete compromise of the infrastructure, the attackers proceeded to collect confidential information from all sources of interest: such as mail servers, electronic document management servers, file servers, and workstations of various levels.
Command and Control
3 techniques
Command and Control
It decrypts configuration strings and contacts https://dispatcher.cloud.mail.ru/ . Mail-O uses the SystemTime to POST the encrypted victim hostname (or in its absence the string “[none]”) and receive a payload.
Attackers use these implants to receive commands and to export their results. This is an example of the technique known as Web Service: Bidirectional Communication T1102.002.
In line with the findings of the NKTsKI-Rostelecom report, the Mail-O malware acts as a downloader with a thin veneer of similarity to the legitimate Mail.ru Disk-O software.
Exfiltration
1 technique
Exfiltration
Both strains exfiltrated data to command and control infrastructure hosted on local Russian cloud providers...
Observables
7 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.