APT actors are known for the frequently targeted nature of their attacks. Typically, they will handpick a decide of targets that in turn are handled with virtually surgical precision, with infection vectors, malicious implants and warheads being tailored to the victims’ identities or environment. It’s not often we observe a large-scale attack conducted by actors fitting this profile, usually due to such onslaughts being noisy, and thus putting the underlying operation at risk of being compromised by security products or researchers.

We recently came across unusual APT activity that exhibits the latter trait- it was detected in high volumes, albeit most likely aimed at a few targets of interest. This large-scale and highly active campaign was observed in South East Asia and dates back to at least October 2020, with the most recent onslaughts ascertained around the time of writing. Most of the early sightings were in Myanmar, but it now appears the attackers are much more active in the Philippines, where there are more than 10 hours as many known targets.

Further analysis revealed that the underlying actor, which we dubbed LuminousMoth, shows an affinity to the HoneyMyte group, otherwise known as Mustang Panda. This is evident in both network infrastructure linkages, and the usage of similar TTPs to deploy the Cobalt Strike Beacon as a warhead. In fact, our colleagues at ESET and Avast recently assessed that HoneyMyte was active in the same region. The proximity in time and common instance in Myanmar of both campaigns could suggest that various TTPs of HoneyMyte may have been borrowed for the activity of LuminousMoth.

Most notably though, we observed the capability of the culprit to spread to other hosts through the use of USB drives. In some cases, this was followed by deployment of a signed, but fake version of the popular application Zoom, which was in fact malware enabling the attackers to exfiltrate files from the compromised systems. The sheer volume of the two attacks elevates the question of whether this is caused by a rapid replication through removable machines or by an unknown infection vector, such as a watering hole or a supplying chain attack.

In this publication we aim to profile LuminousMoth as a separate entity, outlining the infection chain and unique toolset it leverages, the scale and targeting in its campaigns as well as its connections to HoneyMyte through common TTPs and shared resources.

What were the origins of the infections?

We identified two infection vectors used by LuminousMoth: the first one provides the attackers with initial be made available to a system. It consists of sending a spear-phishing email to the victim containing a Dropbox download link. The associate leads to a RAR archive that masquerades as a Word document by setting the “file_subpath” parameter to point to a filename with a. DOCX extension.

hxxps :// www.dropbox [.] com/ s/ esh1ywo 9irbexvd/ COVID-1 9% 20 Case% 2012 -1 1- 2020.rar?dl=0&file_subpath=%2FCOVID-19+Case+12-11-2020%2FCOVID-19+Case+12-11-2020(2).docx

The archive contains two malicious DLL libraries as well as two legitimate executables that sideload the DLL files. We detected multiples archives like this with file epithets of government entities in Myanmar, for example” COVID-1 9 Case 12 -1 1-2020( MOTC ). rar” or” DACU Projects.r0 1″( MOTC is Myanmar’s Ministry of Transport and Communications, and DACU refers to the Development Assistance Coordination Unit of the Foreign Economic Relations Department( FERD) in Myanmar ).

Infection chain

The second infection vector comes into play after the first one has successfully finished, whereby the malware tries to spread by infecting removable USB drives. This is induced possible through the use of two components: the first is a malicious library called ” version.dll” that gets sideloaded by “igfxem.exe”, a Microsoft Silverlight executable originally named “sllauncher.exe”. The second is “wwlib.dll”, another malicious library sideloaded by the legitimate binary of “winword.exe”. The purpose of ” version.dll ” is to spread to removable machines, while the purpose of ” wwlib.dll ” is to download a Cobalt Strike beacon.

The first malicious library “version.dll” has three executing branches, picked depending on the provided debates, which are: “assist”, ” system” or no controversy. If the rendered debate is “assist”, the malware generates an event called ” nfvlqfnlqwnlf” to avoid multiple executings and operates “winword.exe” in order to sideload the next stage (” wwlib.dll “). Afterwards, it modifies the registry by adding an” Opera Browser Assistant” entering as a running key, thus achieving persistence and executing the malware with the “assist” parameter upon system startup.

Registry value to run the malware at system startup

