QUARTERRIG
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
A new sample has been uploaded to VirusTotal, and its characteristics strongly resemble QUARTERRIG, a malware recently analyzed by CERT.PL and linked to APT29.
We were also able to confirm that the shellcode contained overlaps with the fourth-stage shellcode dropper loader, shown in Figure 7, as described in the Cloaked Ursa QUARTERRIG malware report by Military Counterintelligence Service and CERT.PL.
Techniques & procedures
14 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
For communication, the payload uses both the Microsoft Graph and Dropbox API... Cloaked Ursa has previously leveraged Dropbox as a C2 server... past reports describing C2 communication via Notion and Google Drive.
Initial Access
2 techniques
Initial Access
Whichever strain of malware they attempted to distribute, attackers used phishing for initial access.
Most of the recently-observed cases employed ENVYSCOUT, a delivery script APT29 has used since 2021, to lead to the downloads of SNOWYAMBER, QUARTERRIG, or HALFRIG.
Execution
1 technique
Execution
ISO and IMG disk images, on Windows computers, are automatically mounted in the file system when opened... The actor used various techniques to get the user to launch the malware.
Persistence
1 technique
Persistence
One of them was a Windows shortcut (LNK) file pretending to be a document but actually running a hidden DLL library with the actor's tools.
Privilege Escalation
2 techniques
Privilege Escalation
The shellcode is then injected into the first two active Windows processes that it can inject into, such as taskhost.exe or sihost.exe... Command Value 0 Inject shellcode into explorer.exe or smartscreen.exe... 4 Spawn and inject code into WerFault.exe.
One of them was a Windows shortcut (LNK) file pretending to be a document but actually running a hidden DLL library with the actor's tools.
Stealth
3 techniques
Stealth
QUARTERRIG instead uses opaque predicates and multi-stage execution combining shellcode and PE files for its obfuscation.
The shellcode is then injected into the first two active Windows processes that it can inject into, such as taskhost.exe or sihost.exe... Command Value 0 Inject shellcode into explorer.exe or smartscreen.exe... 4 Spawn and inject code into WerFault.exe.
Once read into memory, it will decrypt the file using an XOR operation, which results in a secondary shellcode layer.
Discovery
2 techniques
Discovery
Both tools sent the IP address as well as the computer and user name to the actor. They were used to assess whether the victim was of interest to the actor and whether it was a malware analysis environment.
Both tools sent the IP address as well as the computer and user name to the actor. They were used to assess whether the victim was of interest to the actor and whether it was a malware analysis environment.
Collection
1 technique
Collection
Campaigns observed in the past linked to “NOBELIUM” and “APT29” used .ZIP or .ISO files to deliver the malware. During the campaign described above, .IMG files were also used in addition to the aforementioned file formats.
Command and Control
3 techniques
Command and Control
For communication, the payload uses both the Microsoft Graph and Dropbox API... If communication fails via the Graph API several times, communication via Dropbox is attempted.
If the infected workstation passed manual verification, the aforementioned downloaders were used to deliver and start-up the commercial tools COBALT STRIKE or BRUTE RATEL.
Previously, Cloaked Ursa-linked payloads that communicate with Dropbox had wrapped communications in a packet that resembled an MP3 file... In this sample, it appears that they have opted to use BMP files. The threat actor-owned C2 will upload commands to Dropbox that are wrapped in the BMP format.
Observables
8 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.