Netskope wurde im Gartner® Magic Quadrant™ 2024 für Security Service Edge als Leader ausgezeichnet. Report abrufen

Schließen
Schließen
  • Warum Netskope? Chevron

    Verändern Sie die Art und Weise, wie Netzwerke und Sicherheit zusammenarbeiten.

  • Unsere Kunden Chevron

    Netskope bedient mehr als 3.000 Kunden weltweit, darunter mehr als 25 der Fortune 100

  • Unsere Partner Chevron

    Unsere Partnerschaften helfen Ihnen, Ihren Weg in die Cloud zu sichern.

Immer noch am Höchsten in der Ausführung.
Immer noch am Weitesten in der Vision.

Erfahren Sie, warum Netskope im Gartner® Magic Quadrant ™ 2024 zum dritten Mal in Folge zum Leader für Security Service Edge ernannt wurde.

Report abrufen
Netskope Named a Leader in the 2024 Gartner® Magic Quadrant™ for Security Service Edge graphic for menu
Wir helfen unseren Kunden, auf alles vorbereitet zu sein

Unsere Kunden
Lächelnde Frau mit Brille schaut aus dem Fenster
Die partnerorientierte Markteinführungsstrategie von Netskope ermöglicht es unseren Partnern, ihr Wachstum und ihre Rentabilität zu maximieren und gleichzeitig die Unternehmenssicherheit an neue Anforderungen anzupassen.

Erfahren Sie mehr über Netskope-Partner
Gruppe junger, lächelnder Berufstätiger mit unterschiedlicher Herkunft
Ihr Netzwerk von morgen

Planen Sie Ihren Weg zu einem schnelleren, sichereren und widerstandsfähigeren Netzwerk, das auf die von Ihnen unterstützten Anwendungen und Benutzer zugeschnitten ist.

Whitepaper lesen
Ihr Netzwerk von morgen
Vorstellung der Netskope One-Plattform

Netskope One ist eine cloudnative Plattform, die konvergierte Sicherheits- und Netzwerkdienste bietet, um Ihre SASE- und Zero-Trust-Transformation zu ermöglichen.

Erfahren Sie mehr über Netskope One
Abstrakt mit blauer Beleuchtung
Nutzen Sie eine Secure Access Service Edge (SASE)-Architektur

Netskope NewEdge ist die weltweit größte und leistungsstärkste private Sicherheits-Cloud und bietet Kunden eine beispiellose Serviceabdeckung, Leistung und Ausfallsicherheit.

Mehr über NewEdge erfahren
NewEdge
Netskope Cloud Exchange

Cloud Exchange (CE) von Netskope gibt Ihren Kunden leistungsstarke Integrationstools an die Hand, mit denen sie in jeden Aspekt ihres Sicherheitsstatus investieren können.

Erfahren Sie mehr über Cloud Exchange
Netskope-Video
  • Edge-Produkte von Security Service Chevron

    Schützen Sie sich vor fortgeschrittenen und cloudfähigen Bedrohungen und schützen Sie Daten über alle Vektoren hinweg.

  • Borderless SD-WAN Chevron

    Stellen Sie selbstbewusst sicheren, leistungsstarken Zugriff auf jeden Remote-Benutzer, jedes Gerät, jeden Standort und jede Cloud bereit.

  • Secure Access Service Edge Chevron

    Netskope One SASE bietet eine Cloud-native, vollständig konvergente SASE-Lösung eines einzelnen Anbieters.

Die Plattform der Zukunft heißt Netskope

Intelligent Security Service Edge (SSE), Cloud Access Security Broker (CASB), Cloud Firewall, Next Generation Secure Web Gateway (SWG) und Private Access for ZTNA sind nativ in einer einzigen Lösung integriert, um jedes Unternehmen auf seinem Weg zum Secure Access Service zu unterstützen Edge (SASE)-Architektur.

Netskope Produktübersicht
Netskope-Video
Next Gen SASE Branch ist hybrid – verbunden, sicher und automatisiert

Netskope Next Gen SASE Branch vereint kontextsensitives SASE Fabric, Zero-Trust Hybrid Security und SkopeAI-Powered Cloud Orchestrator in einem einheitlichen Cloud-Angebot und führt so zu einem vollständig modernisierten Branch-Erlebnis für das grenzenlose Unternehmen.

Erfahren Sie mehr über Next Gen SASE Branch
Menschen im Großraumbüro
Entwerfen einer SASE-Architektur für Dummies