Then, the malware checks if there are any removable drives connected to the infected system. If any are observed, it itemizes the files stored on the drive and saves the list to a file called ” udisk.log “. Lastly, the malware is executed once again with the “system” parameter.

If the provided contention is “system”, a different event named “qjlfqwle21ljl” is created. The purpose of this execution branch is to deploy the malware on all connected removable machines, such as USB sticks or external drives. If a drive is seen, the malware makes concealed directories carrying non ascii characters on the drive and moves all the victim’s files there, in addition to the two malicious libraries and legitimate executables. The malware then renames the file “igfxem.exe” to “USB Driver.exe” and places it at root causes of the drive along with ” version.dll “. As a result, the victims are no longer able to view their own drive files and are left with simply “USB Driver.exe”, entailing they will likely execute the malware to regain access to the concealed files.

Copying the payload and creating a hidden directory on the removable drive

If no debate is provided, the malware executes the third execution branch. This branch is only launched in the context of a compromised removable drive by double-clicking “USB Driver.exe”. The malware first facsimile the four LuminousMoth samples stored from the hide drive storehouse to” C :\ Users \ Public \ Documents \ Shared Virtual Machines \”.” Secondly, the malware executes “igfxem.exe” with the “assist” debate. Finally, “explorer.exe” get executed to display the conceal files that were located on the drive before the compromise, and the user is able to belief them.

The second library, “wwlib.dll”, is a loader. It get sideloaded by “winword.exe” and emerged two months prior to ” version.dll”, suggesting that earlier instances of the attack did not rely on replication through removable drives but were probably distributed using other methods such as the spear-phishing emails we observed.

“Wwlib.dll” retrieves a payload by sending a GET request to the C2 address at “103.15.28[.]195”. The payload is a Cobalt Strike beacon that uses the Gmail malleable profile to blend with benign traffic.

Downloading a Cobalt Strike beacon from 103.15.28 [.] 195

Older spreading mechanism

We discovered an older version of the LuminousMoth infection chain that was used briefly before the introduction of “version.dll”. Instead of the usual combination of “version.dll” and “wwlib.dll”, a different library called ” wwlib.dll” is in fact the first loader in this variant and is in charge of spreading to removable drives, while a second ” DkAr.dll ” library is in charge of downloading a Cobalt Strike beacon from the C2 server. This variant’s “wwlib.dll” offers two execution limbs: one triggered by the argument “Assistant” and a second one with no debates given. When this library is sideloaded by “winword.exe”, it creates an event called ” fjsakljflwqlqewq”, adds a registry value for perseverance, and operates “PrvDisk.exe” that then sideloads “DkAr.dll”.

The final step taken by ” wwlib.dll ” is to copy itself to any removable USB device. To do so, the malware checks if there are any files carrying a. DOC or. DOCX extension stored on the connected devices. If such a document is observed, the malware supplants it with the “winword.exe” binary, keeping the document’s file epithet but appending “. exe” to the end. The original document is then moved to a hidden directory. The “wwlib.dll” library is copied to the same directory containing the fake document and the four samples( two legitimate PE files, two DLL libraries) are copied to “[ US_BDrive letter ]: \ System Volume Knowledge \ en-AU \ Qantas “.

If the malware get executed without the “Assistant” controversy, this means the execution was started from a compromised USB drive by double-clicking on the executable. In this case, the malware first executes “explorer.exe” to show the hide directory with the original documents of the victim, and proceeds to copy the four LuminousMoth samples to” C :\ Users \ Public \ Documents \ Shared Virtual Machines \”.” Finally, it executes “winword.exe” with the “Assistant” controversy to infect the new host, to which the USB drive was connected.

Since this variant relies on replacing Word documents with an executable, it is possible that the attackers preferred the “winword.exe” binary for sideloading the malicious DLL due to its icon, which creates less distrusts about the original records being tampered with. Nonetheless, this means that the infection was limited simply to USB drives that have Word documents stored under them, and might explain the quick move to a more permeating approach that infects drives regardless of their content.

Post exploitation tool: Fake Zoom application

The attackers deployed an additional malicious tool on some of the infected systems in Myanmar. Its purpose is to scan the infected systems for files with predefined extensions and exfiltrate them to a C2 server. Interestingly, this stealer impersonates the popular Zoom video telephony software. One measuring to make it seem benign is a valid digital signature provided with the binary along with a certificate that is owned by Founder Technology, a subsidiary of Peking University’s Founder Group, located in Shanghai.

