PromptSpy
- Type
- RAT
- Capabilities
- Credential theftExfiltrationPersistenceDefense evasionReconnaissance
- Delivery
- Landing pageLure
- Platforms
- Android
PromptSpy is an Android remote access trojan with spyware capabilities that integrates Google's cloud-hosted Gemini API into its execution flow. It sends a structured representation of the device's visible interface and a navigation objective to Gemini, then translates the returned instructions into taps and swipes through Android accessibility services. This enables interface automation across different device layouts without relying exclusively on hardcoded interaction sequences.
PromptSpy can steal lockscreen PINs and passwords, enumerate installed applications, capture screenshots, record video, and provide attackers with live remote screen control. It encrypts its communications and supports remote updates to configuration components, including Gemini API keys and remote-access relay infrastructure. Operators can also use Firebase Cloud Messaging to relaunch the backdoor.
The malware uses AI-assisted navigation to lock itself into the recent-apps list, helping maintain execution. It resists removal by placing invisible overlays over system Stop and Uninstall controls, intercepting touch events and making those controls appear unresponsive. Distribution has involved a fraudulent website impersonating an Argentine banking service and offering a malicious Android application. PromptSpy was identified by ESET and subsequently examined by Google Threat Intelligence Group; no confirmed threat-actor attribution has been established.
Techniques & procedures
29 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
1 technique
Reconnaissance
PROMPTSPY’s “GeminiAutomationAgent” module serializes the device’s visible UI hierarchy into XML, sends it to Gemini’s gemini-2.5-flash-lite model, and receives structured JSON commands...
Resource Development
1 technique
Resource Development
“AI-enabled malware, such as PROMPTSPY, signal a shift toward autonomous attack orchestration, where models interpret system states to dynamically generate commands and manipulate victim environments.”
Initial Access
3 techniques
Initial Access
If the victim device becomes inactive, PROMPTSPY operators can utilize Firebase Cloud Messaging (FCM) to relaunch the backdoor, allowing the threat actor to continue their intrusion activity without alerting the victim.
Their analysis found that the malware was distributed through a website designed to look like the Argentine branch of a major banking brand, complete with a matching app name meant to build trust with targets.
“distributed through malicious websites impersonating Chase Bank, using branding like ‘MorganArg.’ A related phishing app… helps deliver the final payload.”
Execution
3 techniques
Execution
Instead of hardcoding taps for every possible screen layout, PromptSpy sends Gemini a plain language request along with a full map of everything visible on the current screen... Gemini studies that data and sends back a set of instructions describing which gestures to perform and where.
When a victim tries to uninstall it, PromptSpy locates the uninstall button on screen and places an invisible layer over it, intercepting the victim's tap so the button appears not to work.
“PromptSpy deploys a VNC module for remote control, abuses Accessibility Services to block removal…” … “After installation, it requests Accessibility permissions…” … “To prevent removal, it overlays invisible elements over uninstall buttons.”
Persistence
3 techniques
Persistence
If the victim device becomes inactive, PROMPTSPY operators can utilize Firebase Cloud Messaging (FCM) to relaunch the backdoor, allowing the threat actor to continue their intrusion activity without alerting the victim.
PromptSpy carries out those actions through Android’s accessibility tools, then checks the updated screen and repeats the process until the app is confirmed locked in place.
If the victim device becomes inactive, PROMPTSPY operators can utilize Firebase Cloud Messaging (FCM) to relaunch the backdoor, allowing the threat actor to continue their intrusion activity without alerting the victim.
Privilege Escalation
3 techniques
Privilege Escalation
PromptSpy carries out those actions through Android’s accessibility tools, then checks the updated screen and repeats the process until the app is confirmed locked in place.
If the victim device becomes inactive, PROMPTSPY operators can utilize Firebase Cloud Messaging (FCM) to relaunch the backdoor, allowing the threat actor to continue their intrusion activity without alerting the victim.
If the victim tries to uninstall PROMPTSPY, the malware employs its 'AppProtectionDetector' module to identify the on-screen coordinates of the 'Uninstall' button. The malware renders an invisible overlay directly over the button as a shield that silently intercepts and consumes the victim's touch events, making the button appear unresponsive to the user.
Stealth
5 techniques
Stealth
Their analysis found that the malware was distributed through a website designed to look like the Argentine branch of a major banking brand, complete with a matching app name meant to build trust with targets.
It abuses accessibility permissions to place invisible overlays directly on top of the Stop and Uninstall buttons in the app settings menu, so tapping them does nothing.
Promptspy used the Gemini API as an Android backdoor to analyze UI structure and simulate clicks, swipes, and even included a delete sabotage feature.
It abuses accessibility permissions to place invisible overlays directly on top of the Stop and Uninstall buttons in the app settings menu, so tapping them does nothing.
When a victim tries to uninstall it, PromptSpy locates the uninstall button on screen and places an invisible layer over it, intercepting the victim's tap so the button appears not to work.
Defense Impairment
1 technique
Defense Impairment
Investigators identified an autonomous component called "GeminiAutomationAgent," which reportedly relies on a hardcoded prompt to help the malware evade AI safety mechanisms.
Credential Access
4 techniques
Credential Access
PROMPTSPY embeds a module called GeminiAutomationAgent that sends a serialized XML representation of the victim device’s current UI hierarchy... and parses the model’s structured JSON response into specific touch coordinates and gesture commands.
placing a transparent overlay over the “delete” button to intercept touch events when the victim tries to delete the app
“PromptSpy submits a natural language prompt to Gemini, together with an XML dump of the device's current screen, and the chatbot returns JSON instructions for what action to perform and where to perform it…”
It can also capture biometric replay artifacts to re-authenticate to a locked device
Discovery
2 techniques
Discovery
It can capture lockscreen PINs and passwords, list installed apps, snap screenshots on demand, and even record video without the user noticing.
Promptspy used the Gemini API as an Android backdoor to analyze UI structure and simulate clicks, swipes, and even included a delete sabotage feature.
Lateral Movement
1 technique
Lateral Movement
“ESET calls it PromptSpy, malware whose primary goal is to deploy a VNC module that hands hackers remote control of infected devices.”
Collection
4 techniques
Collection
PROMPTSPY embeds a module called GeminiAutomationAgent that sends a serialized XML representation of the victim device’s current UI hierarchy... and parses the model’s structured JSON response into specific touch coordinates and gesture commands.
placing a transparent overlay over the “delete” button to intercept touch events when the victim tries to delete the app
“PromptSpy submits a natural language prompt to Gemini, together with an XML dump of the device's current screen, and the chatbot returns JSON instructions for what action to perform and where to perform it…”
It can capture lockscreen PINs and passwords, list installed apps, snap screenshots on demand, and even record video without the user noticing.
Command and Control
5 techniques
Command and Control
Later research from Google’s Threat Intelligence Group added that PromptSpy’s AI component was built with broader screen navigation goals in mind, and that attackers can update pieces of the malware, including its Gemini API keys, remotely through its command and control channel.
Promptflux : A self-morphing dropper that calls the Gemini API to periodically rewrite its own source code
On the surface, PromptSpy behaves like a fairly standard remote access trojan... A built in remote access module gives attackers live control of the screen, and all of that communication is encrypted to help it slip past basic monitoring.
Specifically, the malware’s command-and-control (C2) infrastructure, including the Gemini API keys and the VNC relay server, can be updated dynamically via the C2 channel.
“uses encrypted C2 communications.” … “communicates with its C2 server using AES-encrypted VNC traffic.”
Impact
1 technique
Impact
Promptspy used the Gemini API as an Android backdoor to analyze UI structure and simulate clicks, swipes, and even included a delete sabotage feature.
Observables
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
40 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.