Cyber Security News

APT36 Hackers Weaponizing PDF Files to Attack Indian Railways, Oil & Government Systems

The Pakistan-linked Advanced Persistent Threat (APT) group APT36, also known as Transparent Tribe, has significantly expanded its cyber operations beyond traditional military targets to encompass critical Indian infrastructure including railway systems, oil and gas facilities, and key government ministries.

This escalation represents a concerning shift in the threat landscape, as the group demonstrates increasingly sophisticated attack methodologies designed to penetrate and persist within India’s most sensitive operational networks.

The threat actors have refined their attack arsenal by weaponizing seemingly innocuous PDF documents through a deceptive technique involving malicious .desktop files.

These files masquerade as legitimate PDF documents but contain embedded scripts that execute in the background while displaying decoy content to unsuspecting victims.

The campaign specifically targets high-value entities including the Ministry of External Affairs, Indian Railways infrastructure, and energy sector organizations, indicating a strategic focus on disrupting critical national services.

Hunt.io researchers identified this campaign in July 2025, discovering over 100 phishing domains designed to impersonate Indian government organizations.

The researchers uncovered two distinct attack variants, each employing separate command and control infrastructure to maintain operational security and provide redundancy against defensive countermeasures.

The sophistication of this infrastructure suggests a well-resourced operation with long-term strategic objectives.

The attack methodology centers on the deployment of the Poseidon backdoor, a sophisticated malware built on the open-source Mythic command and control framework using the Go programming language.

This backdoor provides the attackers with comprehensive system access, enabling credential harvesting, lateral movement capabilities, and persistent surveillance of compromised networks.

The modular design allows operators to dynamically load additional functionality based on specific mission requirements.

Infection Mechanism and Technical Implementation

The infection chain begins when victims receive .desktop files disguised as official government documents, such as “National Anubhav Scheme-2025.pdf.”

Upon execution, these files deploy sophisticated evasion techniques including extended sleep timers and environment detection to bypass dynamic analysis systems.

The malware establishes persistence through automated cron job scheduling, ensuring continuous operation even after system reboots.

The technical implementation reveals two primary attack variants. The first variant utilizes a single command and control server at 209.38.203.53, employing base64-encoded URL paths to obfuscate payload locations:-

# Base64 decoded C2 paths used by APT36
/dG9nb2pvbW8=/p7zip-full  # Decoded: /togojomo/p7zip-full
/eXVndW5kdQ==/tcl-8.7     # Decoded: /yugandu/tcl-8.7

# Persistence mechanism using cron jobs
*/5 * * * * /dev/shm/emacs-bin &
*/10 * * * * ~/.local/share/crond-98 &

The second variant demonstrates enhanced resilience through redundant infrastructure, operating dual command and control servers at 165.232.114.63 and 165.22.251.224.

First variant of the malicious desktop (Source – Hunt.io)

Malicious payloads are strategically placed in system directories using names like “emacs-bin” and “crond-98” to blend with legitimate system processes, significantly complicating detection efforts.

Second variant of the malicious desktop (Source – Hunt.io)

This illustrates the first attack variant’s execution flow, while the second one shows the redundant infrastructure approach of the second variant.

C2 servers of Poseidon backdoor (Source – Hunt.io)

The Poseidon backdoor communicates with dedicated C2 servers at 178.128.204.138 and 64.227.189.57, both hosted on DigitalOcean infrastructure, utilizing port 7443 for secure command transmission.

Integrate ANY.RUN TI Lookup with your SIEM or SOAR To Analyses Advanced Threats -> Try 50 Free Trial Searches

Tushar Subhra Dutta

Tushar is a senior cybersecurity and breach reporter. He specializes in covering cybersecurity news, trends, and emerging threats, data breaches, and malware attacks. With years of experience, he brings clarity and depth to complex security topics.

Recent Posts

Google Unveils New Android AI Protections to Block Scam Calls, Phishing Links and OTP Theft

Google has announced a new set of Android security protections designed to stop mobile scams…

3 hours ago

Hackers Exploiting Plex Vulnerabilities in the Wild to Deploy Cryptominer Malware

Hackers are exploiting flaws in Plex Media Server to install cryptocurrency mining malware, with a…

5 hours ago

Microsoft Confirms October Windows Updates Can Break Exchange Server Email Services

Microsoft has confirmed that Windows Server security updates released on October 13, 2026, can disrupt…

5 hours ago

OpenCode Security Breach Exposes Third-Party API Keys of its Console Users

OpenCode has disclosed a security breach affecting 1.4% of its Console users, warning that third-party…

1 day ago

Claude AI Solves 25-Year NSA Cryptography Mystery in Just 30 Minutes

Anthropic says an internal Claude research model has traced the origins of five NSA-supplied elliptic…

2 days ago

Hackers used Compromised ConnectWise Backup Credentials to Hack 173 Microsoft 365 Accounts

Hackers used a stolen ConnectWise Cloud Backup credential to sign in to 173 Microsoft 365…

2 days ago