Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

IoT/Embedded Security //

Command and Control

6/20/2018
08:05 AM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

Betabot Trojan Reborn in New Sophisticated Form

As far as malware goes, the Betabot Trojan has gone through several different incarnations. However, its latest form might be the most sophisticated and laying the groundwork for an even larger attack.

In malware, everything old becomes new again. An exploit may work for a time and then be mitigated, but that doesn't stop threat actors from later trying it again in a different form.

So it is with the Betabot Trojan. It was first a banking Trojan that evolved into a password stealer. Mutations along the way turned it into botnet capable of distributing malicious programs.

However, it has now changed again, security researcher Wojciech notes in an recent article.

What it has done in this latest phase is try and exploit CVE-2017–11882, a decades-old vulnerability in Window's Equation Editor that was patched in November 2017. The idea is that Betabot embeds an Object Linking and Embedding (OLE) object into a specially crafted RTF file that is attached to a Word document in order to execute commands on the victim's system.

(Source: Flickr)
(Source: Flickr)

The embedded objects (inteldriverupd1.sct, task.bat, decoy.doc, exe.exe, and 2nd.bat) all look legitimate to the victim, which helps the social engineering part of the attack. Wojciech writes that inteldriverupd1.sct allows the attacker to take advantage of the Windows Script Component. It then is able to create a new object, which will go and run the task.bat script.

Task.bat will check for presence of a "block.txt" file in the temp directory. If the file does not exist, the script will create it. At the end of the script, it starts "2nd.bat" and then deletes itself.

The last of the preliminary stages is executing the 2nd.bat script. It first starts the main exe file and then kills the Word process (winword.exe). After that, Wojciech found that it deletes the Resiliency directory from registry -- for every version -- to hide its own tracks and prevent recovery of the document.

Now, it starts to execute what it really wants. First, a connection is made to "hxxp://goog[.]com/newbuild/t.php?stats=send&thread=0", where it gets "exe.exe".

Exe.exe has multiple layers of obfuscation in it, including embedded images that are "noisy," which it then uses for the data to construct its true executable.

It also does function checks for processes (vmacthlp, vmtools, vboxservice). Should one of them be running, it will terminate.


Now entering its fifth year, the 2020 Vision Executive Summit is an exclusive meeting of global CSP executives focused on navigating the disruptive forces at work in telecom today. Join us in Lisbon on December 4-6 to meet with fellow experts as we define the future of next-gen communications and how to make it profitable.

After the new Betabot variant has been constructed from all this multistage effort, the real fun starts.

After the initial web connection is made, the malware goes through a few redirects (hxxp://sharesale[.]com for one) and ends up at hxxp://shirtbattle[.]com. It seems that the main C&C is at hxxp://onedriveservice[.]com, however.

Betabot is then let loose to burn and pillage the villagers.

The newest exploit bears watching because of all the care that goes into getting it launched and running. Hiding its tracks and its methods suggests that another payload besides Betabot could be downloaded from the C&C server if the threat actor desired.

Related posts:

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Comments
Threaded  |  Newest First  |  Oldest First
Edge-DRsplash-10-edge-articles
I Smell a RAT! New Cybersecurity Threats for the Crypto Industry
David Trepp, Partner, IT Assurance with accounting and advisory firm BPM LLP,  7/9/2021
News
Attacks on Kaseya Servers Led to Ransomware in Less Than 2 Hours
Robert Lemos, Contributing Writer,  7/7/2021
Commentary
It's in the Game (but It Shouldn't Be)
Tal Memran, Cybersecurity Expert, CYE,  7/9/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Enterprise Cybersecurity Plans in a Post-Pandemic World
Download the Enterprise Cybersecurity Plans in a Post-Pandemic World report to understand how security leaders are maintaining pace with pandemic-related challenges, and where there is room for improvement.
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-24930
PUBLISHED: 2021-09-27
Beijing Wuzhi Internet Technology Co., Ltd. Wuzhi CMS 4.0.1 is an open source content management system. The five fingers CMS backend in***.php file has arbitrary file deletion vulnerability. Attackers can use vulnerabilities to delete arbitrary files.
CVE-2021-37270
PUBLISHED: 2021-09-27
There is an unauthorized access vulnerability in the CMS Enterprise Website Construction System 5.0. Attackers can use this vulnerability to directly access the specified background path without logging in to the background to obtain the background administrator authority.
CVE-2021-37274
PUBLISHED: 2021-09-27
Kingdee KIS Professional Edition has a privilege escalation vulnerability. Attackers can use the vulnerability to gain computer administrator rights via unspecified loopholes.
CVE-2021-41095
PUBLISHED: 2021-09-27
Discourse is an open source discussion platform. There is a cross-site scripting (XSS) vulnerability in versions 2.7.7 and earlier of the `stable` branch, versions 2.8.0.beta6 and earlier of the `beta` branch, and versions 2.8.0.beta6 and earlier of the `tests-passed` branch. Rendering of some error...
CVE-2021-41096
PUBLISHED: 2021-09-27
Rucky is a USB HID Rubber Ducky Launch Pad for Android. Versions 2.2 and earlier for release builds and versions 425 and earlier for nightly builds suffer from use of a weak cryptographic algorithm (RSA/ECB/PKCS1Padding). The issue will be patched in v2.3 for release builds and 426 onwards for night...