MargulasRAT
- Type
- RAT
- Capabilities
- ExfiltrationPersistencePost exploitationReconnaissance
- Delivery
- PhishingSpearphishingLure
- Platforms
- Windows
MargulasRAT is a custom remote access trojan associated with the SideCopy espionage cluster, a threat actor known for targeting Indian government, defense, and military-related personnel and organizations in South Asia. It has appeared alongside other SideCopy tooling such as CetaRAT, ReverseRAT, DetaRAT, ActionRAT, and AllaKore RAT, reflecting the group’s expanding malware arsenal and modular post-compromise tradecraft.
Observed delivery chains place MargulasRAT behind phishing operations using India-themed military and geopolitical lures. In documented campaigns, victims received phishing emails carrying a downloader disguised as a benign file, including image-themed executables. The downloader retrieved encrypted payload stages from remote infrastructure, decrypted them, displayed decoy content to distract the victim, established persistence through a script-based startup mechanism, and finally deployed the RAT.
MargulasRAT has been identified as a C# implant. Once active, it establishes socket-based command-and-control communications and transmits basic host profiling data including username, hostname, and operating system version. It then receives AES-protected tasking from the controller. Reported command support includes beaconing, stopping execution, downloading and executing additional payloads, self-updating, and capturing screenshots, indicating its role as a flexible espionage backdoor for interactive remote control and follow-on operations.
The malware is part of SideCopy’s broader intrusion ecosystem, which commonly uses lure documents themed around the Indian Ministry of Defence, regional military incidents, and other defense-related subjects. Campaign reporting links MargulasRAT use to spearphishing activity directed at government staff and defense-linked targets in India. Its operational context, command structure, and deployment patterns are consistent with intelligence collection and sustained access objectives rather than disruptive or destructive effects.
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.
The report disclosed that the group used various attack weapons, including CetaRAT, ReverseRAT, MargulasRAT, AllakoreRAT, and several C# plugins.
Techniques & procedures
13 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
攻击者主要以印度地区恐怖分子与士兵之间的冲突事故报告为主题,将下载器伪装为图片文件并通过钓鱼邮件发送给受害者。
It uses a malicious LNK file as the entry point... Spear-phishing emails, with LNK files in compressed packages as the attack entry point
Execution
2 techniques
Execution
解密后保存为p.vbs并执行,其主要功能是将...wnx.exe在注册表中添加启动项。
第二个短链接所指的加密内容被保存为khat.txt,解密后保存为p.vbs并执行。
Persistence
1 technique
Persistence
其主要功能是将第三段短链接解密后的wnx.exe在注册表中添加启动项,随后删除该vbs脚本。
Privilege Escalation
1 technique
Privilege Escalation
其主要功能是将第三段短链接解密后的wnx.exe在注册表中添加启动项,随后删除该vbs脚本。
Stealth
3 techniques
Stealth
该下载器通过白名单的短链接https://tinyurl.com将真实URL进行隐藏,以此来规避杀软的静态查杀。
样本将图标设置为诱饵图片,以伪装成普通图片文件引诱目标用户点击运行。
通过对短链接所指向的数据进行下载以后,利用解密算法进行解密。
Discovery
1 technique
Discovery
发送被感染机器的用户名,系统版本,主机名等信息。
Collection
1 technique
Collection
KIACHALRA 截取C2指定分辨率的屏幕截图,AES加密并发送。
Command and Control
3 techniques
Command and Control
MargulasRAT首先和C2进行Socket连接,发送被感染机器的用户名,系统版本,主机名等信息。随后接收C2返回的信息,经AES解密后执行远控指令。
当受害者解压并执行诱饵文件之后,程序将会从远程服务器下载数据文件到本地并解密执行,最终加载SideCopy自有远控软件MargulasRAT。
该样本实际为SideCopy常用的MargulasRAT。
Observables
25 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.