Researchers have discovered two novel techniques on GitHub: one exploits GitHub Gists, while the other involves sending commands through Git commit messages.
Malware authors will occasionally upload samples to services such as Dropbox, Google Drive, OneDrive, and Discord to host second-stage malware and avoid detection techniques.
The threat research team at ReversingLabs has recently noticed a rise in the hosting of malware on the open-source development GitHub platform.
Gists is a GitHub feature that allows developers to share code snippets easily.
They never make an appearance on the author's GitHub profile page.
This enables them to be used as a form of anonymous Pastebin service, which doesn't trigger warning signs for an attacker.
To hide this string's true purpose and make it more difficult for security technologies to flag it as suspicious, malware developers employed Base64 encoding.
Before being sent over a network, binary data is frequently encoded using Base64 encoding.
The setup tools commands were extended to implement it.
Researchers discovered a sample in the easyhttprequest PyPI package that exploits characteristics of version control systems.
Once more, the malicious code was built by extending the egg info setuptools command and concealed it within the setup.
Developers and application security teams must be able to distinguish between harmful and legitimate packages on these platforms, as attackers are getting more proficient in their malware deployment.
For this reason, software developers should make use of cutting-edge tools that use intricate binary analysis to offer complete software supply chain security.
This Cyber News was published on gbhackers.com. Publication date: Wed, 20 Dec 2023 10:43:04 +0000