Cyber Risks · The Hacker News

Fake Laravel Packages on Packagist Deploy RAT on Windows, macOS, and Linux

Summary: Researchers at Socket flagged malicious Packagist PHP packages posing as Laravel utilities that install a cross-platform remote access trojan on Windows, macOS, and Linux. The package nhattuanbl/lara-swagger lists nhattuanbl/lara-helper as a Composer dependency, pulling in the RAT, and both lara-helper and simple-queue contain a src/helper.php file that connects to a C2 server at helper.leuleu[.]net:2096 over TCP and waits for commands.

Key Takeaway: The RAT runs in the same process as the web application with the same filesystem permissions and environment variables, including database credentials, API keys, and .env contents - and the packages are still available for download from the PHP package registry.

Read the original at The Hacker News ↗

Topics
Malware
Related