SASE Week 2023 On-Demand! Explore sessions.

La plateforme du futur est Netskope

Intelligent Security Service Edge (SSE), Cloud Access Security Broker (CASB), Cloud Firewall, Next Generation Secure Web Gateway (SWG), et Private Access for ZTNA intégrés nativement dans une solution unique pour aider chaque entreprise dans son cheminement vers l'architecture Secure Access Service Edge (SASE).

Présentation des produits
Vidéo Netskope
SD-WAN sans frontières : l'ère nouvelle de l'entreprise sans frontières

Le SD-WAN sans frontière de Netskope offre une architecture qui fait converger les principes de confiance zéro et les performances assurées des applications afin de fournir une connectivité sécurisée et performante sans précédent pour chaque site, cloud, utilisateur distant et appareil IoT.

Lire l'article
Borderless SD-WAN
  • NewEdge

    NewEdge est le nuage privé de sécurité le plus important et le plus performant au monde.

  • Plate-forme de sécurité en nuage

    Une visibilité inégalée et une protection des données et des menaces en temps réel sur le plus grand cloud privé de sécurité au monde.

  • Partenaires technologiques et intégrations

    Netskope s'associe aux sociétés les plus performantes en matière de technologies destinées aux entreprises.

Adopter une architecture SASE (Secure Access Service Edge)

Netskope NewEdge est le nuage privé de sécurité le plus grand et le plus performant au monde. Il offre aux clients une couverture de service, des performances et une résilience inégalées.

Découvrez NewEdge
NewEdge
Votre réseau de demain

Planifiez votre chemin vers un réseau plus rapide, plus sûr et plus résilient, conçu pour les applications et les utilisateurs que vous prenez en charge.

Obtenir le livre blanc
Votre réseau de demain
Netskope Cloud Exchange

Le Netskope Cloud Exchange (CE) fournit aux clients des outils d'intégration puissants pour optimiser les investissements dans l'ensemble de leur infrastructure de sécurité.

En savoir plus sur Cloud Exchange
Vidéo Netskope
Optez pour les meilleurs services de sécurité cloud du marché, avec un temps de latence minimum et une fiabilité élevée.

Découvrez NewEdge
Lighted highway through mountainside switchbacks
Permettez en toute sécurité l'utilisation d'applications d'IA générative grâce au contrôle d'accès aux applications, à l'accompagnement des utilisateurs en temps réel et à une protection des données de premier ordre.

Découvrez comment nous sécurisons l'utilisation de l'IA générative
Autorisez ChatGPT et l’IA générative en toute sécurité
Solutions Zero Trust pour les déploiements du SSE et du SASE

En savoir plus sur la confiance zéro
Boat driving through open sea
Netskope permet à toutes les entreprises d'adopter des services et des applications cloud ainsi que des infrastructures cloud publiques rapidement et en toute sécurité.

En savoir plus sur les solutions sectorielles
Wind turbines along cliffside
  • Ressources

    Découvrez comment Netskope peut vous aider à sécuriser votre migration vers le Cloud.

  • Blog

    Découvrez comment Netskope permet de transformer la sécurité et les réseaux à l'aide du Security Service Edge (SSE).

  • Événements et ateliers

    Restez à l'affût des dernières tendances en matière de sécurité et créez des liens avec vos pairs.

  • Définition de la sécurité

    Tout ce que vous devez savoir dans notre encyclopédie de la cybersécurité.

Podcast Security Visionaries

Unveiling the Under-reported Aspects of AI
Emily Wearmouth sits down with Neil Thacker, EMEA CISO, Yihua Liao, Head of Netskope AI Labs, and Suzanne Oliver, Director of IP Strategy at Scintilla, to discuss the topics in the realm of AI that they each wish people were discussing more.

Écouter le podcast
Unveiling the Under-reported Aspects of AI Social card
Derniers blogs

Comment Netskope peut faciliter le parcours Zero Trust et SASE grâce aux capacités des services de sécurité en périphérie (SSE).

Lire le blog
Sunrise and cloudy sky
SASE Week 2023: Your SASE journey starts now!

Replay sessions from the fourth annual SASE Week.

Explorer les sessions
SASE Week 2023
Qu'est-ce que le Security Service Edge ?

Découvrez le côté sécurité de SASE, l'avenir du réseau et de la protection dans le cloud.

En savoir plus sur Security Service Edge
Four-way roundabout
  • Nos clients

    Netskope sert plus de 2 000 clients dans le monde, dont plus de 25 des entreprises du classement Fortune 100

  • Solutions pour les clients

    Nous sommes là pour vous et avec vous à chaque étape, pour assurer votre succès avec Netskope.

  • Communauté Netskope

    Apprenez d'autres professionnels des réseaux, des données et de la sécurité.

  • Formation et certification

    Avec Netskope, devenez un expert de la sécurité du cloud.

