Mandiant Advanced Practices (AP) closely tracks the shifting tactics,
techniques, and procedures (TTPs) of financially motivated groups who
severely disrupt organizations with ransomware. In May 2020, FireEye
released a href="/content/fireeye-www/en_US/blog/threat-research/2020/05/tactics-techniques-procedures-associated-with-maze-ransomware-incidents.html">blog
post detailing intrusion tradecraft associated with the deployment
of MAZE. As of publishing this post, we track 11 distinct groups
that have deployed MAZE ransomware. At the close of 2020, we noticed a
shift in a subset of these groups that have started to deploy EGREGOR
ransomware in favor of MAZE ransomware following access acquired from
ICEDID infections.
Since its discovery in 2017 as a banking trojan, ICEDID evolved into
a pernicious point of entry for financially motivated actors to
conduct intrusion operations. In earlier years, ICEDID was deployed to
primarily target banking credentials. In 2020 we observed adversaries
using ICEDID more explicitly as a tool to enable access to impacted
networks, and in many cases this was leading to the use of common
post-exploitation frameworks and ultimately the deployment of
ransomware. This blog post shines a heat lamp on the latest tradecraft
of UNC2198, who used ICEDID infections to deploy MAZE or
EGREGOR ransomware.
Separate phases of intrusions are attributed to different
uncategorized (UNC) groups when discrete operations such as obtaining
access are not part of a contiguous operation. Pure “access
operations” establish remote access into a target environment for
follow on operations actioned by a separate group. A backdoor deployed
to establish an initial foothold for another group is an example of an
access operation.
Between July and December 2020, an ICEDID phishing infection chain
consisted of a multi-stage process involving MOUSEISLAND and
PHOTOLOADER (Figure 1).
src="https://www.fireeye.com/content/dam/fireeye-www/blog/images/unc2198-icedid/fig1.png" alt="" />
Figure 1: Example UNC2420 MOUSEISLAND to
ICEDID Infection Chain
MOUSEISLAND is a Microsoft Word macro downloader used as the first
infection stage and is delivered inside a password-protected zip
attached to a phishing email (Figure 2). Based on our intrusion data
from responding to ICEDID related incidents, the secondary payload
delivered by MOUSEISLAND has been PHOTOLOADER, which acts as an
intermediary downloader to install ICEDID. Mandiant attributes the
MOUSEISLAND distribution of PHOTOLOADER and other payloads to href="https://advantage.mandiant.com/actors/threat-actor--843f8aa0-2305-579a-a08a-f2f88f7815d1">UNC2420,
a distribution threat cluster created by Mandiant’s Threat Pursuit
team. UNC2420 activity shares overlaps with the publicly reported
nomenclature of “Shathak” or “TA551”.
src="https://www.fireeye.com/content/dam/fireeye-www/blog/images/unc2198-icedid/fig2.png" alt="" />
Figure 2: UNC2420 MOUSEISLAND Phishing Email
Although analysis is always ongoing, at the time of publishing this
blog post, Mandiant tracks multiple distinct threat clusters (UNC
groups) of various sizes that have used ICEDID as a foothold to enable
intrusion operations. The most prominent of these threat clusters is
href="https://advantage.mandiant.com/actors/threat-actor--6fd29c05-9c32-578a-83d8-051f89ebf30b">UNC2198,
a group that has targeted organizations in North America across a
breadth of industries. In at least five cases, UNC2198 acquired
initial access from UNC2420 MOUSEISLAND to conduct intrusion
operations. In 2020, Mandiant attributed nine separate intrusions to
UNC2198. UNC2198’s objective is to monetize their intrusions by
compromising victim networks with ransomware. In July 2020,
Mandiant observed UNC2198 leverage network access provided by an
ICEDID infection to encrypt an environment with MAZE ransomware. As
the year progressed into October and November, we observed UNC2198
shift from deploying MAZE to using EGREGOR ransomware during another
Incident Response engagement. Like MAZE, EGREGOR is operated using an
href="https://advantage.mandiant.com/reports/20-00022696">affiliate
model, where affiliates who deploy EGREGOR are provided with
proceeds following successful encryption and extortion for payment.
The UNC2198 cluster expanded over the course of more than six
months. Mandiant’s href="/content/fireeye-www/en_US/blog/products-and-services/2020/12/how-mandiant-tracks-uncategorized-threat-actors.html">December
2020 blog post on UNCs described the analytical tradecraft we
use to merge and graduate clusters of activity. Merging UNCs is a
substantial analytical practice in which indicators and tradecraft
attributed to one group are scrutinized against another. Two former
UNCs that shared similar modus operandi were eventually merged into UNC2198.
AP created UNC2198 based on a single intrusion in June 2020
involving ICEDID, BEACON, SYSTEMBC and WINDARC. UNC2198 compromised 32
systems in 26 hours during this incident; however, ransomware was not
deployed. Throughout July 2020 we attributed three intrusions to
UNC2198 from Incident Response engagements, including one resulting in
the deployment of MAZE ransomware. In October 2020, a slew of activity
at both Incident Response engagements and Managed Defense clients
resulted in the creation of two new UNC groups, and another incident
attributed to UNC2198.
One of the new UNC groups created in October 2020 was given the
designation UNC2374. UNC2374 began as its own distinct cluster where
BEACON, WINDARC, and SYSTEMBC were observed during an incident at a
Managed Defense customer. Initial similarities in tooling did not
constitute a strong enough link to merge UNC2374 with UNC2198 yet.
Two and a half months following the creation of UNC2374, we amassed
enough data points to merge UNC2374 into UNC2198. Some of the data
points used in merging UNC2374 into UNC2198 include:
|
The other UNC group created in October 2020 was given the
designation UNC2414. Three separate intrusions were attributed to
UNC2414, and as the cluster grew, we surfaced similarities between
UNC2414 and UNC2198. A subset of the data points used to merge UNC2414
into UNC2198 include:
|
The merge between UNC2198 and UNC2414 was significant because it
revealed UNC2198 has access to EGREGOR ransomware. The timing of the
EGREGOR usage is also consistent with MAZE ransomware shutting down as
href="https://advantage.mandiant.com/reports/20-00022696">reported
by Mandiant Intelligence. Figure 3 depicts the timeline of related
intrusions and merges into UNC2198.
src="https://www.fireeye.com/content/dam/fireeye-www/blog/images/unc2198-icedid/fig3.png" alt="" />
Figure 3: UNC2198 timeline
Expanding the UNC2198 cluster through multiple intrusions and merges
with other UNC groups highlights the range of TTPs employed. We have
pulled out some key data from all our UNC2198 intrusions to illustrate
an amalgamation of capabilities used by the threat actor.
Establish Foothold
After obtaining access, UNC2198 has deployed additional malware
using various techniques. For instance, UNC2198 used InnoSetup
droppers to install a WINDARC backdoor on the target host. UNC2198
also used BITS Jobs and remote PowerShell downloads to download
additional tools like SYSTEMBC for proxy and tunneler capabilities.
Example commands for download and execution are:
|
UNC2198 has used Cobalt Strike BEACON, Metasploit METERPRETER,
KOADIC, and PowerShell EMPIRE
offensive security tools during
this phase as well.
Offensive Security Tooling
UNC2198 has used offensive security tools similarly seen across many
threat actors. UNC2198 has used BEACON in roughly 90% of their
intrusions. UNC2198 installs and executes Cobalt Strike BEACON in a
variety of ways, including shellcode loaders using PowerShell scripts,
service executables, and DLLs. While the ways and means of using
BEACON are not inherently unique, there are still aspects to
extrapolate that shed light on UNC2198 TTPs.
Focusing in on specific BEACON executables tells a different story
beyond the use of the tool itself. Aside from junk code and API calls,
UNC2198 BEACON and METERPRETER executables often exhibit unique
characteristics of malware packaging, including odd command-line
arguments visible within strings and upon execution via child processes:
|
These example commands are non-functional, as they do not modify or
alter payload execution.
Another technique involves installing BEACON using a file path
containing mixed Unicode-escaped and ASCII characters to evade detection:
|
|
|
|
The executable was then executed by using a Scheduled Task named
shadowdev:
|
While the previous examples are related to compiled executables,
UNC2198 has also used simple PowerShell download cradles to execute
Base64-encoded and compressed BEACON stagers in memory:
|
Discovery and Reconnaissance
UNC2198 has exhibited common TTPs seen across many threat groups
during discovery and reconnaissance activities. UNC2198 has used the
BloodHound active directory mapping utility during intrusions
from within the “C:\ProgramData” and “ class="code">C:\Temp” directories.
The following are collective examples of various commands executed
by UNC2198 over time to enumerate a compromised environment:
|
UNC2198 has used Windows Remote Management and RDP to move laterally
between systems. UNC2198 has also performed remote execution of BEACON
service binaries on targeted systems to move laterally. UNC2198
launches SMB BEACON using PowerShell, executing command lines such as
the following:
|
During one intrusion, UNC2198 used the SOURBITS privilege escalation
utility to execute files on a target system. SOURBITS is a packaged
exploit utility for href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0787">CVE-2020-0787,
which is a vulnerability that was disclosed in 2020 for Windows
Background Intelligent Transfer Service (BITS). SOURBITS
consists of code derived from a href="https://github.com/cbwang505/CVE-2020-0787-EXP-ALL-WINDOWS-VERSION">GitHub
Repository that is implemented as a command-line utility, which
can execute arbitrary files with elevated privileges. UNC2198 used
SOURBITS with the following components:
| class="code">C:\Users\<User>\Downloads\runsysO.cr C:\Users\<User>\Downloads\starterO.exe |
The file runsysO.cr is an XOR-encoded PE executable that
exploits CVE-2020-0787, and based on the target system's bitness, it
will drop one of two embedded SOURBITS payloads.
Data Theft, Ransomware Deployment and #TTR
Like other financially motivated threat actors, part of UNC2198’s
modus operandi in latter stages of intrusions involves the
exfiltration of hundreds of gigabytes of the victim organizations’
data before ransomware is installed. Specifically, UNC2198 has used
RCLONE, a command line utility used to synchronize cloud
storage, to aid in the exfiltration of sensitive data. In all observed
cases of data theft, RCLONE was used by UNC2198 from the
“C:\PerfLogs\rclone.exe” file path.
“Time-to-Ransom" (TTR) is the delta between
first-attributed access time and the time of ransomware
deployment. TTR serves as a useful gauge of how quickly an
organization needs to respond to stave off a threat actor’s successful
deployment of ransomware. TTR is not a perfect quantification, as
external factors such as an organization’s security posture can
drastically affect the measurement.
In this post, the TTR of UNC2198 is measured between ICEDID activity
to the deployment of ransomware. In July 2020, UNC2198 deployed MAZE
ransomware using PSEXEC, and the TTR was 5.5 days. In October 2020,
UNC2198 deployed EGREGOR ransomware using forced GPO updates, and the
TTR was 1.5 days.
Threat actors leveraging access obtained through mass malware
campaigns to deploy ransomware is a growing trend. The efficiency of
ransomware groups places a significant burden on defenders to rapidly
respond before ransomware deployment. As ransomware groups continue to
gain operational expertise through successful compromises, they will
continue to shorten their TTR while scaling their operations.
Understanding the TTPs fundamental to a specific operation like
UNC2198 provides an edge to defenders in their response efforts. Our
unparalleled understanding of groups like UNC2198 is translated into
href="/content/fireeye-www/en_US/mandiant/threat-intelligence.html">Mandiant
Advantage. Accessing our holdings in Mandiant Advantage aids
defenders in recognizing TTPs used by threat actors, assessing
organizational risk, and taking action. Initial investments made into
rapidly assessing a group’s modus operandi pays dividends when they
inevitably evolve and swap out components of their toolset. Whether it
be MAZE or EGREGOR, something icy or hot, Advanced Practices will
continue to pursue these unchill threat actors.
Thank you to Dan Perez, Andrew Thompson, Nick Richard, Cian Lynch
and Jeremy Kennelly for technical review of this content. In addition,
thank you to Mandiant frontline responders for harvesting the valuable
intrusion data that enables our research.
href="https://advantage.mandiant.com/malware/malware--badb174b-5bbb-51cb-91de-615dd4a54198">PHOTOLOADER
is a downloader that has been observed to download ICEDID. It makes an
HTTP request for a fake image file, which is RC4 decrypted to provide
the final payload. Host information is sent to the command and control
(C2) via HTTP cookies. Samples have been observed to contain an
embedded C2 configuration that contain the real C2 with a number of
non-malicious domains. The non-malicious domains are contacted in
addition to the real C2.
href="https://advantage.mandiant.com/malware/malware--5f584191-7903-55f9-8a3d-c1b4528e18be">WINDARC
is a backdoor that hijacks the execution of TeamViewer to perform C2
communication. It supports plugins and accepts several backdoor
commands. The commands include interacting with the TeamViewer tool,
starting a reverse shell, loading new plugins, downloading and
executing files, and modifying configuration settings.
href="https://advantage.mandiant.com/malware/malware--17784955-af55-5462-877f-feaba0c8d80a">SYSTEMBC
is a proxy malware that beacons to its C2 and opens new proxy
connections between the C2 and remote hosts as indicated by the C2.
Proxied communications are encrypted with RC4. The malware receives
commands via HTTP and creates new proxy connections as directed.
Underground sales advertisements refer to the software as a “socks5
backconnect system”. The malware is typically used to hide the
malicious traffic associated with other malware.
FireEye security solutions detect these threats across email,
endpoint, and network levels. The following is a snapshot of existing
detections related to activity outlined in this blog post.
|
|
FireEye Network Security |
|
FireEye Endpoint Security |
|
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
45.141.84.212:4132 | width="312" valign="top"> |
45.141.84.223:4132 | width="312" valign="top"> |
79.141.166.158:4124 | width="312" valign="top"> |
149.28.201.253:4114 | width="312" valign="top"> |
193.34.167.34:80 | width="312" valign="top"> |
195.123.240.219:80 | width="312" valign="top"> |
23.227.193.167:80 | width="312" valign="top"> |
5.149.253.199:80 | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
| valign="top"> | width="312" valign="top"> |
colombosuede.club | width="312" valign="top"> |
colosssueded.top | width="312" valign="top"> |
golddisco.top | width="312" valign="top"> |
june85.cyou | width="312" valign="top"> |
Organizations can validate their security controls against more than
60 actions with href="/content/fireeye-www/en_US/mandiant/security-validation.html">Mandiant
Security Validation.
|
|
A101-509 | width="526" valign="bottom"> |
A150-326 | width="526" valign="bottom"> |
A150-433 | width="526" valign="bottom"> |
A101-282 | width="526" valign="bottom"> |
A104-632 | width="526" valign="bottom"> |
A101-266 | width="526" valign="bottom"> |
A101-280 | width="526" valign="bottom"> |
A101-263 | width="526" valign="bottom"> |
A101-281 | width="526" valign="bottom"> |
A101-279 | width="526" valign="bottom"> |
A101-265 | width="526" valign="bottom"> |
A101-264 | width="526" valign="bottom"> |
A101-037 | width="526" valign="bottom"> |
A101-038 | width="526" valign="bottom"> |
A101-039 | width="526" valign="bottom"> |
A101-040 | width="526" valign="bottom"> |
A101-041 | width="526" valign="bottom"> |
A101-042 | width="526" valign="bottom"> |
A101-043 | width="526" valign="bottom"> |
A101-044 | width="526" valign="bottom"> |
A101-045 | width="526" valign="bottom"> |
A100-878 | width="526" valign="bottom"> |
A101-030 | width="526" valign="bottom"> |
A101-031 | width="526" valign="bottom"> |
A101-032 | width="526" valign="bottom"> |
A104-734 | width="526" valign="bottom"> |
A104-487 | width="526" valign="bottom"> |
A104-485 | width="526" valign="bottom"> |
A104-486 | width="526" valign="bottom"> |
A104-491 | width="526" valign="bottom"> |
A104-494 | width="526" valign="bottom"> |
A104-495 | width="526" valign="bottom"> |
A104-496 | width="526" valign="bottom"> |
A104-498 | width="526" valign="bottom"> |
A150-668 | width="526" valign="bottom"> |
A101-460 | width="526" valign="bottom"> |
A150-675 | width="526" valign="bottom"> |
A101-271 | width="526" valign="bottom"> |
A150-610 | width="526" valign="bottom"> |
A150-609 | width="526" valign="bottom"> |
A104-732 | width="526" valign="bottom"> |
A101-514 | width="526" valign="bottom"> |
A100-072 | width="526" valign="bottom"> |
A100-886 | width="526" valign="bottom"> |
A100-880 | width="526" valign="bottom"> |
A100-881 | width="526" valign="bottom"> |
A100-882 | width="526" valign="bottom"> |
A100-877 | width="526" valign="bottom"> |
A101-513 | width="526" valign="bottom"> |
A104-733 | width="526" valign="bottom"> |
A100-353 | width="526" valign="bottom"> |
A100-355 | width="526" valign="bottom"> |
A104-088 | width="526" valign="bottom"> |
A104-277 | width="526" valign="bottom"> |
A104-281 | width="526" valign="bottom"> |
A104-664 | width="526" valign="bottom"> |
A150-054 | width="526" valign="bottom"> |
A100-327 | width="526" valign="bottom"> |
A100-328 | width="526" valign="bottom"> |
A100-498 | width="526" valign="bottom"> |
A100-502 | width="526" valign="bottom"> |
A100-316 | width="526" valign="bottom"> |
A104-081 | width="526" valign="bottom"> |
|
|
Resource Development | width="444" valign="top"> |
Initial Access | width="444" valign="top"> |
Execution | width="444" valign="top"> |
Persistence | width="444" valign="top"> |
Privilege Escalation | width="444" valign="top"> |
Defense Evasion | width="444" valign="top"> |
Credential Access | width="444" valign="top">OS Credential Dumping (T1003) |
Discovery | width="444" valign="top"> |
Lateral Movement | width="444" valign="top"> |
Collection | width="444" valign="top"> |
Command and Control | width="444" valign="top"> |