CapraRAT
- Type
- RAT
- Capabilities
- ExfiltrationPersistenceDefense evasionReconnaissance
- Delivery
- SpearphishingLanding pageLure
- Platforms
- Android
CapraRAT is an Android remote access trojan derived from the open-source AndroRAT malware and used by Transparent Tribe, also known as APT36, a Pakistan-linked cyberespionage group. It supports targeted surveillance and data theft, with documented operations focused on individuals in India and Pakistan, including military and diplomatic personnel, people connected to Kashmir-related affairs, and human rights activists working on Pakistan-related issues.
CapraRAT collects and exfiltrates SMS messages, contacts, call logs, device location, notification text, files, and information about running applications. It can capture screenshots and photographs, record calls and ambient audio, and access the front and rear cameras. Its remote-control functions include sending or intercepting SMS messages, initiating calls, launching or terminating applications, downloading and deleting files, and changing selected device settings. Analyzed variants establish persistence through automatic application startup and recurring alarms; some can hide the application on Android 9 and earlier.
Distribution relies on social engineering, including spearphishing and romance-themed lures, to persuade victims to sideload malicious applications from attacker-controlled websites outside Google Play. CapraRAT has been embedded in trojanized messaging and calling applications and applications impersonating YouTube or offering themed video and gaming content. Some retain functional messaging features or display legitimate content through Android WebView to support their disguise. Later variants retain the core surveillance functionality while improving compatibility with newer Android releases, including Android 13 and 14.
Associated threat actors
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
“Their historical RAT arsenal includes CapraRAT, Crimson RAT, ElizaRAT, and DeskRAT.”
SentinelLABS has identified four new CapraRAT APKs associated with suspected Pakistan state-aligned actor Transparent Tribe. These APKs continue the group’s trend of embedding spyware into curated video browsing applications, with a new expansion targeting mobile gamers, weapons enthusiasts, and TikTok fans.
在泄露数据中我们还发现了一个疑似攻击者的设备,该设备上存在一个名称为“y.apk”的文件,该文件属于透明部落组织CapraRAT家族移动端RAT样本。… 在同家族样本的某个投递地址下,我们发现了一个名称为“ynjhjhgfdt.apk”的APK文件,该文件也属于透明部落组织CapraRAT恶意家族。
Techniques & procedures
20 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
The group relies heavily on social engineering attacks to deliver a variety of Windows and Android spyware, including spear-phishing and watering hole attacks.
The group relies heavily on social engineering attacks to deliver a variety of Windows and Android spyware, including spear-phishing and watering hole attacks.
Victims were probably targeted through a honey-trap romance scam, where they were initially contacted on another platform and then convinced to use supposedly “more secure” apps, which they were then lured into installing.
Execution
3 techniques
Execution
MainActivity is responsible for driving the application’s key features. This activity sets persistence through the onCreate method... this method calls the serviceRefresh method, which creates an alarm at the interval specified in the settings file’s timeForAlarm variable... the alarm and persistence launcher run once per minute.
TPSClient contains CapraRAT’s commands, which are invoked through the run method via a series of switch statements that map the string command to a related method.
In September 2023, SentinelLABS outlined the CapraTube campaign, which used weaponized Android applications (APK) designed to mimic YouTube... The activity highlighted in this report shows the continuation of this technique...
Persistence
2 techniques
Persistence
MainActivity is responsible for driving the application’s key features. This activity sets persistence through the onCreate method... this method calls the serviceRefresh method, which creates an alarm at the interval specified in the settings file’s timeForAlarm variable... the alarm and persistence launcher run once per minute.
Notable features include: Overriding system settings such as GPS & Network Modifying files on the phone’s filesystem.
Privilege Escalation
1 technique
Privilege Escalation
MainActivity is responsible for driving the application’s key features. This activity sets persistence through the onCreate method... this method calls the serviceRefresh method, which creates an alarm at the interval specified in the settings file’s timeForAlarm variable... the alarm and persistence launcher run once per minute.
Stealth
4 techniques
Stealth
This campaign has distributed CapraRAT backdoors through at least two similar websites, while representing them as untainted versions of those secure messaging apps.
MainActivity calls the TCHPClient class... including... killFile (file deletion)
mRun performs a connectivity check to decide whether to connect to the C2 using the hostname shareboxs[.]net or the hardcoded IP address 173[.]249[.]50[.]243 .
The hideApp method now checks if the system is running Android version 9 or earlier... if applicable, the app will be hidden from the user’s view.
Defense Impairment
1 technique
Defense Impairment
Notable features include: Overriding system settings such as GPS & Network Modifying files on the phone’s filesystem.
Discovery
2 techniques
Discovery
MainActivity calls the TCHPClient class, which contains the malicious capabilities leveraged by CapraRAT. This class drives several spyware classes and methods, including... DirLister (file browsing)
mRun performs a connectivity check to decide whether to connect to the C2 using the hostname shareboxs[.]net or the hardcoded IP address 173[.]249[.]50[.]243 .
Collection
3 techniques
Collection
When the app first launches, the user is prompted to grant several risky permissions, including... Record audio and screen, take screenshots
When the app first launches, the user is prompted to grant several risky permissions, including... Record audio and screen, take screenshots... MainActivity calls the TCHPClient class, which contains the malicious capabilities leveraged by CapraRAT. This class drives several spyware classes and methods, including: audioStreamer ( aStreamer )
When the app first launches, the user is prompted to grant several risky permissions, including... Use camera... MainActivity calls the TCHPClient class... including... PhotoTaker
Command and Control
3 techniques
Command and Control
The sendData method is responsible for constructing the data collected by other methods and classes and sending it to the C2. The mRun method constructs the socket and sends the data to the C2 server using the variables specified in the Settings class.
mRun performs a connectivity check to decide whether to connect to the C2 using the hostname shareboxs[.]net or the hardcoded IP address 173[.]249[.]50[.]243 .
MainActivity calls the TCHPClient class... including... downloadFile
Exfiltration
1 technique
Exfiltration
CapraRAT is a comprehensive RAT that provides the actors with the ability to harvest data on demand and exfiltrate it.
Impact
1 technique
Impact
MainActivity calls the TCHPClient class... including... killProcess
Observables
26 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.