Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

AutoIt-Compiled Worm Spreads Backdoor via Removable Drives

Trend Micro security researchers have discovered an AutoIt-compiled worm that infects removable drives to spread the njRAT backdoor to other machines. 

Trend Micro security researchers have discovered an AutoIt-compiled worm that infects removable drives to spread the njRAT backdoor to other machines. 

Also known as Bladabindi, the njRAT remote access Trojan has been around since at least 2013 and is considered one of the most prevalent malware families out there. The threat provides attackers with remote access to the infected machines, can steal passwords and virtual coins, log keystrokes, launch distributed denial of service (DDoS) attacks, and lock the screen.

Over the years, the available customization options and its availability on the underground made the threat the malware-to-go for various cyber-espionage campaigns, and recent attacks show that the threat remains prevalent. 

One of the most notable aspects of the new attack, Trend Micro says, is the use of AutoIt (the FileInstall command) to compile the payload and the main script into a single executable. Because of that, detection becomes more difficult, the security researchers argue

Once launched on the target machine, the AutoIt script first deletes any file named Tr.exe from the system’s %TEMP% directory, and installs its own version of the file. The dropped file is then executed, and a copy of itself is dropped in the same directory, while persistence is achieved through adding a shortcut to the Startup directory.

The malware installs a hidden copy of itself on all removable drives connected to the infected system, which ensures that it can immediately propagate to more machines. The threat then drops a shortcut file (.LNK) and moves the original files of the removable drive from root to a folder named sss.

The Tr.exe file is another AutoIt-compiled executable script that contains a base-64 encoded executable, which it writes to a registry value. The script then creates another value for persistence and uses an auto-run registry to execute PowerShell and load the encoded executable via reflective loading. 

The njRAT variant used in this attack employs water-boom[.]duckdns[.]org for command and control (C&C) purposes. Similar to previous variants of the threat, a dynamic domain name system (DNS) is used for the C&C-related URL, which allows the attackers to hide the server’s actual IP address or change it as necessary.

Advertisement. Scroll to continue reading.

When executed, the backdoor creates a firewall policy to add PowerShell’s process to the list of allowed programs in the system. 

“The worm’s payload, propagation, and technique of filelessly delivering the backdoor in the affected system make it a significant threat. Users and especially businesses that still use removable media in the workplace should practice security hygiene,” Trend Micro notes. 

Related: njRAT Gets Ransomware, Crypto-Currency Stealing Capabilities

Related: Cyber-Espionage Campaigns Target Tibetan Community in India

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Gain valuable insights from industry professionals who will help guide you through the intricacies of industrial cybersecurity.

Register

Join us for an in depth exploration of the critical nature of software and vendor supply chain security issues with a focus on understanding how attacks against identity infrastructure come with major cascading effects.

Register

Expert Insights

Related Content

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Malware & Threats

The NSA and FBI warn that a Chinese state-sponsored APT called BlackTech is hacking into network edge devices and using firmware implants to silently...

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.

Cybercrime

No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.

Cybercrime

The recent ransomware attack targeting Rackspace was conducted by a cybercrime group named Play using a new exploitation method, the cloud company revealed this...

Malware & Threats

Apple’s cat-and-mouse struggles with zero-day exploits on its flagship iOS platform is showing no signs of slowing down.