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

Expert Insights

Related Content

Malware & Threats

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

Cybercrime

CISA, NSA, and MS-ISAC issued an alert on the malicious use of RMM software to steal money from bank accounts.

Cybercrime

Chinese threat actor DragonSpark has been using the SparkRAT open source backdoor in attacks targeting East Asian organizations.

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...

Application Security

Electric car maker Tesla is using the annual Pwn2Own hacker contest to incentivize security researchers to showcase complex exploit chains that can lead to...

Malware & Threats

Cybercrime in 2017 was a tumultuous year "full of twists and turns", with new (but old) infection methods, a major return to social engineering,...

Cyberwarfare

Russia-linked cyberespionage group APT29 has been observed using embassy-themed lures and the GraphicalNeutrino malware in recent attacks.

Malware & Threats

Norway‎-based DNV said a ransomware attack on its ship management software impacted 1,000 vessels.