Anchor
- Type
- Backdoor
- Capabilities
- ExfiltrationPersistencePost exploitationDefense evasionReconnaissance
- Platforms
- Windows
Anchor is a TrickBot-derived backdoor and post-exploitation framework developed by the TrickBot group, also known as Wizard Spider and ITG23. It is used for targeted intrusions into enterprise environments, supporting long-term access, deployment of additional tools, and data extraction. Windows variants exist for both 32-bit and 64-bit systems.
Anchor supports multiple command-and-control mechanisms. The Anchor DNS variant communicates through DNS queries and tunneling to conceal command traffic, while other Anchor activity has used ICMP. Anchor can communicate with secondary command-and-control servers after establishing connectivity and relaying victim information to primary servers. It can identify a compromised host’s public IP address and geographic location, establish persistence through scheduled tasks, hide files using NTFS features, and delete its dropper after successful deployment.
The framework integrates loading mechanisms for tools including Metasploit, Cobalt Strike, TerraLoader, and PowerShell Empire. Anchor has been deployed through TrickBot-associated tooling, including PowerTrick and an executor module, and observed in infection chains progressing from malicious macro-enabled Excel documents through BazarLoader and Cobalt Strike. It has also been used in Conti ransomware intrusions to retain access and continue beaconing after ransomware deployment. Anchor is distinct from the ransomware payloads used by the same operators.
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.
Until a new TrickBot derivative project called “Anchor” was discovered.
Anchor is publicly attributed to the Trickbot group... Anchor uses multiple methods to delete VSCs including a call to PowerShell that uses WMI to delete shadow copies.
FIN12 also leveraged other backdoors including ANCHOR, GRIMAGENT, GRUNT, and METERPRETER in the latter half of 2020.
Techniques & procedures
34 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
9 techniques
Execution
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[Anchor](https://attack.mitre.org/software/S0504) can install itself as a cron job.(Citation: Medium Anchor DNS July 2020)
[Anchor](https://attack.mitre.org/software/S0504) can create a scheduled task for persistence.(Citation: Cyberreason Anchor December 2019)
What is out of the question, however, is the sophistication of this technology including an integrated methodology of loading such frameworks Metasploit, Cobalt Strike, TerraLoader, and PowerShell Empire to perform further victim post-exploitation.
What is out of the question, however, is the sophistication of this technology including an integrated methodology of loading such frameworks Metasploit, Cobalt Strike, TerraLoader, and PowerShell Empire to perform further victim post-exploitation.
[Anchor](https://attack.mitre.org/software/S0504) has used cmd.exe to run its self deletion routine.(Citation: Cyberreason Anchor December 2019)
[Anchor](https://attack.mitre.org/software/S0504) can execute payloads via shell scripting.(Citation: Medium Anchor DNS July 2020)
The module comes in two flavors: one as a “downloader” that will download and execute an arbitrary file and another as a “dropper” that embeds another malware within the mexec body to be dropped on the system.
[Anchor](https://attack.mitre.org/software/S0504) can create and execute services to load its payload.(Citation: Cyberreason Anchor December 2019)(Citation: Medium Anchor DNS July 2020)
Persistence
4 techniques
Persistence
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[Anchor](https://attack.mitre.org/software/S0504) can install itself as a cron job.(Citation: Medium Anchor DNS July 2020)
[Anchor](https://attack.mitre.org/software/S0504) can create a scheduled task for persistence.(Citation: Cyberreason Anchor December 2019)
[Anchor](https://attack.mitre.org/software/S0504) can establish persistence by creating a service.(Citation: Cyberreason Anchor December 2019)
Privilege Escalation
4 techniques
Privilege Escalation
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[Anchor](https://attack.mitre.org/software/S0504) can install itself as a cron job.(Citation: Medium Anchor DNS July 2020)
[Anchor](https://attack.mitre.org/software/S0504) can create a scheduled task for persistence.(Citation: Cyberreason Anchor December 2019)
[Anchor](https://attack.mitre.org/software/S0504) can establish persistence by creating a service.(Citation: Cyberreason Anchor December 2019)
Stealth
6 techniques
Stealth
[Anchor](https://attack.mitre.org/software/S0504) has obfuscated code with stack strings and string encryption.(Citation: Cyberreason Anchor December 2019)
[Anchor](https://attack.mitre.org/software/S0504) has come with a packed payload.(Citation: Cyberreason Anchor December 2019)
Anchor consists of several segments each with a specific function: anchorInstaller anchorDeInstaller AnchorBot Bin2hex psExecutor memoryScraper. This structure is designed to secretly upload the malware and clean up all the evidence of the attack.
[Anchor](https://attack.mitre.org/software/S0504) can self delete its dropper after the malware is successfully deployed.(Citation: Cyberreason Anchor December 2019)
[Anchor](https://attack.mitre.org/software/S0504) can terminate itself if specific execution flags are not present.(Citation: Cyberreason Anchor December 2019)
[Anchor](https://attack.mitre.org/software/S0504) has used NTFS to hide files.(Citation: Cyberreason Anchor December 2019)
Defense Impairment
1 technique
Defense Impairment
[Anchor](https://attack.mitre.org/software/S0504) has been signed with valid certificates to evade detection by security tools.(Citation: Cyberreason Anchor December 2019)
Credential Access
2 techniques
Credential Access
All of these (malicious tools) are used to gain access to corporate networks, steal files and network credentials, and ultimately deploy ransomware on the network.
However, the Anchor is also be used for large cyber heists and point-of-sale card theft operations leveraging its custom card scraping malware.
Discovery
2 techniques
Discovery
[Anchor](https://attack.mitre.org/software/S0504) can determine the public IP and location of a compromised host.(Citation: Medium Anchor DNS July 2020)
[Anchor](https://attack.mitre.org/software/S0504) can determine the hostname and linux version on a compromised host.(Citation: Medium Anchor DNS July 2020)
Lateral Movement
2 techniques
Lateral Movement
[Anchor](https://attack.mitre.org/software/S0504) can support windows execution via SMB shares.(Citation: Medium Anchor DNS July 2020)
The new executor mexec module delivers tertiary malware and allows TrickBot to pivot within a network, deploy a variety of payloads and evade common detection methods.
Collection
1 technique
Collection
However, the Anchor is also be used for large cyber heists and point-of-sale card theft operations leveraging its custom card scraping malware.
Command and Control
7 techniques
Command and Control
[Anchor](https://attack.mitre.org/software/S0504) can use secondary C2 servers for communication after establishing connectivity and relaying victim information to primary C2 servers.(Citation: Cyberreason Anchor December 2019)
U.S. Cyber Command worked to disrupt ITG23’s operations by poisoning configuration files on its command-and-control (C2) servers. Microsoft, the following month, announced its own efforts to disrupt ITG23 by taking down a large number of their C2 servers.
[Anchor](https://attack.mitre.org/software/S0504) has used HTTP and HTTPS in C2 communications.(Citation: Cyberreason Anchor December 2019)
Variants of [Anchor](https://attack.mitre.org/software/S0504) can use DNS tunneling to communicate with C2.(Citation: Cyberreason Anchor December 2019)(Citation: Medium Anchor DNS July 2020)
[Anchor](https://attack.mitre.org/software/S0504) has used ICMP in C2 communications.(Citation: Cyberreason Anchor December 2019)
[Anchor](https://attack.mitre.org/software/S0504) can download additional payloads.(Citation: Cyberreason Anchor December 2019)(Citation: Medium Anchor DNS July 2020)
This type of DNS tunneling does not rely on direct contact with the the C2 domain. Malware families like Anchor use this method to disguise tunneling from an Windows infected host.
Exfiltration
2 techniques
Exfiltration
We did not witness collection events but we do believe files were collected and exfiltrated over encrypted C2 channels.
The TrickBot cybercrime group is responsible for a variety of sophisticated malware targeting Windows and Linux devices to gain access to victim's networks, steal data, and deploy other malware, such as ransomware.
Impact
2 techniques
Impact
All of these (malicious tools) are used to gain access to corporate networks, steal files and network credentials, and ultimately deploy ransomware on the network.
One of the most well-known methods is the deletion of Windows Volume Shadow Copies... Since then, almost all ransomware deletes VSCs and uses other techniques to prohibit system recovery.
Observables
32 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
58 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.