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 Revive SEO Poisoning

Hackers Revive SEO Poisoning

July 10, 2025
Hackers Revive SEO Poisoning

RondoDox Botnet Exploits Router Flaws

July 10, 2025
Hackers Revive SEO Poisoning

ServiceNow Data Exposure via ACLs

July 10, 2025
Hackers Use Leaked Shellter License Malware

Windows BitLocker Vulnerability Flaw

July 9, 2025
Hackers Use Leaked Shellter License Malware

Hackers Use Leaked Shellter License Malware

July 9, 2025
Hackers Use Leaked Shellter License Malware

Anatsa Android Trojan Targets 90K Users

July 9, 2025

Latest Alerts

RondoDox Botnet Exploits Router Flaws

ServiceNow Data Exposure via ACLs

Hackers Revive SEO Poisoning

Windows BitLocker Vulnerability Flaw

Anatsa Android Trojan Targets 90K Users

Hackers Use Leaked Shellter License Malware

Subscribe to our newsletter

    Latest Incidents

    Bitcoin Depot Breach Exposes Data

    McDonald’s AI Hiring Bot Exposes Data

    Nippon Steel Solutions Data Breach

    Norwegian Municipalities Hit by Data Breach

    Credit Reports Breached And Sold On Dark Web

    Recruiting Software Exposed 26M Resumes

    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