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

240+ Domains Used By PhaaS Platform ONNX Seized by Microsoft

Microsoft's Digital Crimes Unit (DCU) has disrupted a significant phishing-as-a-service (PhaaS) operation run by Egypt-based…

14 hours ago

Russian TAG-110 Hacked 60+ Users With HTML Loaded & Python Backdoor

The Russian threat group TAG-110, linked to BlueDelta (APT28), is actively targeting organizations in Central…

14 hours ago

Earth Kasha Upgraded Their Arsenal With New Tactics To Attack Organizations

Earth Kasha, a threat actor linked to APT10, has expanded its targeting scope to India,…

14 hours ago

Raspberry Robin Employs TOR Network For C2 Servers Communication

Raspberry Robin, a stealthy malware discovered in 2021, leverages advanced obfuscation techniques to evade detection…

15 hours ago

145,000 ICS Systems, Thousands of HMIs Exposed to Cyber Attacks

Critical infrastructure, the lifeblood of modern society, is under increasing threat as a new report…

20 hours ago

DOJ Asks Google to Sell $20 Billion Worth Chrome to End Monopoly

In a dramatic escalation of its antitrust lawsuit against Google, the U.S. Department of Justice…

20 hours ago