Adwind is a commercial, Java-based remote access trojan also known as jRAT, AlienSpy, JSocket, and Unrecom. It targets Windows, Linux, macOS, and BSD systems and requires a Java Runtime Environment to execute its Java archive payloads. Its capabilities include remote desktop control, online and offline keylogging, screenshot capture, process enumeration and termination, and file deletion. It can steal passwords from browsers and chat applications, as well as private keys associated with VPNs and cryptocurrency wallets. It also gathers internal and external IP addresses and identifies installed antivirus products and firewall configurations.
Adwind is distributed through phishing emails containing malicious attachments or links, including shipping, invoice, order, and payment-themed lures. Delivery chains have also used HTML Applications containing VBScript or JScript. Analyzed variants employ extensive identifier obfuscation, encrypted resources, runtime string reconstruction, and dynamically loaded Java classes to hinder analysis. Some variants reconstruct and execute a second-stage Java archive and download replacement payloads for self-updating. On Windows, observed variants establish persistence through startup registry entries and execute scripts to discover security software.
Adwind has been used by OPERA1ER, a financially motivated group whose campaigns primarily targeted African banking, financial services, mobile banking, and telecommunications organizations. Its use by multiple operators makes the malware family alone insufficient for threat-actor attribution.
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
“We were able to observe the following payload families through campaigns in 2019 and 2020: NanoCore, H-Worm (Houdini Worm), WSH Rat, Remcos, Adwind or QNodeJS.”
The top 10 of the RATs used in Nigerian BEC scams is formed by NetWire, DarkComet, NanoCore, LuminosityLink, Remcos, ImminentMonitor, NJRat, Quasar, Adwind, and Hworm.
62 distinct techniques documented for this family, organized by ATT&CK tactic.
visiting remote URLs, likely to perform Clickfraud
Attackers often exploit vulnerabilities in WordPress plugins to get access to the admin panel of the CMS. Once the access is obtained, they can host their payload on the server.
FortiGuard Labs collected a malicious email with the subject “UPS DELIVERY UPDATE” ... This email message contains a fake order tracking number with a bogus hyperlink that, rather than connecting the user to a legitimate website, downloads a jar malware.
In 2015, EFF’s clients in the Respublika litigation were the targets of several spearphishing attempts they had received via email... we analyzed these emails and discovered that they contained malware
Both waves apparently employed a similar social engineering tactic to lure victims into clicking the malicious URLs.
[jRAT](https://attack.mitre.org/software/S0283) uses WMIC to identify anti-virus products installed on the victim’s machine and to obtain firewall details.(Citation: jRAT Symantec Aug 2018)
...establishing persistence through registry entries, scheduled tasks, or user-level startup entries.
"Scheduled Task/Job: Scheduled Task" (listed under Agent Tesla, AsyncRAT, jRAT, NETWIRE, Revenge RAT)
This second stage JAR is dropped at %APPDATA% location and executed with java.exe.
[jRAT](https://attack.mitre.org/software/S0283) has command line access.(Citation: Kaspersky Adwind Feb 2016)
[jRAT](https://attack.mitre.org/software/S0283) has been distributed as HTA files with VBScript.(Citation: Kaspersky Adwind Feb 2016)
[jRAT](https://attack.mitre.org/software/S0283) has been distributed as HTA files with JScript.(Citation: Kaspersky Adwind Feb 2016)
The PDF document from the spearphishing email entices the victim to download a fake update to acrobat.
A JAR file is downloaded and executed. Once executed via Java (javaw.exe), the malware establishes a foothold on the system.
[jRAT](https://attack.mitre.org/software/S0283) can list and manage startup entries.(Citation: Kaspersky Adwind Feb 2016)
...establishing persistence through registry entries, scheduled tasks, or user-level startup entries.
"Scheduled Task/Job: Scheduled Task" (listed under Agent Tesla, AsyncRAT, jRAT, NETWIRE, Revenge RAT)
JRat modules include the following functionality: ... editing the host registry
On some of the compromised WordPress sites used to host the malicious JAR files, we were able to find PHP web shells that attackers used to control the web server.
When the main-jar runs, it adds itself into the startup group in the system registry so that it will be run whenever the system starts.
[jRAT](https://attack.mitre.org/software/S0283) can list and manage startup entries.(Citation: Kaspersky Adwind Feb 2016)
...establishing persistence through registry entries, scheduled tasks, or user-level startup entries.
"Scheduled Task/Job: Scheduled Task" (listed under Agent Tesla, AsyncRAT, jRAT, NETWIRE, Revenge RAT)
When the main-jar runs, it adds itself into the startup group in the system registry so that it will be run whenever the system starts.
[jRAT](https://attack.mitre.org/software/S0283)’s Java payload is encrypted with AES.(Citation: jRAT Symantec Aug 2018) Additionally, backdoor files are encrypted using DES as a stream cipher. Later variants of [jRAT](https://attack.mitre.org/software/S0283) also incorporated AV evasion methods such as Java bytecode obfuscation via the commercial Allatori obfuscation tool.(Citation: Symantec Frutas Feb 2013)
[jRAT](https://attack.mitre.org/software/S0283) payloads have been packed.(Citation: Kaspersky Adwind Feb 2016)
Phishers and scammers traditionally misuse the names of well-known organizations and individuals in order to make their malicious messages seem legitimate... The downloaded file is named “upslabels.jar”.
[jRAT](https://attack.mitre.org/software/S0283) has a function to delete files from the victim’s machine.(Citation: jRAT Symantec Aug 2018)
This variant also contains a lot of resource files ... which are encrypted. The parent-jar reads and decrypts them, and then some of them will be combined as Java class files, constant strings, or URL strings.
SideCopy has sent Microsoft Office Publisher documents to victims that have embedded malicious macros that execute an hta file via calling mshta.exe.
JRat also employs anti-virtualization features to detect and shut down if it is being run in VirtualBox, VMware, or other virtualization software.
The malware enforces strict geofencing controls by checking system language, locale settings, and external IP addresses. Execution proceeds only if the system matches Turkish regional indicators.
It then loads data from a resource file and decrypts it using the AES algorithm to get a class file. It will be a dynamic class to be loaded as “qeaqtor.Loader” by calling the ClassLoader.defineClass method.
JRat modules include the following functionality: ... editing the host registry
The covered campaigns have primarily been engineered for credential harvesting. Some utilize commodity malware, where others simply redirect to weaponized phishing sites.
[jRAT](https://attack.mitre.org/software/S0283) has the capability to log keystrokes from the victim’s machine, both offline and online.(Citation: jRAT Symantec Aug 2018)(Citation: Kaspersky Adwind Feb 2016)
[jRAT](https://attack.mitre.org/software/S0283) can capture passwords from common chat applications such as MSN Messenger, AOL, Instant Messenger, and and Google Talk.(Citation: Kaspersky Adwind Feb 2016)
[jRAT](https://attack.mitre.org/software/S0283) can steal keys for VPNs and cryptocurrency wallets.(Citation: Kaspersky Adwind Feb 2016)
AADInternals can gather unsecured credentials for Azure AD services, such as Azure AD Connect, from a local machine... Agent Tesla has the ability to extract credentials from configuration or support files... APT33 has used a variety of publicly available tools like LaZagne to gather credentials.
[jRAT](https://attack.mitre.org/software/S0283) can capture passwords from common web browsers such as Internet Explorer, Google Chrome, and Firefox.(Citation: Kaspersky Adwind Feb 2016)
[jRAT](https://attack.mitre.org/software/S0283) can list local services.(Citation: Kaspersky Adwind Feb 2016)
[jRAT](https://attack.mitre.org/software/S0283) can gather victim internal and external IPs.(Citation: Kaspersky Adwind Feb 2016)
MITRE ATT&CK TIDs: ... Remote System Discovery T1018
[jRAT](https://attack.mitre.org/software/S0283) can list network connections.(Citation: Kaspersky Adwind Feb 2016)
[jRAT](https://attack.mitre.org/software/S0283) can query and kill system processes.(Citation: Symantec Frutas Feb 2013)
[jRAT](https://attack.mitre.org/software/S0283) collects information about the OS (version, build type, install date) as well as system up-time upon receiving a connection from a backdoor.(Citation: Symantec Frutas Feb 2013)
[jRAT](https://attack.mitre.org/software/S0283) can browse file systems.(Citation: Kaspersky Adwind Feb 2016)(Citation: Symantec Frutas Feb 2013)
[jRAT](https://attack.mitre.org/software/S0283) can map UPnP ports.(Citation: Kaspersky Adwind Feb 2016)
JRat also employs anti-virtualization features to detect and shut down if it is being run in VirtualBox, VMware, or other virtualization software.
The malware enforces strict geofencing controls by checking system language, locale settings, and external IP addresses. Execution proceeds only if the system matches Turkish regional indicators.
Examples include 'Action RAT can use WMI to gather AV products installed on an infected host,' 'FlawedAmmyy leverages WMI to enumerate anti-virus on the victim,' and 'TA2541 has used WMI to query targeted systems for security products.'
[jRAT](https://attack.mitre.org/software/S0283) can list security software, such as by using WMIC to identify anti-virus products installed on the victim’s machine and to obtain firewall details.(Citation: jRAT Symantec Aug 2018)(Citation: Kaspersky Adwind Feb 2016)
[jRAT](https://attack.mitre.org/software/S0283) can support RDP control.(Citation: Kaspersky Adwind Feb 2016)
MITRE ATT&CK TIDs: ... Data from Local System T1005
The covered campaigns have primarily been engineered for credential harvesting. Some utilize commodity malware, where others simply redirect to weaponized phishing sites.
[jRAT](https://attack.mitre.org/software/S0283) has the capability to log keystrokes from the victim’s machine, both offline and online.(Citation: jRAT Symantec Aug 2018)(Citation: Kaspersky Adwind Feb 2016)
[jRAT](https://attack.mitre.org/software/S0283) has the capability to take screenshots of the victim’s machine.(Citation: jRAT Symantec Aug 2018)(Citation: Kaspersky Adwind Feb 2016)
[jRAT](https://attack.mitre.org/software/S0283) can capture clipboard data.(Citation: Kaspersky Adwind Feb 2016)
[jRAT](https://attack.mitre.org/software/S0283) can capture microphone recordings.(Citation: Kaspersky Adwind Feb 2016)
[jRAT](https://attack.mitre.org/software/S0283) has the capability to capture video from a webcam.(Citation: jRAT Symantec Aug 2018)(Citation: Kaspersky Adwind Feb 2016)
Over the last six years there has been an increased shift by malware authors to secure their C&C communications using the SSL/TLS protocol to stymie detection and blend in with normal traffic.
[jRAT](https://attack.mitre.org/software/S0283) can serve as a SOCKS proxy server.(Citation: Kaspersky Adwind Feb 2016)
"APT41 used a tool called CLASSFON to covertly proxy network communications." / "BADCALL functions as a proxy server between the victim and C2 server." / "Sandworm Team's BCS-server tool can create an internal proxy server to redirect traffic..."
Aria-body has the ability to use a reverse SOCKS proxy module... BADHATCH can use SOCKS4 and SOCKS5 proxies... GoBear implements SOCKS5 proxy functionality... Neo-reGeorg has the ability to establish a SOCKS5 proxy... Remcos uses the infected hosts as SOCKS5 proxies...
[jRAT](https://attack.mitre.org/software/S0283) can download and execute files.(Citation: jRAT Symantec Aug 2018)(Citation: Kaspersky Adwind Feb 2016)(Citation: Symantec Frutas Feb 2013)
Adwind RAT is capable of controlling the victim’s desktop remotely. In this variant, the attacker used robot class to control mouse, keyboard by sending commands from a remote machine.
Attackers commonly use dynamic DNS services for their C&C infrastructure... dynamic DNS allows short TTLs so that attackers can quickly switch between IP addresses or to only point the domains to the real C&C server when the C&C server is in use.
"...sells a 'bulletproof dynamic DNS service' that promises not to keep records of customer activity... dynamic DNS... allow bad guys to keep their malware and scam sites up..."
[jRAT](https://attack.mitre.org/software/S0283) can be configured to reconnect at certain intervals.(Citation: Kaspersky Adwind Feb 2016)
MITRE ATT&CK TIDs: ... Data Destruction T1485
Jacksbot has the usual backdoor functionality, including the following capabilities: ... performing denial of service attacks
Three commands under ‘main’ that help attacker to Shut down, Reboot or log-off victim machine
Scammers running business email compromise (BEC) fraud have grown in number, attack more often, and turn to remote access trojans as the preferred malware type to accompany their raids.
161 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
102 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.