Hackers use WinRAR as a Cyberweapon to Conduct Destructive Cyberattacks

CERT-UA (Ukrainian Government Computer Emergency Response Team) recently reported that the Ukrainian state networks suffered a cyber attack attributed to the notorious ‘Sandworm’ hacking group from Russia.

The attackers reportedly employed WinRar to destroy critical data on various government devices.

Russian hackers successfully infiltrated critical systems in Ukrainian state networks by exploiting compromised VPN accounts that lacked adequate protection from multi-factor authentication measures.

Upon gaining unauthorized access to the targeted network, the perpetrators utilized specialized scripts that wiped out critical data on Windows and Linux systems. 

Their method of choice was the WinRar archiving program, which was exploited to carry out the devastating attacks.

Filetypes Targeted

The Sandworm hacking group employed a BAT script called ‘RoarBat,’ to perform malicious operations on Windows devices. 

This script was designed to scan various disks and targeted directories, seeking out specific file types like:-

doc, docx, rtf, txt, xls, xlsx, ppt, pptx, vsd, vsdx, pdf, png, jpeg, jpg, zip, rar, 7z, mp4, SQL, PHP, vbk, vib, vrb, p7s, sys, DLL, exe, bin, dat

The attackers employed a specific tactic when utilizing WinRar, using the “-df” command-line option. 

This feature automatically deletes files as they are being archived, thus allowing the perpetrators to destroy critical data with ease systematically.

Following the archive process, the perpetrators went further and deleted the archives themselves. 

As per CERT-UA, the RoarBAT script was executed through a scheduled task centrally created and distributed across all devices on the Windows domain.

This distribution was facilitated using group policies, which allowed for seamless task implementation across the entire network.

The attackers opted for a different approach when targeting Linux machines, utilizing a Bash script instead of the BAT script employed on Windows systems. 

This script used the “dd” utility to overwrite specific file types with zero bytes, rendering the data completely irretrievable.

Given the nature of data replacement carried out by the dd tool, the likelihood of recovering files that have been “emptied” using this method is extremely low. 

It may even be impossible to restore the contents of the affected files. Using legitimate programs such as the ‘dd’ command and WinRar was likely a strategic move by the threat actors to evade detection by AV tools.

According to CERT-UA, the recent cyber attack on Ukrainian state networks resembles a similar incident that occurred in January 2023.

In light of recent events, CERT-UA has issued recommendations to help critical organizations nationwide mitigate the risk of similar cyber attacks.

Struggling to Apply The Security Patch in Your System? – 
Try All-in-One Patch Manager Plus

Gurubaran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Cisco ASA Devices Vulnerable to SSH Remote Command Injection Flaw

Cisco has issued a critical security advisory regarding a vulnerability in its Adaptive Security Appliance…

60 mins ago

Google Patches Multiple Chrome Security Vulnerabilities

Google has released several security patches for its Chrome browser, addressing critical vulnerabilities that malicious…

2 hours ago

Grayscale Investments Data Breach Exposes 693K User Records Reportedly Affected

Grayscale Investments, a prominent crypto asset manager, has reportedly suffered a data breach affecting 693,635…

22 hours ago

Threat Actors Allegedly Selling Database of 1,000 NHS Email Accounts

A database containing over 1,000 email accounts associated with the National Health Service (NHS) has…

22 hours ago

Mallox Ransomware Vulnerability Lets Victims Decrypt Files

Researchers from Avast have uncovered a vulnerability in the cryptographic schema of the Mallox ransomware,…

24 hours ago

Red Hat NetworkManager Flaw Allows Hackers to Gain Root Access

A recently discovered vulnerability in Red Hat's NetworkManager, CVE-2024-8260, has raised concerns in the cybersecurity…

1 day ago