Valid certificate of the sham Zoom application

To facilitate the exfiltration of data, the stealer parses a configuration file called ” zVideoUpdate.ini “. While it is unclear how the malware is written to disk by the attackers, it is vital that the. ini file is fallen alongside it and placed in the same directory in order to work. The configuration parameters that comprise this file are as follows 😛 TAGEND

Parameter Name Purpose fulfill Undetermined integer value that defaults to 60.

ssb_sdk Undetermined integer value that defaults to 60.

zAutoUpdate URL of the C2 server which the steal data will be uploaded to.

XmppDll Path to the utility used to archive exfiltrated files.

zKBCrypto List of exfiltrated file expansions that are searched in target directories. The extensions of interest are delimited with the ‘;’ character.

zCrashReport Suffix string appended to the name of the staging directory used to host exfiltrated files before they are archived.

zWebService Path prefix for the exfiltration staging directory.

zzhost Path to the file that will hold a listing of hashes corresponding to the files collected for exfiltration.

ArgName AES key for configuration string encryption.

Version AES IV for configuration string encryption.

zDocConverter Path# 1 to a directory to look for files with the extension intended for exfiltration

zTscoder Path# 2 to a directory to look for files with the extension intended for exfiltration

zOutLookIMutil Path# 3 to a directory to look for files with the expansion intended for exfiltration

Each field in the configuration file( with the exception of Version, ArgName and zCrashReport) is encoded with Base6 4. While the authors incorporated logic and parameters that allow the decryption of some of the fields specified above with the AES algorithm, it remains unused.

The stealer uses the parameters in order to be allowed to to scan the three specified directories( along with root paths of secured and removable drives) and search for files with the expansions are presented in the zKBCrypto parameter. Matching files will then be facsimile to a staging directory created by the malware in a path constructed with the following structure: “< zWebService >\% Y-% m-% d% H-% M-% S “. The string format in the directory’s epithet represents the time and date of the malware’s execution.

In addition, the malware collects the metadata of the theft files. One piece of data can be found as a listing of original paths corresponding to the exfiltrated files that is written to a file named’ VideoCoingLog.txt’. This file resides in the aforementioned staging directory. Likewise, a second file is used to hold the list of hashes corresponding to the exfiltrated files and placed in the path was indicated in the zzhost parameter.

After collection of the targeted files and their metadata, the malware executes an external utility in order to be allowed to to archive the staging directory into a. rar file that will be placed in the route was indicated in the zWebService parameter. The malware assumes the existence of the utility in a track specified under the XmppDll parameter, suggesting the attackers have prior knowledge of the infected system and its pre-installed applications.

Finally, the malware attempts all files with a. rar expansion within the zWebService directory that should be transmitted to the C2. The technique used to send the archive constructions use of a statically linked CURL library, which determines the parameters specified below when conducting the transaction to the server. The address of the C2 is taken away from the zAutoUpdate parameter.

CURL logic used to issue the archive of exfiltrated files to the C& C

Post exploitation tool: Chrome Cookies Stealer

The attackers deployed another tool on some infected systems that steals cookies from the Chrome browser. This tool involves the local username as an arguing, as it is needed to access two files containing the data to be stolen 😛 TAGENDC :\ Users \[ USERNAME ]\ AppData \ Local \ Google \ Chrome \ User Data \ Default \ Cookies C:\Users\[USERNAME]\AppData\Local\Google\Chrome\User Data \ Local State

The stealer starts by extracting the encrypted_key value stored in the” Local State” file. This key is base6 4 encoded and used to decode the cookies stored in the “Cookies” file. The stealer uses the CryptUnprotectData API function to decrypt the cookies and looks for eight specific cookie values: SID, OSID, HSID, SSID, LSID, APISID, SAPISID and ACCOUNT_CHOOSER 😛 TAGEND

Cookie values the stealer looks for

Once find, the malware simply displays the principles contained in those cookies in the terminal. The Google policy available here explains that these cookies are used to authenticate consumers 😛 TAGEND

