Skip to main content
Mallory
Malware1 associated actor

HAMMERTOSS

Tracked since Dec 5, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors1Associated
ATT&CK14Techniques
IOCs0Tracked
Type
Backdoor
Capabilities
ExfiltrationDefense evasionPost exploitation
Platforms
Windows
Also known asHammerDukeNetDuke

HAMMERTOSS, also known as HammerDuke and NetDuke, is a Windows backdoor used by APT29, a Russian cyberespionage group attributed to Russia’s Foreign Intelligence Service. It supports command execution and data theft from compromised systems. APT29’s broader espionage targeting includes government networks, diplomatic organizations, research institutes, and think tanks.

HAMMERTOSS combines social-media-based command and control, encrypted commands embedded in image files, and cloud-storage-based exfiltration. APT29 registers algorithmically generated Twitter handles for its command-and-control infrastructure. Commands are encrypted before being appended to images, using a key composed of a hard-coded value and a string contained in the day’s tweet. Its Uploader component retrieves command-bearing images over HTTP or HTTPS from a hard-coded server. The malware uses PowerShell and conceals its windows to reduce user visibility. Stolen data is uploaded to actor-created accounts on web cloud-storage services for later retrieval.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
APT29

(Citation: F-Secure The Dukes)(Citation: Secureworks IRON HEMLOCK Profile)

via mitre attack structuredgithub.com
MITRE ATT&CK

Techniques & procedures

14 distinct techniques documented for this family, organized by ATT&CK tactic.

Resource Development

1 technique
T1583.006Web ServicesEvidence1

APT29 has registered algorithmically generated Twitter handles that are used for C2 by malware, such as HAMMERTOSS. APT29 has also used legitimate web services such as Dropbox and Constant Contact in their operations.

Initial Access

1 technique
T1566.002Spearphishing LinkEvidence1

APT29 has been observed crafting targeted spearphishing campaigns leveraging web links to a malicious dropper; once executed, the code delivers Remote Access Tools (RATs) and evades detection using a range of techniques.

Execution

1 technique
T1059.001PowerShellEvidence9

[HAMMERTOSS](https://attack.mitre.org/software/S0037) is known to use PowerShell.(Citation: FireEye APT29)

Stealth

1 technique
T1564.003Hidden WindowEvidence6

[HAMMERTOSS](https://attack.mitre.org/software/S0037) has used <code>-WindowStyle hidden</code> to conceal [PowerShell](https://attack.mitre.org/techniques/T1059/001) windows.(Citation: FireEye APT29)

Command and Control

8 techniques
T1001Data ObfuscationEvidence1

Many entries describe XOR, XOR/ADD, bitwise NOT and XOR, ROR plus XOR, hexadecimal encoding after encryption, and custom encoding/obfuscation of HTTP traffic or beacons.

T1001.002SteganographyEvidence3

[HAMMERTOSS](https://attack.mitre.org/software/S0037) is controlled via commands that are appended to image files.(Citation: FireEye APT29)

T1071.001Web ProtocolsEvidence9

The "Uploader" variant of [HAMMERTOSS](https://attack.mitre.org/software/S0037) visits a hard-coded server over HTTP/S to download the images [HAMMERTOSS](https://attack.mitre.org/software/S0037) uses to receive commands.(Citation: FireEye APT29)

T1102.003One-Way CommunicationEvidence3

The "tDiscoverer" variant of [HAMMERTOSS](https://attack.mitre.org/software/S0037) establishes a C2 channel by downloading resources from Web services like Twitter and GitHub. [HAMMERTOSS](https://attack.mitre.org/software/S0037) binaries contain an algorithm that generates a different Twitter handle for the malware to check for instructions every day.(Citation: FireEye APT29)

T1105Ingress Tool TransferEvidence5

Examples in the content include: 'APT41 used HTTP to download payloads,' 'Cardinal RAT is downloaded using HTTP,' 'Crimson can use a HTTP GET request to download its final payload,' 'CSPY Downloader can use GET requests to download additional payloads,' and 'GuLoader can use HTTP to retrieve additional binaries.'

T1568.002Domain Generation AlgorithmsEvidence1

APT29 has registered algorithmically generated Twitter handles that are used for C2 by malware, such as HAMMERTOSS.

T1573Encrypted ChannelEvidence1

The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.

T1573.001Symmetric CryptographyEvidence4

Before being appended to image files, [HAMMERTOSS](https://attack.mitre.org/software/S0037) commands are encrypted with a key composed of both a hard-coded value and a string contained on that day's tweet. To decrypt the commands, an investigator would need access to the intended malware sample, the day's tweet, and the image file containing the command.(Citation: FireEye APT29)

Exfiltration

2 techniques
T1567Exfiltration Over Web ServiceEvidence1

Kimsuky has exfiltrated stolen files and data to actor-controlled Blogspot accounts. Octopus has exfiltrated data to file sharing sites. HAMMERTOSS exfiltrates data by uploading it to accounts created by the actors on Web cloud storage providers for the adversaries to retrieve later.

T1567.002Exfiltration to Cloud StorageEvidence5

[HAMMERTOSS](https://attack.mitre.org/software/S0037) exfiltrates data by uploading it to accounts created by the actors on Web cloud storage providers for the adversaries to retrieve later.(Citation: FireEye APT29)

Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matchingMatch every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping14Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.