Malware

Operation Oxidovy, Threat Actors Targeting Government And Military Officials

The recent campaign targeting the Czech Republic involves a malicious ZIP file that contains a decoy LNK file and a batch script.

The LNK runs the batch script, which spawns a decoy PDF document and renames a masqueraded PDF file to a portable executable, which is copied to the startup folder for persistence. 

Decoy documents are likely used to lure the target into opening the malicious file, and the entire malware ecosystem, including HavocC2 and Freeze, is involved in this campaign.

The two decoy documents analyzed are “Password Change from the Internal Network of the Ministry of Defense (IMO)” and “The importance of and outlook for the Czech Republic in NATO.”

The first document instructs users to change their passwords by navigating to a specific URL and adhering to password complexity guidelines. 

final page of the decoy document

The second document discusses the importance of relations between the Czech Republic and NATO, including geopolitical advantages and current security issues. 

The first decoy document is irrelevant to the initial ZIP file name, while the second document is thematically relevant, which suggests that the attacker may be using a watering hole attack, targeting users interested in Czech Republic-NATO relations.

A ZIP file contains a malicious LNK file that spawns a malicious batch script, which changes the attributes of decoy documents and renames a masqueraded PDF to “AdobeReader.exe,” copying it to the Startup folder for execution.

The script also hides and protects the LNK file and payload from unauthorized modification or deletion. 

Infection Chain

Rust-based loader known as Freeze is then executed, which uses ETW patching to bypass EDRs, unhooks DLLs, repatches ETW, and decodes and decrypts shellcode, which is a malicious Havoc DLL that contains subroutines for loading modules, retrieving functions, and facilitating payload activities.

The extracted configuration specifies the execution path for both 32-bit and 64-bit architectures, the HTTP method for communication, and the Command and Control server address. 

The DemonConfig function parses this configuration from the .data section for further use and generates unique metadata for the payload, including identifying information and system details. 

Malicious Havoc Demon

It establishes a connection to the Command and Control server, decrypts received data using AES encryption, processes tasks using the CommandDispatcher, and employs sleep obfuscation techniques to avoid detection.

Seqrite identified a targeted attack against the Czech military likely originating from Russia, where the attackers used a custom Rust-based loader (AdobeReader.exe) with a unique PDB path to deploy a Havoc Demon shellcode (demon.x64.dll). 

Further analysis revealed another loader (gnobya.exe) from May 2024 that downloaded a Sliver Stager.

Both loaders used open-source tools and targeted the Czech Republic, while the C2 servers were located in the Netherlands and Bulgaria. 

Download FreeIncident Response Plan Templatefor Your Security Team – Free Download

Kaaviya

Kaaviya is a Security Editor and fellow reporter with Cyber Security News. She is covering various cyber security incidents happening in the Cyber Space.

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…

57 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