ChocoPoC RAT Hides in Fake Python PoCs to Steal Researchers’ Data

· Original article ↗

Summary

YesWeHack and Sekoia found ChocoPoC RAT hidden in dependencies of at least seven fake GitHub Python PoCs. It steals browser data and files, enables remote commands, and uses Mapbox and DNS-over-HTTPS for C2; downloads do not confirm infections.

Key points

  • YesWeHack and Sekoia reported at least seven fake Python PoC repositories tied to high-profile CVEs; downloads alone do not establish that anyone was infected.
  • Installing a PoC can pull in frint and then skytext, whose compiled payload activates when it detects the real PoC loaded.
  • ChocoPoC can steal browser passwords, cookies, autofill data, history, files, local databases, and shell history.
  • The RAT supports shell commands, arbitrary Python execution, folder retrieval, and slowing its activity to avoid attention.
  • It retrieves commands from a dataset on Mapbox using DNS-over-HTTPS and domain fronting; larger uploads go to 91.132.163.78.
  • The researchers said the malware and its servers were still live when they reported their findings. They advise avoiding unknown PoCs and packages, reviewing dependency chains, and rotating credentials and rebuilding hosts if affected packages were run.

Article Details

Attack Vectors
  • Fake Python proof-of-concept repositories on GitHub install the malicious frint package, which pulls in skytext as a dependency.
  • The skytext package includes a compiled file that activates when the real PoC is loaded, unpacks its payload, and downloads ChocoPoC.
  • ChocoPoC uses a dataset on Mapbox as a command-and-control dead drop and uses domain fronting; larger uploads go to a separate server.
Defensive Notes
  • Treat proof-of-concept code as hostile and avoid running code from new or unknown accounts.
  • Review the full dependency chain and watch for newly published packages, unfamiliar maintainers, and accounts with little history.
  • Do not install the packages frint, skytext, slogsec, or logcrypt.cryptography; the article recommends checking systems for them.
  • If any of the packages were run, rotate credentials and rebuild the host. Testing in a throwaway VM alone may not trigger the malware.

Indicators of compromise

TypeIndicatorContext
IPV491[.]132[.]163[.]78Separate server used by ChocoPoC for larger uploads.

MITRE ATT&CK

Threat Actors

Malware

Products

Tools

Related Articles