CHAINSHOT
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
“CHAINSHOT is an exploit kit that has previously been associated with Candiru. It has been observed in use by threat actor groups such as Stealth Falcon and SandCat, the latter believed to be linked to the Uzbek government.”
“CHAINSHOT is an exploit kit that has previously been associated with Candiru. It has been observed in use by threat actor groups such as Stealth Falcon and SandCat, the latter believed to be linked to the Uzbek government.”
"CHAINSHOT is an exploit kit that has previously been associated with Candiru."
"CHAINSHOT is an exploit kit that has previously been associated with Candiru."
Techniques & procedures
13 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
The group’s mistakes led Kaspersky to discover four zero-day exploits SandCat had purchased from third-party brokers to target victim machines
Initial Access
2 techniques
Initial Access
The malicious Microsoft Excel document contains a tiny Shockwave Flash ActiveX object... The “Movie” property contains a URL to a Flash application which is downloaded in cleartext and then executed.
"...Candiru has used both actor-controlled links, such as spearphishing emails... Google’s Threat Analysis Group (TAG) disclosed in 2021... exploited by Candiru... distributed via single-use links sent to specific targets..."
Execution
3 techniques
Execution
The Flash application is an obfuscated downloader which creates a random 512-bit RSA key pair in memory of the process.
By doing so, the function NtProtectVirtualMemory is executed without calling it directly. This trick is likely used to bypass AVs/sandboxes/anti-exploit software which hook NtProtectVirtualMemory and the attacker probably chose NtPrivilegedServiceAuditAlarm as a trampoline as it’s unlikely to be ever be monitored.
SandCat was also using a zero-day exploit to install Chainshot.
Privilege Escalation
1 technique
Privilege Escalation
FirstStageDropper.dll is responsible for injecting SecondStageDropper.dll into another process to execute it. While the samples we obtained inject SecondStageDropper.dll in usermode via thread injection, the x64 shellcode seems to have an option to inject it from kernelmode.
Stealth
4 techniques
Stealth
FirstStageDropper.dll is responsible for injecting SecondStageDropper.dll into another process to execute it. While the samples we obtained inject SecondStageDropper.dll in usermode via thread injection, the x64 shellcode seems to have an option to inject it from kernelmode.
The encrypted exploit or payload is sent back to the downloader which uses the in-memory private key to decrypt the AES key and the exploit or payload.
This trick is likely used to bypass AVs/sandboxes/anti-exploit software which hook NtProtectVirtualMemory...
The shellcode loads an embedded DLL internally named FirstStageDropper.dll, which we call CHAINSHOT, into memory and runs it by calling its export function “__xjwz97”.
Defense Impairment
1 technique
Defense Impairment
While the shellcode payload only contains code to search for and bypass EMET, FirstStageDropper.dll also contains code for Kaspersky and Bitdefender.
Discovery
2 techniques
Discovery
It also collects and sends encrypted user system and process information data together with a unique hardcoded ID to the attacker's server.
This trick is likely used to bypass AVs/sandboxes/anti-exploit software which hook NtProtectVirtualMemory...
Command and Control
1 technique
Command and Control
The malware sends user information encrypted to the attacker server and attempts to download a final stage implant... CHAINSHOT contacts the following domains via HTTPS to get the final payload.
Observables
84 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.