Skip to main content
Mallory
Malware

GoldenSpy

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
Actors0Associated
ATT&CK43Techniques
IOCs39Tracked
Type
Backdoor
Capabilities
Initial accessPersistencePost exploitationExfiltrationDefense evasion
Delivery
Landing page
Platforms
Windows

GoldenSpy is a Windows backdoor covertly distributed alongside Aisino Intelligent Tax, a legitimate application used for Chinese VAT administration. Identified in 2020, it affected organizations operating in China, including a global technology vendor and a financial institution. Its delivery through required business software provided a software supply-chain initial-access vector. No specific threat actor has been conclusively identified as its operator.

GoldenSpy is silently downloaded and installed approximately two hours after the tax application's installation. It runs with SYSTEM privileges and enables remote execution of Windows commands through the WinExec API, transfer and execution of arbitrary binaries, and creation of local user accounts. It collects and exfiltrates host environment information through its command-and-control infrastructure, which is separate from the legitimate tax application's infrastructure. Communications include HTTP and WebSocket traffic over nonstandard ports, with randomized beacon intervals intended to reduce detection.

Persistence relies on two identical copies registered as autostart Windows services. The copies monitor and restart one another, while an additional protection component can download and reinstall the malware if its files are deleted. Removing Intelligent Tax does not remove GoldenSpy. Following public disclosure in June 2020, the tax software delivered uninstallers that removed GoldenSpy, deleted associated files, directories and registry entries, and then deleted themselves. Subsequent removal components incorporated additional obfuscation and detection-avoidance changes. GoldenSpy is distinct from GoldenHelper, a separate malware family associated with other Chinese tax software.

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
MITRE ATT&CK

Techniques & procedures

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

Initial Access

2 techniques
T1195Supply Chain CompromiseEvidence4

Si l’ajout d’une fonctionnalité assimilable à une porte dérobée peut être le fait de son éditeur, celui-ci peut également être victime d’une attaque sur la chaîne d’approvisionnement visant à compromettre ses clients via ses logiciels.

T1195.002Compromise Software Supply ChainEvidence6