Holen Sie sich Ihr kostenloses Exemplar des einzigen Leitfadens zum SASE-Design, den Sie jemals benötigen werden.

Jetzt das E-Book lesen
Steigen Sie auf marktführende Cloud-Security Service mit minimaler Latenz und hoher Zuverlässigkeit um.

Mehr über NewEdge erfahren
Beleuchtete Schnellstraße mit Serpentinen durch die Berge
Ermöglichen Sie die sichere Nutzung generativer KI-Anwendungen mit Anwendungszugriffskontrolle, Benutzercoaching in Echtzeit und erstklassigem Datenschutz.

Erfahren Sie, wie wir den Einsatz generativer KI sichern
ChatGPT und Generative AI sicher aktivieren
Zero-Trust-Lösungen für SSE- und SASE-Deployments

Erfahren Sie mehr über Zero Trust
Bootsfahrt auf dem offenen Meer
Netskope erhält die FedRAMP High Authorization

Wählen Sie Netskope GovCloud, um die Transformation Ihrer Agentur zu beschleunigen.

Erfahren Sie mehr über Netskope GovCloud
Netskope GovCloud
  • Ressourcen Chevron

    Erfahren Sie mehr darüber, wie Netskope Ihnen helfen kann, Ihre Reise in die Cloud zu sichern.

  • Blog Chevron

    Erfahren Sie, wie Netskope die Sicherheits- und Netzwerktransformation durch Security Service Edge (SSE) ermöglicht

  • Events und Workshops Chevron

    Bleiben Sie den neuesten Sicherheitstrends immer einen Schritt voraus und tauschen Sie sich mit Gleichgesinnten aus

  • Security Defined Chevron

    Finden Sie alles was Sie wissen müssen in unserer Cybersicherheits-Enzyklopädie.

Security Visionaries Podcast

Innovationsförderung für eine Belegschaft, die zunehmend remote arbeitet
In dieser Folge taucht Moderator Max Havey in die Welt der Fernarbeit und Innovation ein.

Podcast abspielen
Innovationsförderung für eine Belegschaft, die zunehmend remote arbeitet
Neueste Blogs

Lesen Sie, wie Netskope die Zero Trust- und SASE-Reise durch Security Service Edge (SSE)-Funktionen ermöglichen kann.

Den Blog lesen
Sonnenaufgang und bewölkter Himmel
SASE Week 2023: Ihre SASE-Reise beginnt jetzt!

Wiederholungssitzungen der vierten jährlichen SASE Week.

Entdecken Sie Sitzungen
SASE Week 2023
Was ist Security Service Edge?

Entdecken Sie die Sicherheitselemente von SASE, die Zukunft des Netzwerks und der Security in der Cloud.

Erfahren Sie mehr über Security Service Edge
Kreisverkehr mit vier Straßen
  • Unternehmen Chevron

    Wir helfen Ihnen, den Herausforderungen der Cloud-, Daten- und Netzwerksicherheit einen Schritt voraus zu sein.

  • Leadership Chevron

    Unser Leadership-Team ist fest entschlossen, alles zu tun, was nötig ist, damit unsere Kunden erfolgreich sind.

  • Kundenlösungen Chevron

    Wir sind für Sie da, stehen Ihnen bei jedem Schritt zur Seite und sorgen für Ihren Erfolg mit Netskope.

  • Schulung und Zertifizierung Chevron

    Netskope-Schulungen helfen Ihnen ein Experte für Cloud-Sicherheit zu werden.

Unterstützung der Nachhaltigkeit durch Datensicherheit

Netskope ist stolz darauf, an Vision 2045 teilzunehmen: einer Initiative, die darauf abzielt, das Bewusstsein für die Rolle der Privatwirtschaft bei der Nachhaltigkeit zu schärfen.

Finde mehr heraus
Unterstützung der Nachhaltigkeit durch Datensicherheit
Denker, Architekten, Träumer, Innovatoren. Gemeinsam liefern wir hochmoderne Cloud-Sicherheitslösungen, die unseren Kunden helfen, ihre Daten und Mitarbeiter zu schützen.

Lernen Sie unser Team kennen
Gruppe von Wanderern erklimmt einen verschneiten Berg
Das talentierte und erfahrene Professional Services-Team von Netskope bietet einen präskriptiven Ansatz für Ihre erfolgreiche Implementierung.

