SASE Week 2023 On-Demand! Explore sessions.

未来のプラットフォームはNetskopeです

インテリジェントセキュリティサービスエッジ(SSE)、クラウドアクセスセキュリティブローカー(CASB)、クラウドファイアウォール、セキュアウェブゲートウェイ(SWG)、およびZTNAのプライベートアクセスは、単一のソリューションにネイティブに組み込まれており、セキュアアクセスサービスエッジ(SASE)アーキテクチャへの道のりですべてのビジネスを支援します。

製品概要はこちら
Netskopeの動画
Borderless SD-WAN:ボーダレスエンタープライズの新時代を先導

Netskope Borderless SD-WANは、ゼロトラストの原則と保証されたアプリケーションパフォーマンスを統合するアーキテクチャを提供し、すべてのサイト、クラウド、リモートユーザー、およびIoTデバイスに前例のない安全で高性能な接続を提供します。

記事を読む
Borderless SD-WAN
  • NewEdge

    NewEdgeは、世界最大かつ最高のパフォーマンスを誇るセキュリティプライベートクラウドです。

  • クラウドセキュリティプラットフォーム

    世界最大のセキュリティプライベートクラウドにおける可視性とリアルタイムデータおよび脅威保護

  • 技術パートナーと統合

    Netskopeは、エンタープライズテクノロジーの最強の企業と提携しています。

セキュアアクセスサービスエッジ(SASE)アーキテクチャの採用

Netskope NewEdgeは、世界最大かつ最高のパフォーマンスのセキュリティプライベートクラウドであり、比類のないサービスカバレッジ、パフォーマンス、および回復力を顧客に提供します。

NewEdgeの詳細
NewEdge
明日に向けたネットワーク

サポートするアプリケーションとユーザー向けに設計された、より高速で、より安全で、回復力のあるネットワークへの道を計画します。

ホワイトペーパーはこちら
明日に向けたネットワーク
Netskope Cloud Exchange

Netskope Cloud Exchange (CE) は、セキュリティポスチャに対する投資を活用するための強力な統合ツールを提供します。

Cloud Exchangeについて学ぶ
Netskopeの動画
最小の遅延と高い信頼性を備えた、市場をリードするクラウドセキュリティサービスに移行します。

NewEdgeの詳細
山腹のスイッチバックを通るライトアップされた高速道路
アプリケーションのアクセス制御、リアルタイムのユーザーコーチング、クラス最高のデータ保護により、生成型AIアプリケーションを安全に使用できるようにします。

生成AIの使用を保護する方法を学ぶ
ChatGPTと生成AIを安全に有効にする
SSEおよびSASE展開のためのゼロトラストソリューション

ゼロトラストについて学ぶ
大海原を走るボート
Netskopeは、クラウドサービス、アプリ、パブリッククラウドインフラストラクチャを採用するための安全でクラウドスマートかつ迅速な旅を可能にします。

業界別ソリューションについて学ぶ
崖沿いの風力タービン
  • リソース

    クラウドへ安全に移行する上でNetskopeがどのように役立つかについての詳細は、以下をご覧ください。

  • ブログ

    Netskopeがセキュリティサービスエッジ(SSE)を通じてセキュリティとネットワークの変革を可能にする方法を学びましょう。

  • イベント&ワークショップ

    最新のセキュリティトレンドを先取りし、仲間とつながりましょう。

  • 定義されたセキュリティ

    サイバーセキュリティ百科事典、知っておくべきすべてのこと

セキュリティビジョナリーポッドキャスト

Leveling Up the SASE Conversation
Robert Arandjelovic and Gerry Plaza sit down to chat with Max Havey about how embracing a SASE journey can help bring networking and security teams closer together.

ポッドキャストを再生する
Leveling Up the SASE Conversation
最新のブログ

Netskopeがセキュリティサービスエッジ(SSE)機能を通じてゼロトラストとSASEの旅を可能にする方法。

ブログを読む
日の出と曇り空
SASE Week 2023: Your SASE journey starts now!

Replay sessions from the fourth annual SASE Week.

セッションの詳細
SASE Week 2023
セキュリティサービスエッジとは

SASEのセキュリティ面、ネットワークとクラウドでの保護の未来を探ります。

セキュリティサービスエッジの詳細
4方向ラウンドアバウト
私たちは、お客様が何にでも備えることができるように支援します

お客様を見る
窓の外を見て微笑むメガネをかけた女性
Netskopeの有能で経験豊富なプロフェッショナルサービスチームは、実装を成功させるための規範的なアプローチを提供します。

プロフェッショナルサービスについて学ぶ
Netskopeプロフェッショナルサービス
Netskopeコミュニティは、あなたとあなたのチームが製品とプラクティスからより多くの価値を引き出すのに役立ちます。

Netskopeコミュニティに移動
Netskope コミュニティ
Netskopeトレーニングで、デジタルトランスフォーメーションの旅を保護し、クラウド、ウェブ、プライベートアプリケーションを最大限に活用してください。

トレーニングと認定資格について学ぶ
働く若い専門家のグループ
  • 会社概要

    クラウド、データ、ネットワークセキュリティの課題に対して一歩先を行くサポートを提供

  • Netskopeが選ばれる理由

    クラウドの変革とどこからでも機能することで、セキュリティの機能方法が変わりました。

  • リーダーシップ

    Netskopeの経営陣はお客様を成功に導くために全力を尽くしています。

  • パートナー

    私たちはセキュリティリーダーと提携して、クラウドへの旅を保護します。

データセキュリティによる持続可能性のサポート

Netskope は、持続可能性における民間企業の役割についての認識を高めることを目的としたイニシアチブである「ビジョン2045」に参加できることを誇りに思っています。

詳しくはこちら
データセキュリティによる持続可能性のサポート
Highest in Execution. Furthest in Vision.

ネットスコープは2023年Gartner®社のセキュリティ・サービス・エッジ(SSE)のマジック・クアドラント™でリーダーの1社として評価されました。

レポートを読む
ネットスコープは2023年Gartner®社のセキュリティ・サービス・エッジ(SSE)のマジック・クアドラント™でリーダーの1社として評価されました。
思想家、建築家、夢想家、革新者。 一緒に、私たちはお客様がデータと人々を保護するのを助けるために最先端のクラウドセキュリティソリューションを提供します。

当社のチーム紹介
雪山を登るハイカーのグループ
Netskopeのパートナー中心の市場開拓戦略により、パートナーは企業のセキュリティを変革しながら、成長と収益性を最大化できます。

Netskope パートナーについて学ぶ
色々な若い専門家が集う笑顔のグループ

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