Nous parons nos clients à l'avenir, quel qu'il soit

Voir nos clients
Woman smiling with glasses looking out window
L’équipe de services professionnels talentueuse et expérimentée de Netskope propose une approche prescriptive pour une mise en œuvre réussie.

En savoir plus sur les services professionnels
Services professionnels Netskope
La communauté Netskope peut vous aider, vous et votre équipe, à tirer le meilleur parti des produits et des pratiques.

Accéder à la communauté Netskope
La communauté Netskope
Sécurisez votre parcours de transformation numérique et tirez le meilleur parti de vos applications cloud, Web et privées grâce à la formation Netskope.

En savoir plus sur les formations et les certifications
Group of young professionals working
  • Entreprise

    Nous vous aidons à conserver une longueur d'avance sur les défis posés par le cloud, les données et les réseaux en matière de sécurité.

  • Pourquoi Netskope

    La transformation du cloud et le travail à distance ont révolutionné le fonctionnement de la sécurité.

  • Équipe de direction

    Nos dirigeants sont déterminés à faciliter la réussite de nos clients.

  • Partenaires

    Nous collaborons avec des leaders de la sécurité pour vous aider à sécuriser votre transition vers le cloud.

Soutenir le développement durable par la sécurité des données

Netskope est fière de participer à Vision 2045 : une initiative visant à sensibiliser au rôle de l'industrie privée dans le développement durable.

En savoir plus
Soutenir le développement durable grâce à la sécurité des données
Meilleure capacité d'exécution. Le plus loin dans sa vision.

Netskope nommé leader dans le rapport Magic QuadrantTM 2023 pour SSE de Gartner®.

Recevoir le rapport
Netskope nommé leader dans le rapport Magic QuadrantTM 2023 pour SSE de Gartner®.
Penseurs, concepteurs, rêveurs, innovateurs. Ensemble, nous fournissons le nec plus ultra des solutions de sécurité cloud afin d'aider nos clients à protéger leurs données et leurs collaborateurs.

Rencontrez notre équipe
Group of hikers scaling a snowy mountain
La stratégie de commercialisation de Netskope privilégie ses partenaires, ce qui leur permet de maximiser leur croissance et leur rentabilité, tout en transformant la sécurité des entreprises.

En savoir plus sur les partenaires de Netskope
Group of diverse young professionals smiling

RedLine Stealer Campaign Abusing Discord via PDF Links

Oct 03 2022

Summary

RedLine is an infostealer malware discovered in 2020. Often sold in underground forums, it is capable of stealing data such as credit card numbers, passwords, VPN and FTP credentials, gaming accounts, and even data from crypto wallets. In May 2022, Netskope Threat Labs analyzed a RedLine stealer campaign that was using YouTube videos to spread, luring victims into downloading a fake bot to automatically buy Binance NFT Mystery Boxes. Later in 2022, this malware was also spotted being self-spread through YouTube videos that were advertising popular gaming hacking tools.

In September 2022, Netskope Threat Labs found a RedLine Stealer campaign being spread through phishing emails. The email lures the user into opening a PDF file that redirects the victim to a URL that downloads RedLine, hosted on Discord. 

Furthermore, we found that the attacker updated the same PDF file three times and didn’t flatten the latest version, which allowed us to retrieve three more URLs from older versions of the same file. These URLs download other malware from Discord, including PureCrypter and NjRAT (a.k.a. Bladabindi). NjRAT is another popular remote access trojan with many capabilities, such as logging keystrokes, stealing credentials from browsers, accessing the victim’s camera, managing files, and more.

In this blog post, we will analyze how this campaign works from the delivery method to the RAT payloads.

Delivery Method

The delivery method is fairly simple. The attacker sends a phishing email luring the user to open the attached PDF file, disguised as an invoice.

Phishing email that delivers RedLine.

The PDF file contains an image that shows a blurred document, luring the user into clicking on a download icon that downloads RedLine from Discord.

PDF Redirecting the user to a Discord URL, which downloads RedLine.

By analyzing the PDF, we found older versions of the same file with different URLs the attacker was using, which are still online and delivering other malware instead of RedLine, as we will see later in this post.

Older versions of the same PDF file containing different URLs.

This happens when the PDF is changed and isn’t flattened, keeping the update history within the objects.

RedLine Stealer

The latest URL in the PDF downloads a ZIP file from Discord that contains the RedLine Stealer payload, likely compiled on September 16, 2022.

RedLine Stealer payload

As we covered in our previous blog, RedLine does not execute if the following countries are detected:

  • Armenia
  • Azerbaijan
  • Belarus
  • Kazakhstan
  • Kyrgyzstan
  • Moldova
  • Russia
  • Tajikistan
  • Ukraine
  • Uzbekistan
