Dyre, also known as Dyreza and Dyzap, is a Windows banking trojan first observed in 2014 that targets credentials for major online banking services and other online accounts. Used by financially motivated cybercriminals, it injects code directly into browser processes to intercept sensitive login information through man-in-the-browser attacks. It also injects modules into other processes, identifies users and network settings on compromised hosts, and exfiltrates collected information through its command-and-control infrastructure. Dyre decrypts resources during execution and can maintain persistence through Windows services and scheduled tasks, including tasks configured to run every minute.
Dyre has been distributed through phishing emails containing weaponized PDF attachments that exploit vulnerabilities in unpatched Adobe Reader installations. It is also commonly delivered by the Upatre downloader. Distribution infrastructure has included compromised home routers and wireless access points, notably MikroTik devices and devices running Ubiquiti AirOS; these devices serve as supporting infrastructure rather than Dyre's endpoint target platform. Campaigns have targeted a broad range of recipients to steal banking and other service credentials. The later TrickBot malware adopted architectural and operational ideas associated with Dyre, although its code was independently rewritten.
5 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
33 distinct techniques documented for this family, organized by ATT&CK tactic.
Once installed onto a client machine, banking trojans use a variety of techniques to create botnets, steal credentials, inject malicious code into browsers, or steal money.
Dyre experimenting with new ways to deliver spam malicious attachments in spam emails.
on October 8, Proofpoint researchers observed the Gophe spammer botnet used by these actors sending tens of thousands of unique Word documents in a single campaign.
“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.”
[Dyre](https://attack.mitre.org/software/S0024) has the ability to achieve persistence by adding a new task in the task scheduler to run every minute.(Citation: Malwarebytes Dyreza November 2015)
The original exploit for CVE-2014-4113 was part of an exploit framework in which the API passes a command-line argument, and that command is executed as SYSTEM. As that wasn’t the original API for PlayBit’s exploit, some adjustments were made and PlayBit’s exploits were re-adjusted to receive a command-line argument to be executed once elevated.
A trojan is any type of malicious program disguised as a legitimate one.
When the email recipient opens the attachment, they encounter a ‘secure’ Office document.
Similar to Dyre, TrickBot uses pipes for its inter-process communication.
“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.”
[Dyre](https://attack.mitre.org/software/S0024) has the ability to achieve persistence by adding a new task in the task scheduler to run every minute.(Citation: Malwarebytes Dyreza November 2015)
[Dyre](https://attack.mitre.org/software/S0024) registers itself as a service by adding several Registry keys.(Citation: Symantec Dyre June 2015)
“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.”
[Dyre](https://attack.mitre.org/software/S0024) has the ability to achieve persistence by adding a new task in the task scheduler to run every minute.(Citation: Malwarebytes Dyreza November 2015)
[Dyre](https://attack.mitre.org/software/S0024) has the ability to directly inject its code into the web browser process.(Citation: Malwarebytes Dyreza November 2015)
[Dyre](https://attack.mitre.org/software/S0024) injects into other processes to load modules.(Citation: Symantec Dyre June 2015)
All of the exploits that we found related to this actor were 1-Day exploits for Local Privilege Escalation (LPE) vulnerabilities in Windows.
[Dyre](https://attack.mitre.org/software/S0024) registers itself as a service by adding several Registry keys.(Citation: Symantec Dyre June 2015)
[Dyre](https://attack.mitre.org/software/S0024) has been delivered with encrypted resources and must be unpacked for execution.(Citation: Malwarebytes Dyreza November 2015)
The attachment name was also randomized using an extensive wordlist.
[Dyre](https://attack.mitre.org/software/S0024) has the ability to directly inject its code into the web browser process.(Citation: Malwarebytes Dyreza November 2015)
[Dyre](https://attack.mitre.org/software/S0024) injects into other processes to load modules.(Citation: Symantec Dyre June 2015)
[Dyre](https://attack.mitre.org/software/S0024) decrypts resources needed for targeting the victim.(Citation: Symantec Dyre June 2015)(Citation: Malwarebytes Dyreza November 2015)
Environmental awareness allows malware samples to detect the underlying runtime environment of the system it is trying to infect... search for differences between a virtualized and bare metal environment... about one in five (17%) samples of the Carbanak malware samples analyzed by Lastline tried to detect a virtual sandbox before executing.
[Dyre](https://attack.mitre.org/software/S0024) can detect sandbox analysis environments by inspecting the process list and Registry.(Citation: Symantec Dyre June 2015)(Citation: Malwarebytes Dyreza November 2015)
[Dyre](https://attack.mitre.org/software/S0024) has the ability to identify running services on a compromised host.(Citation: Malwarebytes Dyreza November 2015)
[Dyre](https://attack.mitre.org/software/S0024) has the ability to identify network settings on a compromised host.(Citation: Malwarebytes Dyreza November 2015)
[Dyre](https://attack.mitre.org/software/S0024) has the ability to identify the users on a compromised host.(Citation: Malwarebytes Dyreza November 2015)
[Dyre](https://attack.mitre.org/software/S0024) has the ability to identify the computer name, OS version, and hardware configuration on a compromised host.(Citation: Malwarebytes Dyreza November 2015)
Environmental awareness allows malware samples to detect the underlying runtime environment of the system it is trying to infect... search for differences between a virtualized and bare metal environment... about one in five (17%) samples of the Carbanak malware samples analyzed by Lastline tried to detect a virtual sandbox before executing.
[Dyre](https://attack.mitre.org/software/S0024) can detect sandbox analysis environments by inspecting the process list and Registry.(Citation: Symantec Dyre June 2015)(Citation: Malwarebytes Dyreza November 2015)
[Dyre](https://attack.mitre.org/software/S0024) has the ability to identify installed programs on a compromised host.(Citation: Malwarebytes Dyreza November 2015)
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.
[Dyre](https://attack.mitre.org/software/S0024) has the ability to create files in a TEMP folder to act as a database to store information.(Citation: Malwarebytes Dyreza November 2015)
Trickbot ... performed man-in-the-browser attacks in order to steal banking credentials.
While the variant analyzed included a fallback mechanism of reaching out to icanhazip.com in the event STUN didn’t work
Since JA3 detects the client application, it doesn’t matter if malware uses DGA (Domain Generation Algorithms), or different IPs for each C2 host, or even if the malware uses Twitter for C2, JA3 can detect the malware itself based on how it communicates rather than what it communicates to. | JA3 allows us to detect these applications, malware families, and pen testing tools, regardless of their destination, Command and Control (C2) IPs, or SSL certificates.
[Dyre](https://attack.mitre.org/software/S0024) uses HTTPS for C2 communications.(Citation: Symantec Dyre June 2015)(Citation: Malwarebytes Dyreza November 2015)
[Dyre](https://attack.mitre.org/software/S0024) has a command to download and executes additional files.(Citation: Symantec Dyre June 2015)
This is useful for identifying domains that were previously part of domain generation algorithms (DGAs) or otherwise used for various malware operations like command and control (C2).
this post focuses on the misuse of STUN by malware... It is our belief that this trending of STUN capabilities in malware supports two goals for attackers... Hide in plain sight : Given a popular service and/or protocol, there is a higher likelihood that malware that utilizes similar communications can achieve equivalent success in its misuse, as it is allowed through the same security controls.
[Dyre](https://attack.mitre.org/software/S0024) has the ability to send information staged on a compromised host externally to C2.(Citation: Malwarebytes Dyreza November 2015)
142 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
91 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.