The Pakistan-linked Advanced Persistent Threat (APT) group SideCopy, a subgroup of Transparent Tribe (APT36), has been identified as the actor behind a new cyber-espionage campaign named Operation XENOFISCAL. This highly targeted operation is aimed at the Afghanistan Ministry of Finance, specifically its provincial directorates and Pashto-speaking officials. The attack employs a classic spear-phishing vector, using a ZIP archive containing a malicious LNK file disguised with a Pashto filename. The infection chain is designed to be evasive, leveraging legitimate Windows processes and a compromised Afghan educational domain to download and execute the final payload: the open-source XenoRAT remote access trojan. The campaign's goal is espionage, enabling the attackers to conduct surveillance and exfiltrate sensitive government data.
Operation XENOFISCAL demonstrates SideCopy's deep understanding of its target environment. The campaign is not a wide-net phishing attack but a carefully crafted operation focused on specific individuals within the Afghan government.
mshta.exe to fetch and run a remote HTML Application (HTA) file from a compromised Afghan education domain (abimj.edu.af).This campaign is consistent with SideCopy's known TTPs, which involve using lures relevant to South Asian politics and military affairs and customizing open-source malware for their operations.
The infection chain is designed for stealth and persistence:
T1566.001): The user receives a ZIP file via email.T1204.002): The user opens the LNK file within the ZIP.mshta.exe (T1218.005): The LNK file's command line executes mshta.exe to download and run an HTA file from a remote, compromised server.T1547.001): The malware creates a registry run key, often mimicking a legitimate application like Microsoft Edge, to ensure it runs every time the system starts.T1071.001): XenoRAT connects to its command-and-control server (e.g., 185.235.137.106) over TCP to receive commands and exfiltrate data.XenoRAT Capabilities: Once active, XenoRAT provides the attacker with extensive control over the victim's machine, including keylogging, screen capture, file system access, webcam and microphone activation, and the ability to drop additional malware.
The successful compromise of systems within Afghanistan's Ministry of Finance could have significant geopolitical and security implications. The impact includes:
The campaign highlights the persistent cyber-threats faced by government institutions in geopolitically sensitive regions.
abimj.edu.af185.235.137.106Security teams can hunt for this activity using the following clues:
mshta.exe http://* or mshta.exe https://*mshta.exe making network connections to download remote HTA or JS files, a common TTP for this and other threat actors.*.lnk in *.zipHKCU\Software\Microsoft\Windows\CurrentVersion\Run185.235.137.106outlook.exe -> explorer.exe -> mshta.exe. EDR rules can be created to alert on mshta.exe spawning from an Office application or a LNK file execution and making a network connection. This is an application of Process Lineage Analysis.abimj.edu.af.M1017): Train users to be suspicious of unsolicited emails, especially those with attachments. Teach them to recognize the dangers of LNK files and other script-based attachments.mshta.exe from executing potentially malicious code. For example, the rule "Block all Office applications from creating child processes" can be highly effective.mshta.exe in user directories..hta and .js files from mshta.exe/wscript.exe to a benign application like notepad.exe. This prevents accidental execution by the user.Train users to identify and report spear-phishing emails and to be wary of unexpected attachments, especially ZIP files containing shortcuts.
Block known malicious C2 domains and IPs at the network perimeter.
Use Attack Surface Reduction (ASR) rules or application control policies to block or restrict the execution of mshta.exe.
Ensure endpoint security solutions are up to date to detect known loaders and RATs like XenoRAT.
A key part of the SideCopy attack chain is the abuse of the legitimate Windows utility mshta.exe. Implement application control policies, such as Windows AppLocker or Defender Application Control, to restrict or block the execution of mshta.exe. For most modern enterprise environments, there is no legitimate business need for users to run HTML Applications. By creating a denylist rule for mshta.exe or, more effectively, an allowlist that does not include it, you can break the infection chain at a critical point. This preventative control is highly effective against this and many other 'living-off-the-land' attack techniques.
Deploy network traffic analysis to detect the C2 communication of XenoRAT. Specifically, configure your firewall, proxy, and DNS logs to be ingested into a SIEM. Create alerts for any outbound connections from your network to the known C2 IP address 185.235.137.106 or the compromised domain abimj.edu.af. Beyond these specific IOCs, use behavioral analysis to look for signs of RAT activity, such as persistent, low-volume 'heartbeat' connections over TCP to a single external IP, or sudden bursts of data transfer from a workstation that is not expected to be uploading large files. This provides a crucial detection layer for when an endpoint is successfully compromised.
Enhance email security gateways with advanced file analysis and sandboxing. Configure policies to specifically analyze ZIP files containing LNK, HTA, or script files. The sandbox should be able to 'detonate' the LNK file and observe the subsequent process chain, including the call to mshta.exe and the network connection to the remote server. Any email containing an attachment that exhibits this behavior should be automatically quarantined, and an alert should be sent to the security team. This automated analysis of incoming files is essential for stopping the initial delivery vector before it reaches the user's inbox.

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.
Help others stay informed about cybersecurity threats
Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.
Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.
Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.
Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.
Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.