Google policy explain the purpose of the cookies

During our exam, we set up a Gmail account and were able to duplicate our Gmail session by using the stolen cookies. We can therefore conclude this post exploitation tool is dedicated to hijacking and impersonating the Gmail sessions of the targets.

Command and Control

For C2 communication, some of the LuminousMoth samples contacted IP address immediately, whereas others communicated with the domain ” updatecatalogs.com “.

15.28 [.] 195 59.10[.]253

Infrastructure ties from those C2 servers helped uncover additional domains related to this attack that impersonate known news outlets in Myanmar, such as MMTimes, 7Day News and The Irrawaddy. Another realm “mopfi-ferd[.]com” also impersonated the Foreign Economic Relations Department( FERD) of the Ministry of Planning, Finance and Industry( MOPFI) in Myanmar.

mmtimes [.] net mmtimes[.]org 7daydai1y [.] com irrawddy[.]com mopfi-ferd [.] com

“Mopfi-ferd[.]com” resolved to an IP address that was associated with a domain masquerading as the Zoom API. Since we have understand the attackers deploying a sham Zoom application, it is possible this look-alike domain was used to hide malicious Zoom traffic, although we have no evidence of this.

Potentially related Zoom look-alike domains

Who were the targets?

We were able to identify a large number of targets infected by LuminousMoth, almost all of which are from the Philippines and Myanmar. We came across approximately 100 victims in Myanmar, whereas in the Philippines the number was much higher, counting virtually 1,400 victims. It seems however that the actual targets is simply a subset of these that included high-profile organisations, namely government entities located both within those countries and abroad.

It is likely that the high rate of infections is due to the nature of the LuminousMoth attack and its spreading mechanism, as the malware propagates by copying itself to removable drives connected to the system. Nevertheless, the noticeable discrepancies between the extent of this activity in both countries might hint to an additional and unknown infection vector being used solely in the Philippines. It could, nonetheless, simply be that the attackers are more interested in going after targets from this region.

Connect to HoneyMyte

Over the course of our analysis, we noticed that LuminousMoth shares multiple similarities with the HoneyMyte threat group. Both groups have been covered extensively in our private reports, and detailed information and analysis of their activity are available to customers of our private APT reporting service. For more information, contact: intelreports @kaspersky. com.

LuminousMoth and HoneyMyte have similar targeting and TTPs, such as the usage of DLL side-loading and Cobalt Strike loaders, and a similar component to LuminousMoth’s Chrome cookie stealer was also seen in previous HoneyMyte activity. Lastly, we found infrastructure overlaps between the C2 servers used in the LuminousMoth campaign and an older one that has been attributed to HoneyMyte.

Some of LuminousMoth’s malicious artifacts connected to ” updatecatalogs [.] com”, which resolves to the same IP address behind “webmail.mmtimes[.]net”. This realm was observed in a campaign that dates back to early 2020, and was even found on some of the systems that were later infected with LuminousMoth. In this campaign, a legitimate binary (” FmtOptions.exe “) sideloads a malicious DLL called ” FmtOptions.dll”, which then decodes and executes the contents of the file “work.dat”. This infection flowing also involves a service called ” yerodns.dll” that implements the same functionality as “FmtOptions.dll”.

The domain ” webmail.mmtimes [.] net” previously resolved to the IP ” 45.204.9 [.] 70″. This address is associated with another MMTimes look-alike domain used in a HoneyMyte campaign during 2020: “mmtimes[.]org”. In this case, the legitimate executable “mcf.exe” loadings “mcutil.dll”. The is the subject of ” mcutil.dll ” is to decode and execute “mfc.ep”, a PlugX backdoor that communicates with “mmtimes[.]org”. Proportions of this campaign were also covered in one of our private reports discussing HoneyMyte’s usage of a watering hole to infect its victims.

Therefore, based on the above findings, we can assess with medium to high confidence that the LuminousMoth activity is indeed connected to HoneyMyte.

Connection between HoneyMyte and LuminousMoth C2s

Conclusions

