← All families

SpyAgent

Suspected
Aliases
TVRAT, TVSpy, TeamSpy, Spy-Agent
Category
Remote Access Trojan (RAT) / Abused remote-access software
Platform
Windows
Latest analysis
2024-12-02

Overview

SpyAgent, also tracked as TVRAT, TVSpy and TeamSpy, has abused legitimate remote-access software for more than a decade. Earlier generations hijacked TeamViewer through DLL search-order hijacking. The goal was to capture the TeamViewer ID and password, hide the application window, and suppress its logging, which left the attacker with a fully functional remote-access session the victim could not see. More recent variants apply the same technique to Safib Assistant, a legitimate Russian remote-administration product.

The strings and file layout in this sample match the Safib Assistant generation.

This entry records a single triage from December 2024 and has not been re-validated since.

Observed Execution and Behavior

Stage Observed activity
Lure Russian-language email about a hotel guest invoice, with a PDF-themed attachment.
Staging A folder containing a complete Safib Assistant installation: the main executable (renamed by the operator), its ast*.dll components, language packs and a config.ini.
Anomaly One DLL in the folder, SHFolder.dll, carried a timestamp roughly 16 months newer than every other file in the bundle.
Execution The renamed main executable ran and held several outbound connections.
C2 Two connections on TCP 44444 and one on TCP 80.

The out-of-place DLL is the finding. SHFolder.dll is a Windows shell library name that an application loads by search order. Placing a copy beside the executable is the classic sideloading setup this family is documented to use. The rest of the bundle, dated uniformly to the vendor's build, looks genuine. The DLL was not reversed during triage, so the sideload is inferred from layout and timestamps, not confirmed.

Host Artifacts

File Assessment
Main executable (operator-renamed) Safib Assistant client; legitimate code running under attacker control
astclient.dll, AstCrp.dll, astprint.dll, astrct.dll, aw_sas32.dll Safib Assistant components
rus.lng, eng.lng, config.ini Assistant language packs and configuration; the config holds the connection settings
libcrypto-1_1.dll, libssl-1_1.dll, libcurl.dll, libjpeg-turbo-win.dll, opus.dll, sqlite3.dll Third-party dependencies shipped with Assistant
SHFolder.dll Suspected sideloaded DLL: timestamp inconsistent with the bundle
.cfg file created at run time Written on first execution; contents not inspected

Identification Strings

  • _ASSISTANT\04_Clients
  • assistant_spt.exe
  • Assistant system service
  • Teamviewer: present despite the Safib base, consistent with code shared across the family's generations

Network Indicators and Roles

Indicator Port Assessment
46[.]243[.]182[.]51 44444 Suspected attacker relay / C2
46[.]243[.]182[.]25 44444 Suspected attacker relay / C2
91[.]184[.]240[.]196 80 Connection from the Assistant process; role not established
id[.]мойассистент[.]рф (id[.]xn--80akicokc0aablc[.]xn--p1ai) — Safib vendor ID service, not attacker infrastructure. Its presence shows the Assistant client is live, not that it is malicious.

Assessment

The bundle is unmistakably Safib Assistant, and the strings match the newer SpyAgent generation described publicly. What moves this from "a remote-access tool was installed" to "SpyAgent" is the anomalous SHFolder.dll. That rests on file metadata, not on analysis of the DLL itself, so the entry is marked suspected.

Unsanctioned Safib Assistant, or any remote-administration client running from a user-writable folder, deserves investigation in an environment that does not use it.

References

Indicators above are defanged and reflect the specific sample and campaign analyzed. Treat them as campaign indicators rather than universal family identifiers, and validate any derived signature against additional malicious and benign samples.