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

Hackers Target Libraesva Email Flaw

Hackers Target Libraesva Email Flaw

September 30, 2025
Hackers Target Libraesva Email Flaw

ShadowV2 Botnet Targets Misconfigured AWS

September 30, 2025
Hackers Target Libraesva Email Flaw

Cisco Warns Of IOS Zero Day Bug

September 30, 2025
Fake Microsoft Teams Installers Spread

Fake Microsoft Teams Installers Spread

September 30, 2025
Fake Microsoft Teams Installers Spread

Cybercriminals Use Facebook Google Ads

September 30, 2025
Fake Microsoft Teams Installers Spread

CISA Warns Of Critical Sudo Flaw

September 30, 2025

Latest Alerts

Hackers Target Libraesva Email Flaw

ShadowV2 Botnet Targets Misconfigured AWS

Cisco Warns Of IOS Zero Day Bug

CISA Warns Of Critical Sudo Flaw

Cybercriminals Use Facebook Google Ads

Fake Microsoft Teams Installers Spread

Subscribe to our newsletter

    Latest Incidents

    Ukrainian Hackers Breach Crimean Servers

    Ransomware Gang Claims Maryland Breach

    Arizona School District Data Breach

    Attackers Take Down Asahi Brewer

    Harrods Alerts Customers To Breach

    Hackers Steal Photos From Kido Nursery

    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