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.

ABTV //

Malware

11/28/2018
09:35 AM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

New Worm Helps Spread Fileless Version of Bladabindi RAT

An updated version of the Bladabindi RAT is fileless and can now be spread through removable USB and other storage devices.

Trend Micro researchers have discovered a new worm that is both fileless and propagates through removable USB drives and other storage devices.

In their blog post, the Trendies found that the worm installs a new and updated version of Bladabindi (njRAT/Njw0rm) -- a remote access tool (RAT) that they write has a myriad of backdoor capabilities. It can do keylogging, as well as carrying out distributed denial of service (DDoS) attacks.

This type of customizable and adaptability has kept it in use for a longer period of time than usual for these types of RATs.

AutoIt, a Windows freeware scripting language, is used to create the backdoor payload. The FileInstall command is used to compile the payload, as well as the main script, into a single executable. The researchers note that this makes the worm's payload -- the backdoor -- difficult to detect.

Screenshot showing a common indicator of a compiled AutoIt script\r\n(Source: Trend Micro)\r\n
Screenshot showing a common indicator of a compiled AutoIt script
\r\n(Source: Trend Micro)\r\n

To learn more about the RAT, researchers used an AutoIt script decompiler to figure out how the payload actually functioned.

Their research found that it deletes any file named Tr.exe from the system's %TEMP% directory so it can install its own version of Tr.exe. This is the file that is then executed, and the worm will also set a shortcut for the file in the %STARTUP% directory.

To propagate, the RAT will put a hidden copy of itself on any removable drive that is found on the infected system. It also will move all the original files that are found on the removable drive from its root to a created folder named "sss."

Tr.exe is an AutoIt-compiled executable script which is then dropped to the removable drive.

It then accesses an auto-run registry --HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run -- named AdobeMX to execute PowerShell in order to load the encoded executable via reflective loading. That means loading an executable from memory rather than from the system's disks.

This reflective loading is why the worm is called fileless, since the executable is loaded directly from the registry to the memory of PowerShell. Since the payload does not come from a system disk, it makes detection by standard antivirus software difficult.

The researchers found that the RAT has been .NET-compiled, and uses commercial code protector software for obfuscation.

Once the RAT is activated it becomes a data-stealing system and backdoor. It is capable of the theft of credentials during browser sessions, capturing webcam footage, as well as performing both the download and execution of attacker specified files. It also it creates a firewall policy that adds PowerShell's process to the list of allowed programs in the system.

Any files from the command and control server on port 1177 are stored in the %TEMP% folder as Trojan.exe.

The Trend Micro researchers offer fairly standard advice on mitigation:

Users and especially businesses that still use removable media in the workplace should practice security hygiene. Restrict and secure the use of removable media or USB functionality, or tools like PowerShell (particularly on systems with sensitive data), and proactively monitor the gateway, endpoints, networks, and servers for anomalous behaviors and indicators such as C&C communication and information theft.

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
Commentary
How SolarWinds Busted Up Our Assumptions About Code Signing
Dr. Jethro Beekman, Technical Director,  3/3/2021
News
'ObliqueRAT' Now Hides Behind Images on Compromised Websites
Jai Vijayan, Contributing Writer,  3/2/2021
News
Attackers Turn Struggling Software Projects Into Trojan Horses
Robert Lemos, Contributing Writer,  2/26/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
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
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-21510
PUBLISHED: 2021-03-08
Dell iDRAC8 versions prior to 2.75.100.75 contain a host header injection vulnerability. A remote unauthenticated attacker may potentially exploit this vulnerability by injecting arbitrary ‘Host’ header values to poison a web-cache or trigger redirections.
CVE-2020-27575
PUBLISHED: 2021-03-08
Maxum Rumpus 8.2.13 and 8.2.14 is affected by a command injection vulnerability. The web administration contains functionality in which administrators are able to manage users. The edit users form contains a parameter vulnerable to command injection due to insufficient validation.
CVE-2020-27576
PUBLISHED: 2021-03-08
Maxum Rumpus 8.2.13 and 8.2.14 is affected by cross-site scripting (XSS). Users are able to create folders in the web application. The folder name is insufficiently validated resulting in a stored cross-site scripting vulnerability.
CVE-2020-27838
PUBLISHED: 2021-03-08
A flaw was found in keycloak in versions prior to 13.0.0. The client registration endpoint allows fetching information about PUBLIC clients (like client secret) without authentication which could be an issue if the same PUBLIC client changed to CONFIDENTIAL later. The highest threat from this vulner...
CVE-2021-21503
PUBLISHED: 2021-03-08
PowerScale OneFS 8.1.2,8.2.2 and 9.1.0 contains an improper input sanitization issue in a command. The Compadmin user could potentially exploit this vulnerability, leading to potential privileges escalation.