Erfahren Sie mehr über professionelle Dienstleistungen
Netskope Professional Services
Mit Netskope-Schulungen können Sie Ihre digitale Transformation absichern und das Beste aus Ihrer Cloud, dem Web und Ihren privaten Anwendungen machen.

Erfahren Sie mehr über Schulungen und Zertifizierungen
Gruppe junger Berufstätiger bei der Arbeit

New Python NodeStealer Goes Beyond Facebook Credentials, Now Stealing All Browser Cookies and Login Credentials

Sep 14 2023

Summary

Netskope Threat Labs is tracking a campaign that uses malicious Python scripts to steal Facebook users’ credentials and browser data. This campaign targets Facebook business accounts with bogus Facebook messages with a malicious file attached. The attacks are reaching victims mainly in Southern Europe and North America across different segments, led by the manufacturing services and technology sectors.

In January 2023, Meta identified a JavaScript-based malware dubbed NodeStealer, which aims to steal Facebook cookies and login credentials.

The present campaign appears to be a new variant of the Python-based NodeStealer that still aims to compromise Facebook business accounts. However, unlike previously reported NodeStealer versions, this one also pilfers all available credentials and cookies, not just those of Facebook. 

Let us explore how this new NodeStealer variant works.

NodeStealer distributed via Facebook messages.

The new NodeStealer variant we detected was hosted on the Facebook CDN and was sent to victims as an attachment in Facebook messages. Images of defective products were used as bait to convince owners or admins of Facebook business pages to download the malware payload. Unlike previous NodeStealer campaigns, this one uses a batch file instead of an executable as the initial payload.

NodeStealer sent via Facebook

We observed some identical batch files in multiple languages, indicating that the attacker customized the attack for each demographic.

Identical batch scripts named in different language

Once the file is downloaded, users have to run the batch file. The batch file uses a different character encoding,and opening it with a text editor by default will show incoherent characters. This is an attempt to obfuscate the script and hide its functions. Opening the file with a different encoding scheme will make the script comprehensible.

Malicious batch file readable when opened with UTF-8 character encoding

Once the user runs the batch file, it will initially open a Chrome browser and will land the victim on a benign page. The Chrome process will not be used later on, which is why we suspect that it was only done to convince the user that the file is benign.

However, in the background, Powershell is downloading several files from a malicious newly-registered domain (vuagame[.]store) using Invoke-WebRequest. It will initially download two zip files (Document.zip and 4HAI.zip), which will be stored in the C:\Users\Public folder. Document.zip contains a Python interpreter and its required DLLs and libraries, while 4HAI.zip contains the malware payloads.

Persistence through Startup Folder

Another difference with this NodeStealer, compared to the previously disclosed version, is the method for persistence. The “4HAI.zip” zip file contains another malicious batch file that is copied to the startup folder. The batch file runs Powershell to download and execute a malicious Python script named “project.py”. Just like the previous batch file, changing the character encoding is required to make the script legible.

After copying the batch file to the startup folder, another Python script named rmv.py is downloaded and executed to delete artifacts left behind.

Stolen credentials and browser cookies

The malicious python script in the startup folder converts an embedded hexadecimal encoded data into its binary representation. It was compressed several times over to likely evade detection. After several decompressions, the “exec” function is used to run the script.

Once it runs, one of the things the script checks is if there’s a Google Chrome process running, which it will terminate if there is. As mentioned earlier, Chrome is opened to access a benign website to put the user at ease. Ensuring that Chrome is not running is required at this stage to access the browser data.

Script that checks and terminates Chrome

Afterwards, the Python-based NodeStealer will collect the user’s IP address and country code using IPinfo. They will be used as a folder name where all collected data will be saved.

The malicious script collects several Google Chrome browser files, namely Login Data, Cookies and Local State. All copied files are then placed in a temp folder with the user’s IP address and country code as the folder name. Similar to previously disclosed NodeStealer, this one also targets several browsers, specifically Microsoft Edge, Brave, Opera, Cốc Cốc, Opera, and Firefox. The folder where the files are copied is deleted later on to remove evidence of the exfiltrated files.

Collection of Google Chrome Cookies, Login Data and Local State

After collecting browser files, NodeStealer first collects the encryption key found on the “Local State” file. This will be used later on to decrypt encrypted passwords. It then collects the username, password, and the URL from which they logged on, from the “Login Data” file. All data collected is then saved on a text file named “Password.txt” located on the temp file created earlier. 

