The novel loader was quick to establish distribution partnerships with at least eight malware families, all designed to steal information and give actors control over the target devices.
In 94% of the cases analyzed by the HP Threat Research team, RATDispenser does not communicate with an actor-controlled server and is solely used as a first-stage malware dropper.
This text file is heavily obfuscated to bypass detection by security software and will be decoded when the file is double-clicked and launched.
Once launched, the loader will write a VBScript file to the %TEMP% folder, which is then executed to download the malware (RAT) payload.
These layers of obfuscation help the malware evade detection 89% of the time, based on VirusTotal scan results.
“Using each sample’s earliest scan result, on average the RATDispenser samples were only detected by 11% of available anti-virus engines, or eight engines in absolute numbers.”
However, email gateways will detect the loader if the organization has enabled the blocking of executable attachments, such as .js, .exe, .bat, .com files.
Another way to stop the infection chain from unfolding is to change the default file handler for JS files, allow only digitally signed scripts to run, or disable the WSH (Windows Script Host).
HP’s researchers were able to retrieve eight different malware payloads from RATDispenser in the last three months.
The identified malware families are STRRAT, WSHRAT, AdWind, Formbook, Remcos, Panda Stealer, GuLoader, and Ratty.
In 10 out of the 155 samples analyzed, the loader established C2 communication to fetch second-stage malware, so while this is rare, the functionality is there.
In 81% of the malware drop cases, RATDispenser distributes STRRAT and WSHRAT (aka “Houdini), two powerful credential stealers and keyloggers.
Panda Stealer and Formbook are the only two payloads to be always downloaded instead of dropped.
Overall, RATDispenser appears to accommodate the distribution of both old and new malware, serving as a versatile loader for threat actors of all skill levels.