Virtualization Technology News and Information
Article
RSS
Kaspersky uncovers clues behind Andariel APT group ransomware attacks targeting South Korean companies

Earlier this year, Kaspersky researchers discovered a malicious Word document which utilized a novel infection scheme with a three-stage payload, that targeted selected industries in South Korea. Initial findings suggested that this was the work of the Lazarus advanced persistent threat (APT) group; further analysis by the Kaspersky Global Research and Analysis (GReAT) team revealed the attack was actually conducted by the Andariel group, a subgroup of the Lazarus APT, based on several telltale signs in its code and means of execution.

The Kaspersky team attributed this campaign to Andariel based on the way the hackers implemented Windows commands and the decryption routine malware used - tactical fingerprints that match previous approaches used by Andariel. Two elements of the code overlap with the PEBBLEDASH malware family attributed to the Lazarus group with weak confidence.

The Andariel group is a threat actor designated by the Korean Financial Security Institute as a sub-group of Lazarus. The group prioritizes attacks on South Korean institutions with an emphasis on financial gain and cyber-espionage. From 2017, the Andariel Group shifted its focus to attacks for monetary gain against financial institutions, as well as a previous operation that compromised ATMs in South Korea.    

"While the attacks of Andariel are primarily targeted towards institutions in South Korea, organizations irrespective of geographical borders must nevertheless remain vigilant against cyberattacks and preemptively prevent the weakest link - the human element in employees - from potentially compromising security," Seongsu Park, Senior Security Researcher, Kaspersky GReAT APAC noted.

Ransomware - wolf in Word's clothing

Kaspersky GReAT uncovered the aforementioned suspicious Word document on VirusTotal which had the innocuous file name ‘Form of participation application.doc' written in Korean script. While this attempt was discovered in April 2021, the third stage payload has been spread out by the threat actor from the middle of 2020 onwards.

Clicking and opening the Word doc activates the first of a three-stage payload - the launch of a malicious macro that is executed in the background while a decoy document is displayed to the user. In the first stage, the executed macro runs a hidden HTML Application (HTA) file which contains the second stage payload. This payload communicates with a remote command-and-control (C2) server which then prepares the third-stage payload.

Cunningly, the second and third stage payloads mimic a legitimate browser by using the Internet Explorer icon and corresponding file names. Once the third stage is launched, it checks if the system is a sandbox environment by looking for the presence of specific modules.

If the coast is clear, the third stage payload sends a message to the same C2 server. If it gets a positive message string from the C2 server - in effect a go ahead to proceed - the deployed malware runs. It can then conduct backdoor operations that include executing Windows commands, connecting to a given IP address, listing files and manipulating them, as well as taking a screenshot. This effectively gives the threat actor unimpeded access to the compromised system.

One of the targeted victims in South Korea encountered a custom-made ransomware attack by the threat actor that is controlled by command line parameters, rather than something off-the-shelf. If specific criteria are fulfilled, the ransomware employs an AES-128 CBC code algorithm to encrypt almost all of the files on the target machine, except for system-critical files, to allow the ransomware victim to still interact with the machine and potentially pay the ransom. It also leaves a ransom note on the desktop and in the startup folder to prompt the victim to pay the ransom in Bitcoin.

Evidence also showed that Andariel used another infection vector that mimicked a PDF file. The original file was not available for analysis, though its existence was extrapolated from artefacts gleaned from the exPDFReader tool made by a South Korean company. The infection path for this variant is unclear due to lack of evidence, though speculation is that it either relied on a software exploit or that it masqueraded as a legitimate file, fooling users into opening it.

Published Tuesday, June 15, 2021 2:18 PM by David Marshall
Filed under:
Comments
There are no comments for this post.
To post a comment, you must be a registered user. Registration is free and easy! Sign up now!
Calendar
<June 2021>
SuMoTuWeThFrSa
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910