The Cisco Talos team, the cybersecurity research arm of Cisco networks has disclosed the new variant of Qbot (AKA Oakbot), an extensible banking trojan which is infecting vulnerable Windows computers in the wild. With its various ways to trap the user in executing the dropper, either through a malicious email, infected website links and drive-by downloads, the malware immediately takes hold of Windows Scheduler. The Task Scheduler command then executes the link:
This is in order to keep itself in memory even after a Windows reboot. It also executes a Windows Scripting host command which will further install itself deep into the system.
The new Qbot variant specifically uses three domains in order to “host” the stolen information, with randalpha_1(.)zz receiving the first 1000 bytes of the transmission, followed by randalpha_2(.)zzz and randalpha_3 both receiving the rest of the contents of the transmission. This way, the stolen data is hidden from plain sight, even though the computer itself is processing its upload to the command and control servers. The Qbot malware itself does not come as an immediate download from the dropper application, but rather two distinct files with .zzz extension. The dropper then recombined the two files, creating just one executable code, the main module of Qbot.
This is the latest technique for a malware to bypass antivirus software, by separating the main module to two files, the signature-based antimalware will never detect the signature of Qbot. Likewise, the process of stitching two files together is a normal operating system function, as two rar files can be divided into parts in order to fit in smaller media.
“There has been a change in the infection chain of Qakbot that makes it more difficult for traditional anti-virus software to detect. This may allow the download of the malware to go undetected, as the malware is obfuscated when it is downloaded and saved in two separate files. These files are then decrypted and reassembled using the type command. Detection that is focused on seeing the full transfer of the malicious executable would likely miss this updated version of Qakbot. Because of this update to persistence mechanisms, the transfer of the malicious Qbot binary will be obfuscated to the point that some security products could miss it,” concluded Benge.