A new menace has emerged targeting unsuspecting Facebook Messenger users.
Dubbed the “Python Infostealer,” this malicious software is designed to pilfer credentials through sophisticated means, leveraging popular platforms like GitHub and GitLab for its nefarious purposes.
The abuse of legitimate sites is at the heart of the Python Infostealer’s strategy.
Malware analysis can be fast and simple. Just let us show you the way to:
Threat actors exploit the trust users place in reputable public repositories and messaging applications, using them as part of their Command and Control (C2) infrastructure.
This makes maliciously using web-based repositories like GitHub and GitLab particularly insidious, as it can be challenging to detect.
The infection begins with a seemingly innocuous Facebook Messenger message, enticing victims to download archived files.
These files kickstart a two-stage infection process, deploying one of the Python Infostealer’s three variants, each with its unique characteristics and methods of operation.
Cybereason Security Services’ latest Threat Analysis Report illuminates this alarming development and offers insights and recommendations for safeguarding against this digital predator.
The Python Infostealer comes in three variants, showcasing the adaptability and cunning of its creators.
The first two variants are regular Python scripts, while the third morphs into an executable assembled by PyInstaller for broader reach and impact.
Despite their differences, all variants share a common goal to harvest and exfiltrate user credentials to platforms like Discord, GitHub, and Telegram.
Variant One | Variant Two | Variant Three | |
GET request to ipinfo[.]io to identify geolocation of the victim. | ✔ | ||
Bundled by PyInstaller | ✔ | ||
Does not depend on Python packages to be installed locally | ✔ | ✔ | ✔ |
Deploy files to subdirectory of C:\Users\Public | ✔ | ✔ | |
Obfuscation of function and variable name | ✔ | ✔ | |
Obfuscation via data compression | ✔ | ||
Persistence via Startup Folder | ✔ | ✔ | ✔ |
Staged payloads | ✔ | ✔ | |
Targets Brave | ✔ | ||
Targets Coc Coc Browser | ✔ | ✔ | ✔ |
Targets Chromium | ✔ | ||
Targets Facebook Cookies | ✔ | ✔ | ✔ |
Targets Google Chrome Browser | ✔ | ✔ | ✔ |
Targets Microsoft Edge | ✔ | ✔ | ✔ |
Targets Mozilla Firefox | ✔ | ||
Targets Opera Web Browser | ✔ |
A particularly alarming aspect of the Python Infostealer’s operation is its use of legitimate platforms to transmit stolen credentials.
By exploiting the Telegram Bot API and other messaging applications, the malware sends harvested data to threat actors, making detection and prevention more challenging for security teams.
Cybereason recommends several proactive measures to combat the Python Infostealer.
These include enabling Application Control to block malicious files, activating Fileless Protection, and educating users on the dangers of downloading files from untrusted sources, especially on social media platforms.
Based on language clues in the malware’s code and naming conventions, analysis suggests that the developers or affiliates of the Python Infostealer may be Vietnamese-speaking individuals.
This insight not only aids in understanding the threat’s origins but also underscores the global nature of cybersecurity challenges.
Some of the names of repositories and accounts on GitHub and GitLab are written in Vietnamese.
One of the aliases for the GitLab account was Khoi Nguyen, a popular Vietnamese name and a common alias in the community.
The emergence of the Python Infostealer as a threat to Facebook Messenger users highlights the evolving landscape of cyber threats.
These digital predators pose a real and present danger by leveraging legitimate platforms and employing sophisticated tactics.
Vigilance, education, and robust security measures are paramount in protecting against such insidious attacks.
You can block malware, including Trojans, ransomware, spyware, rootkits, worms, and zero-day exploits, with Perimeter81 malware protection. All are incredibly harmful, can wreak havoc, and damage your network.
Stay updated on Cybersecurity news, Whitepapers, and Infographics. Follow us on LinkedIn & Twitter.
In a significant development, the Trump administration is reportedly formulating a plan to prevent a…
IBM has announced the resolution of several security vulnerabilities affecting its IBM Security Directory Integrator…
A new security vulnerability has been uncovered in Apache Solr, affecting versions 6.6 through 9.7.0.…
A cybersecurity researcher recently disclosed several critical vulnerabilities affecting Git-related projects, revealing how improper handling…
Researchers from IIT Kharagpur and Intel Corporation have identified a significant security vulnerability in Intel…
Burp Suite 2025.1, is packed with new features and enhancements designed to improve your web…