Skip to main content
Mallory
Malware1 associated actor

Karkoff

Tracked since Mar 6, 2026 · 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&CK19Techniques
IOCs48Tracked
Type
Backdoor
Capabilities
PersistencePost exploitationDefense evasion
Delivery
Phishing
Platforms
Windows

Karkoff is a lightweight, modular .NET backdoor associated with the Iranian-linked cyberespionage group APT34, also known as OilRig, Earth Simnavaz, and Helix Kitten. It provides persistent access and remote command execution on compromised Windows systems. First publicly identified in 2019 during investigations of DNSpionage-related activity, Karkoff has subsequently appeared in APT34 operations involving Middle Eastern government organizations. Documented campaigns have used malicious Microsoft Excel macros and phishing emails during the initial infection stages.

Karkoff includes a backdoor module that abuses Microsoft Exchange servers as a command-and-control channel through the Exchange Web Services API. It authenticates using a hardcoded account and exchanges commands through the compromised organization's mail infrastructure, allowing malicious communications to blend with legitimate email traffic. Later samples have been signed using an abused code-signing certificate issued to a legitimate IT vendor. Karkoff shares Exchange-based communication characteristics with other APT34 implants, including PowerExchange and STEALHOOK.

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 →
OilRig

Cisco Talos's investigation into the group's new Karkoff implant.

via trustwave othertrustwave.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

4 techniques
T1078Valid AccountsEvidence1

used a hardcoded account to authenticate the said communication. Aside from using hardcoded accounts as exchange accounts, APT34 can add a new module that can monitor changes in passwords and use the new accounts to send mails

T1195Supply Chain CompromiseEvidence1

This pattern is consistent with OilRig's established tactic of compromising trusted IT vendors to gain access to their government and critical infrastructure clients.

T1566PhishingEvidence1

in the two separate attacks using Karkoff ... and Saitama ... the group used macros inside Excel files as part of the first stage to send phishing emails since the group did not have access to the enterprise yet.

T1566.001Spearphishing AttachmentEvidence1

They use phishing emails to deliver weaponized Microsoft Excel documents... Between 2014 to 2016, the group's attack campaigns targeted banks and technology organizations in Saudi Arabia with phishing emails that included weaponized Microsoft Excel attachments.

Execution

4 techniques
T1053Scheduled Task/JobEvidence1

Karkoff maintains persistence via scheduled tasks or registry run keys.

T1059Command and Scripting InterpreterEvidence1

the group used macros inside Excel files as part of the first stage

T1059.005Visual BasicEvidence1

the group used macros inside Excel files as part of the first stage ... Despite the dated Saitama operation’s first stage dropper, a VBA macro that drops the actual .Net backdoor Saitama malware

T1204.002Malicious FileEvidence1

From there they asked victims to open malicious documents.

Persistence

3 techniques
T1053Scheduled Task/JobEvidence1

Karkoff maintains persistence via scheduled tasks or registry run keys.

T1078Valid AccountsEvidence1

used a hardcoded account to authenticate the said communication. Aside from using hardcoded accounts as exchange accounts, APT34 can add a new module that can monitor changes in passwords and use the new accounts to send mails

T1547.001Registry Run Keys / Startup FolderEvidence1

Karkoff maintains persistence via scheduled tasks or registry run keys.

Privilege Escalation

3 techniques
T1053Scheduled Task/JobEvidence1

Karkoff maintains persistence via scheduled tasks or registry run keys.

T1078Valid AccountsEvidence1

used a hardcoded account to authenticate the said communication. Aside from using hardcoded accounts as exchange accounts, APT34 can add a new module that can monitor changes in passwords and use the new accounts to send mails

T1547.001Registry Run Keys / Startup FolderEvidence1

Karkoff maintains persistence via scheduled tasks or registry run keys.

Stealth

4 techniques
T1036MasqueradingEvidence1

The internal filename of the signed Karkoff sample, egatdmtools.exe, mimics tooling associated with EGAT (Electricity Generating Authority of Thailand)... A binary named egatdmtools.exe, signed by MOSCII's certificate, would appear entirely legitimate.

T1070Indicator RemovalEvidence1

Stripped metadata: No internal name, company string, or product version is present. This removes static analysis anchors that analysts and YARA rules rely on.

T1070.006TimestompEvidence1

The 2014 compile date on a sample submitted in 2026 is an immediate red flag. This is a known anti-forensics technique where threat actors set the PE timestamp to a historical date to confuse timeline analysis.

T1078Valid AccountsEvidence1

used a hardcoded account to authenticate the said communication. Aside from using hardcoded accounts as exchange accounts, APT34 can add a new module that can monitor changes in passwords and use the new accounts to send mails

Defense Impairment

1 technique
T1553.002Code SigningEvidence1

OilRig activity leveraging a stolen Entrust Extended Validation (EV) code signing certificate issued to Thai IT vendor MOSCII Corporation. The certificate was used to sign multiple malware samples, including the Karkoff backdoor.

Command and Control

4 techniques
T1071Application Layer ProtocolEvidence2

Karkoff malware has a full backdoor module using a government exchange server as a communication channel via send/received commands over an exchanged server

T1071.001Web ProtocolsEvidence1

They also created a new remote administration tool that supported HTTP and DNS communication.

T1071.004DNSEvidence1

They also created a new remote administration tool that supported HTTP and DNS communication.

T1568Dynamic ResolutionEvidence1

from the heavy use of DNS-based command and control (C&C) communication

Exfiltration

2 techniques
T1041Exfiltration Over C2 ChannelEvidence1

the latest compromise seems to be rewritten to use the same technique but only to exfiltrate data over the mail channel.

T1048Exfiltration Over Alternative ProtocolEvidence1

Shifting to new data exfiltration techniques — from the heavy use of DNS-based command and control (C&C) communication to combining it with the legitimate simple mail transfer protocol (SMTP) mail traffic — to bypass any security policies enforced on the network perimeters.

Indicators of compromise

Observables

48 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+3 more in the timeline. Sign up to see them
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
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 matching48Match 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 mapping19Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.