<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.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>Advanced hiding techniques:  The mystery of the trojaned Winlogon.exe</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx</link><description>So the war between the miscreants and the first responders / incident responders is just that - it's a war with casulaties (servers, workstations, work life / home life balance) and it is complete with an arms race in the form of stealthing (miscreants)</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Quick, Unplug The Router!</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#354614</link><pubDate>Mon, 17 Jan 2005 23:28:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:354614</guid><dc:creator>Further Down The Spiral</dc:creator><description /></item><item><title>re: Advanced hiding techniques:  The mystery of the trojaned Winlogon.exe</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#356153</link><pubDate>Wed, 19 Jan 2005 20:21:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:356153</guid><dc:creator>smidgeonsoft</dc:creator><description>Thank you very much for these posts! Very educational and entertaining! It is information like this that lends credence to Microsoft's commitment to security. I look forward to further installments.</description></item><item><title>re: Advanced hiding techniques:  The mystery of the trojaned Winlogon.exe</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#357977</link><pubDate>Fri, 21 Jan 2005 12:20:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:357977</guid><dc:creator>Chris Quirke</dc:creator><description>Sobering stuff.  I work with home PCs that are hopefully not exposed to this detailed attack, and one thing I do is kill admin shares such as c$.  I also disable &amp;quot;automatically restart on errors&amp;quot;, so halting instead of rebooting on a STOP error gives a chance to see what's up.&lt;br&gt;&lt;br&gt;IMO the OS should never restart on errors if they occur during OS boot (or if you like, a Safe Mode OS boot).  There's no point in endlessly rebooting an unattended PC that never reaches a point it can be remotely admin'd; you just shred the file system.&lt;br&gt;&lt;br&gt;In today's world of mainly stand-alone malware, it's easy to forget intrafile infectors exist   &amp;lt;g&amp;gt;&lt;br&gt;&lt;br&gt;Finally, I notice some common drive-by malware drop a non-malware IDE driver, but what I've read doesn't explain why.  It could be to uniquely id the HD (more useful than the session IP) but I'd worry about raw disk access, below NTFS's abstraction layer.&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Advanced hiding techniques:  The mystery of the trojaned Winlogon.exe</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#358791</link><pubDate>Sun, 23 Jan 2005 03:05:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:358791</guid><dc:creator>Nektar</dc:creator><description>What I do not understand is if the system is compromised and so might likely provide false information to a security researcher, how come your wolf analysis program be able to gather all these info and be able to trust it.</description></item><item><title>re: Advanced hiding techniques:  The mystery of the trojaned Winlogon.exe</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#358896</link><pubDate>Sun, 23 Jan 2005 12:46:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:358896</guid><dc:creator>Nektar</dc:creator><description>I believe that Micosoft should provide security guide in the spirit of this weblog instead of their current hardening guides which are very beginner like.</description></item><item><title>re: Advanced hiding techniques:  The mystery of the trojaned Winlogon.exe</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#358996</link><pubDate>Sun, 23 Jan 2005 19:55:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:358996</guid><dc:creator>Robert Hensing</dc:creator><description>In response to Nektars comment about being able to trust data captured from a possibly rootkit'd machine.  This is a very real and very valid concern.  We spend a lot of time researching rootkits and collecting them off of customers systems.  We feel we have a very strong knowledge in this area and our IR toolkit has tools to be able to detect the presence of all known rootkits (and probably even ones we don't know about).  In the event that our rootkit tools come back 'clean' and we still can't detect the presence of a rootkit but feel that one must be there - we request an image of the system and we restore that image in a lab and we do our analysis there.</description></item><item><title>re: Advanced hiding techniques:  The mystery of the trojaned Winlogon.exe</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#358999</link><pubDate>Sun, 23 Jan 2005 19:58:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:358999</guid><dc:creator>Robert Hensing</dc:creator><description>And in response to Nektars later comment about security guidance being in blog form vs. guide form - actually we feel exactly the opposite.  Our ONLY concern with blogs right now is that they may 'dilute' our security guidance.  If it's worthy of being blogged about and its stuff that customers need to know - our thinking is that it should be in a security best practices document / guide vs. in a blog, this way all customers have equal access to it.</description></item><item><title>OdeToCode Links For Jan 23</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#359212</link><pubDate>Mon, 24 Jan 2005 07:20:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:359212</guid><dc:creator>OdeToCode Links</dc:creator><description /></item><item><title>Microsoft WOLF</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#361221</link><pubDate>Thu, 27 Jan 2005 05:14:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:361221</guid><dc:creator>Server: Microsoft-IIS/6.0\r\n</dc:creator><description /></item><item><title>A day in the life of a incident response expert</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#362091</link><pubDate>Fri, 28 Jan 2005 05:15:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:362091</guid><dc:creator>Security Briefs</dc:creator><description /></item><item><title>Advanced hiding techniques and Incident Response Team</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#362215</link><pubDate>Fri, 28 Jan 2005 10:17:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:362215</guid><dc:creator>Sergey Simakov blog</dc:creator><description /></item><item><title>re: Advanced hiding techniques:  The mystery of the trojaned Winlogon.exe</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#368671</link><pubDate>Mon, 07 Feb 2005 23:53:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:368671</guid><dc:creator>AT</dc:creator><description>No needs to be able contact MS Product groups to find out that WFP is not a security measure. &lt;br&gt;&lt;br&gt;I've discussed this about 2 years ago with Secure@microsoft team. &lt;br&gt;&lt;br&gt;&lt;a target="_new" href="http://www.24.odessa.ua/neowin/secure.txt"&gt;http://www.24.odessa.ua/neowin/secure.txt&lt;/a&gt;&lt;br&gt;&amp;quot;This implies WFP can be circumvented or cancelled; it should not be presumed a replacement for having properly restricted user roles and a locked down system. So your assertion that WFP is sesigned to keep the system stable is correct - it is not designed as a security feature.&amp;quot;&lt;br&gt;&lt;br&gt;Unfortunately - some of my security ideas I've discussed with Microsoft - still not implemented :-(</description></item><item><title>re: Advanced hiding techniques:  The mystery of the trojaned Winlogon.exe</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#368896</link><pubDate>Tue, 08 Feb 2005 09:44:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:368896</guid><dc:creator>Lee S</dc:creator><description>NOt sure how you fixed this for sure, but we had a similar problem today... Symantec found the dlls noted, but no fix. Tech had tried removing the dll and/or renaming and then it blue screened and couldn't get back. Ended up restoring (which wouldn't have had to do) and getting a fresh infected system. Files were dropped 12/19/2004. Booted in safe mode, deleted or renamed the dlls, deleted gifs noted, and copied winlogon.exe from the dllcache folder over. Found a user that had been created by someone else in admins group, removed this and we were in business. Thanks for the interesting reading.</description></item><item><title>re: Advanced hiding techniques:  The mystery of the trojaned Winlogon.exe</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#369065</link><pubDate>Tue, 08 Feb 2005 17:09:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:369065</guid><dc:creator>Robert Hensing</dc:creator><description>Sorry I guess I should have called that out in the blog.  Since winlogon.exe has been modified on disk to recover the system you need to boot to the recovery console and copy a good copy back to system32 (i.e. from the dllcache or from the latest hotfix uninstall directory).  You may even be able to rename winlogon.exe while the system is booted to something like winlogon.bad and then copy the one from the latest security update back to system32</description></item><item><title>re: Advanced hiding techniques:  The mystery of the trojaned Winlogon.exe</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#371590</link><pubDate>Sat, 12 Feb 2005 17:18:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:371590</guid><dc:creator>Martin</dc:creator><description>We just had a similar problem but we solved it in a different way. One of our W2K Servers was behaving &amp;quot;strange&amp;quot; but there were absolutely NO visible problems. All known virus scanners found NO problems. But there was one, we felt it.&lt;br&gt;The solution was tricky :&lt;br&gt;We just dig a defrag on the server. In the report the server said : ...was unable to defrag the following files... -&amp;gt; There was a listing of non visible files. Their location was in %SYSROOT%\SYSTEM32\drivers\etc\fonts{00 08...}\&lt;br&gt;&lt;br&gt;Impossible to browse, impossible to delete. There where also some services, not showing up in the service list, only visible via msinfo32.&lt;br&gt;&lt;br&gt;None of the services was visible with regedit.&lt;br&gt;&lt;br&gt;The only way to stop them was to rename them with another server (visible) and restart the infected one. Then it was also possible to delete the files via the command line (looked like a complete operating system with storage in RECYCLER.BIN).&lt;br&gt;&lt;br&gt;We deleted the invisible services with another server (network registry). The name of the services : Atarpisrv (calls ATA122.exe)&lt;br&gt;PowersupplyManager&lt;br&gt;r_server&lt;br&gt;&lt;br&gt;Thank you for your interesting article. Best regards from Martin</description></item><item><title>re: Advanced hiding techniques:  The mystery of the trojaned Winlogon.exe</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#371662</link><pubDate>Sat, 12 Feb 2005 23:55:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:371662</guid><dc:creator>Robert Hensing</dc:creator><description>You did some pretty good detective work - it sounds like you had a rootkit on your box that was hiding the services.  Most if not all current rootkits can usually be spotted by connecting up to the affected machine from a 'known good' machine across the network and examining either the file system, the registry or both.  The rootkits usually only hide stuff locally - they haven't bothered hooking the redirector yet.&lt;br&gt;&lt;br&gt;This is precisely the kind of stuff my team deals with every day - if you ever want help or a second opinion in the future don't hesitate to give us a call.</description></item><item><title>re: Advanced hiding techniques:  The mystery of the trojaned Winlogon.exe</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#371863</link><pubDate>Sun, 13 Feb 2005 14:33:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:371863</guid><dc:creator>Martin</dc:creator><description>Hello Robert,&lt;br&gt;the only thing i'm wondering about is : We once (1 year ago) had some weak passwords but we cleared this problem. Since then we have no weak passwords.&lt;br&gt;&lt;br&gt;How do the intruders get into the machine with no weak passwords ?&lt;br&gt;&lt;br&gt;Best regards from Martin</description></item><item><title>re: Advanced hiding techniques:  The mystery of the trojaned Winlogon.exe</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#371911</link><pubDate>Sun, 13 Feb 2005 19:42:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:371911</guid><dc:creator>Robert Hensing</dc:creator><description>Intruders get into your machines by using the philosophy of the &amp;quot;3 p's&amp;quot;.&lt;br&gt;Passwords&lt;br&gt;Patches&lt;br&gt;Ports&lt;br&gt;&lt;br&gt;If you have exposed ports (i.e. no firewall, weak router ACL's etc.) then they will compromise your machine remotely using either weak passwords or missing patches.&lt;br&gt;&lt;br&gt;You say you fixed your weak password problem; but everyones definition of 'strong' varies.  Is 'Password;1' strong?  technically it meets length and complexity requirements at 99% of IT shops in the world - but it's one of the weakest / lamest passwords ever - don't ever use that!&lt;br&gt;&lt;br&gt;So I guess what I'm saying is - if you changed all your admin passowrds and made them 'stronger' and you are still getting hacked remotely then you have a problme with:&lt;br&gt;1.  Ports - check your firewall rules&lt;br&gt;2.  Passwords - provide an example of a 'strong' password you have used in the past&lt;br&gt;3.  Patches - what's your security patch policy like?  How long does it take to deploy all critical security patches for your OS and applications?&lt;br&gt;&lt;br&gt;Finally - it is possible that when the attackers had access previously they installed a backdoor hidden by a rootkit which you now cannot see - this backdoor server would run as SYSTEM and probably allow them to connect up remotely, anonymously, without using an NT password - thus it wouldn't matter what you changed your admin passwords too - if they've installed a backdoor server process on your windows box you can change passwords till your blue in the face and they will still have access.&lt;br&gt;&lt;br&gt;You should have someone come in and verify the security of your servers (my team for example could perform a security check of the box that was previously hacked to see if we can find any evidence of persistent malware).  Keep in mind that no incident response analysis will ever be 100% guaranteed - if your box was hacked and you have evidence that the attackers have continued to gain access you should immediately flatten the box and rebuild it securely. &lt;br&gt;&lt;br&gt;How do you rebuild securely?&lt;br&gt;1.  You buy Windows Server 2003 (more on why i a second).&lt;br&gt;2.  You un-plug the network cable from the machine&lt;br&gt;3.  You install the OS by booting from the CD.&lt;br&gt;4.  During setup you either leave the local admin password blank (preventing the use of this account for network authN) or you create a really strong 30 character or more pass-phrase on the account.&lt;br&gt;5.  after setup completes and you reboot - you login as the admin and you immediately enable the firewall on all adapters.&lt;br&gt;6.  You then plug the network cable in, configure your Internet access settings and hit Windows Update.&lt;br&gt;7.  You let WU fully update the box and reboot as needed.&lt;br&gt;8.  You then consider locking down the security even further using security templates from our Windows 2003 security guidance based on the role of the sever.&lt;br&gt;&lt;br&gt;In the near future we will be releasing Win2k3 SP1 which I would recommend slip-streaming into a build of Win2k3 you host on a network share. This way you can install Win2k3 over the network using something like RIS or a network boot disk and you can have a Win2k3 SP1 box during setup - this will greatly improve your security as well.&lt;br&gt;&lt;br&gt;If you can do all of that - your machine won't get hacked during or shortly after setup.  If you build a Windows 2000 machine and leave the cable plugged in to your internet presence I can't guarantee it won't get exploited during hte latter half of setup (after the network stack initializes) or after you reboot for the first time.  Win2k has no built-in firewall and doesn't make you think about good admin passwords during setup.</description></item><item><title>re: Advanced hiding techniques:  The mystery of the trojaned Winlogon.exe</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#372183</link><pubDate>Mon, 14 Feb 2005 11:54:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:372183</guid><dc:creator>Martin</dc:creator><description>Hello Robert,&lt;br&gt;i did some further investigation on this topic, here's the result (strange but true) :&lt;br&gt;&lt;br&gt;On Jan 8th at 2.16am we had an AUTOMATIC update with a MS Servicepack (KB 870763 WINS). Strange because we have disabled automatic updates on all machines.&lt;br&gt;&lt;br&gt;Then we found serveral files that where copied to the machine with the same timestamp : 2.16am, including ftp.exe tftp.exe aso. Also the &amp;quot;Computer&amp;quot; that was hidden behind the %SYSVOL%\SYSTEM32\etc\fonts.{00 08..} was created at that time. We made some copies of the .ini files of the proud intruders.&lt;br&gt;&lt;br&gt;Can you tell me how it is possible to start an automatic update without any user interaction and the automatic update service disabled ?&lt;br&gt;&lt;br&gt;I think the problem is might be bigger than we think...&lt;br&gt;&lt;br&gt;Regards from Martin from the snowy Austrian mountians.</description></item><item><title>re: Advanced hiding techniques:  The mystery of the trojaned Winlogon.exe</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#372243</link><pubDate>Mon, 14 Feb 2005 16:40:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:372243</guid><dc:creator>Robert Hensing</dc:creator><description>Why do you think it was automatic updates that updated your machine?  It most assuredly was NOT automatic updates - it was a miscreant patching your machine to close the hole they used to exploit it.  It is very common for the miscreants to patch and then harden your machine once they get on it to prevent 're-hacking' or 'leech hacking' as they like to call it by other crews.&lt;br&gt;&lt;br&gt;You were more than likely exploited by the WINS vulnerability on this server becuase you didn't have the patch installed - there has been public WINS exploit code available since shortly after we released the bulletin.  This is why it's so critical that organizations perfect their patch management policies and adopt the ability to deploy all critical patches within 24 hours.&lt;br&gt;&lt;br&gt;If you think it was automatic updates that installed the patch becuase the account that did the installing was SYSTEM that's a red herring. While the automatic updates service does run as SYSTEM by default, so does WINS and that's the service that was most likely exploited here.&lt;br&gt;&lt;br&gt;In the future when you find something is strange on your machine, please don't hesitate to give us a call. :)</description></item><item><title>Tools of the miscreant trade: Execute a .GIF like a .EXE</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#373978</link><pubDate>Wed, 16 Feb 2005 06:34:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:373978</guid><dc:creator>Chris' Comments</dc:creator><description /></item><item><title>Tools of the miscreant trade: Execute a .GIF like a .EXE</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#373983</link><pubDate>Wed, 16 Feb 2005 06:37:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:373983</guid><dc:creator>Chris' Comments</dc:creator><description /></item><item><title>Advanced hiding techniques and Incident Response Team</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#379446</link><pubDate>Thu, 24 Feb 2005 10:10:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:379446</guid><dc:creator>Sergey Simakov blog</dc:creator><description /></item><item><title>re: New weapon in the war - F-Secure reveals Blacklight - an anti-rootkit tool - try it today (remember to rename it </title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#394863</link><pubDate>Sun, 13 Mar 2005 17:35:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:394863</guid><dc:creator>Robert Hensing's Incident Response WebLog</dc:creator><description /></item><item><title>IIS 5 services won't start at Win 2000 | keyongtech</title><link>http://blogs.technet.com/robert_hensing/archive/2005/01/17/354471.aspx#3189570</link><pubDate>Thu, 22 Jan 2009 10:41:10 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3189570</guid><dc:creator>IIS 5 services won't start at Win 2000 | keyongtech</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.keyongtech.com/4362460-iis-5-services-wont-start"&gt;http://www.keyongtech.com/4362460-iis-5-services-wont-start&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>