yty
- Type
- Backdoor
- Capabilities
- KeyloggingExfiltrationPersistenceReconnaissanceDefense evasion
- Delivery
- SpearphishingLure
- Platforms
- Windows
YTY is a modular Windows backdoor framework used by Donot Team, also tracked as APT-C-35, for cyberespionage and sensitive-data collection. Its campaigns have targeted government, military, foreign affairs, and diplomatic organizations, primarily in South Asia, including Pakistan, Bangladesh, Sri Lanka, and Nepal, as well as South Asian embassies abroad. Gedit and DarkMusical are variants derived from the framework.
YTY infections use chains of downloaders that deploy a minimal backdoor capable of retrieving and executing additional components. Delivery includes spearphishing emails carrying malicious Microsoft Office documents with macros or exploits, including CVE-2017-8570. The framework establishes persistence through scheduled tasks and supports keylogging, periodic screenshots, document discovery, file collection, and exfiltration. Its reconnaissance components collect usernames, host and operating-system details, network configuration, running processes, and information about other systems on the network.
YTY uses Google-hosted documents to retrieve command-and-control configuration, with hardcoded fallback infrastructure in analyzed implementations. Plugins can enumerate document metadata, upload collected material, and retrieve specific files requested by operators. Analyzed versions employ reversed and Base64-encoded strings for obfuscation and AES-encrypted communications, replacing plaintext transmission used in earlier versions.
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
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.
What it does next is inferred from the group's known behaviour, which is to fetch and decrypt a longer-lived backdoor such as YTY or GEdit and open a command channel. Stated as inference, not as observation.
ESET researchers have traced several campaigns that leverage Windows malware derived from the group’s signature yty malware framework. The main purpose of the “yty” malware framework is to collect and exfiltrate data.
DoNot APT is known for using custom-built Windows malware, including backdoors like YTY and GEdit, often delivered through spear-phishing emails or malicious documents.
Techniques & procedures
33 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
According to ESET telemetry, Donot Team has been consistently targeting the same entities with waves of spearphishing emails every two to four months.
According to ESET telemetry, Donot Team has been consistently targeting the same entities with waves of spearphishing emails every two to four months. The spearphishing emails have malicious Microsoft Office documents attached that the attackers use to deploy their malware.
Execution
5 techniques
Execution
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[yty](https://attack.mitre.org/software/S0248) establishes persistence by creating a scheduled task with the command <code>SchTasks /Create /SC DAILY /TN BigData /TR “ + path_file + “/ST 09:30“</code>.(Citation: ASERT Donot March 2018)
The malicious framework consists of a chain of downloaders that ultimately download a backdoor with minimal functionality, used to download and execute further components of Donot Team’s toolset.
“To load the next stage they leverage Microsoft Office macros... Once macros are enabled, the Document_open routine executes...”
“...RTF files exploiting Equation Editor vulnerability...”
Persistence
2 techniques
Persistence
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[yty](https://attack.mitre.org/software/S0248) establishes persistence by creating a scheduled task with the command <code>SchTasks /Create /SC DAILY /TN BigData /TR “ + path_file + “/ST 09:30“</code>.(Citation: ASERT Donot March 2018)
Privilege Escalation
3 techniques
Privilege Escalation
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[yty](https://attack.mitre.org/software/S0248) establishes persistence by creating a scheduled task with the command <code>SchTasks /Create /SC DAILY /TN BigData /TR “ + path_file + “/ST 09:30“</code>.(Citation: ASERT Donot March 2018)
“The function injects a shellcode (32-bit/64-bit) into the process memory and invokes it.”
Stealth
8 techniques
Stealth
“...downloads from [1] to [3], modifies 3 first bytes back to their original form. This technique is used to evade security solutions and keep them from scanning the executable.”
[yty](https://attack.mitre.org/software/S0248) packs a plugin with UPX.(Citation: ASERT Donot March 2018)
[yty](https://attack.mitre.org/software/S0248) contains junk code in its binary, likely to confuse malware analysts.(Citation: ASERT Donot March 2018)
“The function injects a shellcode (32-bit/64-bit) into the process memory and invokes it.”
“Before the execution of the payload, the shellcode decrypts itself... followed by xor with a two-byte key, which changes between stages.”
“...remote template injection... When the RTF document is opened, it tries to fetch a malicious remote template from its C2...”
“Before it does so, it creates a mutex to avoid multiple instances running at the same time...”
[yty](https://attack.mitre.org/software/S0248) has some basic anti-sandbox detection that tries to detect Virtual PC, Sandboxie, and VMware. (Citation: ASERT Donot March 2018)
Credential Access
1 technique
Credential Access
[yty](https://attack.mitre.org/software/S0248) uses a keylogger plugin to gather keystrokes.(Citation: ASERT Donot March 2018)
Discovery
10 techniques
Discovery
[yty](https://attack.mitre.org/software/S0248) runs <code>ipconfig /all</code> and collects the domain name.(Citation: ASERT Donot March 2018)
[yty](https://attack.mitre.org/software/S0248) uses the <code>net view</code> command for discovery.(Citation: ASERT Donot March 2018)
[yty](https://attack.mitre.org/software/S0248) collects the victim’s username.(Citation: ASERT Donot March 2018)
[yty](https://attack.mitre.org/software/S0248) gets an output of running processes using the <code>tasklist</code> command.(Citation: ASERT Donot March 2018)
[yty](https://attack.mitre.org/software/S0248) gathers the computer name, CPU information, Microsoft Windows version, and runs the command <code>systeminfo</code>.(Citation: ASERT Donot March 2018)
[yty](https://attack.mitre.org/software/S0248) gathers information on victim’s drives and has a plugin for document listing.(Citation: ASERT Donot March 2018)
Numerous entries mention enumerating drives, logical disks, disk type, free space, or volume information; examples include 'Babuk can enumerate disk volumes,' 'Cuba can enumerate local drives,' and 'TAINTEDSCRIBE can use DriveList to retrieve drive information.'
[yty](https://attack.mitre.org/software/S0248) has some basic anti-sandbox detection that tries to detect Virtual PC, Sandboxie, and VMware. (Citation: ASERT Donot March 2018)
“Next, the shellcode checks for security solutions by validating the existence of their drivers’ .sys, located under C:\Windows\System32\drivers.”
[yty](https://attack.mitre.org/software/S0248) gathers the the serial number of the main disk volume.(Citation: ASERT Donot March 2018)
Collection
3 techniques
Collection
[yty](https://attack.mitre.org/software/S0248) collects files with the following extensions: .ppt, .pptx, .pdf, .doc, .docx, .xls, .xlsx, .docm, .rtf, .inp, .xlsm, .csv, .odt, .pps, .vcf and sends them back to the C2 server.(Citation: ASERT Donot March 2018)
[yty](https://attack.mitre.org/software/S0248) uses a keylogger plugin to gather keystrokes.(Citation: ASERT Donot March 2018)
[yty](https://attack.mitre.org/software/S0248) collects screenshots of the victim machine.(Citation: ASERT Donot March 2018)
Command and Control
6 techniques
Command and Control
“...fetch a malicious remote template from its C2 by sending an HTTP GET request... The first message to the server is sent as a POST request...”
The adversaries had communicated to both Dropbox and Pastebin. APT28 has used Google Drive for C2. APT37 leverages social networking sites and cloud platforms (AOL, Twitter, Yandex, Mediafire, pCloud, Dropbox, and Box) for C2.
[yty](https://attack.mitre.org/software/S0248) communicates to the C2 server by retrieving a Google Doc.(Citation: ASERT Donot March 2018)
"Comnie uses blogs and third-party sites (GitHub, tumbler, and BlogSpot) to avoid DNS-based blocking"; "Revenge RAT used blogpost.com as its primary command and control server"; "Turla JavaScript backdoor has used Google Apps Script as its C2 server"
The malicious framework consists of a chain of downloaders that ultimately download a backdoor with minimal functionality, used to download and execute further components of Donot Team’s toolset.
These include file collectors based on file extension and year of creation, screen capturers, keyloggers, reverse shells, and more.
Observables
50 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
37 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.