Cyber espionage actors, now designated by FireEye as APT32
(OceanLotus Group), are carrying out intrusions into private sector
companies across multiple industries and have also targeted foreign
governments, dissidents, and journalists. FireEye assesses that APT32
leverages a unique suite of fully-featured malware, in conjunction
with commercially-available tools, to conduct targeted operations that
are aligned with Vietnamese state interests.
In the course of investigations into intrusions at several
corporations with business interests in Vietnam, FireEye’s Mandiant
incident response consultants uncovered activity and
attacker-controlled infrastructure indicative of a significant
intrusion campaign. In March 2017, in response to active targeting of
FireEye clients, the team launched a href="https://www2.fireeye.com/WEB-Community-Protection-Security-Numbers.html">Community
Protection Event (CPE) – a coordinated effort between Mandiant
incident responders, FireEye as a Service (FaaS), FireEye iSight
Intelligence, and FireEye product engineering – to protect all clients
from APT32 activity.
In the following weeks, FireEye released threat intelligence
products and updated malware profiles to customers while developing
new detection techniques for APT32’s tools and phishing lures. This
focused intelligence and detection effort led to new external victim
identifications as well as providing sufficient technical evidence to
link twelve prior intrusions, consolidating four previously unrelated
clusters of threat actor activity into FireEye’s newest named advanced
persistent threat group: APT32.
Since at least 2014, FireEye has observed APT32 targeting foreign
corporations with a vested interest in Vietnam’s manufacturing,
consumer products, and hospitality sectors. Furthermore, there are
indications that APT32 actors are targeting peripheral network
security and technology infrastructure corporations, as well as
consulting firms that may have connections with foreign investors.
Here is an overview of intrusions investigated by FireEye that are
attributed to APT32:
Table 1 shows a breakdown of APT32 activity, including the malware
families used in each.
|
|
|
|
2014 | valign="top"> | valign="top"> | valign="top"> |
2014 | valign="top"> | valign="top"> | valign="top"> |
2015 | valign="top"> | valign="top"> | valign="top"> |
2016 | valign="top"> | valign="top"> | valign="top">KOMPROGO |
2016 | valign="top"> | valign="top"> | valign="top"> |
2016 | valign="top"> | valign="top"> | width="117" valign="top"> |
2016 | valign="top"> | valign="top"> | valign="top"> |
2016 | valign="top"> | valign="top"> | valign="top"> |
2016 | valign="top"> | valign="top"> | valign="top">WINDSHIELD |
2017 | valign="top"> | valign="top"> | valign="top"> |
Table 1: APT32 Private Sector Targeting
Identified by FireEye
In addition to focused targeting of the private sector with ties to
Vietnam, APT32 has also targeted foreign governments, as well as
Vietnamese dissidents and journalists since at least 2013. Here is an
overview of this activity:
In their current campaign, APT32 has leveraged ActiveMime files that
employ social engineering methods to entice the victim into enabling
macros. Upon execution, the initialized file downloads multiple
malicious payloads from remote servers. APT32 actors continue to
deliver the malicious attachments via spear-phishing emails.
APT32 actors designed multilingual lure documents which were
tailored to specific victims. Although the files had “.doc” file
extensions, the recovered phishing lures were ActiveMime “.mht” web
page archives that contained text and images. These files were likely
created by exporting Word documents into single file web pages.
Table 2 contains a sample of recovered APT32 multilingual lure files.
|
|
| 2017年员工工资性津贴额统计报告.doc (2017 Statistical Report on Staff Salary and Allowances) | valign="top"> |
| Thong tin.doc (Information) | valign="top"> |
Phan Vu Tutn CV.doc | width="234" valign="top"> |
| Ke hoach cuu tro nam 2017.doc (2017 Bailout Plan) | valign="top"> |
Instructions to GSIS.doc | valign="top"> |
| Hoi thao truyen thong doc lap.doc (Traditional Games) | valign="top"> |
| Giấy yêu cầu bồi thường mới 2016 - hằng.doc (New 2016 Claim Form) | valign="top"> |
| Hoa don chi tiet tien no.doc (Debt Details) | valign="top"> |
| Thu moi tham du Hoi luan.doc (Collection of Participants) | valign="top"> |
| Danh sach nhan vien vi pham ky luat.doc (List of Employee Violations) | width="234" valign="top"> |
| Nội-dung-quảng-cáo.doc (Internal Content Advertising) | valign="top"> |
HĐ DVPM-VTC 31.03.17.doc | valign="top"> |
Table 2: Sampling of APT32 Lure Files
The Base64 encoded ActiveMime data also contained an OLE file with
malicious macros. When opened, many lure files displayed fake error
messages in an attempt to trick users into launching the malicious
macros. Figure 1 shows a fake Gmail-theme paired with a hexadecimal
error code that encourages the recipient to enable content to resolve
the error. Figure 2 displays another APT32 lure that used a convincing
image of a fake Windows error message instructing the recipient to
enable content to properly display document font characters.