LuminousMoth represents a formerly unknown cluster of activity that is affiliated to a Chinese-speaking actor. As described in this report, there are multiple overlaps between resources used by LuminousMoth and those sighted in previous activity of HoneyMyte. Both groups, whether related or not, have conducted activity of the same nature- large-scale strikes that affect a wide perimeter of targets with the aim of hitting a few that are of interest.

On the same note, this group’s activity and the apparent connects may hint at a wider phenomenon observed during 2021 among Chinese-speaking actors, whereby many are re-tooling and making new and unknown malware implants. This allows them to obscure any ties to their former activities and blur their attribution to known groups. With this challenge in head, we continue to track the activity described in this publication with an eye to understanding its evolution and connection to previous attacks.

Indicator of Compromise Version.dll payloads

Hashes Compilation Date

0f8b7a64336b4315cc0a2e6171ab027e 2d0296ac56db3298163bf3f6b622fdc319a9be23 59 b8167afba63b9b4fa4369e6664f274c4e2760a4e2ae4ee12d43c07c9655e0f Dec 24 09:20: 16 2020

37054e2e8699b0bdb0e19be8988093cd 5e45e6e113a52ba420a35c15fbaa7856acc03ab4 a934ae0274dc1fc9763f7aa51c3a2ce1a52270a47dcdd80bd5b9afbc3a23c82b Dec 24 09:19: 51 2020

c0 5cdf3a29d6fbe4e3e8621ae3173f08 75cd21217264c3163c800e3e59af3d7db14d76f8 869 e7da2357c673dab14e9a64fb69691002af5b39368e6d1a3d7fda242797622 Dec 29 11:45: 41 2020

5ba1384b4edfe7a93d6f1166da05ff6f 6d18970811821125fd402cfa90210044424e223a 857 c676102ea5dda05899d4e386340f6e7517be2d2623437582acbe0d46b19d2 Jan 07 11:18: 38 2021

afb7 77236 f1e089c9e1d33fce46a704c cf3582a6cdac3e254c017c8ce36240130d67834a 1ec88831b67e3f0d41057ba38ccca707cb508fe63d39116a02b7080384ed0303 Jan 14 11:18: 50 2021

wwlib.dll payloads

Hashes Compilation Date

4fbc4835746a9c64f8d697659bfe8554 b43d7317d3144c760d82c4c7506eba1143821ac1 95 bcc8c 3d9d23289b4ff284cb685b741fe92949be35c69c1faa3a3846f1ab947 Dec 24 10:25: 39 2020

Related payloads

Hashes Name Compilation Date

b3 1008 f6490ffe7ba7a8edb9e9a8c137 c1945fd976836ba2f3fbeafa276f60c3f0e9a51c 4a4b976991112b47b6a3d6ce19cc1c4f89984635ed16aea9f88275805b005461 FmtOptions.dll Jan 11 10:00: 42 2021

ac2 9cb9c702d9359ade1b8a5571dce7d 577ad54e965f7a21ba63ca4a361a3de86f02e925 d8 de88e518460ee7ffdffaa4599ccc415e105fc318b36bc8fe998300ee5ad984 yerodns.dll Oct 29 10:33: 20 2019

afe3 0b5dd18a114a9372b5133768151c 9a6f97300017a09eb4ea70317c65a18ea9ac49bd cf757b243133feab2714bc0da534ba21cbcdde485fbda3d39fb20db3a6aa6dee mcutil.dll Jun 13 16:35: 46 2019

95991f445d846455b58d203dac530b0b cee6afa1c0c8183900b76c785d2989bd1a904ffb f27715b932fb83d44357dc7793470b28f6802c2dc47076e1bc539553a8bfa8e0 mcutil.dll Feb 21 09:41: 11 2020

Post exploitation tools

Hashes Name Compilation Date

c7 27 a8fc56cedc69f0cfd2f2f5796797 75d38bf8b0053d52bd5068adf078545ccdac563f 361 ccc3 5f7ff405eb904910de126a5775de831b4229a4fdebfbacdd941ad3c56 ZoomVideoApp.exe Mar 02 10:51: 31 2021

Domains and IPs

103. 15.28 [.] 195 202.59.10[.]253 updatecatalogs [.] com mopfi-ferd[.]com mmtimes [.] net mmtimes[.]org 7daydai1y [.] com irrawddy[.]com

Read more: securelist.com