Python NodeStealer Adds Spyware Features and Expands Facebook Data Theft

· Original article ↗

Summary

Netskope found a Python NodeStealer variant with keylogging, clipboard and screenshot capture, expanded Facebook Graph API collection, and separate Telegram bots for stolen browser credentials and Facebook data. AI assistance is suspected, not confirmed.

Key points

  • The variant adds persistent keylogging, clipboard monitoring, and screenshot capture, using pynput, pyperclip, and pyautogui.
  • It also targets Wi-Fi passwords, the victim’s Pictures folder, and data from two additional browsers.
  • It queries more than 20 Facebook Graph API endpoints, expanding collection from account details to the identity, social graph, security, and commerce data of the person managing the account.
  • Two Telegram bots separate browser-credential and related data from Facebook-specific data exfiltration.
  • The analyzed sample is CPython 3.12+ bytecode with nulled timestamp and source-size fields, which Netskope says may mislead researchers or disrupt automated decompilation.
  • Netskope reports signs consistent with AI-assisted code, including systematic emoji labels and repetitive method structure; this attribution is uncertain.
  • The campaign mainly targeted victims in Asia and North America, with financial services the most impacted sector.

Article Details

Attack Vectors
  • Python-based NodeStealer is distributed as a compiled .pyc bytecode sample.
  • The malware steals browser credentials, passwords, cookie databases, Wi-Fi passwords, and files from the victim's Pictures folder.
  • It monitors keystrokes and clipboard contents and captures screenshots.
  • It queries more than 20 Facebook Graph API endpoints to collect identity, social, account-security, advertising, and commerce data.
  • Stolen data is sent to two separate Telegram bot C2 channels: one for browser credentials and related data, and another for Facebook-specific data.
Defensive Notes
  • Ensure inspection tools analyze Python bytecode even when header metadata has been modified.
  • Monitor for suspicious Python processes using pynput, pyperclip, or pyautogui to capture input, clipboard contents, or screenshots.
  • Monitor for unauthorized access to Facebook Graph API data and suspicious outbound transfers to Telegram.

MITRE ATT&CK

Malware

Products

Tools

Countries

Industries

Related Articles