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. 

Advertisement. Scroll to continue reading.

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.

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

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.

SecurityWeek’s Threat Detection and Incident Response Summit brings together security practitioners from around the world to share war stories on breaches, APT attacks and threat intelligence.

Register

Securityweek’s CISO Forum will address issues and challenges that are top of mind for today’s security leaders and what the future looks like as chief defenders of the enterprise.

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...

Cybercrime

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

Malware & Threats

Threat actors are increasingly abusing Microsoft OneNote documents to deliver malware in both targeted and spray-and-pray campaigns.

Malware & Threats

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

Malware & Threats

A vulnerability affecting IBM’s Aspera Faspex file transfer solution, tracked as CVE-2022-47986, has been exploited in attacks.

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...

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...