[GoldenSpy](https://attack.mitre.org/software/S0493) has been packaged with a legitimate tax preparation software.(Citation: Trustwave GoldenSpy June 2020)

Execution

7 techniques
T1053.005Scheduled TaskEvidence1

Aisino Version: The trojanized file schedules the malware download two hours after the tax software install.

T1059Command and Scripting InterpreterEvidence5

They have persistence mechanisms, communicate with a remote server at a random frequency, and allow arbitrary code to be executed with system administrator privileges without user interaction. | the installation of China’s Aisino Intelligent Tax VAT management software led to the deployment of what appears to be a backdoor dubbed “GoldenSpy” by Trustwave.

T1059.003Windows Command ShellEvidence6

[GoldenSpy](https://attack.mitre.org/software/S0493) can execute remote commands via the command-line interface.(Citation: Trustwave GoldenSpy June 2020)

T1106Native APIEvidence5

[GoldenSpy](https://attack.mitre.org/software/S0493) can execute remote commands in the Windows command shell using the <code>WinExec()</code> API.(Citation: Trustwave GoldenSpy June 2020)

T1204.002Malicious FileEvidence1

Execution User Execution: Malicious File (T1204.002) Aisino Version: See T1195.002 (above) Baiwang Version: See T1195.002 (above)

T1559.001Component Object ModelEvidence1

Baiwang Version: INF functions are invoked to use COM to bypass UAC to execute using CMSTP.

T1569.002Service ExecutionEvidence1

Aisino Version: The malware installs, establishes presence, and runs as system processes via “svm.exe” and “svmm.exe”. Baiwang Version: The malware installs, establishes presence, and runs as system processes via “WMPAssis”.

Persistence

9 techniques
T1053.005Scheduled TaskEvidence1

Aisino Version: The trojanized file schedules the malware download two hours after the tax software install.

T1136Create AccountEvidence1

APT3 has been known to create or enable accounts, such as support_388945a0 . ... APT5 has created Local Administrator accounts to maintain access ... DarkGate creates a local user account, SafeMode, via net user commands.

T1136.001Local AccountEvidence4

[GoldenSpy](https://attack.mitre.org/software/S0493) can create new users on an infected system.(Citation: Trustwave GoldenSpy June 2020)

T1205.001Port KnockingEvidence1

Aisino Version: “Svm.exe” uses a series of custom "UserAgent" strings to enable communication to the C2 server.

T1543Create or Modify System ProcessEvidence1

GoldenSpy installs two identical versions of itself, both as persistent autostart services. If either stops running, it will respawn its counterpart.

T1543.003Windows ServiceEvidence6

[GoldenSpy](https://attack.mitre.org/software/S0493) has established persistence by running in the background as an autostart service.(Citation: Trustwave GoldenSpy June 2020)

T1546Event Triggered ExecutionEvidence1

Aisino Version: “Svm.exe” and “svmm.exe” will download and reinstall its partner process if it is deleted.

T1547Boot or Logon Autostart ExecutionEvidence1

Stuxnet uses a driver registered as a boot start service as the main load-point.

T1547.001Registry Run Keys / Startup FolderEvidence1

Aisino Version: “Svm.exe” generates and stores uuid on HKLM\Software\IDG\DA. Baiwang Version: Numerous values were added under HKLM\SYSTEM\CurrentControlSet\services\WMPAssis”.

Privilege Escalation

7 techniques
T1053.005Scheduled TaskEvidence1

Aisino Version: The trojanized file schedules the malware download two hours after the tax software install.

T1543Create or Modify System ProcessEvidence1

GoldenSpy installs two identical versions of itself, both as persistent autostart services. If either stops running, it will respawn its counterpart.

T1543.003Windows ServiceEvidence6

[GoldenSpy](https://attack.mitre.org/software/S0493) has established persistence by running in the background as an autostart service.(Citation: Trustwave GoldenSpy June 2020)

T1546Event Triggered ExecutionEvidence1

Aisino Version: “Svm.exe” and “svmm.exe” will download and reinstall its partner process if it is deleted.

T1547Boot or Logon Autostart ExecutionEvidence1

Stuxnet uses a driver registered as a boot start service as the main load-point.

T1547.001Registry Run Keys / Startup FolderEvidence1

Aisino Version: “Svm.exe” generates and stores uuid on HKLM\Software\IDG\DA. Baiwang Version: Numerous values were added under HKLM\SYSTEM\CurrentControlSet\services\WMPAssis”.

T1548.002Bypass User Account ControlEvidence1

Baiwang Version: See T1559.001 (above)

Stealth

12 techniques
T1027Obfuscated Files or InformationEvidence6

Aisino Version: “Plugin.exe” and “mplugin.exe” logs are encrypted with SM4 Block cipher with a 16-byte key and then encoded in Base64.

T1027.013Encrypted/Encoded FileEvidence3

[GoldenSpy](https://attack.mitre.org/software/S0493)'s uninstaller has base64-encoded its variables. (Citation: Trustwave GoldenSpy2 June 2020)

T1036MasqueradingEvidence5

actors used the following command to rename one of their tools to a benign file name: ren "%temp%\upload" audiodg.exe ... APT1 ... used ... AcroRD32.exe ... as a name for malware ... APT28 ... changed extensions on files containing exfiltrated data to make them appear benign ... APT32 has renamed a NetCat binary to kb-10233.exe to masquerade as a Windows update.

T1036.005Match Legitimate Resource Name or LocationEvidence4

[GoldenSpy](https://attack.mitre.org/software/S0493)'s setup file installs initial executables under the folder <code>%WinDir%\System32\PluginManager</code>.(Citation: Trustwave GoldenSpy June 2020)

T1070Indicator RemovalEvidence5

Ce code a pour effet de désinstaller GoldenSpy et d’effacer toutes les traces de sa présence sur la machine.

T1070.004File DeletionEvidence10

[GoldenSpy](https://attack.mitre.org/software/S0493)'s uninstaller can delete registry entries, files and folders, and finally itself once these tasks have been completed.(Citation: Trustwave GoldenSpy2 June 2020)

T1070.009Clear PersistenceEvidence1

Cherry Picker delete files and registry keys created by the malware. GoldenSpy's uninstaller can delete registry entries, files and folders, and finally itself once these tasks have been completed. QUADAGENT has a command to delete its Registry key.

T1205.001Port KnockingEvidence1

Aisino Version: “Svm.exe” uses a series of custom "UserAgent" strings to enable communication to the C2 server.

T1218.003CMSTPEvidence1

Baiwang Version: See T1559.001 (above)

T1480Execution GuardrailsEvidence1

Baiwang Version: The malware checks if the victim system is running 64-bit version of Windows 7 or above before continuing the process.

T1497.003Time Based ChecksEvidence4

[GoldenSpy](https://attack.mitre.org/software/S0493)'s installer has delayed installation of [GoldenSpy](https://attack.mitre.org/software/S0493) for two hours after it reaches a victim system.(Citation: Trustwave GoldenSpy June 2020)

T1564.002Hidden UsersEvidence1

Baiwang Version: WriteStartINF is executed and then subsequently hides the file system.

Defense Impairment

2 techniques
T1553.002Code SigningEvidence1

Aisino Version: See T1195.002 (above) Baiwang Version: See T1195.002 (above)

T1685Disable or Modify ToolsEvidence2

une nouvelle version du code de désinstallation est envoyée, comprenant une modification qui semble être destinée à éviter d’être détectée par les règles YARA publiées par Trustwave

Discovery

4 techniques
T1082System Information DiscoveryEvidence12

[GoldenSpy](https://attack.mitre.org/software/S0493) has gathered operating system information.(Citation: Trustwave GoldenSpy June 2020)

T1083File and Directory DiscoveryEvidence5

[GoldenSpy](https://attack.mitre.org/software/S0493) has included a program "ExeProtector", which monitors for the existence of [GoldenSpy](https://attack.mitre.org/software/S0493) on the infected system and redownloads if necessary.(Citation: Trustwave GoldenSpy June 2020)

T1087Account DiscoveryEvidence1

Aisino Version: "Svm.exe" sends host environment information to threat actor C2. Baiwang Version: See T1480 (above)

T1497.003Time Based ChecksEvidence4

[GoldenSpy](https://attack.mitre.org/software/S0493)'s installer has delayed installation of [GoldenSpy](https://attack.mitre.org/software/S0493) for two hours after it reaches a victim system.(Citation: Trustwave GoldenSpy June 2020)

Command and Control

9 techniques
T1008Fallback ChannelsEvidence1

Aisino Version: Numerous IP/domains are coded for the malware to communicate. Baiwang Version: Numerous IP/domains are coded for the malware to download its additional files.

T1071Application Layer ProtocolEvidence3

it also installed a hidden backdoor on the system that enabled a remote adversary to execute Windows commands or to upload and execute any binary ... connected to a command and control server completely separate from the tax software’s network infrastructure. | After the first three attempts to contact its command and control server, it randomizes beacon times. This is a known method to avoid network security technologies designed to identify beaconing malware.

T1071.001Web ProtocolsEvidence8

[GoldenSpy](https://attack.mitre.org/software/S0493) has used the Ryeol HTTP Client to facilitate HTTP internet communication.(Citation: Trustwave GoldenSpy June 2020)

T1095Non-Application Layer ProtocolEvidence1

Aisino Version: See T1219 and T1571 (above)

T1105Ingress Tool TransferEvidence7

[GoldenSpy](https://attack.mitre.org/software/S0493) constantly attempts to download and execute files from the remote C2, including [GoldenSpy](https://attack.mitre.org/software/S0493) itself if not found on the system.(Citation: Trustwave GoldenSpy June 2020)

T1205.001Port KnockingEvidence1

Aisino Version: “Svm.exe” uses a series of custom "UserAgent" strings to enable communication to the C2 server.

T1219Remote Access ToolsEvidence2

Aisino Version: The malware enables telnet via 7357.

T1568.002Domain Generation AlgorithmsEvidence1

Baiwang Version: “Mshkos014.dat” utilize IP-based DGA to switch download domains.

T1571Non-Standard PortEvidence4

[GoldenSpy](https://attack.mitre.org/software/S0493) has used HTTP over ports 9005 and 9006 for network traffic, 9002 for C2 requests, 33666 as a WebSocket, and 8090 to download files.(Citation: Trustwave GoldenSpy June 2020)

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence6

[GoldenSpy](https://attack.mitre.org/software/S0493) has exfiltrated host environment information to an external C2 domain via port 9006.(Citation: Trustwave GoldenSpy June 2020)

Indicators of compromise

Observables

39 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 matching39Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups 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 mapping43Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.