ViperSoftX malware covertly runs PowerShell using AutoIT scripting

Share:

The latest variants of the ViperSoftX info-stealing malware use the common language runtime (CLR) to load and execute PowerShell commands within AutoIt scripts to evade detection.

CLR is a key component of Microsoft’s .NET Framework, serving as the execution engine and runtime environment for .NET applications.

ViperSoftX uses CLR to load code within AutoIt, a scripting language for automating Windows tasks that are typically trusted by security solutions.

In addition, researchers found that the developer of the malware incorporated modified offensive scripts in the latest versions to increase sophistication.

Infection chain

ViperSoftX has been around since at least 2020 and it is currently distributed on torrent sites as ebooks that deliver malicious RAR archives with a decoy PDF or ebook file, a shortcut (.LNK) file, and PowerShell and AutoIT scripts disguised as JPG image files.

Malware researchers at cybersecurity company Trellix say that the infection starts when victims execute the .LNK file. During the process, it loads the PowerShell script that hides within blank spaces commands that are automatically executed in the Command Prompt.

The PS script moves to the %APPDATA%\Microsoft\Windows directory two files (zz1Cover2.jpg and zz1Cover3.jpg). One of them is the executable for AutoIt and renamed AutoIt3.exe.

To maintain persistence, the same script configures the Task Scheduler to run AutoIt3.exe every five minutes after the user logs in.

Stealthy operation

By using CLR to load and execute PowerShell commands within the AutoIt environment, ViperSoftX seeks to blend into legitimate activities on the system and evade detection.

This is possible because despite AutoIT not supporting .NET CLR natively, users can define functions that allow invoking PowerShell commands indirectly.

ViperSoftX uses heavy Base64 obfuscation and AES encryption to hide the commands in the PowerShell scripts taken from the image decoy files.

The malware also includes a function to modify the memory of the Antimalware Scan Interface (AMSI) function (‘AmsiScanBuffer’) to bypass security checks on the scripts.

For network communication, ViperSoftX uses deceptive hostnames like ‘security-microsoft.com. To stay under the radar, system information is encoded in the Base64 format and the data is delivered via a POST request with a content length of “0.” In doing so, the threat actor again tries to avoid attention due to the lack of body content.

The objective of ViperSoftX is to steal the following data from compromised systems:

  • System and hardware details
  • Cryptocurrency wallet data from browser extensions like MetaMask, Ronin Wallet, and many others
  • Clipboard contents

Trellix says that ViperSoftX has refined its evasion tactics and has become a bigger threat. By integrating CLR to execute PowerShell inside AutoIt, the malware manages to run malicious functions while evading security mechanisms that typically catch standalone PowerShell activity.

The researchers describe the malware as a sophisticated and agile modern threat that can be thwarted with “a comprehensive defense strategy that encompasses detection, prevention, and response capabilities.”

Leave a Comment

Your email address will not be published. Required fields are marked *

loader-image
London, GB
2:45 am, Jan 20, 2025
weather icon 3°C
L: 2° | H: 3°
overcast clouds
Humidity: 87 %
Pressure: 1019 mb
Wind: 3 mph E
Wind Gust: 0 mph
UV Index: 0
Precipitation: 0 mm
Clouds: 100%
Rain Chance: 0%
Visibility: 10 km
Sunrise: 7:54 am
Sunset: 4:28 pm
DailyHourly
Daily ForecastHourly Forecast
Today 9:00 pm
weather icon
2° | 3°°C 0 mm 0% 6 mph 87 % 1019 mb 0 mm/h
Tomorrow 9:00 pm
weather icon
2° | 6°°C 0 mm 0% 3 mph 95 % 1018 mb 0 mm/h
Wed Jan 22 9:00 pm
weather icon
4° | 5°°C 0.5 mm 50% 4 mph 95 % 1009 mb 0 mm/h
Thu Jan 23 9:00 pm
weather icon
2° | 8°°C 1 mm 100% 19 mph 91 % 1009 mb 0 mm/h
Fri Jan 24 9:00 pm
weather icon
4° | 11°°C 1 mm 100% 21 mph 91 % 1010 mb 0 mm/h
Today 3:00 am
weather icon
3° | 3°°C 0 mm 0% 2 mph 87 % 1019 mb 0 mm/h
Today 6:00 am
weather icon
3° | 4°°C 0 mm 0% 2 mph 82 % 1019 mb 0 mm/h
Today 9:00 am
weather icon
4° | 4°°C 0 mm 0% 3 mph 78 % 1019 mb 0 mm/h
Today 12:00 pm
weather icon
6° | 6°°C 0 mm 0% 6 mph 79 % 1019 mb 0 mm/h
Today 3:00 pm
weather icon
7° | 7°°C 0 mm 0% 6 mph 75 % 1018 mb 0 mm/h
Today 6:00 pm
weather icon
5° | 5°°C 0 mm 0% 4 mph 84 % 1018 mb 0 mm/h
Today 9:00 pm
weather icon
4° | 4°°C 0 mm 0% 4 mph 87 % 1018 mb 0 mm/h
Tomorrow 12:00 am
weather icon
3° | 3°°C 0 mm 0% 3 mph 90 % 1018 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€99,249.60
-2.83%
Ethereum(ETH)
€3,182.64
-2.57%
XRP(XRP)
€3.01
-5.16%
Tether(USDT)
€0.97
-0.04%
Solana(SOL)
€236.72
-5.14%
Dogecoin(DOGE)
€0.352917
-10.76%
USDC(USDC)
€0.97
0.00%
Shiba Inu(SHIB)
€0.000020
-11.32%
Pepe(PEPE)
€0.000016
-15.93%
Peanut the Squirrel(PNUT)
€0.382096
-26.55%
Scroll to Top