Tech News, Magazine & Review WordPress Theme 2017
  • Home
  • Supply Chain Updates
  • Global News
  • Contact Us
  • Home
  • Supply Chain Updates
  • Global News
  • Contact Us
No Result
View All Result
No Result
View All Result
Home Supply Chain Updates

Researcher Hacks 35 Major Companies In A Mock Supply Chain Attack

usscmc by usscmc
February 19, 2021
Researcher Hacks 35 Major Companies In A Mock Supply Chain Attack
Share on FacebookShare on Twitter

A cybersecurity researcher breached over 35 major companies, including Apple and PayPal in a novel software supply chain attack.

Ethical hacker Alex Birsan discovered a method to inject malicious dependency packages into commonly used open-source developer tools.

The exploit method affects several programming languages depending on the package manager to install dependencies into projects using public repositories.

Supply chain attack affects 35 companies

Birsan’s hacking method, called dependency confusion, allowed him to exploit 35 companies, including Microsoft, Apple, PayPal, Shopify, Netflix, Yelp, Tesla, and Uber in a supply chain attack.

Injecting malicious code into internal codebases allows an attacker to propagate through a company’s internal applications and systems.

“Squatting valid internal package names was a nearly sure-fire method to get into the networks of some of the biggest tech companies out there, gaining remote code execution, and possibly allowing attackers to add backdoors during builds,” Birsan wrote.

The cybersecurity researcher noted that the compromise method was surprisingly successful on three tested programming languages (Python, Java, and Ruby).

Blind trust when installing dependencies exposes companies to malware

Birsan’s hacking idea originated from how simple install commands worked on package installers such as npm and pip.

He said that simple install commands such as “pip install <package_name>” were tied to public code repositories where anybody could create such public repositories for use. Additionally, the code hosting systems could not guarantee that the repositories were malware-free.

“When downloading and using a package from any of these sources, you are essentially trusting its publisher to run code on your machine,” Birsan wrote. “So can this blind trust be exploited by malicious actors?”

Birsan hatched the idea after receiving a node.js file from another ethical hacker Justin Gardner while jointly trying to hack PayPal.

Dependency managers default to public repositories for non-existent or private packages

He discovered that the code’s package.json file included a mixture of internal and external dependencies. Some of the dependencies were publicly available, while others were hosted privately.

“What happens if malicious code is uploaded to npm under these names?” Birsan wondered. “Is it possible that some of PayPal’s internal projects will start defaulting to the new public packages instead of the private ones?”

Birsan’s idea was right and he uploaded “malicious” npm packages using the unclaimed names. Every computer trying to install the packages phoned home, notifying him if the attempted install originated from PayPal servers.

He then created a node package to collect information, including username, hostname, and the current path of every package installed through the preinstall script.

“Along with the external IPs, this was just enough data to help security teams identify possibly vulnerable systems based on my reports while avoiding having my testing be mistaken for an actual attack,” he said.

DNS exfiltration circumvents corporate network security

He used DNS exfiltration to receive data from the “compromised” organizations. This method allowed him to circumvent the corporate network’s security protections during his mock supply chain attack.

“The data was hex-encoded and used as part of a DNS query, which reached my custom authoritative name server, either directly or through intermediate resolvers,” Birsan explained. “The server was configured to log each received query, essentially keeping a record of every machine where the packages were downloaded.”

Dependency confusion attack method portable to various ecosystems

After the success of his supply chain attack, the researcher targeted more ecosystems to target more organizations. He ported the code to python and Ruby through PyPI (python package index) and RubyGems, respectively.

Birsan pointed out that the success of his supply chain attack depended on finding as many dependency names many unclaimed dependencies as possible. He realized that he could find private package names on GitHub and other package hosting services. These names were inadvertently published on code hosting sites and other forums.

Javascript files also provided the best hunting grounds for internal package names because many package.json files are usually get embedded into public scripts during the build process. Additionally, internal paths contain private dependency package names as he discovered in Apple, Tesla, and Yelp cases. He noted that 75% of all logged cases originated from JavaScript npm packages.

Birsan earned at least $130,000 in bounty payouts, including $40,000 from Microsoft, which was the highest possible payout for the bounty program. Apple, PayPal, and Shopify paid the researcher $30,000 each.

Craig Young, principal security researcher at Tripwire, says that the security issue discovered by Birsan is a “serious industry-wide problem.”

“Organizations face a constant stream of choices between reinventing every wheel, entering costly license agreements, or utilizing open source software,” Young says. “Embracing open source has allowed many businesses to flourish while keeping down the cost of initial development at the expense of extremely murky supply chains.”

He adds that software development companies should monitor every change in externally sourced software, but doing so was almost impossible.

“The problem is that dependency chains can quickly spiral out of control and oftentimes there are good reasons for wanting quick updates whether it be security or general bug fixes. Identifying, interpreting, and analyzing potentially thousands of lines of code could largely offset the cost savings of open source for some organizations.”

He noted that allowing employees to download and work with arbitrary open external packages exposed organizations to potential legal and security risks.



Researcher discovered method to inject #maliciouscode and create #backdoors in a dependency confusion supply chain attack leveraging unclaimed dependencies. #cybersecurity #respectdata

Click to Tweet

“In this case, it was a researcher with an innocuous ‘phone home’ payload but it could have just as easily been an APT deploying a malware implant or a patent troll deploying a commercially licensed algorithm.”

 

usscmc

usscmc

No Result
View All Result

Recent Posts

  • How Hapag Lloyd captured a major market share in the Container Shipping Industry in USA
  • Why USA’s East Coast is the Favorite Destination for Manufacturing Companies
  • How Trade Relations Between the USA and UK Improved After Keir Starmer Became Prime Minister
  • Tips and Tricks for Procurement Managers to Handle Their Supplier Woes
  • The Crazy Supply Chain of Walmart Spanning Across the Globe

Recent Comments

  • Top 5 Supply Chain Certifications that are in high demand | Top 5 Certifications on Top 5 Globally Recognized Supply Chain Certifications
  • 3 Best Procurement Certifications that are most valuable | Procurement Newz on Top 5 Globally Recognized Supply Chain Certifications

Archives

  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • September 2019

Categories

  • Global News
  • Supply Chain Updates

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • Antispam
  • Contact Us
  • Disclaimer
  • Home
  • Privacy Policy
  • Terms of Use

© 2025 www.usscmc.com

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT
No Result
View All Result
  • Home
  • Supply Chain Updates
  • Global News
  • Contact Us

© 2025 www.usscmc.com