Inside the Ragnar Locker ransomware

September 2, 2022

The Ragnar Locker ransomware gang has taken credit for a recent attack on the Greek pipeline company DEFSA, according to security researchers.

In a research paper on the gang and how its ransomware strain operates, Cybereason notes that DEFSA is the second important pipeline company that has been hit by ransomware in the past 15 months, after the Darkside group’s attack on Colonial Pipeline.

In addition, four energy companies were hit recently by ransomware, including three in Europe. Hive has claimed it hit China’s ENN Group, BlackCat says it hit Luxembourg’s Creos/Encevo, and Cl0p hit South Staffordshire PLC.

These attacks suggest an increasing focus on the energy sector.

The report notes that Ragnar Locker, which has been running since 2019, checks infected devices before executing and won’t run in Russia, Ukraine, or countries in the Commonwealth of Independent States, a group of nations formerly part of the Soviet Union.

Like many pieces of malware, Ragnar Locker checks if security products such as antivirus, virtual-based software, backup solutions, and IT remote management solutions are installed.

If the PC/server isn’t on the list of banned countries, the ransomware extracts information about the infected machine. First, it collects the computer name and the user name using the API calls GetComputerNameW and GetUserNameW.

Then the ransomware queries the registry to collect the machine GUID and Windows version.

Before encryption, Ragnar Locker spawns the following child processes:

    • wmic.exe shadowcopy delete: This system command deletes all shadow copies on the victim’s system, preventing data recovery by the victim
    • vssadmin delete shadows /all /quiet: This system command also deletes shadow copies, preventing data recovery by the victim
    • notepad.exe [User path]\RGNR_AABBCCDD.txt : This command launches Notepad.exe to show the ransom note to the victim.

After the ransom note is created, the actual file encryption process initiates using the Salsa20 algorithm. It excludes files ending in .db, .sys, .dll, lnk, .msi, .drv and .exe.

The report includes a list of indicators of compromise.

Earlier this year the FBI also released a report on this group.

The post Inside the Ragnar Locker ransomware first appeared on IT World Canada.

Top Stories

Related Articles

June 5, 2026 Security researchers have disclosed a new denial-of-service attack called HTTP/2 Bomb that can overwhelm major web servers more...

May 20, 2026 The Cybersecurity and Infrastructure Security Agency, the arm of the U.S. government tasked with protecting critical infrastructure more...

May 11, 2026 Instructure has restored access to its Canvas learning platform after a cyberattack disrupted service for universities and more...

May 6, 2026 The official White House mobile app for iOS and Android is facing scrutiny after a security researcher more...

Picture of Howard Solomon

Howard Solomon

Currently a freelance writer, I'm the former editor of ITWorldCanada.com and Computing Canada. An IT journalist since 1997, I've written for ITBusiness.ca and Computer Dealer News. Before that I was a staff reporter at the Calgary Herald and the Brampton (Ont.) Daily Times.
Picture of Howard Solomon

Howard Solomon

Currently a freelance writer, I'm the former editor of ITWorldCanada.com and Computing Canada. An IT journalist since 1997, I've written for ITBusiness.ca and Computer Dealer News. Before that I was a staff reporter at the Calgary Herald and the Brampton (Ont.) Daily Times.

Jim Love

Jim is an author and podcast host with over 40 years in technology.

Share:
Facebook
Twitter
LinkedIn