‘Revival Hijack on PyPI: Concealing Malware with Authentic File Names’

Published:

Security Researchers Uncover Threat of Malicious Payloads via PyPI Revival Hijack

Security researchers have uncovered a devious tactic that enables attackers to distribute malicious payloads through the PyPI package repository. Dubbed the “Revival Hijack” method, this technique involves re-registering a malicious package on PyPI using the same name as a previously registered but now removed legitimate package. Subsequently, unsuspecting organizations download these rogue packages, unaware of the potential threat they pose.

JFrog researchers issued a warning this week, urging PyPI users to remain vigilant and ensure their CI/CD machines do not attempt to install packages that were once removed from the repository. The researchers recently observed a threat actor employing this tactic in an apparent effort to disseminate malware.

This method is just one of several tactics that cyber adversaries have employed in recent years to infiltrate enterprise environments through public code repositories such as PyPI. Other common tactics include cloning and infecting popular repositories, poisoning artifacts, leveraging leaked secrets, and typosquatting attacks.

According to JFrog, when a developer removes a project from PyPI, the associated package names become immediately available for anyone to use. This provides attackers with an easy opportunity to hijack these package names and potentially infect unsuspecting users who try to update or install the “new” versions.

In response to their findings, JFrog researchers hijacked the most popular abandoned packages on PyPI to prevent adversaries from misusing them. Despite their efforts, the threat of Revival Hijack remains pervasive, highlighting the need for stronger security measures on the PyPI repository. JFrog recommended that PyPI prohibit the reuse of abandoned package names to mitigate this threat effectively. Organizations using PyPI are advised to exercise caution when upgrading to new package versions to avoid falling victim to these malicious tactics.

CHAPTER X // CYBER AWARENESS CAMPAIGN
BEYOND THE BALLROOM
[C://ME] // CHAPTER X

REQUEST THE MEDIA KIT

Tell us where to send the Beyond the Ballroom media deck. Every field is required.

We will use these details to respond to your media-kit request. Privacy Policy

Cyber Warriors Conclave Chapter X — Beyond the Ballroom

Related articles

Recent articles

Multiple high and medium severity vulnerabilities identified in NGINX OSS versions 1.31.0 to 1.31.8

Multiple high and medium severity vulnerabilities have been identified in NGINX OSS versions 1.31.0 to 1.31.8, as reported by FortiGuard Labs. The vulnerabilities, which...

Gatekeeper asymmetry doom: How powerful LLMs become more vulnerable to attacks

The principle of gatekeeper asymmetry doom</ in information security posits that when the system responsible for vetting adversarial input possesses significantly less power than...

FBI investigates apparent hack of National Crime Information Center database

The FBI is currently investigating a potential breach of the National Crime Information Center (NCIC), a critical database that supports law enforcement agencies across...

West Virginia Legislature’s IT systems impacted by ongoing cyberattack

West Virginia's state legislature is grappling with a cyberattack that has disrupted its IT systems and taken down its website. The incident, which began...