Malicious Python Packages Stealing Data

Malicious Python Packages Stealing Data

It is common for attackers to target software packages to start a supply chain of attacks. Recently, they tried to infect the npm repositories. Well, this time, their target was the software libraries Python Package Index (PyPI).

The Attack-

The officials found a total of eight such malicious libraries which contained code that could run various malicious activities. They were removed by them after being found.

Out of the eight malicious libraries found, two of them had the capability to run commands remotely on their victim’s device. The remaining six libraries had to steal functionalities. They mainly stole various kinds of data from the devices of the developers, like the tokens of discord, sensitive information such as credit card information, and basic information of the system.

By the time they were removed from the portal, they were downloaded more than 30,000 times already. Discord provides new ways of interaction with its services using the APIs published by them. However, a large volume of malware was detected lurking the content delivery network of Discord itself. In fact, it was discovered that the malware could interact directly with the APIs.

How dangerous is this?

The hackers can easily spread the attack on the developers once the malicious packages are posted on the repository. The threats have been identified to have the capabilities of threats that are complicated and powerful. They may enable the hacker to run malicious code remotely the system of the victim, gather the network data and also steal the credential information that may be saved in the browser.

Conclusion-

It is really disturbing to find out the malicious packages on such a popular repository like the PyPI. These discoveries shed light on some critical effects on the ecosystems of Python. Active tackling of both the developers and the officials who maintain the repository is needed to break the chain of attack.

Published
Categorized as Computer

By IEMA IEMLabs

IEMLabs is an ISO 27001:2013 and ISO 9001:2015 certified company, we are also a proud member of EC Council, NASSCOM, Data Security Council of India (DSCI), Indian Chamber of Commerce (ICC), U.S. Chamber of Commerce, and Confederation of Indian Industry (CII). The company was established in 2016 with a vision in mind to provide Cyber Security to the digital world and make them Hack Proof. The question is why are we suddenly talking about Cyber Security and all this stuff? With the development of technology, more and more companies are shifting their business to Digital World which is resulting in the increase in Cyber Crimes.

Leave a comment

Your email address will not be published.

This site is under maintenance,
some features might not work!!!