<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How it Works:  DLL Injection</title><link>http://blogs.msdn.com/ntdebugging/archive/2008/06/20/how-it-works-dll-injection.aspx</link><description>Introduction Hi everyone, this is Bob again. I recently worked on an issue where the interaction of two threads in Winlogon led to a bugcheck. One thread was a Winlogon thread initializing GDI. The interesting thing about this scenario is how the other</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>a-foton  &amp;raquo; Blog Archive   &amp;raquo; How it Works:  DLL Injection</title><link>http://blogs.msdn.com/ntdebugging/archive/2008/06/20/how-it-works-dll-injection.aspx#8626197</link><pubDate>Fri, 20 Jun 2008 21:09:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8626197</guid><dc:creator>a-foton  &amp;raquo; Blog Archive   &amp;raquo; How it Works:  DLL Injection</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blog.a-foton.ru/2008/06/20/how-it-works-dll-injection/"&gt;http://blog.a-foton.ru/2008/06/20/how-it-works-dll-injection/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: How it Works:  DLL Injection</title><link>http://blogs.msdn.com/ntdebugging/archive/2008/06/20/how-it-works-dll-injection.aspx#8627033</link><pubDate>Fri, 20 Jun 2008 23:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8627033</guid><dc:creator>molotov</dc:creator><description>&lt;p&gt;Good write-up, Bob - Thanks!&lt;/p&gt;
&lt;p&gt;Do you suspect the injection was related to malware?&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt; &amp;nbsp;I recently worked on an issue where the interaction of two threads in Winlogon led to a bugcheck. &amp;nbsp;One thread was a Winlogon thread initializing GDI. &amp;nbsp;The interesting thing about this scenario is how the other thread ended up in this process. &amp;nbsp;&amp;lt;&amp;lt;&lt;/p&gt;
&lt;p&gt;Wonder if you might care to indicate what the interaction was that led to the bugcheck?&lt;/p&gt;</description></item><item><title>re: How it Works:  DLL Injection</title><link>http://blogs.msdn.com/ntdebugging/archive/2008/06/20/how-it-works-dll-injection.aspx#8641900</link><pubDate>Mon, 23 Jun 2008 15:36:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8641900</guid><dc:creator>Volodymyr Shcherbyna</dc:creator><description>&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;I suppose things get wrong because of &amp;quot;Address Space Randomization&amp;quot; feature introduced in Vista to prevent successful execution of &amp;quot;shell code&amp;quot; in case of stack/heap corruptions (addresses of API functions usually are static in shell code).&lt;/p&gt;</description></item><item><title>re: How it Works:  DLL Injection</title><link>http://blogs.msdn.com/ntdebugging/archive/2008/06/20/how-it-works-dll-injection.aspx#8646695</link><pubDate>Tue, 24 Jun 2008 13:25:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8646695</guid><dc:creator>Volodymyr Shcherbyna</dc:creator><description>&lt;p&gt;&amp;quot;Wonder if you might care to indicate what the interaction was that led to the bugcheck?&amp;quot;&lt;/p&gt;
&lt;p&gt;To &amp;quot;molotov&amp;quot;: calling function on improper address usually results in access violations or simular errors. This leads to termination of process in which the dll was loaded. Since the process is winlogon.exe, the system goes into reboot, because it is critical process.&lt;/p&gt;</description></item><item><title>Interesting Links – 6/24/2008</title><link>http://blogs.msdn.com/ntdebugging/archive/2008/06/20/how-it-works-dll-injection.aspx#8647339</link><pubDate>Tue, 24 Jun 2008 17:15:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8647339</guid><dc:creator>Matt Johnson's Technical Adventures</dc:creator><description>&lt;p&gt;Ask the Directory Services Team : Custom Certificate Request in Windows Vista Microsoft Security Development&lt;/p&gt;
</description></item><item><title>re: How it Works:  DLL Injection</title><link>http://blogs.msdn.com/ntdebugging/archive/2008/06/20/how-it-works-dll-injection.aspx#8647478</link><pubDate>Tue, 24 Jun 2008 17:50:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8647478</guid><dc:creator>molotov</dc:creator><description>&lt;p&gt;@Volodymyr - Yes, thanks - I am aware of that. &amp;nbsp;I was curious for more details as to the specific interaction between the threads that caused the problem (one thread causing an access violation etc. would be enough to bring down winlogon and the system). &amp;nbsp;The first thread is mentioned in the sentence &amp;quot;One thread was a Winlogon thread initializing GDI.&amp;quot;, and then is not mentioned again. &amp;nbsp;The rest of the analysis revolves around the injected thread.&lt;/p&gt;
&lt;p&gt;Maybe I'm missing something...&lt;/p&gt;</description></item><item><title>re: How it Works:  DLL Injection</title><link>http://blogs.msdn.com/ntdebugging/archive/2008/06/20/how-it-works-dll-injection.aspx#8926192</link><pubDate>Fri, 05 Sep 2008 14:40:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8926192</guid><dc:creator>calin_iaru</dc:creator><description>&lt;p&gt;Typo:&lt;/p&gt;
&lt;p&gt;Starting address. &amp;nbsp;This is not in any module displayed by “!peb”&lt;/p&gt;
&lt;p&gt;should be&lt;/p&gt;
&lt;p&gt;&amp;quot;lm&amp;quot;&lt;/p&gt;</description></item></channel></rss>