SpyAgent is a long-running malware family associated with abuse of legitimate remote-access software on Windows and, in more recent reporting, Android surveillance and credential-theft operations. On Windows, SpyAgent has been tracked under aliases including TeamSpy, TVRat, TeamBot, and Sheldor. It historically abused TeamViewer through DLL search order hijacking and later shifted to hijacking Safib Assistant, modifying or hooking legitimate remote-administration functionality to enable covert operator access while suppressing visible indicators such as logging and user interface elements. Windows variants use DLL side-loading, encrypted configuration data, HTTP-based command-and-control, victim environment fingerprinting, and user-idleness monitoring to help operators act when victims are away from their devices. SpyAgent has also been observed downloading and executing additional malware, including commodity stealers, RATs, and cryptocurrency clippers, indicating a financially motivated intrusion model focused on credential theft, wallet theft, and related post-compromise monetization.
Recent Android SpyAgent variants function as mobile spyware or infostealer implants delivered through trojanized applications and multi-stage droppers. Reported capabilities include abuse of Accessibility Services for screen monitoring, gesture injection, keylogging, and overlay-based credential phishing; interception of SMS messages; theft of contacts; screen capture and recording; camera access; and likely theft of cryptocurrency seed phrases through OCR-assisted collection of screenshots or on-screen wallet data. Android samples have also used persistence and anti-removal mechanisms involving boot receivers, scheduled jobs, alarms, and service-reset logic. Campaign reporting indicates targeting of users in South Korea, India, and Brazil, with lures themed around financial, social-media, telecom, and loyalty applications. Across both Windows and Android activity, SpyAgent is best characterized as a modular surveillance and theft platform used in financially motivated campaigns that combine stealth, social engineering, remote access abuse, and follow-on payload delivery.
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
12 distinct techniques documented for this family, organized by ATT&CK tactic.
Given the malicious actor’s use of traditional social engineering techniques such as fake websites, malicious advertisements, and spurious social media posts...
Given the malicious actor’s use of traditional social engineering techniques such as fake websites, malicious advertisements, and spurious social media posts, users should practice due diligence and avoid selecting any suspicious links or visiting dubious websites.
T1027.001 is a known MITRE technique that adversaries use to decrease the effectiveness of certain tools and detection capabilities that are not designed or configured to scan large files... SpyAgent’s quartz.dll was artificially inflated to the size of 1GB... SpyAgent’s dropper executable was artificially inflated to the size of 700MB.
SpyAgent comes with a config file (.cfg) that contains an encrypted configuration. The bitmap file (.bmp) is used for deriving the key to decrypt the config file.
The idleness monitoring thread monitors pressed keys and selecting or dragging movements. If the user is idle for more than one minute, it sends a sidl(start idle) request... The idleness monitoring thread allows the malware operator to choose the proper time when the victim is not present in order to stay unnoticed.
This vulnerability allows attackers to reconstruct the screen content of Android devices step by step, thereby extracting sensitive visual information, including private keys, seed phrases, and one-time 2FA authentication codes...
Value 1 = to_uppercase(crc32( HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MachineGuid )) Value 2 = to_uppercase(crc32( HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName ))
SpyAgent computes environment hash as an MD5 of the string created by concatenating the following: ... MachineGuid ... ProductName ... user name ... computer name.
The idleness monitoring thread monitors pressed keys and selecting or dragging movements. If the user is idle for more than one minute, it sends a sidl(start idle) request... The idleness monitoring thread allows the malware operator to choose the proper time when the victim is not present in order to stay unnoticed.
The C&C communication thread regularly makes a GET request to <C&C domain>/<C&C path>?id=<9digit number>&stat=<environment hash>.
SpyAgent uses HTTP for command and control <C&C domain>/<C&C path>?id=<9digit number>&stat=<environment hash>.
It might receive a response in the following format: !lexec;<url to download> restart delproc
Both TeamViewer and 'Safib Assistant' are legitimate remote admin tools... SpyAgent’s quartz.dll uses the 'Safib Assistant'... SpyAgent’s avicap32.dll uses TeamViewer.
30 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.