Skip to main content
Mallory
Malware2 associated actors3 associated CVEs

agfSpy

Tracked since Mar 18, 2026 · Updated 9 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns3Associated
Actors2Associated
ATT&CK16Techniques
IOCs4Tracked
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
Associated CVEs

Associated vulnerabilities

3 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2019-1458via trendmicro documentsExploited in the wildWindows Win32k Elevation of PrivilegeIf instructed in the LPE (Local Privilege Escalation) column, the PowerShell loader may instruct downloading and executing an LPE binary exploiting CVE-2019-1458. This binary may download and execute the backdoors with system privileges.View vulnerability →Source ↗
CVE-2020-0674via trendmicro documentsExploited in the wildInternet Explorer Legacy JScript Engine Remote Code ExecutionWe also found another exploit abusing CVE-2020-0674, an Internet Explorer vulnerability injected into compromised websites. In particular, it runs a PowerShell loader that will infect victims with three different binaries. | Besides the SLUB variant, we found two other malware we named dneSpy and agfSpy... Our analysis revealed that the samples did not contain any functionality related to financial interests — instead, we found features intended to exfiltrate information and control infected systems.View vulnerability →Source ↗
CVE-2019-5782via trendmicro documentsExploited in the wildRCE via V8 Optimization in Chrome (CVE-2019-5782)The Chrome exploit involves chaining two vulnerabilities that have already been patched, with one assigned as CVE-2019-5782, while the other does not have an associated CVE identifier. The attacker reused the POC code to implement a weaponized version of it. | Besides the SLUB variant, we found two other malware we named dneSpy and agfSpy... Our analysis revealed that the samples did not contain any functionality related to financial interests — instead, we found features intended to exfiltrate information and control infected systems.View vulnerability →Source ↗
Threat actors

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.

View more details →
SLUB

Besides the SLUB variant, we found two other malware we named dneSpy and agfSpy... Our analysis revealed that the samples did not contain any functionality related to financial interests — instead, we found features intended to exfiltrate information and control infected systems.

via trendmicro documentsdocuments.trendmicro.com
APT37

"one of the espionage backdoors, named agfSpy, received a 'JSON' configuration with a list of native Windows commands to execute."

via trend micro researchtrendmicro.com
MITRE ATT&CK

Techniques & procedures

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

Resource Development

1 technique
T1584Compromise InfrastructureEvidence1

“sites using the GNUBoard Content Management System (CMS) had been compromised and were used to host malware.”

Initial Access

1 technique
T1189Drive-by CompromiseEvidence2

Its previous campaigns used watering hole tactics as an infection vector, using websites that discussed topics related to North Korea. | Victim accesses watering hole website; Exploit runs, malware loader run.

Execution

2 techniques
T1059.001PowerShellEvidence2

We also found another exploit abusing CVE-2020-0674, an Internet Explorer vulnerability injected into compromised websites. In particular, it runs a PowerShell loader that will infect victims with three different binaries.

T1203Exploitation for Client ExecutionEvidence1

The Chrome exploit involves chaining two vulnerabilities that have already been patched, with one assigned as CVE-2019-5782, while the other does not have an associated CVE identifier.

Persistence

1 technique
T1547.001Registry Run Keys / Startup FolderEvidence1

“the persistence mechanism in Operation Earth Kitsune uses the same naming convention to auto-start itself through the Windows run registry key.”

Privilege Escalation

2 techniques
T1068Exploitation for Privilege EscalationEvidence1

the PowerShell loader may instruct downloading and executing an LPE binary exploiting CVE-2019-1458. This binary may download and execute the backdoors with system privileges.

T1547.001Registry Run Keys / Startup FolderEvidence1

“the persistence mechanism in Operation Earth Kitsune uses the same naming convention to auto-start itself through the Windows run registry key.”

Stealth

4 techniques
T1027Obfuscated Files or InformationEvidence1

The malware uses ROT 12h to decipher the strings

T1027.007Dynamic API ResolutionEvidence1

Upon execution, the shellcode first de-obfuscates “ws2_32.dll” and “_.dll,” and then resolves the API modules based on their hashes using a known technique.

T1036MasqueradingEvidence1

This PowerShell script has a “jpg” extension and its logic is encoded in base64

T1497.001System ChecksEvidence1

the attacker skipped the samples’ deployment to the target machine if certain security products were installed on it.

Discovery

1 technique
T1497.001System ChecksEvidence1

the attacker skipped the samples’ deployment to the target machine if certain security products were installed on it.

Collection

2 techniques
T1005Data from Local SystemEvidence1

“received a ‘JSON’ configuration with a list of native Windows commands to execute… The output of those commands is exfiltrated… searching patterns… extension list… interest… ‘.hwp’”

T1113Screen CaptureEvidence1

“one feature… is the screenshot capture… clear indication of code sharing for the screenshot functionality.”

Command and Control

4 techniques
T1071Application Layer ProtocolEvidence1

The new SLUB variant interacts with the Mattermost server to keep track of the deployment across multiple infected machines.

T1095Non-Application Layer ProtocolEvidence1

the C&C communication happens to be with TCP at DNS standard port (53) to avoid being blocked by a firewall.

T1102Web ServiceEvidence1

“the samples from the Operation Earth Kitsune implemented the Mattermost command and control (C2) communication” and “Mattermost was being used as a C2 channel for the malware.”

T1105Ingress Tool TransferEvidence2

The dropper will download three samples: “1.jpg,” “2.jpg,” and “3.jpg.” Each sample is executed as being downloaded without any additional conditions.

Indicators of compromise

Observables

4 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
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 matching4Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors2Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities3CVEs 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 mapping16Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.