Blocklisted countries by RedLine Stealer.

RedLine Stealer is able to steal sensitive information from specific apps, such as Discord and Steam, as well as from browsers and FTP and VPN clients.

RedLine searching for Discord Tokens.

Furthermore, the latest version of RedLine is also able to steal data from cryptocurrency extensions on Google Chrome.

RedLine Stealer searching for Google Chrome extensions related to cryptocurrency.

This is the list of targeted Google Chrome extensions found in this specific sample:

  • AtomicWallet
  • Authenticator
  • BinanceChain
  • BitAppWallet
  • BoltX
  • BraveWallet
  • Coin98Wallet
  • Coinbase
  • EqualWallet
  • GuardaWallet
  • GuildWallet
  • HarmonyWallet
  • iWallet
  • JaxxxLiberty
  • KardiaChain
  • LiqualityWallet
  • MaiarDeFiWallet
  • MathWallet
  • Metamask
  • MewCx
  • NamiWallet
  • NiftyWallet
  • Oxygen
  • PaliWallet
  • Phantom
  • RoninWallet
  • SaturnWallet
  • TempleWallet
  • TerraStation
  • TonCrystal
  • Tronlink
  • Wombat
  • XdefiWallet
  • YoroiWallet

Lastly, we can find the RedLine Stealer C2 server and ID encrypted in its configuration. The data is base64 encoded and encrypted with a simple XOR algorithm using “Unhandier” as key.

RedLine Stealer configuration.

The decrypted C2 server address can be found in our GitHub repository.

Older versions of the same PDF

As previously mentioned, we found three additional URLs by analyzing the update history of the PDF. At the time of the analysis, all the URLs were still online and downloading other malware. 

Unlike RedLine Stealer, these other URLs were not downloading the final payload directly. Instead, they are downloading an HTA file (either directly or compressed) which is responsible for downloading and executing a payload, also hosted on Discord.

The first version of the PDF downloads a RAR file (“Invoice_NO355449609.rar”) with a compressed HTA file, which contains a Visual Basic Script that downloads the next stage payload (“Server.exe”) from Discord using bitsadmin.

First version of the PDF downloading a different malware.

The downloaded file (“Server.exe”) is NjRAT, which is a remote access trojan first spotted somewhere between 2013 and 2014.

NjRAT payload details.

This trojan provides remote access to infected machines, offering many functionalities such as access to the victim’s webcam, stealing credentials stored on browsers, and stealing keystrokes.

Part of NjRAT keylogger functionality.

Although this is not configured for this specific binary, there’s a feature that searches for Bitcoin addresses in the victim’s clipboard and replaces the value with the attacker’s address.

Feature to steal Bitcoins by replacing addresses in the clipboard.

This NjRAT payload is version 0.7d and it injects itself into a “svchost.exe” process.

NjRAT configuration variables.

The second and third version of the PDF works similarly to the first version, by downloading and executing an HTA file from Discord. The only difference between these versions is that the third one downloads the HTA file within a RAR (“Encrypted.rar”).

Second and third version of the PDF downloading another malware from Discord.

The downloaded file (“system.exe”) is PureCrypter, which is a malware loader commonly used to deliver other malware such as RedLine Stealer, AgentTesla, AsyncRAT, and others.

PureCrypter binary details.

This is a multi-stage malware that first runs PowerShell to sleep for 15 seconds and then loads the next stage from its own resources, which are compressed with gzip.

First stage of PureCrypter.

The next stage is highly obfuscated. Once running, it loads and decrypts a file from its resources using AES, which is a resource-only .NET binary that contains the final payload, which seems to be AgentTesla.

Second stage of PureCrypter loading the next payload.

Conclusions

Attackers commonly target individuals with cheap remote access trojans, like RedLine Stealer, which can be found in underground forums for about $100 USD. Although these are simple attacks given the delivery method and types of malware, these kinds of threats can cause serious damage to individuals by stealing sensitive information, such as credit card numbers, website accounts, or cryptocurrency wallets. We strongly recommend individuals  avoid opening unknown files or clicking unknown links, especially if those were received by email. Also, using an antivirus endpoint solution could help as these are well known malware families.

Protection

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

  • Netskope Threat Protection
    • Win32.Trojan.RedLineStealer
    • Win32.Infostealer.RedLine
    • ByteCode-MSIL.Backdoor.Bladabhindi
    • ByteCode-MSIL.Trojan.AgentTesla
  • 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

All the IOCs related to this campaign, scripts, and the Yara rules can be found in our GitHub repository.

author image
Gustavo Palazolo
Gustavo Palazolo is an expert in malware analysis, reverse engineering and security research, working many years in projects related to electronic fraud protection. He is currently working on the Netskope Research Team, discovering and analyzing new malware threats.

Stay informed!

Subscribe for the latest from the Netskope Blog