<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Compare plugin detected as malicious by both JoeSandbox and Crowdstrike Falcon]]></title><description><![CDATA[<p dir="auto">I recently was prompted to auto-update Notepad++, which I did on my Windows 10 laptop.  I then got a dialog informing me that the Compare plugin has been detected as not compatible with Notepad++ 8.3.3, and is disabled.</p>
<p dir="auto">So, I went to Plugins &gt; Plugins Admin and clicked the checkbox next to Compare, and clicked the “Install” button.  I get a User Account Control dialog prompting me to execute “C:\Program Files\Notepad++\updater\gup.exe” -unzipTo “C:\Program Files\Notepad++\notepad++.exe” “C:\Program Files\Notepad++\plugins” “ComparePlugin <a href="https://github.com/pnedev/compare-plugin/releases/download/v2.0.2/ComparePlugin_v2.0.2_X64.zip" rel="nofollow ugc">https://github.com/pnedev/compare-plugin/releases/download/v2.0.2/ComparePlugin_v2.0.2_X64.zip</a> 4151fbc9778047991cf4b900363d846bda5b0d1783e5fed9eb77e4c8253ba315” which, I assume, downloads the ZIP file from the URL, extracts the DLLs and installs them.</p>
<p dir="auto">But I found that <a href="http://JoeSandbox.com" rel="nofollow ugc">JoeSandbox.com</a> rates <a href="https://github.com/pnedev/compare-plugin/releases/download/v2.0.2/ComparePlugin_v2.0.2_X64.zip" rel="nofollow ugc">https://github.com/pnedev/compare-plugin/releases/download/v2.0.2/ComparePlugin_v2.0.2_X64.zip</a> URL as “malicious,” matching multiple rules:<br />
<a href="https://www.joesandbox.com/analysis/597349/0/executive" rel="nofollow ugc">https://www.joesandbox.com/analysis/597349/0/executive</a></p>
<p dir="auto"><a href="http://Hybrid-Analysis.com" rel="nofollow ugc">Hybrid-Analysis.com</a> also rates it as “suspicious.”  So, in order to restore the old version of the plugin, I uninstall Notepad++ and re-install it from our internal IT department’s known-good repository, but I find that the approved version doesn’t have the plugin.  Instead, it has the option to download the plugin.  So I go through a similar process and it gives me a similar prompt with a download URL of <a href="https://github.com/pnedev/compare-plugin/releases/download/v2.0.0_npp7.7/ComparePlugin_v2.0.0_npp7.7_X64.zip" rel="nofollow ugc">https://github.com/pnedev/compare-plugin/releases/download/v2.0.0_npp7.7/ComparePlugin_v2.0.0_npp7.7_X64.zip</a></p>
<p dir="auto">Again, both JoeSandbox and Hybrid Analysis rate this ZIP file as malicious; this time <a href="http://Hybrid-analysis.com" rel="nofollow ugc">Hybrid-analysis.com</a> comes back with a score of 100/100! (indicating a 100% confidence level):<br />
<a href="https://www.hybrid-analysis.com/sample/c0f37cc70695cdd595432f7ec1c3b7e3e2fb509d96bd1da20e3ecea387c99f4f" rel="nofollow ugc">https://www.hybrid-analysis.com/sample/c0f37cc70695cdd595432f7ec1c3b7e3e2fb509d96bd1da20e3ecea387c99f4f</a></p>
<p dir="auto">I was wondering if maybe the repository where the plugin is downloaded from has somehow been compromised?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/22777/compare-plugin-detected-as-malicious-by-both-joesandbox-and-crowdstrike-falcon</link><generator>RSS for Node</generator><lastBuildDate>Wed, 07 Oct 2026 16:19:35 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/22777.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Mar 2022 16:14:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Compare plugin detected as malicious by both JoeSandbox and Crowdstrike Falcon on Wed, 30 Mar 2022 20:07:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rdipardo" aria-label="Profile: rdipardo">@<bdi>rdipardo</bdi></a> said in <a href="/post/75580">Compare plugin detected as malicious by both JoeSandbox and Crowdstrike Falcon</a>:</p>
<blockquote>
<p dir="auto">…it unpacks portable versins of sqlite3 and git2, which it needs to function; but these are flagged as potentially malicious “stowaways”:</p>
<p dir="auto">Persistence and Installation Behavior</p>
<p dir="auto">Drops PE files</p>
<p dir="auto">Source: C:\Windows\SysWOW64\7za.exe<br />
File created: C:\Users\user\Desktop\extract\ComparePlugin\sqlite3.dll</p>
<p dir="auto">Source: C:\Windows\SysWOW64\7za.exe<br />
File created: C:\Users\user\Desktop\extract\ComparePlugin\git2.dll</p>
<p dir="auto">Source: C:\Windows\SysWOW64\7za.exe<br />
File created: C:\Users\user\Desktop\extract\ComparePlugin.dll</p>
</blockquote>
<p dir="auto">Yes.  It appears the sqlite3.dll and git2.dll files are the ones actually causing the Hybrid-Analysis sandbox to register the whole .zip as malicious as well.  Not sure the best way to test them to verify they are good…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/75606</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/75606</guid><dc:creator><![CDATA[jonathandl2]]></dc:creator><pubDate>Wed, 30 Mar 2022 20:07:45 GMT</pubDate></item><item><title><![CDATA[Reply to Compare plugin detected as malicious by both JoeSandbox and Crowdstrike Falcon on Tue, 29 Mar 2022 20:03:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonathandl2" aria-label="Profile: jonathandl2">@<bdi>jonathandl2</bdi></a>,<br />
If you look closely at the heuristics, I would say the plugin is being penalized for things it was only designed to do.</p>
<p dir="auto">For example, it unpacks portable versins of sqlite3 and git2, which it needs to function; but these are flagged as potentially malicious “stowaways”:</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th style="text-align:left">Persistence and Installation Behavior</th>
<th style="text-align:left"></th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">Drops PE files</td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left">Source: C:\Windows\SysWOW64\7za.exe</td>
<td style="text-align:left">File created: C:\Users\user\Desktop\extract\ComparePlugin\sqlite3.dll</td>
</tr>
<tr>
<td style="text-align:left">Source: C:\Windows\SysWOW64\7za.exe</td>
<td style="text-align:left">File created: C:\Users\user\Desktop\extract\ComparePlugin\git2.dll</td>
</tr>
<tr>
<td style="text-align:left">Source: C:\Windows\SysWOW64\7za.exe</td>
<td style="text-align:left">File created: C:\Users\user\Desktop\extract\ComparePlugin.dll</td>
</tr>
</tbody>
</table>
<p dir="auto">Calls to Win32 API functions like <a href="https://docs.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-getmodulehandlew" rel="nofollow ugc">GetModuleHandleW</a> are basic requirements for every single Notepad++ plugin (a Win32 application <em>par excellence</em>). But these are <em>all</em> essentially untrusted, simply because they have low-level access to the system:</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th style="text-align:left">Contains functionality to dynamically determine API calls</th>
<th style="text-align:left"></th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">Source: C:\Windows\System32\rundll32.exe</td>
<td style="text-align:left">Code function: 8_2_00007FFBBDC91870 GetModuleHandleW,GetModuleFileNameW,PathRemoveExtensionW,LoadLibraryW,GetProcAddress,GetProcAddress,GetProcAddress,GetProcAddress,GetProcAddress,GetProcAddress,GetProcAddress,GetProcAddress,GetProcAddress,GetProcAddress,GetProcAddress,GetProcAddress,GetProcAddress,</td>
</tr>
</tbody>
</table>
<p dir="auto">Possibly a rule set could be written that accounts for the typical behaviour of plugins. But I think it would end up being so permissive that basically everything would get a free pass.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/75580</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/75580</guid><dc:creator><![CDATA[rdipardo]]></dc:creator><pubDate>Tue, 29 Mar 2022 20:03:43 GMT</pubDate></item><item><title><![CDATA[Reply to Compare plugin detected as malicious by both JoeSandbox and Crowdstrike Falcon on Tue, 29 Mar 2022 18:35:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: peterjones">@<bdi>peterjones</bdi></a> said in <a href="/post/75535">Compare plugin detected as malicious by both JoeSandbox and Crowdstrike Falcon</a>:</p>
<blockquote>
<p dir="auto">There hasn’t been a compromise of the repository.  I have never heard of any of the “rating” sites that never have a false positive;</p>
</blockquote>
<p dir="auto">Thank you for your thoughtful reply and for verifying that the plugin-repository was not compromised.  You’re entirely right that false positives are not uncommon.  That’s why I didn’t post until 2 separate sandbox services said they had found something.  And the sheer number of <a href="https://www.joesandbox.com/analysis/597349/0/lighthtml" rel="nofollow ugc">JoeSandbox</a> signatures that got “hit,” as well as the overall <a href="https://www.joesandbox.com/analysis/597349/0/lighthtml" rel="nofollow ugc">“appearance”</a> of its tree diagram seem unusual, at least to the untrained eye.</p>
<blockquote>
<p dir="auto">most of the time, when there’s a change to anything, they start rating things as “malicious” or “dangerous” for no good reason.  (The algorithms such ratings use are looking for such small signatures in the binary that it can easily false-match tons of code, compared to the one malicious code that they’re really looking for.)</p>
</blockquote>
<p dir="auto">While it is interesting that the brand-new Compare v2.0.2 plugin got rated as “suspicious,” what’s more interesting is that the current download of the Compare v2.0.0 plugin also got rated as malicious.  This, in spite of the fact that version 2.0.0 has existed for over five years, so I would’ve expected any FP rating of it to have been resolved long ago, hence my wonderment whether the current 2.0.0 download is the same as the author’s original upload.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/75579</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/75579</guid><dc:creator><![CDATA[jonathandl2]]></dc:creator><pubDate>Tue, 29 Mar 2022 18:35:53 GMT</pubDate></item><item><title><![CDATA[Reply to Compare plugin detected as malicious by both JoeSandbox and Crowdstrike Falcon on Mon, 28 Mar 2022 16:43:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonathandl2" aria-label="Profile: jonathandl2">@<bdi>jonathandl2</bdi></a> ,</p>
<p dir="auto">The incompatibility is known and fixed – you just have to use the right version of the plugin for which version of Notepad++ you are running.  (Notepad++ made an internal change which required updates to most plugins to regain compatibility)</p>
<p dir="auto">There hasn’t been a compromise of the repository.  I have never heard of any of the “rating” sites that never have a false positive; most of the time, when there’s a change to anything, they start rating things as “malicious” or “dangerous” for no good reason.  (The algorithms such ratings use are looking for such small signatures in the binary that it can easily false-match tons of code, compared to the one malicious code that they’re really looking for.)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/75535</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/75535</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 28 Mar 2022 16:43:57 GMT</pubDate></item></channel></rss>