<?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[DLL Hack in Notepad++]]></title><description><![CDATA[<p dir="auto">Apologies if this is the wrong forum to post this. Long-time Notepad++ user. Has anyone been made aware of this issue yet?</p>
<p dir="auto"><a href="https://wikileaks.org/ciav7p1/cms/page_26968090.html" rel="nofollow ugc">https://wikileaks.org/ciav7p1/cms/page_26968090.html</a></p>
<p dir="auto">"The following DLL hijack works for both the portable and non-portable variants of Notepad++</p>
<p dir="auto">Notepad++ loads Scintilla, a “code editing component” (and seperate project), from a DLL adjacent to its EXE called “SciLexer.dll”.  This DLL exports only one funciton named “Scintilla_DirectFunction” at ordinal #1</p>
<p dir="auto">The DLL does a lot of “set up” in ProcessAttach, so it is important to load the true DLL as soon as the hijack is loaded.</p>
<p dir="auto">The exported function has the following prototype definition, according to the open source for Notepad++ online:</p>
<p dir="auto">sptr_t __stdcall Scintilla_DirectFunction(ScintillaWin * sci, UINT iMessage, uptr_t wParam, sptr_t lParam)"</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/13402/dll-hack-in-notepad</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 08:25:18 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/13402.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Mar 2017 18:07:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Fri, 17 Mar 2017 15:21:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/8063">@Gilberto-SC</a></p>
<p dir="auto">you can use <a href="https://technet.microsoft.com/en-us/sysinternals/bb896645" rel="nofollow ugc">procmon</a> in order to find out which dll gets loaded, from where and when.<br />
Run procmon, define a filter for npp and then start npp.<br />
It needs a bit of training but if you are really interested in finding out what does what<br />
check out the sysinternals tools as well as everything Mark Russinovich has posted/blogged.</p>
<p dir="auto">Once you are at the level to understand how process, threads, libraries, drivers … work together<br />
download <a href="https://mh-nexus.de/en/hxd/" rel="nofollow ugc">hxd</a> and start investigating memory.</p>
<p dir="auto">Other useful tools can be found at <a href="http://nirsoft.net/" rel="nofollow ugc">nirsoft</a>.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22791</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22791</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Fri, 17 Mar 2017 15:21:02 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Fri, 17 Mar 2017 06:56:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/8063">@Gilberto-SC</a> said:</p>
<blockquote>
<p dir="auto">Is it possible to know if my scilexer.dll has been hijacked?</p>
</blockquote>
<p dir="auto">It depends on the hijack. The CIA, related organizations, and black-hat hackers, is adding spyware to computers and devices used by their targets. Among the things they do conceal that spyware is running is that are making changes to DLLs and/or intercepting calls to DLLs.  Someone inspecting their process list will see nothing unusual.  If they use Notepad++ they would see notepad++.exe running. If they close Notepad++ that process goes away.</p>
<p dir="auto">If the only change they made to the target’s computer is to replace DLLs with versions that include spyware then, yes, it’s possible  to know if scilexer.dll has been hijacked. However, in order to replace scilexer.dll the attacker needed full administrative mode rights.  If that’s the case they likely also installed a <a href="https://en.wikipedia.org/wiki/Rootkit" rel="nofollow ugc">root kit</a> and much more.  If the target inspects scilexer.dll the bits and bytes they see will be exactly the same as the copy of scilexer.dll that comes with Notepad++ or similar products.  The only way for a target to see if they have been hacked is to take the machine or device to a forensic lab and to have them tear it apart down to nearly the molecule level. Even with that they may miss the clues.  See <a href="https://en.wikipedia.org/wiki/Stuxnet" rel="nofollow ugc">Stuxnet</a> for an example of how attackers such as the CIA operate. The good news for the CIA is if the target hears about v7.3.3, installs it, that it’s going to pass the test. The target thinks they are safe (until they read this post) and the CIA continues to monitor the target. Once the CIA spots this post they may make arrangements so that the target sees something that leads them to believe they are safe. :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22778</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22778</guid><dc:creator><![CDATA[mkupper]]></dc:creator><pubDate>Fri, 17 Mar 2017 06:56:54 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Fri, 17 Mar 2017 05:19:31 GMT]]></title><description><![CDATA[<p dir="auto">Is it possible to know if my scilexer.dll has been hijacked?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22777</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22777</guid><dc:creator><![CDATA[Gilberto SC]]></dc:creator><pubDate>Fri, 17 Mar 2017 05:19:31 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Tue, 14 Mar 2017 23:56:44 GMT]]></title><description><![CDATA[<p dir="auto">From what I’ve read in the Vault7 release, DLL injection is a great way to insert malicious code into the memory space where a legit DLL resides.</p>
<p dir="auto">I’m not terribly sure if this directly applies, but I found this post on StackOverflow on how to avoid DLL injection in Windows processes/applications:</p>
<p dir="auto"><a href="http://stackoverflow.com/questions/869320/how-do-i-prevent-dll-injection" rel="nofollow ugc">http://stackoverflow.com/questions/869320/how-do-i-prevent-dll-injection</a></p>
<p dir="auto">Honestly, I hadn’t heard of DLL injection prior to the Vault7 release, so the my comprehension of the matter is limited. I have to say that if I understand it correctly though, the concept is fascinating.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22711</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22711</guid><dc:creator><![CDATA[Cory Blankenship]]></dc:creator><pubDate>Tue, 14 Mar 2017 23:56:44 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Wed, 08 Mar 2017 21:38:26 GMT]]></title><description><![CDATA[<p dir="auto">Collisions on linking with a static build of scilexer.lib:</p>
<p dir="auto">1&gt;SciLexer.lib(PlatWin.obj) : error LNK2005: “public: virtual __cdecl Window::~Window(void)” (??1Window@@UEAA@XZ) ist bereits in fileBrowser.obj definiert.<br />
1&gt;SciLexer.lib(UniConversion.obj) : error LNK2005: “unsigned int __cdecl UTF8Length(wchar_t const *,unsigned int)” (?UTF8Length@@YAIPEB_WI@Z) ist bereits in UniConversion.obj definiert.<br />
1&gt;SciLexer.lib(Style.obj) : error LNK2005: “public: __cdecl Style::Style(void)” (??0Style@@QEAA@XZ) ist bereits in Notepad_plus.obj definiert.<br />
1&gt;SciLexer.lib(Style.obj) : error LNK2005: “public: __cdecl Style::~Style(void)” (??1Style@@QEAA@XZ) ist bereits in FindReplaceDlg.obj definiert.</p>
<p dir="auto">See <a href="http://www.scintilla.org/ScintillaDoc.html#BuildingScintilla" rel="nofollow ugc">http://www.scintilla.org/ScintillaDoc.html#BuildingScintilla</a> for builds with STATIC_BUILD.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22484</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22484</guid><dc:creator><![CDATA[chcg]]></dc:creator><pubDate>Wed, 08 Mar 2017 21:38:26 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Wed, 08 Mar 2017 21:12:02 GMT]]></title><description><![CDATA[<p dir="auto">Signatures are a problem for people who want to build NPP by themselves and modify it.<br />
They can’t sign DLL by themselves so they will need to go into NPP code and also disable the signature check.<br />
Given that the added security is very very minimal I don’t think that NPP should test the signature of SciLexer.DLL.<br />
Once an attacker has access to the file system to replace DLLs, specifically to ‘Program Files’ which usually requires administrator privileges the system is doomed anyway.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22483</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22483</guid><dc:creator><![CDATA[gstavi]]></dc:creator><pubDate>Wed, 08 Mar 2017 21:12:02 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Wed, 08 Mar 2017 18:43:41 GMT]]></title><description><![CDATA[<p dir="auto">There is nothing unique here.  I could do the same thing with any dll file. Just you were unlucky to turn up in Wikileaks. :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22477</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22477</guid><dc:creator><![CDATA[Mikhail Shilov]]></dc:creator><pubDate>Wed, 08 Mar 2017 18:43:41 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Wed, 08 Mar 2017 18:24:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7970">@Mikhail-Shilov</a></p>
<p dir="auto">I still don’t understand what makes this unique to Notepad++/SciTE/Scintilla. You could do the same thing to <em>any</em> dll file.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22475</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22475</guid><dc:creator><![CDATA[dail]]></dc:creator><pubDate>Wed, 08 Mar 2017 18:24:03 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Wed, 08 Mar 2017 18:21:38 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://github.com/nn1k1kvn/SciTE_DLL_Hijack" rel="nofollow ugc">Exploit</a> Notepad++ (SciTE)   ;-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22474</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22474</guid><dc:creator><![CDATA[Mikhail Shilov]]></dc:creator><pubDate>Wed, 08 Mar 2017 18:21:38 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Wed, 08 Mar 2017 16:00:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3662">@Claudia-Frank</a> ,<br />
SHA-2 (SHA-256) or SHA-3 could be checked as well, just to be certain everything is ok and sleep calmly at night ahhaha :D</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22463</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22463</guid><dc:creator><![CDATA[young-developer]]></dc:creator><pubDate>Wed, 08 Mar 2017 16:00:47 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Wed, 08 Mar 2017 15:45:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7040">@young-developer</a></p>
<blockquote>
<p dir="auto">I think there is no sens in checking certificates or staff like that because project is open source and everybody could create their own version of npp.</p>
</blockquote>
<p dir="auto">Not if the private key is kept private ;-) (so it is open source with parts being not open)<br />
NO ;-) I don’t want to start a new discussion whether this makes sense. :-)</p>
<blockquote>
<p dir="auto">If someone is paranoid then could simply check md5 hash of original files(dlls and so on)</p>
</blockquote>
<p dir="auto">Nope, md5 is considered insecure.</p>
<p dir="auto">But all in all you are correct and Don, dail etc… do also agree once users’ PC are compromised …</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22462</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22462</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Wed, 08 Mar 2017 15:45:33 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Wed, 08 Mar 2017 15:39:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7040">@young-developer</a></p>
<p dir="auto">Yes, well, in this case you’d have to check the MD5 on the SciLexer.dll that will <em>be</em> loaded, which is perhaps a different one than the one that you <em>think</em> will get loaded.  :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22460</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22460</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 08 Mar 2017 15:39:19 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Wed, 08 Mar 2017 15:31:19 GMT]]></title><description><![CDATA[<p dir="auto">I think there is no sens in checking certificates or staff like that because project is open source and everybody could create their own version of npp.</p>
<p dir="auto">P.S. If someone is paranoid then could simply check md5 hash of original files(dlls and so on) :D</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22457</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22457</guid><dc:creator><![CDATA[young-developer]]></dc:creator><pubDate>Wed, 08 Mar 2017 15:31:19 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Wed, 08 Mar 2017 15:29:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3662">@Claudia-Frank</a></p>
<p dir="auto">Ah, okay Claudia, I think you understood my question and I understand your response.  Thank you.  Over my long period of observation, Windows seems inherently unsecure, probably because it is backing its way into security rather than having it be a major part of the design criterion.  Sad.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22456</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22456</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 08 Mar 2017 15:29:29 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Wed, 08 Mar 2017 15:21:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a><br />
Don’t know if I understand you correctly. I guess Don and dail are very well aware about<br />
the issue but when such a hack gets public it needs to be addressed. Don’t know<br />
if you ever where in the position to explain to your IT Security department that such a hack<br />
can’t be avoided as long as the operating system doesn’t ensure a safe environment.<br />
They simply ignore it - as long as you don’t provide “a” solution it is marked a vulnerable and<br />
you don’t get the permission to use this software anymore.<br />
Notepad++ is used in companies - at least in the ones that I was working for.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22454</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22454</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Wed, 08 Mar 2017 15:21:10 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Wed, 08 Mar 2017 12:40:19 GMT]]></title><description><![CDATA[<p dir="auto">I’m trying to get my head around this.  No, not the part about the vulnerability, I understand that; the part I don’t understand is why all of a sudden this is like some big revelation…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22445</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22445</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 08 Mar 2017 12:40:19 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Wed, 08 Mar 2017 10:59:20 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">This headline is misleading. The DLL exists for CIA assets to use the cover app while it’s executing other code under the hood. From my reading, it’s not meant to be used against the person using notepad++, it’s to let them use notepad++ without raising any red flags while the DLL does data collection in the background. Those apps listed are the cover apps that look normal, the DLL hijack is to make them malicious with the knowledge of the operator.</p>
</blockquote>
<p dir="auto">ref: <a href="https://www.reddit.com/r/sysadmin/comments/5y0iqa/notepad_users_cia_has_had_a_dll_hijack_for_your/" rel="nofollow ugc">https://www.reddit.com/r/sysadmin/comments/5y0iqa/notepad_users_cia_has_had_a_dll_hijack_for_your/</a></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/34">@dail</a> <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3662">@Claudia-Frank</a><br />
I agree that once users’ PC are compromised, the certificate checking is meaningless.<br />
However, it makes harder (more job) to hack by checking certificate.<br />
Just like knowing the lock is useless for people who are willing to go into my house, I still shut the door and lock it every morning when I leave home.</p>
<p dir="auto">We are in a f**king corrupted world! <em>Sigh</em></p>
]]></description><link>https://community.notepad-plus-plus.org/post/22442</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22442</guid><dc:creator><![CDATA[donho]]></dc:creator><pubDate>Wed, 08 Mar 2017 10:59:20 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Wed, 08 Mar 2017 00:05:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/34">@dail</a></p>
<blockquote>
<p dir="auto">The safest solution would just be link the SciLexer statically instead of loading it dynamically but I’m not saying this is the right solution</p>
</blockquote>
<p dir="auto">Yes, you’re right. it’ll be in the roadmap. In the meantime, I will do the quick fix - checking the scilexer.dll before loading it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22428</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22428</guid><dc:creator><![CDATA[donho]]></dc:creator><pubDate>Wed, 08 Mar 2017 00:05:26 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Tue, 07 Mar 2017 23:58:19 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">just one function call which needs to be passed through to get the same privilege as the main process?</p>
</blockquote>
<p dir="auto">That would assume you bypassed the Windows OS and got into the process space of Notepad++, which by then you have other issues ;)</p>
<blockquote>
<p dir="auto">Maybe a blog worth reading…</p>
</blockquote>
<p dir="auto">Will look at it tomorrow when I have a bit more time.</p>
<p dir="auto">The <em>safest</em> solution would just be link the SciLexer statically instead of loading it dynamically but I’m not saying this is the <em>right</em> solution</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22427</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22427</guid><dc:creator><![CDATA[dail]]></dc:creator><pubDate>Tue, 07 Mar 2017 23:58:19 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Tue, 07 Mar 2017 23:48:24 GMT]]></title><description><![CDATA[<p dir="auto">Jfi - need to stay up early - I’m off.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22426</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22426</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Tue, 07 Mar 2017 23:48:24 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Tue, 07 Mar 2017 23:27:59 GMT]]></title><description><![CDATA[<p dir="auto">Good point but isn’t the beauty of this hack that there is just one function call which needs to be passed through to get<br />
the same privilege as the main process? If it is running unprivileged good but if user runs it as administrator …</p>
<p dir="auto">You are right - loading a dll is a security issue and there is no safe way if MS doesn’t provide a way to run a program<br />
in an encapsulated  and signed environment. Something like CI+ or the HDMI content protection. But for this special issue,<br />
I don’t see how it could be solved otherwise.</p>
<p dir="auto">Maybe a blog worth reading<br />
<a href="https://blogs.technet.microsoft.com/srd/2009/04/14/ms09-014-addressing-the-safari-carpet-bomb-vulnerability/" rel="nofollow ugc">https://blogs.technet.microsoft.com/srd/2009/04/14/ms09-014-addressing-the-safari-carpet-bomb-vulnerability/</a></p>
<p dir="auto">and there is one other issue which might be interesting. If the dll gets verified before load, this breaks npp for all<br />
that use a different scintilla dll at the moment. I’m thinking about <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/25">@cmeriaux</a>  for example.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22422</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22422</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Tue, 07 Mar 2017 23:27:59 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Tue, 07 Mar 2017 23:47:47 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">can’t npp exe call a function to check scintillas signature again?</p>
</blockquote>
<p dir="auto">Yes it can. But if an attacker has access to <code>SciLexer.DLL</code> why wouldn’t they just attack <code>notepad++.exe</code>. There is never a case where <code>notepad++.exe</code> is from a <em>privileged</em> location and loads <code>SciLexer.DLL</code> from a <em>non</em>-privileged location.</p>
<p dir="auto">I think we need to take a step back because this discussion doesn’t sound like it is specific to Notepad++ and Scintilla. There are programs every day that have to load DLLs and have to make sure they are valid.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22421</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22421</guid><dc:creator><![CDATA[dail]]></dc:creator><pubDate>Tue, 07 Mar 2017 23:47:47 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Tue, 07 Mar 2017 23:02:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/34">@dail</a></p>
<p dir="auto">don’t get this - if the file is signed, can’t npp exe call a function to check scintillas signature again?<br />
I mean, when a dll get’s signed it provides an unique stamp so before loading the library couldn’t<br />
you check this stamp?</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22419</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22419</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Tue, 07 Mar 2017 23:02:12 GMT</pubDate></item><item><title><![CDATA[Reply to DLL Hack in Notepad++ on Tue, 07 Mar 2017 22:55:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3662">@Claudia-Frank</a></p>
<blockquote>
<p dir="auto">but at that point, it isn’t in the responsibility of Don anymore, is it?</p>
</blockquote>
<p dir="auto">Being signed ensures the right files get installed on the system. After that it is impossible for an exe to validate other files if it can’t validate itself first.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/22418</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22418</guid><dc:creator><![CDATA[dail]]></dc:creator><pubDate>Tue, 07 Mar 2017 22:55:38 GMT</pubDate></item></channel></rss>