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
Newest First  |  Oldest First  |  Threaded View
Edge-DRsplash-10-edge-articles
7 Old IT Things Every New InfoSec Pro Should Know
Joan Goodchild, Staff Editor,  4/20/2021
News
Cloud-Native Businesses Struggle With Security
Robert Lemos, Contributing Writer,  5/6/2021
Commentary
Defending Against Web Scraping Attacks
Rob Simon, Principal Security Consultant at TrustedSec,  5/7/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-16632
PUBLISHED: 2021-05-15
A XSS Vulnerability in /uploads/dede/action_search.php in DedeCMS V5.7 SP2 allows an authenticated user to execute remote arbitrary code via the keyword parameter.
CVE-2021-32073
PUBLISHED: 2021-05-15
DedeCMS V5.7 SP2 contains a CSRF vulnerability that allows a remote attacker to send a malicious request to to the web manager allowing remote code execution.
CVE-2021-33033
PUBLISHED: 2021-05-14
The Linux kernel before 5.11.14 has a use-after-free in cipso_v4_genopt in net/ipv4/cipso_ipv4.c because the CIPSO and CALIPSO refcounting for the DOI definitions is mishandled, aka CID-ad5d07f4a9cd. This leads to writing an arbitrary value.
CVE-2021-33034
PUBLISHED: 2021-05-14
In the Linux kernel before 5.12.4, net/bluetooth/hci_event.c has a use-after-free when destroying an hci_chan, aka CID-5c4c8c954409. This leads to writing an arbitrary value.
CVE-2019-25044
PUBLISHED: 2021-05-14
The block subsystem in the Linux kernel before 5.2 has a use-after-free that can lead to arbitrary code execution in the kernel context and privilege escalation, aka CID-c3e2219216c9. This is related to blk_mq_free_rqs and blk_cleanup_queue.