A sophisticated cyber-espionage campaign targeting Indian government entities has been identified, employing newly developed Python-based ELF malware by the Pakistan-based threat actor APT36, also known as Transparent Tribe. This operation signifies a notable advancement in the group’s capabilities, particularly their adaptability to Linux-based operating systems, which are prevalent within Indian government networks.
The campaign utilizes spear-phishing emails containing weaponized Linux shortcut files, designed to elude detection and deceive targeted employees. Upon interaction, these files silently download and execute malicious components, while simultaneously presenting the user with seemingly harmless decoy content, thereby enabling persistent access to critical infrastructure undetected.
APT36 Leverages Python-Based ELF Malware Against Indian Government
APT36’s strategic shift towards targeting Linux environments, including the widely deployed BOSS operating system in Indian government agencies, marks a significant evolution in their operational doctrine. Historically, the group has primarily focused on Windows-based attacks. By diversifying their toolkit to exploit multiple platforms, the threat actors effectively broaden their attack surface and enhance their operational effectiveness against a wider range of targets.
Security analysts at Cyfirma first detected the campaign after identifying the weaponized .desktop files being circulated through meticulously crafted phishing efforts. The researchers detailed how the infection chain commences with a deceptive archive file harboring the malicious shortcut. This shortcut initiates a multi-stage payload delivery process, which includes downloading a decoy PDF document to distract the user while covertly fetching and installing the primary ELF malware from attacker-controlled servers.
Malware’s Sophisticated Infection Mechanism
The malware’s infection mechanism ingeniously resorts to .desktop files as intermediary delivery vectors. This approach allows the threat actors to mask their malicious intent while maintaining significant flexibility in how they deploy their payloads. Unlike directly distributing ELF binaries, which are more readily identified by security systems, .desktop files appear as legitimate user shortcuts on Linux systems, executing embedded commands discreetly.
This method facilitates dynamic payload retrieval and considerably reduces the digital forensic trail left by the attackers. Analysis of the extracted malware reveals a feature-rich remote access tool. This tool is capable of executing arbitrary shell commands, establishing command-and-control (C2) communication, capturing screenshots of user activity, and exfiltrating sensitive data from compromised systems.
To ensure persistence, the malware leverages systemd user-level services, guaranteeing its continued operation across system reboots and user sessions. This strategic use of .desktop files combined with shell script execution is key to bypassing traditional security controls and maintaining an undetected presence within target networks.
The campaign’s infrastructure appears to utilize recently registered domains and compromised servers situated across multiple countries. For instance, the malicious domain lionsdenim[.]xyz, registered only 22 days prior to its discovery, along with the IP address 185.235.137.90 located in Frankfurt, are facilitating the delivery of these payloads.
Indian government agencies are strongly advised to implement immediate mitigation measures to counter this persistent threat. This includes reinforcing email security protocols, deploying advanced endpoint detection and response (EDR) solutions, and enforcing strict application authorization policies to prevent unauthorized software execution.

