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

Malicious PyPI Package Steals Discord Tokens

January 20, 2025
Reading Time: 2 mins read
in Alerts
NewsBank Data Breach Exposes Sensitive Data

A malicious package named “pycord-self” was discovered on the Python Package Index (PyPI), designed to target Discord developers by stealing authentication tokens and setting up a backdoor for remote system access. The package, which closely mimics the legitimate “discord.py-self” library, has been downloaded 885 times since its upload in June of last year. The official “discord.py-self” library is widely used by developers to automate interactions with Discord, including messaging, bot creation, and data retrieval. By impersonating this popular tool, the malicious package was able to trick developers into installing it, despite its malicious functionality.

The pycord-self package contains two key malicious features:

First, it steals Discord authentication tokens from the victim’s system and sends them to an external server. These tokens allow attackers to hijack the victim’s Discord account without needing login credentials, even if two-factor authentication is enabled. The second feature of the package is a backdoor mechanism that establishes a persistent connection to a remote server through port 6969. This backdoor enables the attacker to access the system continuously, with the malicious code launching a shell (“bash” on Linux or “cmd” on Windows) to grant remote control over the victim’s device.

Once the backdoor is set up, the attacker can maintain stealthy access to the compromised machine. The backdoor runs in a separate thread, making it difficult to detect, while the pycord-self package continues to function as expected, allowing attackers to avoid suspicion. This technique allows the attacker to have continuous control over the victim’s system, enabling further exploitation. The use of such tactics poses significant risks to developers who may unknowingly install the package, leaving their systems vulnerable to ongoing attacks.

To protect against similar threats, developers are advised to take extra precautions when installing third-party packages. It is important to ensure that the package comes from an official or trusted source and to verify the package name to avoid falling victim to typosquatting. Reviewing the package’s code for any obfuscated or suspicious functions can also help in identifying malicious behavior. Additionally, scanning tools can aid in detecting and blocking harmful packages, reducing the likelihood of a successful attack on a developer’s system.

Reference:
  • Malicious PyPI Package Steals Discord Tokens and Installs Backdoor
Tags: Cyber AlertsCyber Alerts 2025CyberattackCybersecurityJanuary 2025
ADVERTISEMENT

Related Posts

Chrome Extensions Leak Data And API Keys

Chrome Extensions Leak Data And API Keys

June 6, 2025
Chrome Extensions Leak Data And API Keys

AMOS Stealer Hits macOS Via Fake CAPTCHA

June 6, 2025
Chrome Extensions Leak Data And API Keys

BADBOX Turns 1M+ IoT Devices Into Proxies

June 6, 2025
UNC6040 Vishing Group Target Salesforce Data

UNC6040 Vishing Group Target Salesforce Data

June 5, 2025
New Chaos RAT Variant Hits Windows and Linux

New Chaos RAT Variant Hits Windows and Linux

June 5, 2025
New Chaos RAT Variant Hits Windows and Linux

FBI Warns Hedera NFT Airdrop Crypto Scam

June 5, 2025

Latest Alerts

AMOS Stealer Hits macOS Via Fake CAPTCHA

Chrome Extensions Leak Data And API Keys

BADBOX Turns 1M+ IoT Devices Into Proxies

FBI Warns Hedera NFT Airdrop Crypto Scam

New Chaos RAT Variant Hits Windows and Linux

UNC6040 Vishing Group Target Salesforce Data

Subscribe to our newsletter

    Latest Incidents

    German Dog Rescue IG Hacked For Ransom

    Hack Attempt Hits German Police Phone System

    InfoJobs Spain Hit By Credential Stuffing

    KiranaPro Startup Hacked All Data Wiped

    Nervos Bridge Paused After $3.9 Million Hack

    Ukraine GUR Claims Tupolev Data Theft Hack

    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