MacOS devices are being targeted with PyPI backdoor to sneak into corporate networks
Security researchers have spotted a new campaign seeking to gain access to corporate networks by targeting macOS devices and employing impersonation/typosquatting on PyPI and steganography to compromise the endpoints.
Researcjers from Phylum, which first observed the attack, unnamed threat actors created what seems to be a fork of the “requests” library on the Python Package Index (PyPI).
PyPI is by far the world’s most popular Python open source code repository, and is often used as a vehicle for malware deployment and distribution.
Malicious intent
The library is named requests-darwin-lite and is presented as a harmless fork of the “requests” library. It comes with a 17MB PNG image that features the Requests logo. However, that image also hides the code for the Sliver C2 adversary network.
When the victims download and run the package, Sliver is installed and starts running in the background. Similar to Cobalt Strike, Sliver is a cross-platform open-source adversarial framework testing suite used for “read teaming” – a process of simulating cyber attacks. IT teams often use read teaming as a way to test the strength of their cyberdefenses, but is being increasingly abused by criminals in recent years.
Sliver’s main attributes are custom implant generation, C2 ability, post-exploitation tools and scripts, and more.
Usually, hackers will opt for Cobalt Strike, but this adversary simulation tool has been abused and compromised to such an extent that IT teams have gotten significantly better at detecting and blocking malicious activity.
Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!
After making the discovery, Phylum reported its findings to the PyPI administration team, which removed the malicious package from the platform. The researchers believe this was a highly targeted attack, but the targets remain unknown, as well as the identity of the attackers.
Via BleepingComputer
More from TechRadar Pro
Security researchers have spotted a new campaign seeking to gain access to corporate networks by targeting macOS devices and employing impersonation/typosquatting on PyPI and steganography to compromise the endpoints. Researcjers from Phylum, which first observed the attack, unnamed threat actors created what seems to be a fork of the “requests”…
Recent Posts
- Best Buy slashes up to $400 off Apple tech in a limited-time sale — get AirPods, MacBooks, iPads and Apple Watches from $99.99
- The Instagram Plus subscription has officially launched
- Cyberdecks used to look like little laptops, but now they’re getting more personal
- Canada Prime Minister Mark Carney announces questionable national AI strategy
- Kevin O’Leary agrees to downsize massive Utah data center
Archives
- June 2026
- May 2026
- April 2026
- March 2026
- February 2026
- January 2026
- December 2025
- November 2025
- October 2025
- September 2025
- August 2025
- July 2025
- June 2025
- May 2025
- April 2025
- March 2025
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- 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