Figure 1: Example APT32 Phishing Lure – Fake
Gmail Error Message

Figure 2: Example APT32 Phishing Lure – Fake
Text Encoding Error Message
APT32 operators implemented several novel techniques to track the
efficacy of their phishing, monitor the distribution of their
malicious documents, and establish persistence mechanisms to
dynamically update backdoors injected into memory.
In order to track who opened the phishing emails, viewed the links,
and downloaded the attachments in real-time, APT32 used cloud-based
email analytics software designed for sales organizations. In some
instances, APT32 abandoned direct email attachments altogether and
relied exclusively on this tracking technique with links to their
ActiveMime lures hosted externally on legitimate cloud storage services.
To enhance visibility into the further distribution of their
phishing lures, APT32 utilized the native web page functionality of
their ActiveMime documents to link to external images hosted on APT32
monitored infrastructure.
Figure 3 contains an example phishing lure with HTML image tags used
for additional tracking by APT32.

Figure 3: Phishing Lure Containing HTML Image
Tags for Additional Tracking
When a document with this feature is opened, Microsoft Word will
attempt to download the external image, even if macros were disabled.
In all phishing lures analyzed, the external images did not exist.
Mandiant consultants suspect that APT32 was monitoring web logs to
track the public IP address used to request remote images. When
combined with email tracking software, APT32 was able to closely track
phishing delivery, success rate, and conduct further analysis about
victim organizations while monitoring the interest of security firms.
Once macros were enabled on the target system, the malicious macros
created two named scheduled tasks as persistence mechanisms for two
backdoors on the infected system. The first named scheduled task
launched an application whitelisting script protection bypass to
execute a COM scriptlet that dynamically downloaded the first backdoor
from APT32’s infrastructure and injected it into memory. The second
named scheduled task, loaded as an XML file to falsify task
attributes, ran a JavaScript code block that downloaded and launched a
secondary backdoor, delivered as a multi-stage PowerShell script. In
most lures, one scheduled task persisted an APT32-specific backdoor
and the other scheduled task initialized a commercially-available
backdoor as backup.
To illustrate the complexity of these lures, Figure 4 shows the
creation of persistence mechanisms for recovered APT32 lure “2017年员工工资性津贴额统计报告.doc”.

Figure 4: APT32 ActiveMime Lures Create Two
Named Scheduled Tasks
In this example, a scheduled task named “Windows Scheduled
Maintenance” was created to run Casey Smith’s href="http://subt0x10.blogspot.com/2016/04/bypass-application-whitelisting-script.html">“Squiblydoo”
App Whitelisting bypass every 30 minutes. While all payloads can
be dynamically updated, at the time of delivery, this task launched a
COM scriptlet (“.sct” file extension) that downloaded and executed
Meterpreter hosted on images.chinabytes[.]info. Meterpreter then
loaded Cobalt Strike BEACON, configured to communicate with
80.255.3[.]87 using the href="https://github.com/rsmudge/Malleable-C2-Profiles/blob/master/normal/safebrowsing.profile">Safebrowsing
malleable C2 profile to further blend in with network traffic. A
second scheduled task named “Scheduled Defrags” was created by loading
the raw task XML with a backdated task creation timestamp of June 2,
2016. This second task ran “mshta.exe” every 50 minutes which launched
an APT32-specific backdoor delivered as shellcode in a PowerShell
script, configured to communicate with the domains blog.panggin[.]org,
share.codehao[.]net, and yii.yiihao126[.]net.
Figure 5 illustrates the chain of events for a single successful
APT32 phishing lure that dynamically injects two multi-stage malware
frameworks into memory.

