A new malware variant with a low detection rate able to deliver multiple Trojans to infected systems has been disclosed by researchers.
This week, the cybersecurity team at Fortinet said a recent sample of the dropper reveals the new malware is designed to drop both RevengeRAT and WSHRAT on vulnerable Windows systems.
This VBScript code is then able to call a Shell.Application object that generates a new script file, A6p.vbs, which fetches a payload -- an additional VBScript -- from an external source.
The strings in the new code, which are also obfuscated in a likely attempt to avoid detection, pull a script file called Microsoft.vbs from a remote server and saves it in the Windows temporary folder.
"Once the aforementioned code is executed, it creates a new WScript.Shell object and collects OS environment and hardcoded data, which will eventually end in running the newly created script (GXxdZDvzyH.vbs) by calling the VBScript interpreter with the "//B" parameter," the researchers say. "This enables "batch-mode" and disables any potential warnings or alerts that can occur during execution."
A new key is then added to the Windows registry, PowerShell commands are executed to bypass execution policies, and the Revenge RAT payload is deployed.
Revenge RAT is a Trojan previously connected to campaigns targeting financial establishments, governments, and IT companies.
Once deployed by the new malware dropper, Revenge RAT connects to two command-and-control (C2) servers and collects system data from the victim before transferring this information to the C2s.
IP addresses, volume data, machine names, user names, whether or not a webcam has been detected, CPU data, language, and information relating to antivirus products and firewall installations are stolen.
The Trojan is also able to receive commands from a C2 to load malicious ASM code in memory for additional exploits.
However, the deployment of one Trojan is not the end of the attack chain. The malware dropper also executes WSH RAT as a payload, using same Microsoft.vbs script -- with a few tweaks.
WSH RAT is often actively distributed in phishing messages masquerading as well-known banks. The Trojan is being sold publicly online on a subscription basis to threat actors.
Version 1.6 of WSH RAT is loaded and this malware contains more functionality than its counterpart; including methods to maintain persistence, data theft, and information processing.
Among 29 functions is the facility to check the current user's rights, and "depending on which ones are used, it will remain as is or elevate itself (startupElevate()) to a higher user access level," the researchers say.
The Trojan will also perform a security check to disable the current security context.
WSH RAT focuses on stealing information harvested from popular browsers including Google Chrome and Mozilla Firefox. However, the malware also contains other features, such as executing files, rebooting the victim machine, uninstalling programs, and keylogging.
Also of note in the malware space this month is the emergence of Emotet with new functionality. The modular malware, which has proven popular with cybercriminals, now appears to be utilizing stealth tactics once employed by Trickbot.
Previous and related coverage
- Emotet resurgence packs in new binaries, Trickbot functions
- This huge Android trojan malware campaign was discovered after the gang behind it made basic security mistakes
- New Saefko Trojan focuses on stealing your credit card details, crypto wallets
Have a tip? Get in touch securely via WhatsApp | Signal at +447713 025 499, or over at Keybase: charlie0