Security Experts:

Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

Vietnam-Linked Hackers Use Atypical Executables to Avoid Detection

OceanLotus, a Vietnam-linked cyber-espionage group, has been using atypical executable formats in an attempt to avoid detection and hinder analysis, according security firm Malwarebytes. 

OceanLotus, a Vietnam-linked cyber-espionage group, has been using atypical executable formats in an attempt to avoid detection and hinder analysis, according security firm Malwarebytes. 

Also known as APT32 and APT-C-00 and well-resourced and determined, the hacking group is known for targeting corporate and government organizations in Southeast Asia, particularly in Vietnam, the Philippines, Laos, and Cambodia.

The group has been observed employing a two-stage attack for malware distribution purposes, which involves the use of a dropper to gain initial access to a target system, and a fully-fledged backdoor to perform various actions on the victim system. 

One of the manners in which the hackers manage to remain undetected when attempting to compromise a system is the use of atypical executable formats that are only loaded by proprietary loaders, Malwarebytes’ security researcher Aleksandra “Hasherezade” Doniec explains

An analyzed sample, dated 2017 and delivered via spear-phishing email message, includes two elements, BLOB and CAB, both of which are executables in the same unknown format. Possibly created by conversion from PE format, the files feature fully custom header and loading, and do not preserve information typical to PE. 

The sample was delivered as a zipped executable featuring an icon that attempted to imitate a PDF. Once executed, the sample copies itself into %TEMP%, unpacks, and launches a decoy PDF, while the dropper unpacks the real payload in the background, into C:ProgramDataMicrosoft Help.

The malware bypasses User Account Control (UAC) and achieves persistence by creating a Run key that points to the dropped script. The sample, the security researcher says, has an expiration date and won’t work after that. 

The main executable is called sporder.exe and imports the DLL SPORDER.dll, which in turn imports another library, hp6000.dll. The dropped PE files, however, are just used as loaders, and the main malware functionality is provided by two unknown files, BLOB and CAB.

Both of these files are loaded by the second DLL and both are obfuscated using XOR, although with different keys. The CAB file is an installer that achieves persistence by creating a service. It is loaded first, to install the malware, and then deleted.

“All the espionage-related features are performed by the BLOB that is loaded later and kept persistent in the memory of the loader. In addition to being in a custom format, BLOB is also heavily obfuscated,” Hasherezade notes. 

The malware was observed attempting to connect to one of multiple command and control (C&C) servers, including some that are known OceanLotus domains. 

“Ocean Lotus often surprises researchers with its creative obfuscation techniques. Recently, a different sample of Ocean Lotus was found using steganography to hide their executables. The format that we described is just one of many unusual forms that their implants can take,” the researcher concludes. 

Related: Hackers Are Loving PowerShell, Study Finds

Related: “OceanLotus” Spies Use New Backdoor in Recent Attacks

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join this webinar to learn best practices that organizations can use to improve both their resilience to new threats and their response times to incidents.

Register

Join this live webinar as we explore the potential security threats that can arise when third parties are granted access to a sensitive data or systems.

Register

Expert Insights

Related Content

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Cybercrime

No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Malware & Threats

Threat actors are increasingly abusing Microsoft OneNote documents to deliver malware in both targeted and spray-and-pray campaigns.

Malware & Threats

Microsoft plans to improve the protection of Office users by blocking XLL add-ins from the internet.

Cybercrime

More than 3,800 servers around the world have been compromised in recent ESXiArgs ransomware attacks, which also include an improved process.

Malware & Threats

A vulnerability affecting IBM’s Aspera Faspex file transfer solution, tracked as CVE-2022-47986, has been exploited in attacks.

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.