Figure 5: APT32 Phishing Chain of Events
The impressive APT32 operations did not stop after they established
a foothold in victim environments. Several Mandiant investigations
revealed that, after gaining access, APT32 regularly cleared select
event log entries and heavily obfuscated their PowerShell-based tools
and shellcode loaders with Daniel Bohannon’s href="https://github.com/danielbohannon/Invoke-Obfuscation">Invoke-Obfuscation framework.
APT32 regularly used stealthy techniques to blend in with legitimate
user activity:
APT32 appears to have a well-resourced development capability and
uses a custom suite of backdoors spanning multiple protocols. APT32
operations are characterized through deployment of signature malware
payloads including WINDSHIELD, KOMPROGO, SOUNDBITE, and PHOREAL. APT32
often deploys these backdoors along with the commercially-available
Cobalt Strike BEACON backdoor. APT32 may also possess href="https://www.alienvault.com/blogs/labs-research/oceanlotus-for-os-x-an-application-bundle-pretending-to-be-an-adobe-flash-update">backdoor
development capabilities for macOS.
The capabilities for this unique suite of malware is shown in Table 3.
|
|
WINDSHIELD | width="324" valign="top"> |
KOMPROGO | valign="top"> |
SOUNDBITE | width="324" valign="top"> |
PHOREAL | valign="top"> |
BEACON (Cobalt Strike) |
|
Table 3: APT32 Malware and Capabilities
APT32 operators appear to be well-resourced and supported as they
use a large set of domains and IP addresses as command and control
infrastructure. The href="https://www.fireeye.com/products/isight-intelligence.html">FireEye
iSIGHT Intelligence MySIGHT Portal contains additional
information on these backdoor families based on Mandiant
investigations of APT32 intrusions.
Figure 6 provides a summary of APT32 tools and techniques mapped to
each stage of the attack lifecycle.

Figure 6: APT32 Attack Lifecycle
Based on incident response investigations, product detections, and
intelligence observations along with additional publications on the
same operators, FireEye assesses that APT32 is a cyber espionage group
aligned with Vietnamese government interests. The targeting of private
sector interests by APT32 is notable and FireEye believes the actor
poses significant risk to companies doing business in, or preparing to
invest in, the country. While the motivation for each APT32 private
sector compromise varied – and in some cases was unknown – the
unauthorized access could serve as a platform for law enforcement,
intellectual property theft, or anticorruption measures that could
ultimately erode the competitive advantage of targeted organizations.
Furthermore, APT32 continues to threaten political activism and free
speech in Southeast Asia and the public sector worldwide. Governments,
journalists, and members of the Vietnam diaspora may continue to be targeted.
While actors from China, Iran, Russia, and North Korea remain the
most active cyber espionage threats tracked and responded to by
FireEye, APT32 reflects a growing host of new countries that have
adopted this dynamic capability. APT32 demonstrates how accessible and
impactful offensive capabilities can be with the proper investment and
the flexibility to embrace newly-available tools and techniques. As
more countries utilize inexpensive and efficient cyber operations,
there is a need for public awareness of these threats and renewed
dialogue around emerging nation-state intrusions that go beyond public
sector and intelligence targets.
Figure 7 contains a Yara rule can be used to identify malicious
macros associated with APT32’s phishing lures:

Figure 7: Yara Rule for APT32 Malicious Macros
Table 4 contains a sampling of the infrastructure that FireEye has
associated with APT32 C2.
| ||
103.53.197.202 | width="145" valign="top"> | width="162" valign="top"> |
185.157.79.3 | width="145" valign="top"> | width="162" valign="top"> |
23.227.196.210 | width="145" valign="top"> | width="162" valign="top"> |
blog.docksugs.org | width="145" valign="top"> | width="162" valign="top"> |
check.paidprefund.org | datatimes.org | width="162" valign="top"> |
economy.bloghop.org | width="145" valign="top"> | width="162" valign="top"> |
gap-facebook.com | width="145" valign="top"> | width="162" valign="top"> |
high.expbas.net | width="145" valign="top"> | width="162" valign="top"> |
images.chinabytes.info | imaps.qki6.com | width="162" valign="top"> |
job.supperpow.com | width="145" valign="top"> | width="162" valign="top"> |
mobile.pagmobiles.info | news.lighpress.info | notificeva.com |
nsquery.net | width="145" valign="top"> | width="162" valign="top"> |
push.relasign.org | width="145" valign="top"> | width="162" valign="top"> |
seri.volveri.net | width="145" valign="top"> | width="162" valign="top"> |
syn.timeizu.net | width="145" valign="top"> | width="162" valign="top"> |
tonholding.com | width="145" valign="top"> | width="162" valign="top"> |
update-flashs.com | width="145" valign="top"> | width="162" valign="top"> |
vphelp.net | width="145" valign="top"> | width="162" valign="top"> |
Table 4: Sampling of APT32 C2 Infrastructure