NodeStealer also reads Cookie files and collects several pieces of data, such as domain, cookie name and values, and other important data. Unlike the previously reported NodeStealer, this variant will collect browser cookies regardless of whether it is from Facebook or not. However, we can see that it still looks for Facebook data since data collected from it is saved on a different text file. Stealing users’ cookies can lead to more targeted attacks. Cookies may store login credentials or active session data that can bypass the need to log in or type in the multi-factor authentication code, which can help attackers take over the victim’s account or make fraudulent transactions.

Facebook cookie data being saved separately to a different text file

Exfiltration via Telegram

Just like the previously reported Python-based NodeStealer, all harvested files are collected using Telegram.

Once the data is exfiltrated, the script performs a cleanup of all files and folders it created. And since the malicious batch file is on the startup folder, credentials and other browser data will continually be harvested.

Files collected will be deleted after exfiltration

Conclusion

This post described, what we believe, is a new variant of the Python-based NodeStealer. Compared to earlier variants, the new NodeStealer variant uses batch files to download and run Python scripts, and steal credentials and cookies from multiple browsers and for multiple websites. This campaign might be a doorway to a more targeted attack later on since they have already gathered useful information. Attackers who have stolen Facebook cookies and credentials can use them to take over the account, make fraudulent transactions leveraging the legitimate business page. Users can protect their data from being stolen by being vigilant on what they download over the internet. Do not download and open files that you receive via social media, even if they appear to come from someone you know.

Recommendations

The malicious files described in the post are distributed via social media applications. Being mindful of URL links or attachments received even from known sources can help prevent users from being victims of this campaign.

Netskope Threat Labs recommends that organizations review their security policies to ensure that they are adequately protected against these and similar phishing pages and scams. Other recommendations include:

  • Inspect all HTTP and HTTPS traffic, including all web and cloud traffic, to prevent users from visiting malicious websites. Netskope customers can configure their Netskope NG-SWG with a URL filtering policy to block known phishing and scam sites, and a threat protection policy to inspect all web content to identify unknown phishing and scam sites using a combination of signatures, threat intelligence, and machine learning.

Protection

Netskope Threat Labs is actively monitoring this campaign and has ensured coverage for all known threat indicators and payloads. 

  • Netskope Threat Protection
    • Trojan.GenericKD.68681756
    • Script.Trojan.Malgent
  • Netskope Advanced Threat Protection provides proactive coverage against this threat.
    • Gen.Malware.Detect.By.StHeur indicates a sample that was detected using static analysis
    • Gen.Malware.Detect.By.Sandbox indicates a sample that was detected by our cloud sandbox

IOCs

Below are the IOCs related to the web pages analyzed in this blog post.

URLs:

  • hxxps://cdn.fbsbx.com/v/t59.2708-21/367434252_826968952391881_4583268091682907143_n.rar/image-product-103c3e2d4se43234ed22c19d3f47611e2e.rar
  • hxxps://cdn.fbsbx.com/v/t59.2708-21/366790602_1527838844638580_5700504415987597148_n.rar/Bild-Produkt-1615448759625_19599_4e232787b5053ac7f631b0c701d2159c_1.rar
  • hxxps://cdn.fbsbx.com/v/t59.2708-21/366774494_655373353219514_2097719301301827427_n.rar/photo-product-103c3e2d22c19d3f47611e2e.rar
  • hxxps://cdn.fbsbx.com/v/t59.2708-21/366541252_307708121731913_2867761615862616633_n.rar/image-produit-103c3gdfe2d22c19d3f47611e2e.rar
  • hxxps://cdn.fbsbx.com/v/t59.2708-21/366736184_272143855551717_1974995500254017245_n.rar/imagem-produto-103c3e2e43234ed22c19d3f47611e2e.rar
  • hxxps://vuagame[.]store/rmv
  • hxxps://vuagame[.]store/document.zip
  • hxxps://vuagame[.]store/4HAI.zip
  • hxxps://vuagame[.]store/4HA

MD5:

  • 173b17e195b0a80611c22f333c3d2ec2
  • 2dc191275434b6afe6c6117ad76051ed
  • 13f94cda395bfdd2c87a024ee497e576
  • 10f53e5d2eacf8912ca5d0516a8dc89f
  • 64f4b6f2b2dfdd2e0c8c47e726f75e9a
  • bfcce5cd48cc23071052120338df1226
author image
Jan Michael Alcantara
Jan Michael Alcantara is an experienced incident responder with a background on forensics, threat hunting, and incident analysis.

Stay informed!

Subscribe for the latest from the Netskope Blog