Beware of New Snake Python Infostealer Attacking Facebook Messenger Users

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.

Stealthy Approach of Python Infostealer

The abuse of legitimate sites is at the heart of the Python Infostealer’s strategy.

Document
Integrate ANY.RUN in your company for Effective Malware Analysis

Are you from SOC and DFIR teams? – Join With 400,000 independent Researchers

Malware analysis can be fast and simple. Just let us show you the way to:

  • Interact with malware safely
  • Set up virtual machine in Linux and all Windows OS versions
  • Work in a team
  • Get detailed reports with maximum data
  • If you want to test all these features now with completely free access to the sandbox: ..

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.

Python Credential Harvester’s Chain Of Infection

 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.

A Trio of Threats

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 OneVariant TwoVariant 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.

Recommendations for Protection

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.

GitLab Account Alias Khoi Nguyen

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.

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

LightSpy iOS Malware Enhanced with 28 New Destructive Plugins

The LightSpy threat actor exploited publicly available vulnerabilities and jailbreak kits to compromise iOS devices.…

1 day ago

ATPC Cyber Forum to Focus on Next Generation Cybersecurity and Artificial Intelligence Issues

White House National Cyber Director, CEOs, Key Financial Services Companies, Congressional and Executive Branch Experts…

3 days ago

New PySilon RAT Abusing Discord Platform to Maintain Persistence

Cybersecurity experts have identified a new Remote Access Trojan (RAT) named PySilon. This Trojan exploits…

3 days ago

Konni APT Hackers Attacking Organizations with New Spear-Phishing Tactics

The notorious Konni Advanced Persistent Threat (APT) group has intensified its cyber assault on organizations…

3 days ago

Google Chrome Security, Critical Vulnerabilities Patched

Google has updated its Chrome browser, addressing critical vulnerabilities that posed potential risks to millions…

3 days ago

Notorious WrnRAT Delivered Mimic As Gambling Games

WrnRAT is a new malware attack that cybercriminals have deployed by using popular gambling games…

4 days ago