Menu

  • Alerts
  • Incidents
  • News
  • APTs
  • Cyber Decoded
  • Cyber Hygiene
  • Cyber Review
  • Cyber Tips
  • Definitions
  • Malware
  • Threat Actors
  • Tutorials

Useful Tools

  • Password generator
  • Report an incident
  • Report to authorities
No Result
View All Result
CTF Hack Havoc
CyberMaterial
  • Education
    • Cyber Decoded
    • Definitions
  • Information
    • Alerts
    • Incidents
    • News
  • Insights
    • Cyber Hygiene
    • Cyber Review
    • Tips
    • Tutorials
  • Support
    • Contact Us
    • Report an incident
  • About
    • About Us
    • Advertise with us
Get Help
Hall of Hacks
  • Education
    • Cyber Decoded
    • Definitions
  • Information
    • Alerts
    • Incidents
    • News
  • Insights
    • Cyber Hygiene
    • Cyber Review
    • Tips
    • Tutorials
  • Support
    • Contact Us
    • Report an incident
  • About
    • About Us
    • Advertise with us
Get Help
No Result
View All Result
Hall of Hacks
CyberMaterial
No Result
View All Result
Home Alerts

PyPI Attack Uses Gmail to Exfiltrate Data

May 2, 2025
Reading Time: 2 mins read
in Alerts
Scammers Are Targeting Self Service Sites

A sophisticated software supply chain attack used Python Package Index (PyPI) repositories to deploy malware. The campaign involved seven malicious packages, including Coffin-Codes-Pro, Coffin-Codes-NET, and Coffin2022, which collectively gained over 55,000 downloads before being removed. The attack used Google’s SMTP infrastructure for command-and-control, making the traffic appear legitimate to firewalls and endpoint detection systems. This stealthy method allowed attackers to execute commands and exfiltrate sensitive data without detection.

The malware establishes an SMTP connection to Gmail’s servers using hardcoded credentials, creating a bidirectional tunnel for communication. Once the connection is established, a WebSocket connection is set up for command-and-control channels, enabling remote execution of commands and data exfiltration. This technique has been evolving since at least 2021, with the oldest package, cfc-bsb, using WebSocket-based HTTP tunneling similar to Ngrok. Later versions improved the technique, consistently using Gmail’s SMTP server on port 465 for communication.

The malicious packages posed significant risks, enabling attackers to access internal dashboards, APIs, and admin panels. They could also harvest credentials, transfer files, execute shell commands, and establish persistence within the victim’s network. The reference to blockchain in the communication suggests cryptocurrency theft could be a primary motivation for the attackers. Experts note that this attack technique is particularly dangerous because SMTP traffic is often regarded as legitimate, bypassing many security measures.

Security experts recommend several mitigation steps, such as monitoring outbound SMTP traffic, verifying package authenticity, and conducting regular dependency audits. They also advise using isolated environments for testing third-party code and implementing strict access controls for sensitive resources. While all seven packages have been removed from PyPI, the attack technique remains a growing threat, aligning with the MITRE ATT&CK technique T1102.002, which focuses on bidirectional communication for web services.

Reference:
  • Sophisticated PyPI Attack Uses Gmail SMTP to Deploy Malware and Exfiltrate Data
Tags: April 2025Cyber AlertsCyber Alerts 2025CyberattackCybersecurityMay 2025
ADVERTISEMENT

Related Posts

TikTok Videos Spread Vidar StealC Malware

TikTok Videos Spread Vidar StealC Malware

May 23, 2025
TikTok Videos Spread Vidar StealC Malware

New ZeroCrumb Malware Steals Browser Cookies

May 23, 2025
TikTok Videos Spread Vidar StealC Malware

CISA Commvault ZeroDay Flaw Risks Secrets

May 23, 2025
GitLab Patch Stops Service Disruption Risks

Function Confusion Hits Serverless Clouds

May 22, 2025
GitLab Patch Stops Service Disruption Risks

3AM Ransomware Email Bomb and Vishing Threat

May 22, 2025
GitLab Patch Stops Service Disruption Risks

GitLab Patch Stops Service Disruption Risks

May 22, 2025

Latest Alerts

New ZeroCrumb Malware Steals Browser Cookies

TikTok Videos Spread Vidar StealC Malware

CISA Commvault ZeroDay Flaw Risks Secrets

GitLab Patch Stops Service Disruption Risks

3AM Ransomware Email Bomb and Vishing Threat

Function Confusion Hits Serverless Clouds

Subscribe to our newsletter

    Latest Incidents

    Cetus Crypto Exchange Hacked For $223M

    MCP Data Breach Hits 235K NC Lab Patients

    UFCW Data Breach Risks Social Security Data

    Cyberattack Paralyzes French Hauts de Seine

    Santa Fe City Loses $324K In Hacker Scam

    Belgium Housing Hit by Ransomware Attack

    CyberMaterial Logo
    • About Us
    • Contact Us
    • Jobs
    • Legal and Privacy Policy
    • Site Map

    © 2025 | CyberMaterial | All rights reserved

    Welcome Back!

    Login to your account below

    Forgotten Password?

    Retrieve your password

    Please enter your username or email address to reset your password.

    Log In

    Add New Playlist

    No Result
    View All Result
    • Alerts
    • Incidents
    • News
    • Cyber Decoded
    • Cyber Hygiene
    • Cyber Review
    • Definitions
    • Malware
    • Cyber Tips
    • Tutorials
    • Advanced Persistent Threats
    • Threat Actors
    • Report an incident
    • Password Generator
    • About Us
    • Contact Us
    • Advertise with us

    Copyright © 2025 CyberMaterial