<?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>Stuff n Things</title><link>http://blogs.technet.com/b/kfalde/</link><description>Content from a CSS Security Engineer usually covering FCS and Incident Response</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Another WSUS Cleanup Script</title><link>http://blogs.technet.com/b/kfalde/archive/2010/04/20/another-wsus-cleanup-script.aspx</link><pubDate>Tue, 20 Apr 2010 21:24:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3326858</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3326858</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2010/04/20/another-wsus-cleanup-script.aspx#comments</comments><description>&lt;p&gt;Just noticed this as I was looking for a solution for a different WSUS problem and thought I would share this here as well.&amp;#160; &lt;a title="http://gallery.technet.microsoft.com/ScriptCenter/en-us/90ca6976-d441-4a10-89b0-30a7103d55db" href="http://gallery.technet.microsoft.com/ScriptCenter/en-us/90ca6976-d441-4a10-89b0-30a7103d55db"&gt;http://gallery.technet.microsoft.com/ScriptCenter/en-us/90ca6976-d441-4a10-89b0-30a7103d55db&lt;/a&gt; Apparently a “Thomas Schlacter” posted this recently to the ScriptCenter and looks very convenient in that you would only need to schedule this on the master server and it would parse your downstream servers and remotely issue the calls to run the cleanup on those systems so that you do not have to schedule anything there.&amp;#160; You would need powershell for this to work on the Upstream/Master server.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3326858" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/FCS+Definitions/">FCS Definitions</category><category domain="http://blogs.technet.com/b/kfalde/archive/tags/WSUS/">WSUS</category></item><item><title>Some thoughts on Adobe Reader and malware</title><link>http://blogs.technet.com/b/kfalde/archive/2010/03/10/some-thoughts-on-adobe-reader-and-malware.aspx</link><pubDate>Wed, 10 Mar 2010 15:20:10 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3318146</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3318146</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2010/03/10/some-thoughts-on-adobe-reader-and-malware.aspx#comments</comments><description>&lt;p&gt;Not sure if anyone saw this bit of news recently where a report put out by ScanSafe indicates that &lt;a href="http://www.computerworld.com/s/article/9157438/Rogue_PDFs_account_for_80_of_all_exploits_says_researcher"&gt;PDF’s accounted for 80% of exploits in the 4th quarter of 2009&lt;/a&gt;.&amp;#160; I support both FCS our antivirus product and I also do Incident Response work.&amp;#160; As part of our IR work we do semi-forensics shall we say :) we do not do forensics as that would be something that is admissible in a court of law and our toolset isn’t we modify last access timestamps don’t keep a chain of custody etc.&amp;#160; So as part of this dual hat role that our group currently plays when we see a customer that keeps submitting new samples repeatedly and raising the alert to us that our product is not cutting it with regards to detection of malware we like to push into the why/how this customer keeps finding all these new malwares.&amp;#160; &lt;/p&gt;  &lt;p&gt;Of the last 4 or so cases that I have had to investigate it has invariably come down to the following sequence: user was browsing around the internet &amp;gt; user passes by some page where either the page itself was compromised or their ad network was compromised &amp;gt; exploit javascript downloads malicious .pdf which silently opens in the browser in some hidden frame &amp;gt; user is using older version of Adobe Reader &amp;gt; malicious .pdf runs in user’s context (user is admin) malicious .exes/services etc are dropped on the box and that’s the end of the story.&lt;/p&gt;  &lt;p&gt;So as an AV vendor do we have some blame to take here :) absolutely we missed some new variant.&amp;#160; In a perfect world either IE8 with url reputation would have seen it as bad or our AV would have detected the malicious PDF or the .exes/services it created.&amp;#160; Unfortunately all of these are reactive prevention mechanisms that are extremely reliant on previous signatures to detect them or being close matches to heuristic patterns. &lt;/p&gt;  &lt;p&gt;On the other hand though when you are browsing the Internet with Adobe Reader that is any version lower than the latest you’re pretty much asking to try out new variants of malware.&amp;#160; So if I’m going to take some blame then someone else needs to as well guessing both Adobe for lack of a patch management enterprise solution and the user of their products for not managing the state of this application in their environment.&lt;/p&gt;  &lt;p&gt;So blame game aside lets move beyond this we know we have a problem here so what do we do to fix it.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Long Term there needs to be a patch management solution in place that keeps all clients up to date with all installed products.&amp;#160; Have seen some interesting things around &lt;a href="http://www.shavlik.com/scupdates.aspx"&gt;Shavlik SCUPdates&lt;/a&gt; for SCCM as well as &lt;a href="http://secunia.com/blog/71"&gt;Secunia CS product they are creating to integrate with WSUS.&lt;/a&gt;&amp;#160; Also posted &lt;a href="http://blogs.adobe.com/asset/2010/03/follow-up_to_threatpost_live_c.html"&gt;here&lt;/a&gt; it seems that Adobe is currently working with us to integrate their updates to their products into WSUS and SCCM which would be great, would be even better if we had this for JRE and some other products that are used widely for exploits. &lt;/li&gt;    &lt;li&gt;Short Term you can look at deploying some mitigations for these products that are currently in your environment. Javascript within Adobe is typically a biggie which can easily be disabled within the registry.&amp;#160; Disabling the auto-open functionality of documents is another.&amp;#160; Disabling the IE Active X control for Adobe Reader would also be good.&amp;#160; Disabling old versions of Adobe reader from running in your environment whatsoever via Software Restriction Policies? &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The latter of those 2 is what I focused on for a while trying to find some items to help in the short term mitigate while you work on getting a patching solution in place.&amp;#160; I have an attached GPO at the end of this that makes most of these simple.&amp;#160; You create a new GPO and then import settings from the backup via GPMC.&amp;#160; The following is a list of what is included with this:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;2 Reg binary keys that are hacked manually into the .pol files of the GPO as adm syntax does not allow reg binaries in hex.&amp;#160; The keys are HKCU\Software\Classes\AcroExch.Document.7\EditFlags set to 0’s as well as HKCU\Software\Classes\AcroPDF.PDF.1\EditFlags set to 0 as well.&amp;#160; These will force IE to give a prompt every time a .pdf is encountered for Open/Save.&amp;#160; This seems to work for Reader 6-9. &lt;/li&gt;    &lt;li&gt;Registry keys in the User section Administrative Templates for the following      &lt;ul&gt;       &lt;li&gt;Disable Browser check on startup for Reader 9 &lt;/li&gt;        &lt;li&gt;Disable Browser integration for Reader 9 (make’s it open in separate window not within IE this only seems to work via reg key for Reader 9) &lt;/li&gt;        &lt;li&gt;Disable Fast Web View for Reader 9 &lt;/li&gt;        &lt;li&gt;Disable Javaascript for Readers 7-9 &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;Registry key under Computer section Administrative Templates for the following      &lt;ul&gt;       &lt;li&gt;Disable user from re-enabling Browser Integration in Reader 9 &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;Software Restriction Policies under the computer section for the following      &lt;ul&gt;       &lt;li&gt;Path Rules for Reader 6-8 these are all set to Unrestricted by default if you change them to Restricted it will block any builds of those versions of Adobe Reader from running on your XP and higher systems that you apply this to. &lt;/li&gt;        &lt;li&gt;Hash rules for Adobe Reader 9 builds 9.0.0.332, 9.1.0.163, 9.2.0.124 This would allow you to block any but the currently latest version of Reader from running in the 9.x series. &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;I didn’t do one on managing Active X controls however this would be fairly simple as well to restrict the CSLID of the Active X control for reader.&amp;#160; Unfortunately however Adobe has used the same CSLID since the beginning of time it seems for the Adobe Reader controls so you can’t killbit it or restrict it without restricting it for every version of Adobe including the latest patched ones so that is something you would need to evaluate in your environment.&lt;/p&gt;  &lt;p&gt;Another caveat is that you can’t disable the browser integration just with reg keys for versions of reader less than 9.&amp;#160; The reg keys are there in some cases however just setting them only changes the setting in the preferences GUI but not the actual behavior of the program which appears to do a lot more than just those reg keys when you throw it under procmon while making that change (it runs msiexec reconfiguring the program I eventually just gave up on it :( )&lt;/p&gt;  &lt;p&gt;So here is the GPO&lt;/p&gt; &lt;iframe style="padding-bottom: 0px; background-color: #fcfcfc; padding-left: 0px; width: 112px; padding-right: 0px; height: 116px; padding-top: 0px" title="Preview" marginheight="0" src="http://cid-14eec8ab42191b55.skydrive.live.com/embedicon.aspx/.Public/Adobe%20Mitigations%20GPO.zip" frameborder="0" marginwidth="0" scrolling="no"&gt;&lt;/iframe&gt;  &lt;p&gt;You will need to create a new GPO in AD and then use the GPMC to import settings from a backup and point to the folder where you extract this .zip.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3318146" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/Incident+Response/">Incident Response</category></item><item><title>Some more logparser &amp; eventcomb stuff for IR work</title><link>http://blogs.technet.com/b/kfalde/archive/2010/01/27/some-more-logparser-eventcomb-stuff-for-ir-work.aspx</link><pubDate>Wed, 27 Jan 2010 20:26:53 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3308834</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3308834</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2010/01/27/some-more-logparser-eventcomb-stuff-for-ir-work.aspx#comments</comments><description>&lt;p&gt;Counting and sorting by unique text in the strings section:&lt;/p&gt;  &lt;p&gt;As a follow on to a previous article &lt;a title="http://blogs.technet.com/kfalde/archive/2009/01/28/using-logparser-eventcomb-to-find-malware.aspx" href="http://blogs.technet.com/kfalde/archive/2009/01/28/using-logparser-eventcomb-to-find-malware.aspx"&gt;http://blogs.technet.com/kfalde/archive/2009/01/28/using-logparser-eventcomb-to-find-malware.aspx&lt;/a&gt; I found some other useful queries that I figured I would post as well that came in helpful on some recent cases.&lt;/p&gt;  &lt;p&gt;We were basically looking for unique instances of event text from eventcomb logs so the same process applied gather eventcomb builtin account lockout search data.&lt;/p&gt;  &lt;p&gt;Once you have the txt files you can run the following against them:&lt;/p&gt;  &lt;p&gt;logparser -i:textline -o:csv &amp;quot;select substr(text,INDEX_OF(Text,'SYSTEM,'),NULL) into timestampremoved.txt from *LOG.txt&amp;quot;&lt;/p&gt;  &lt;p&gt;This basically cuts off all the text on the line in front of the data that has the timestamp info which allows finding lines that are the same and counting those up.&lt;/p&gt;  &lt;p&gt;Next run the following:&lt;/p&gt;  &lt;p&gt;logparser -i:textline -o:csv &amp;quot;select COUNT(*), Text into uniques.txt from timestampremoved.txt group by TEXT order by COUNT(*) DESC&amp;quot;&lt;/p&gt;  &lt;p&gt;This groups together unique lines and gives you a count of how many times that line occurred within all the logs.&lt;/p&gt;  &lt;p&gt;This works for quite a few different things and would actually work well against event logs in general to just find out what your top offenders were in the log.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3308834" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/Incident+Response/">Incident Response</category></item><item><title>Determining the cause of FCS client performance issues</title><link>http://blogs.technet.com/b/kfalde/archive/2009/12/30/determining-the-cause-of-fcs-client-performance-issues.aspx</link><pubDate>Wed, 30 Dec 2009 17:28:05 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3303095</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3303095</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2009/12/30/determining-the-cause-of-fcs-client-performance-issues.aspx#comments</comments><description>&lt;p&gt;Realistically this process should work for other AV clients as well but I’m doing it in the context of the one I support.&amp;#160; Although it isn’t extremely common we do run into scenarios where customer has issues with the FCS client taking up large amounts of CPU on a system.&amp;#160; Sometimes it is constant and other times it is more intermittent.&amp;#160; Regardless of the intermittency the key thing to remember is that this typically means that FCS engine is actively scanning files and quite possibly either a file that is complex or having to repeatedly scan the same file over and over again.&amp;#160; I say complex as certain file types have much more complexity to their internal structures then others for example your notepad .txt file is extremely non-complex as opposed to say a .pdf or a .xlsx file which can be extremely complex.&amp;#160; You may have a 100mb text file that scans quickly but a 1mb .pdf that takes much longer.&amp;#160; The key point here is that file size does not equal time that it takes to scan the file but that internal complexity of the file is key to scan times.&lt;/p&gt;  &lt;p&gt;The first thing to check when you see performance issues with the client is for “expensive” files.&amp;#160; If you browse to C:\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Forefront\Client Security\Client\Antimalware\Support on your client system look for a file called MPLog-########-######.log the #’s are date stamps I believe for when it first started.&amp;#160; Open this file up in the text editor of your choice and search up from the bottom looking for the word “expensive”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UsingProcmontospotFCSotherprocesshotspot_10F36/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UsingProcmontospotFCSotherprocesshotspot_10F36/image_thumb.png" width="422" height="150" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;An example is shown above, in this case it’s the service pack 2 file for SQL 2005 and it’s about 290Mb big so yes it probably does take a while to scan that file.&amp;#160; You could consider an exclusion for this file specifically however I probably wouldn’t recommend it due to PE reinfector virii such as Sality that infect legitimate .exe’s.&amp;#160; On the other hand if the expensive file is a .log or .txt or some other normally non-executable file on the file system and you see this file repeatedly in the mplog then it would be a definite candidate to add to your exclusions list via FCS policy.&lt;/p&gt;  &lt;p&gt;The other situation that causes performance issues are where FCS requires repeated scanning of the same file(s) on the file system.&amp;#160; As is typical with most AV system FCS uses a type of fingerprinting of the file system to know which files it has already scanned since the service was last restarted and does not scan those files again as long as they are not written to.&amp;#160; For example if I create a new .exe on a file share FCS will scan this on the original write however if 50 other people run that .exe afterwards the FCS client will not scan this .exe again for their reads of the file.&amp;#160; If however something attempts to write to the file FCS will be forced to scan this file again to verify the new contents of the file are not malicious.&amp;#160; Typically what we see with multiple scans of the same file are processes that are writing to log files that will open the file / write to file /close the file and then repeat this process again in a very short order of time.&amp;#160; Since they do not hold a handle open to the file but instead close the file FCS sees this as a new file modification and thus is force to rescan the contents of this file.&amp;#160; Unfortunately these do not always show up in the MPLog as it may be fairly quick to scan the file it just does not hit the threshhold (3 seconds scan time) for us to determine this as an “expensive” file.&lt;/p&gt;  &lt;p&gt;What we typically use to find these issues is &lt;a href="http://live.sysinternals.com/Procmon.exe"&gt;Procmon&lt;/a&gt;.&amp;#160; Get a copy of procmon loaded on the system and start it up.&amp;#160; When the Filter window comes up you will want to remove the filter for “Process Name is System Exclude” as we do want to see activity from the System process as well. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UsingProcmontospotFCSotherprocesshotspot_10F36/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UsingProcmontospotFCSotherprocesshotspot_10F36/image_thumb_1.png" width="481" height="124" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Once you remove that filter let Procmon run for a couple of minutes while the high cpu for msmpeng.exe is occurring on the system.&amp;#160; Stop the capturing in Procmon and then click on Tools&amp;gt;Cross Reference Summary this will generate a list of File locations that are being read/written to by different processes.&amp;#160; We are looking for ones that are being written to by various processes but also being read by msmpeng.exe.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UsingProcmontospotFCSotherprocesshotspot_10F36/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UsingProcmontospotFCSotherprocesshotspot_10F36/image_thumb_2.png" width="564" height="110" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;In my case I only had one on my system where Outlook is writing to my .ost file and it appears that msmpeng.exe has tried reading the file.&amp;#160; If I doubleclick on this entry Process Monitor will apply a filter back to the main window that will show me all operations where the path is my .ost file.&amp;#160; When I actually looked at it however there were only about 6 times that msmpeng.exe tried to read it and I don’t believe it actually did so probably not a good candidate for exclusions although I may do it anyway.&amp;#160; What we typically see though are log files where Process X is continuously writing to the file followed by msmpeng.exe reading the file and then Process X writing again etc.&amp;#160; In those cases it would be a good idea to add that file location to your exclusions to prevent the increased CPU load on the system for rescanning what is probably not an executable file and one that you may be able to determine as not needing AV scanning.&lt;/p&gt;  &lt;p&gt;One item to note in regards to procmon and FCSv1 however is that even once you have put exclusions in place you will unfortunately still see msmpeng.exe as a reader in the cross-reference summary.&amp;#160; This is due to the way that the mini-filter for FCS and exclusions in the client take place.&amp;#160; When file IO happens the minifilter passes a memory mapped portion of this to the AV engine (msmpeng.exe), keep in mind this is not the whole file but rather information about the file, the engine in turn checks that against exclusion lists etc and if it determines it to be excluded will not request the whole file for scanning.&amp;#160; From what I understand in v2 the client will operate somewhat differently so that we will not see that behavior which will make it slightly easier to know that exclusions are working properly.&lt;/p&gt;  &lt;p&gt;Addition 3-18-010&lt;/p&gt;  &lt;p&gt;Another item to look for in your procmon logs :)&amp;#160; Add a filter for Result is “FILE LOCKED WITH WRITERS” and take a look at what processes are getting this.&amp;#160; If msmpeng.exe is getting this frequently take a look at which files it’s getting it for.&amp;#160; In my case I had 2 client AV on the system I didn’t know about the other and they were competing with each other for file access and locking each other out .. bad mojo.&amp;#160; In another case I saw recently it was due to an app that apparently didn’t release files properly or something didn’t totally figure that out but we made and exclusion for the log file in that case and the performance issue went away.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3303095" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/FCS/">FCS</category><category domain="http://blogs.technet.com/b/kfalde/archive/tags/Forefront+Client+Security/">Forefront Client Security</category><category domain="http://blogs.technet.com/b/kfalde/archive/tags/FCS+Client/">FCS Client</category></item><item><title>Logparsing FCS to find files that were infected</title><link>http://blogs.technet.com/b/kfalde/archive/2009/12/22/logparsing-fcs-to-find-files-that-were-infected.aspx</link><pubDate>Tue, 22 Dec 2009 17:38:42 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3302094</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3302094</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2009/12/22/logparsing-fcs-to-find-files-that-were-infected.aspx#comments</comments><description>&lt;p&gt;Working an interesting case at the moment where we have multiple files across servers that were infected and we are needing to generate a list of all the files that were infected on each server.&lt;/p&gt;  &lt;p&gt;So the first thing to realize is that the 1006 and 3004 events in the system event log under the source FCSAM are the ones that show the detection and include the path that the infection was found in.&amp;#160; You could technically probably do the logparser syntax to run locally on the system and parse the event log directly for the paths or even the .evt file if you exported it however I am working with data collected from multiple servers and sent directly to me so have done the syntax for parsing the data that I have currently.&amp;#160; As part of our MPS reports utility we export the system event log to a .csv file which you can do easily from the eventvwr gui as well.&lt;/p&gt;  &lt;p&gt;You will need to install &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;amp;displaylang=en"&gt;Logparser 2.2&lt;/a&gt; and ensure it is in your path to run this.&lt;/p&gt;  &lt;p&gt;I am basically running the following against the system.csv in order to gather the file paths that were detected.&lt;/p&gt;  &lt;p&gt;&lt;font color="#00ff00"&gt;logparser -i:textline -o:csv &amp;quot;SELECT SUBSTR(Text, ADD(INDEX_OF(Text, 'file:'), 5), SUB(INDEX_OF(Text, '\r\n\r\n\tAlert'), ADD(INDEX_OF(Text, 'file:'), 5))) into pathsfinal.csv from *SYSTEM.csv where      &lt;br /&gt;text like '%threatid%' and (text like '%3004%' or text like '%1006%')&amp;quot;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;You will need to replace threatid with the actual threatid that you are interested in for example Eicar would probably be 2147519003 so you would replace threatid with 2147519003 if you were looking for paths of files that were infected with Eicar.&amp;#160; In my case I’m working more with Sality/Virut file reinfectors so Eicar probably wouldn’t apply but you should get the idea.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/LogparsingFCStofindfilesthatwereinfected_B1CF/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/LogparsingFCStofindfilesthatwereinfected_B1CF/image_thumb.png" width="575" height="142" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Unfortunately I don’t have non-customer sample data to give a good example of the output but you should basically end up with a file that consists of lines with paths for example&lt;/p&gt;  &lt;p&gt;c:\windows\junk.exe&lt;/p&gt;  &lt;p&gt;c:\temp\gotinfected.exe&lt;/p&gt;  &lt;p&gt;c:\users\kfalde\av2009.exe&lt;/p&gt;  &lt;p&gt;etc…&lt;/p&gt;  &lt;p&gt;EDIT 1/5/2010&lt;/p&gt;  &lt;p&gt;Apparently my .csv I was working with was done differently then the output from a .csv exported from the GUI. Mine had carriage return symbols \r\n which I was triggering on as opposed to the output .csv from the GUI which puts the Path Found: on it’s own line like the following:&lt;/p&gt;  &lt;p&gt;Path Found: file:C:\malwarefound\here\malware.exe &lt;/p&gt;  &lt;p&gt;Unfortunately this makes it more complicated to gather files that were only infected by a specific threatid as this is now on a different line so I’ll look into a way to do this better but for now the following logparser line will work to gather the paths from a .csv output from the eventviewer GUI: &lt;/p&gt;  &lt;p&gt;&lt;font color="#00ff00"&gt;logparser -i:textline -o:csv &amp;quot;SELECT SUBSTR(Text, ADD(INDEX_OF(Text, 'file:'), 5), NULL) into pathsfinal.csv from sysevent.csv where text like '%Found:%'&amp;quot;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Also the following should work quite well directly against the event log however it may be slow when you run it over the network against a target computer that you are trying to gather data from:&lt;/p&gt;  &lt;p&gt;&lt;font color="#00ff00"&gt;logparser -i:EVT -o:csv &amp;quot;select eventid, timewritten, EXTRACT_TOKEN(Strings, 15, '|') into paths.csv from \\REMOTEIPADDRESSHERE\System where Eventid=3004 or EventID=1006&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Replace the REMOTEIPADDRESSHERE with the IP of the system you are gathering data for.&amp;#160; If you are just running this against the local system you are on use the following:&lt;/p&gt;  &lt;p&gt;&lt;font color="#00ff00"&gt;logparser -i:EVT -o:csv &amp;quot;select eventid, timewritten, EXTRACT_TOKEN(Strings, 15, '|') from System where Eventid=3004 or EventID=1006&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Hopefully this is useful for someone :) I know it was a learning useful experience for me. And oh yeah Merry Christmas!! 3 days.. why am I at work???&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3302094" width="1" height="1"&gt;</description></item><item><title>Rare off-topic post :)</title><link>http://blogs.technet.com/b/kfalde/archive/2009/10/22/rare-off-topic-post.aspx</link><pubDate>Thu, 22 Oct 2009 17:48:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3288522</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3288522</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2009/10/22/rare-off-topic-post.aspx#comments</comments><description>&lt;p&gt;&lt;font size="3"&gt;It is currently MS’s giving campaign where we promote philanthropicness :).&amp;#160; A coworker sent this out to our internal blogger alias along with some others from this site that various MS MVP’s and internal employees worth with asking if we could post one on our blogs.&amp;#160; Since I grew up myself in Haiti for about 8 years of my life as a missionary kid I picked the one from my 2ndary home country. So if you have 10 bucks or more to give and want to help a good cause click the link.&amp;#160; Have a great day. &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;iframe height="319" src="http://www.hopemongers.org/Widget/HMWidget.aspx?projid=36" frameborder="0" width="410" scrolling="no"&gt;&lt;/iframe&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3288522" width="1" height="1"&gt;</description></item><item><title>Dealing with malware that creates .exe’s on file shares</title><link>http://blogs.technet.com/b/kfalde/archive/2009/07/23/dealing-with-malware-that-creates-exe-s-on-file-shares.aspx</link><pubDate>Fri, 24 Jul 2009 02:43:58 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3267663</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3267663</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2009/07/23/dealing-with-malware-that-creates-exe-s-on-file-shares.aspx#comments</comments><description>&lt;p&gt;So lately we keep seeing variants of malware that modifies content on file servers in an environment in hopes of spreading to other users.&amp;#160; My guess is that it is just using mapped drive letters thinking they are USB keys but the effects is the same regardless.&amp;#160; The actions they take are usually something as follows.&amp;#160; Hide your actual .doc/.xls etc create a new file with the same exact name as the .doc except that it is a .exe and they typically modify the icon to be a folder icon.&lt;/p&gt;  &lt;p&gt;At first these seemed to only create havoc at the root of the file share so you could work around this by ACL’ing the root of the file share to stop creation of new files there and force your users to instead create files just in subdirectories assigned to their various workgroups etc.&amp;#160; However later variants seem to be working their way down through subfolders and carrying out their black magic throughout the folder structure.&lt;/p&gt;  &lt;p&gt;So what do you do when this happens to you or how you can prevent it?&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Proactively&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;You could look at utilizing something like FSRM from 2003 R2 and 2008 and file screen filters to block .exe’s from being created on your file shares.&amp;#160; FSRM has a built in template called “Block Executable Files”&amp;#160; This has a large list of various executables including .exe which you can in turn easily apply to any folder/file share on your system to block creation of these files.&amp;#160; You can also configure email notifications via SMTP to let you know when someone does try to create one of these files and it will log the event to the applog as well with the file it attempted to create and the user that tried to create it.&lt;/p&gt;  &lt;p&gt;You could also a commenter proposed add a folder named autorun.inf to your file share and hide this so that malware could not create a new autorun.inf to start up malware.&lt;/p&gt;  &lt;p&gt;Reactively you should probably do the following:&lt;/p&gt;  &lt;p&gt;First and foremost get a copy of the .exe being created on the file share and get that off to your AV vendor.&amp;#160; Open a ticket say X is being created and you are not detecting it I need signatures for this threat asap.&amp;#160; Signatures on your file server should be able to handle this however you will still be left with AV constantly deleting the new .exe’s so realistically you should track down the offender.&lt;/p&gt;  &lt;p&gt;Block the Read and Execute rights to the .exe’s that have been created.&amp;#160; You can do this through the use of icacls by running the following at the root of your file share. Keep in mind if you have legitimate .exe’s in the share it will stop users from executing them/reading them. &lt;/p&gt;  &lt;p&gt;&lt;font color="#00ff00"&gt;icacls *.exe /T /deny Everyone:(RX)&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Tracking down who/what/where is doing the creation of these files is more difficult. One approach is to turn on auditing but this can be complex and often doesn’t yield the IP address of the offending machine.&amp;#160; So for this exercise we are going to go with &lt;a href="http://www.wireshark.org/"&gt;Wireshark&lt;/a&gt; or &lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=983b941d-06cb-4658-b7f6-3088333d062f"&gt;Netmon&lt;/a&gt; and &lt;a href="http://live.sysinternals.com/Procmon.exe"&gt;Process Monitor&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Wireshark or Netmon will yield the offending IP address and Process Monitor can tell us the User account it was created under if we are interested in that however normally we just want the machine IP so we can go find the malware on it.&lt;/p&gt;  &lt;p&gt;So download a copy of Wireshark or Netmon and start it up.&amp;#160; Make sure to go into your Capture Options and up your Buffer size to something larger say 50 Mb or so.&amp;#160; In the display filter box we are going to put the following filters&lt;/p&gt;  &lt;p&gt;&lt;font color="#00ff00"&gt;For Wireshark&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#00ff00"&gt;smb.create.action == 2 and smb.file contains “exe”&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#00ff00"&gt;For Netmon&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#00ff00"&gt;Property.SMBFileName.contains(“.exe”) and SMB.RNTCreateAndX.CreateAction == 0x2&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;This will basically filter down to creation of a new file that did not exist as well as filtering on a file that contains exe.&amp;#160; Yes this could throw us a few false positives but we should be able to clearly identify the offending IP addresses.&lt;/p&gt;  &lt;p&gt;My first try at this shows the following&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/Dealingwithmalwarethatc.exesonfileshares_C0CC/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/Dealingwithmalwarethatc.exesonfileshares_C0CC/image_thumb_2.png" width="569" height="327" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/Dealingwithmalwarethatc.exesonfileshares_C0CC/image_11.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/Dealingwithmalwarethatc.exesonfileshares_C0CC/image_thumb.png" width="578" height="131" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The source IP in this case is the file server where I am running the trace and this is the response packet back to the workstation creating the .exe file stating the file did not exist but it was created.&amp;#160; Note on Wireshark that you have to expand SMB&amp;gt;NT Create AndX Response to see the File ID ## which contains the name, the parser is basically filling in the file name from the previous packet which we do not see.&amp;#160; The file name in this case is “tracelog.exe”&amp;#160; So I would send my tech off (if I was that privileged) to the Destination IP and have them clean the malware off that system.&lt;/p&gt;  &lt;p&gt;If I just wanted to find the user creating the files I could use Process Monitor for this. Download a copy and start running it and modify your filter to look like this&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/Dealingwithmalwarethatc.exesonfileshares_C0CC/image_8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/Dealingwithmalwarethatc.exesonfileshares_C0CC/image_thumb_3.png" width="485" height="281" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;PID = 4 is for your System Process as this is the process that creates files that are created via a file share&lt;/p&gt;  &lt;p&gt;CreateFile to try to limit this down to just creation of the files&lt;/p&gt;  &lt;p&gt;Patch contains .exe to look for just .exe’s being created in this scenario&lt;/p&gt;  &lt;p&gt;Since the System technically creates these files if you add the “User” column in Process Monitor all you will see is “NT AUTHORITY\SYSTEM” which doesn’t help so instead we need to look at the “Detail” column”.&amp;#160; Within this text look for Impersonating and right after that it will show you the user that is being impersonated by the System to create the file so that it has the proper ACL’s etc.&amp;#160; In the case shown below the user DCEXCHFSS\Administrator is the user account that is being utilized to create files on the file server.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/Dealingwithmalwarethatc.exesonfileshares_C0CC/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/Dealingwithmalwarethatc.exesonfileshares_C0CC/image_thumb_4.png" width="547" height="70" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Hopefully this helps someone if you have any improvements on filtering for either Wireshark or Process Monitor that would help here please let me know.&lt;/p&gt;  &lt;p&gt;Edit 7-24-09&amp;#160; Added comments from &lt;a href="http://hype-free.blogspot.com/"&gt;Cd-Man&lt;/a&gt; regarding autoruns and acling files, Added netmon filtering usage based on comments both internally and externally :)&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3267663" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/Incident+Response/">Incident Response</category></item><item><title>How to go green with FCS</title><link>http://blogs.technet.com/b/kfalde/archive/2009/05/13/how-to-go-green-with-fcs.aspx</link><pubDate>Wed, 13 May 2009 23:56:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3240610</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3240610</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2009/05/13/how-to-go-green-with-fcs.aspx#comments</comments><description>&lt;P&gt;I’m not a treehugger but I can definitely see the $$ with power savings.&amp;nbsp; Having said that I had a customer recently that wanted his computers to wake up from sleep in order to do their scheduled scans for FCS.&amp;nbsp; At first I was like nope not possible we have no such feature. Then I started digging around.&amp;nbsp; Apparently since about XP SP1 or later we have had a feature in Task Scheduler that allows us to wake a computer up via &lt;A href="http://en.wikipedia.org/wiki/Advanced_Power_Management" mce_href="http://en.wikipedia.org/wiki/Advanced_Power_Management"&gt;APM&lt;/A&gt;/&lt;A href="http://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface" mce_href="http://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface"&gt;ACPI&lt;/A&gt; when we need a scheduled task to run.&amp;nbsp; Unfortunately FCS itself has no way to set this option for “Wake the computer to run this task” but we can work around that.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;If you look back to my other article on creating custom scan schedules at &lt;A title=http://blogs.technet.com/kfalde/archive/2008/10/23/how-to-add-extra-scheduled-scans-or-definition-updates-for-fcs.aspx href="http://blogs.technet.com/kfalde/archive/2008/10/23/how-to-add-extra-scheduled-scans-or-definition-updates-for-fcs.aspx" mce_href="http://blogs.technet.com/kfalde/archive/2008/10/23/how-to-add-extra-scheduled-scans-or-definition-updates-for-fcs.aspx"&gt;http://blogs.technet.com/kfalde/archive/2008/10/23/how-to-add-extra-scheduled-scans-or-definition-updates-for-fcs.aspx&lt;/A&gt; we can use the same mechanism.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Once again you don’t need a 2008 domain or Vista clients to use Group Policy Preferences.&amp;nbsp; You just need the client extensions installed on your XP or 2003 systems which are available via WSUS.&amp;nbsp; You need a Vista or 2008 system to edit the GPO, once in place the settings will apply to any system that has Group Policy Preferences extensions installed.&lt;/P&gt;
&lt;P&gt;So basically we follow the other article we create the custom scan schedule that we want with the right mpcmdrun options but we make sure to go to the “Settings” tab for the scan and check the “Wake the computer to run this task” &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtogogreenwithFCS_EE03/image_2.png" mce_href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtogogreenwithFCS_EE03/image_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image border=0 alt=image src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtogogreenwithFCS_EE03/image_thumb.png" width=372 height=410 mce_src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtogogreenwithFCS_EE03/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;From our testing this seems to work pretty well for computers that go to sleep mode.&amp;nbsp; This will not work on systems that are fully powered off.&amp;nbsp; Good luck let me know if you try this out.&amp;nbsp; Thanks&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3240610" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/Scheduled+Scans/">Scheduled Scans</category></item><item><title>Some Interesting FCS SQL Queries</title><link>http://blogs.technet.com/b/kfalde/archive/2009/05/08/some-interesting-fcs-sql-queries.aspx</link><pubDate>Fri, 08 May 2009 21:39:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3237900</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3237900</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2009/05/08/some-interesting-fcs-sql-queries.aspx#comments</comments><description>&lt;p&gt;With a recent case I have an issue where the client count of managed computers in MOM admin console was quite different then that in the FCS console so I was trying to find out exactly which computers were not in FCS so I could troubleshoot some of those more effectively.&amp;nbsp; The first thing I checked was looking at Agent-Managed Systems in MOM admin just to make sure these were not computers that had not been checking in for a while (they weren&amp;rsquo;t all had heartbeats within last day or two) as I know we drop off computers from our total count in the FCS console that have not checked in in 30 days.&amp;nbsp; Since this was not the case I was pointed out that it may be an issue with clients having the MOM agent but not actually having SSA or AM installed on them or corrupted in some way.&amp;nbsp; Unfortunately I didn&amp;rsquo;t know a good way to check on this in MOM so I had to do some digging around to create some queries to make this happen,&amp;nbsp; below are the results I have:&lt;/p&gt;
&lt;p&gt;This one is the easiest but just dumps a list of all computers in MOM, make sure you select to use the OnePoint db when you start a New Query in SQL Server Management Studio&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #00ff00;"&gt;Select Name from Computer&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;

&lt;/p&gt;
&lt;p&gt;This next one selects all the computers that have FCS installed on them&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #00ff00;"&gt;select Computer as FCSCLIENTS from computertocomputerruleview where [Rule] like '%Microsoft Forefront Client Security Agents%' order by FCSCLIENTS&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This one does a subquery of total computers against computers that have FCS on them to give us a list of computers that for some reason do not have FCS on them.&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #00ff00;"&gt;select distinct Name as MISSINGFCS from Computer where Name not in (Select Computer from computertocomputerruleview where [Rule] like '%Microsoft Forefront Client Security Agents%')&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Hopefully this helps someone else as well.. I&amp;rsquo;ll hopefully add to this over time if I find anything more that&amp;rsquo;s useful.&lt;/p&gt;
&lt;p&gt;Update 7/10/09 Adding some more based on a request from a blog reader.&amp;nbsp; Customer looking for a way to list all detection events. You could actually play around with this some&amp;nbsp; as this &lt;a href="http://en.wikipedia.org/wiki/View_(database)"&gt;View&lt;/a&gt; does have events from other sources as well as FCSAM.&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #00ff00;"&gt;SELECT [LoggedOn] &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[LoggedOnDomain] &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[Source] &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[Evtime] &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[Eventno] &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[Evttext] &lt;br /&gt;&amp;nbsp; FROM [OnePoint].[dbo].[EventView] where source like '%FCSAM%' &lt;br /&gt;and ([Eventno]='1006' or [Eventno]='1007' or [Eventno]='3004' or [Eventno]='3005') order by [Evtime]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You could also do some filtering by date by adding an extra &amp;ldquo;and ([Evtime]&amp;gt;='2009-06-10' and [Evtime]&amp;lt;='2009-06-13')&amp;rdquo; statement to this before the order by statement.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Update 2/1/2010 Adding another interesting one.&amp;nbsp; This one returns a list of computer names as well as the time that their last AV scan finished.&amp;nbsp; Unfortunately it does not differentiate between Quick vs Full scan for this value that is collected but you could probably figure it out based on what your policy is supposed to be for those systems.. IE if your policy says full scan at 1am and you see scan finished at 1:44am this is probably your full scan finishing.&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #00ff00;"&gt;use OnePoint &lt;br /&gt;Select Name, DATEADD(day, -2, CAST( CAST (Value as float) AS datetime)) as TimeLastScanFinished &lt;br /&gt;from Attribute INNER JOIN Computer ON DISCOVERYCOMPUTERID = IDCOMPUTER &lt;br /&gt;WHERE ClassAttributeID IN (Select ClassAttributeID from ClassAttribute where &lt;br /&gt;ClassAttributeName = 'AM last scan time') &lt;br /&gt;AND IDComputer IN (Select DiscoveryComputerID from Attribute WHERE &lt;br /&gt;ClassAttributeID IN (Select ClassAttributeID from ClassAttribute where &lt;br /&gt;ClassAttributeName = 'AM last scan time')) &lt;br /&gt;order by value, &lt;span style="background-color: #ffffff;"&gt;name&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Update 2/1/2010 Realized had a customer question below as well from a while back I never addressed.&amp;nbsp; Below query should return a list of all computers and their AM signature versions.&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #00ff00;"&gt;use OnePoint &lt;br /&gt;Select Name, Substring(Value,20,20) as AMSignatureVersion &lt;br /&gt;from Attribute INNER JOIN Computer ON DISCOVERYCOMPUTERID = IDCOMPUTER &lt;br /&gt;WHERE ClassAttributeID IN (Select ClassAttributeID from ClassAttribute where &lt;br /&gt;ClassAttributeName = 'AM (AV) Signature Version') &lt;br /&gt;AND IDComputer IN (Select DiscoveryComputerID from Attribute WHERE &lt;br /&gt;ClassAttributeID IN (Select ClassAttributeID from ClassAttribute where &lt;br /&gt;ClassAttributeName = 'AM (AV) Signature Version')) &lt;br /&gt;order by value, name&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #00ff00;"&gt;&lt;span style="background-color: #ffffff;"&gt;&lt;span style="color: #000000;"&gt;Update 9/22/2010&amp;nbsp; few more queries the first is for AM Engine versions&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #00ff00;"&gt;&lt;span style="background-color: #ffffff;"&gt;&lt;span style="color: #00ff00;"&gt;Select Name, Value&lt;br /&gt;from Attribute INNER JOIN Computer ON DISCOVERYCOMPUTERID = IDCOMPUTER &lt;br /&gt;WHERE ClassAttributeID IN (Select ClassAttributeID from ClassAttribute where &lt;br /&gt;ClassAttributeName = 'AM Engine Version') &lt;br /&gt;AND IDComputer IN (Select DiscoveryComputerID from Attribute WHERE &lt;br /&gt;ClassAttributeID IN (Select ClassAttributeID from ClassAttribute where &lt;br /&gt;ClassAttributeName = 'AM Engine Version')) &lt;br /&gt;order by value, name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #00ff00;"&gt;&lt;span style="color: #000000;"&gt;This second one is for AM Client versions&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #00ff00;"&gt;Select Name, Value&lt;br /&gt;from Attribute INNER JOIN Computer ON DISCOVERYCOMPUTERID = IDCOMPUTER &lt;br /&gt;WHERE ClassAttributeID IN (Select ClassAttributeID from ClassAttribute where &lt;br /&gt;ClassAttributeName = 'AM Agent Version') &lt;br /&gt;AND IDComputer IN (Select DiscoveryComputerID from Attribute WHERE &lt;br /&gt;ClassAttributeID IN (Select ClassAttributeID from ClassAttribute where &lt;br /&gt;ClassAttributeName = 'AM Agent Version')) &lt;br /&gt;order by value, name&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&lt;span style="color: #00ff00;"&gt;&lt;/span&gt;&lt;/p&gt;
Disclaimer&amp;hellip;Just as an FYI tables/views/db schema of FCS/MOM are not documented/supported in any way so if any of these break with some update :) :) that&amp;rsquo;s life.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3237900" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/FCS+Database/">FCS Database</category><category domain="http://blogs.technet.com/b/kfalde/archive/tags/FCS/">FCS</category></item><item><title>Update Views for FCS in WSUS</title><link>http://blogs.technet.com/b/kfalde/archive/2009/04/08/update-views-for-fcs-in-wsus.aspx</link><pubDate>Wed, 08 Apr 2009 18:41:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3224052</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3224052</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2009/04/08/update-views-for-fcs-in-wsus.aspx#comments</comments><description>&lt;p&gt;Nothing profound with this post just detailing out a step I typically recommend to most of our new customers with regards to making life easier when viewing updates in WSUS.&amp;#160; In order to make your life easier viewing FCS inside of WSUS I typically recommend creating 2 new views one for FCS Definitions and another for FCS everything else. You can do this by using the following steps:&amp;#160; &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Right click Updates&amp;gt;New Update View&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;Select the following:&lt;/li&gt;      &lt;ul&gt;       &lt;li&gt;Updates are in a specific classification (Definition Updates)&lt;/li&gt;        &lt;li&gt;Updates are for a specific product (Forefront Client Security)&lt;/li&gt;     &lt;/ul&gt;      &lt;li&gt;Give the view a name (FCS Definitions in my case)&lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UpdateViewsforFCSinWSUS_A1D8/image_4.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UpdateViewsforFCSinWSUS_A1D8/image_thumb_1.png" width="298" height="315" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt; Once the view is created and you click on it to view it make sure you go up in the Approval and Status dropdowns and change these to “Any Except Declined” and “Any”&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UpdateViewsforFCSinWSUS_A1D8/image_6.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UpdateViewsforFCSinWSUS_A1D8/image_thumb_2.png" width="544" height="114" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;You should end up with a view like the above which shows you typically 4 definition updates for FCSAM and a single definition update for FCSSSA.&lt;/p&gt;  &lt;p&gt;The 2nd view should basically be the inverse of the previous:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Right click Updates&amp;gt;New Update View&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;Select the following:&lt;/li&gt;      &lt;ul&gt;       &lt;li&gt;Updates are in a specific classification (Everything but Definition Updates)&lt;/li&gt;        &lt;li&gt;Updates are for a specific product (Forefront Client Security)&lt;/li&gt;     &lt;/ul&gt;      &lt;li&gt;Give the view a name (FCS in my case)&lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UpdateViewsforFCSinWSUS_A1D8/image_8.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UpdateViewsforFCSinWSUS_A1D8/image_thumb_3.png" width="304" height="321" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Again with the view make sure you go up in the Approval and Status dropdowns and change these to “Any Except Declined” and “Any” you should end up with a view like this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UpdateViewsforFCSinWSUS_A1D8/image_10.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UpdateViewsforFCSinWSUS_A1D8/image_thumb_4.png" width="556" height="235" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Again nothing really profound here but this will give you 2 new views that allow you to easily see what updates are available to the client as well as what definitions are available.&amp;#160; As always in WSUS if you right click on the columns in an update view there are plenty of other options that people typically do not realize exist such as “Arrival Date (to your WSUS server)” and others. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UpdateViewsforFCSinWSUS_A1D8/image_12.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UpdateViewsforFCSinWSUS_A1D8/image_thumb_5.png" width="270" height="408" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Utilize those to make things easier for yourself :) .. Thanks for reading have a great day!!&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3224052" width="1" height="1"&gt;</description></item><item><title>Cheap real time monitoring for Conficker clients</title><link>http://blogs.technet.com/b/kfalde/archive/2009/03/09/cheap-real-time-monitoring-for-conficker-clients.aspx</link><pubDate>Mon, 09 Mar 2009 18:21:27 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3210836</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3210836</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2009/03/09/cheap-real-time-monitoring-for-conficker-clients.aspx#comments</comments><description>&lt;p&gt;I already did one post about using eventcomb/logparser to look for clients but found a better way to do it on a case last night which I wanted to share.&amp;#160; The first thing you need is to enable netlogon debug logging on all of your DC’s save the following as a .reg file and import it on all your DC’s that you want to monitor:&lt;/p&gt;  &lt;pre class="csharpcode"&gt;Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters]
&lt;span class="str"&gt;&amp;quot;DBFlag&amp;quot;&lt;/span&gt;=dword:2080ffff&lt;/pre&gt;
&lt;style type="text/css"&gt;





.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;

&lt;p&gt;This will cause netlogon to start logging extended entries to %windir%\debug\netlogon.log.&amp;#160; You may take a slight perf hit on your DC’s for this just as an FYI.&amp;#160; You will not fill up your drives as it logs to 2 20Mb files.. netlogon.log and netlogon.bak and uses circular logging where it starts overwriting once it fills up.&lt;/p&gt;

&lt;p&gt;What we are looking for is the value “0xC000006A” on any line which indicates “The value provided as the current password is not correct”.&amp;#160; So we already have articles on using NLParse to look for these as well as you could use logparser etc but these are all non-realtime right, you copy&amp;#160; all the files somewhere you parse them you look at the output etc.. wouldn’t it be nicer if you could just have a console where you just glance and see when you have a malware client acting up :)..&amp;#160; The key to this is using a TAIL utility.&amp;#160; In my case I used Tail for Win32 which you can find here &lt;a title="http://tailforwin32.sourceforge.net/" href="http://tailforwin32.sourceforge.net/"&gt;http://tailforwin32.sourceforge.net/&lt;/a&gt;.&amp;#160; &lt;/p&gt;

&lt;p&gt;On the system you plan on monitoring from install this piece of software. Strangely you have to open a log file before you can start modifying the settings for the client so open your first netlogon.log file.&amp;#160; The client supports network paths so you will be opening &lt;a href="file://\\DCNAME\C$\Windows\Debug\Netlogon.log"&gt;\\DCNAME\C$\Windows\Debug\Netlogon.log&lt;/a&gt; for each of your DC’s (yes this would stink for a large environment but hopefully if you’re that large you spent the money on a product to do this for you anyway… right??).&lt;/p&gt;

&lt;p&gt;Once you have your netlogon files open go to Settings&amp;gt;Keywords and add 0xC000006A as a keyword.&amp;#160; Also you will want to set “Show only Hot Lines” to enabled (this drops all the other netlogon junk which we don’t want to see) and set “Wrap Lines” to enabled.&amp;#160; Basically what you end up with in the end is multiple windows open that are only looking for entries of bad password attempts and pulling those in close to real time from the netlogon logs.&amp;#160; This allows you to easily see when a client is hammering away on user accounts and allows you to go shutdown and clean that system.&amp;#160; Another tip is you can use the Window&amp;gt;Cascade or Tile option to automatically arrange the netlogon file windows to easily see when a DC is seeing a problem client.&lt;/p&gt;

&lt;p&gt;Updated had the wrong value in the for the reg key :)&lt;/p&gt;

&lt;p&gt;Update 2 3/11/09:&amp;#160; This has a slight catch here apparently in that this is only for NTLM bad password attempts and you still need to use eventcomb or something else to see Kerberos bad password tried :(&amp;#160; &lt;a title="http://technet.microsoft.com/en-us/library/cc776964.aspx" href="http://technet.microsoft.com/en-us/library/cc776964.aspx"&gt;http://technet.microsoft.com/en-us/library/cc776964.aspx&lt;/a&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;“If the Netlogon logs from all domain controllers from the time of lockout but do not display data that pertains to any of the locked-out user accounts that you are analyzing, then NTLM authentication is not involved in the lockouts. This normally indicates that the authentication issues are between computers running Windows 2000 or later, because earlier versions of Windows used NTLM authentication exclusively. You should focus on Kerberos authentication troubleshooting by using Kerberos logging and examining the Security event logs.”&lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;&lt;SCRIPT type=text/javascript&gt;
try {
var pageTracker = _gat._getTracker("UA-6340849-1");
pageTracker._trackPageview();
} catch(err) {}&lt;/SCRIPT&gt;&lt;/p&gt;

&lt;p&gt;Update 3 4/9/09&amp;#160; &lt;a title="http://baremetalsoft.com/baretail/" href="http://baremetalsoft.com/baretail/"&gt;http://baremetalsoft.com/baretail/&lt;/a&gt; is also good actually seems better then tailforwin32, free windows gui tail utility to use with this solution.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3210836" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/Incident+Response/">Incident Response</category></item><item><title>WSUS FCS Definitions</title><link>http://blogs.technet.com/b/kfalde/archive/2009/03/05/wsus-fcs-definitions.aspx</link><pubDate>Thu, 05 Mar 2009 19:05:14 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3209576</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3209576</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2009/03/05/wsus-fcs-definitions.aspx#comments</comments><description>&lt;p&gt;This is a follow up post to my previous FCS definitions post.&amp;#160; The first one focused on the mpam-fe files and what is contained that you can find on the security portal at &lt;a href="http://www.microsoft.com/security/portal"&gt;www.microsoft.com/security/portal&lt;/a&gt;.&amp;#160; This one instead focuses on what is actually downloaded by your WSUS server and what is in turn downloaded by your WSUS clients normally.&lt;/p&gt;  &lt;p&gt;Our AV group seems to typically release definitions about 3x per day although they can release more often then that if needed.&amp;#160; From what I have seen the updates usually come out on MU (Microsoft Update this is also where WSUS gets them from) around 2am, 10am, 6pm eastern time ( 7am, 3pm, 11pm GMT).&lt;/p&gt;  &lt;p&gt;In WSUS when you approve definitions you are approving definitions for both x86 and x64 versions of the definition set.&amp;#160; The following represents a list of the files that are downloaded as a normal definition sync by your WSUS server with either MU or an upstream WSUS server.&amp;#160; I’ve also added in the sizes of each download (based on this specific definition version) in the table below&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;table border="0" cellspacing="0" cellpadding="2" width="565"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="563"&gt;Definition Update for Microsoft Forefront Client Security (Antimalware 1.51.677.0, X86 Full+Engine)&amp;#160; 33.5Mb&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="563"&gt;Definition Update for Microsoft Forefront Client Security (Antimalware 1.51.677.0, x86 Delta)&amp;#160; 1.11Mb&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="563"&gt;Definition Update for Microsoft Forefront Client Security (Antimalware 1.51.677.0, X86&amp;#160; Binary Delta +Engine) 21.1Mb&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="563"&gt;Definition Update for Microsoft Forefront Client Security (Antimalware 1.51.677.0, AMD64 Full+Engine)&amp;#160; 34.0Mb&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="563"&gt;Definition Update for Microsoft Forefront Client Security (Antimalware 1.51.677.0, AMD64 Delta)&amp;#160; 1.15Mb&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="563"&gt;Definition Update for Microsoft Forefront Client Security (Antimalware 1.51.677.0, AMD64&amp;#160; Binary Delta +Engine) 21.4Mb&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;So this amounts to about 112Mb that is synced 3x daily from either MU to your WSUS server or from upstream to downstream WSUS servers.&lt;/p&gt;  &lt;p&gt;As you may have noticed these 3 types are a little different then what is available at the Security Portal so lets break that down some more.&lt;/p&gt;  &lt;p&gt;Full+Engine = This set is used for a brand new client which is still at rtm versions of definitions/engine, it has the complete base, current deltas to that base and this months engine .dll.&lt;/p&gt;  &lt;p&gt;Delta = This is the delta since the last base this is what your client machines are normally downloading throughout the month. It’s an incremental since the last base was applied.&lt;/p&gt;  &lt;p&gt;Binary Delta +Engine = This is the one you don’t see on the Security Portal. This is the more interesting file and I had to get my Escalation Engineer (Craig Wiand I told him I would give him mad props here :) ) to explain this one better to me.&amp;#160; We apparently use binary delta patching technology here and this can be used to update a client that had last months base to the current months bases.&amp;#160; Below is a screen shot of the files in this package:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/WSUSFCSDefinitions_9373/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/WSUSFCSDefinitions_9373/image_thumb_1.png" width="524" height="146" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;The interesting files are the _p files with are the delta patches to last months base.&amp;#160; Basically from what I understand it’s a bitmap level type of differencing file between last months and this months base’s and engine files that saves some size from actually having to download the complet base.&amp;#160; The difference between the normal base and the binary delta is about 13Mb.&amp;#160; So basically if your clients are up to date then every month when a new engine and base definitions are released instead of having to download 33Mb they only need to download approximately 21Mb.&lt;/p&gt;  &lt;p&gt;That should cover the sizes/how it works :).&amp;#160; Now taking this knowledge and applying to your distributed branch office/wsus environment with slow wan links is where things get complicated.&amp;#160; Typically you tend to think that having a WSUS server in my small branch office is a good thing, download once then clients download many, however in FCS definition scenarios it gets touchy.&amp;#160; A downstream WSUS server based on these approximate numbers will download about 112Mb 3x a day or 336Mb daily.&amp;#160; If I have a branch office of 30 Systems with FCS that are keeping up to date regularly they should download about 30 x daily delta 1.1Mb x 3 times/day = 90Mb.&amp;#160; As you can see for my normal daily routine I would probably be saving 240Mb downloads by NOT having a WSUS server at this branch.&amp;#160; Of course when the monthly rebasing occurs I would have downloaded 336Mb that day to WSUS and my clients would have downloaded 30x21Mb for the Binary Delta = 630Mb in one day.&amp;#160; &lt;/p&gt;  &lt;p&gt;Over the long run in this scenario strictly based on FCS Definitions I would probably be better off not having a local WSUS server.&amp;#160; This is not typically the case though and normally my WSUS server will also be used for all types of other security updates and you would need some calculations based on average past patch sizes vs bandwidth savings etc which I don’t really care to try to go into and actually would vary based on your environment as well.&lt;/p&gt; &lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;&lt;SCRIPT type=text/javascript&gt;
try {
var pageTracker = _gat._getTracker("UA-6340849-1");
pageTracker._trackPageview();
} catch(err) {}&lt;/SCRIPT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3209576" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/FCS+Definitions/">FCS Definitions</category><category domain="http://blogs.technet.com/b/kfalde/archive/tags/WSUS/">WSUS</category></item><item><title>Blocking and finding Conficker and Downadup systems</title><link>http://blogs.technet.com/b/kfalde/archive/2009/02/09/blocking-and-finding-conficker-and-downadup-systems.aspx</link><pubDate>Tue, 10 Feb 2009 03:47:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3199732</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3199732</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2009/02/09/blocking-and-finding-conficker-and-downadup-systems.aspx#comments</comments><description>&lt;p&gt;EDIT 4/27/09: THIS NO LONGER WORKS WITH NEW VARIANTS OF CONFICKER HOWEVER THE CONCEPT IS STILL SOUND IF YOU ARE LOOKING FOR SYSTEMS THAT ARE QUERYING FOR SPECIFIC DNS NAMES.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;I’ve already created one post on finding malware systems using eventcomb however when it comes to Conficker or Downadup and realistically other malware too all that method can really show you are clients that have decided to finally put a Domain Controller on their hitlist.&amp;#160; One of the things we know about Conficker is that it utilizes a method to based on date to generate a url that it will connect to in order to report in to its evil overlords as well as to possibly see if there is some new update/commands available to it.&amp;#160; The guys over at F-secure have put up a list of domains that the malware would possibly use for the month of February at &lt;a title="http://www.f-secure.com/weblog/archives/00001593.html" href="http://www.f-secure.com/weblog/archives/00001593.html" mce_href="http://www.f-secure.com/weblog/archives/00001593.html"&gt;http://www.f-secure.com/weblog/archives/00001593.html&lt;/a&gt; .&amp;#160; Now if you have a proxy server or some type of firewall server that can do blocking or redirecting based on host names this is great.&amp;#160; Not all customers have this though so we figured we would try to put something together that would work for most of our normal Windows customers :).&lt;/p&gt;  &lt;p&gt;Basically what I did was utilize the dnscmd command to work with MS DNS to create new zones as well as wildcard records for each domain that may be possibly used.&amp;#160; The download for the .cmd files you can get here:&lt;/p&gt; &lt;iframe style="border-bottom: #dde5e9 1px solid; border-left: #dde5e9 1px solid; padding-bottom: 0px; background-color: #ffffff; margin: 3px; padding-left: 0px; width: 240px; padding-right: 0px; height: 66px; border-top: #dde5e9 1px solid; border-right: #dde5e9 1px solid; padding-top: 0px" marginheight="0" src="http://cid-14eec8ab42191b55.skydrive.live.com/embedrowdetail.aspx/FCS/febconfickerblock.zip" frameborder="0" marginwidth="0" scrolling="no" mce_src="http://cid-14eec8ab42191b55.skydrive.live.com/embedrowdetail.aspx/FCS/febconfickerblock.zip"&gt;&lt;/iframe&gt;  &lt;p&gt;If you know anything about MS DNS you realize this is going to look pretty darn messy :) we are talking about 7k new zones in your DNS server so I would either recommend putting this on a new box and forwarding all your DNS to this before going to the internet or not opening your DNS gui to look at zones that often after you add these :).&amp;#160; The first script blocklistfebzoneadd.cmd will create all the zones.&amp;#160; If you just want to block connections for these zones for February you can stop there…&amp;#160; But no that’s wussing out we want to ERADICATE this thing!!!&amp;#160; The next script is blocklistfebrecordadd.cmd you will want to edit this doing a find/replace and change 192.168.1.100 for a new IP address for a new IIS server in your environment.&amp;#160; The beauty of this is that for this month everytime you have a Conficker / Downadup client try to connect to their control server they will instead connect to your new IIS setup.&amp;#160; You just need to keep checking your IIS logs for that website you setup and cleaning those client IP addresses up. &lt;/p&gt;  &lt;p&gt;Once the month of February is over you can use the 3rd script blocklistfebzonedelete.cmd which will go through and reverse the effects of this by deleting all of the zones we created.&amp;#160; Hopefully this should be pretty simple but if you have any questions just let me know.&amp;#160; &lt;/p&gt;  &lt;p&gt;Happy malware hunting.&lt;/p&gt; &lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;&lt;SCRIPT type=text/javascript&gt;
try {
var pageTracker = _gat._getTracker("UA-6340849-1");
pageTracker._trackPageview();
} catch(err) {}&lt;/SCRIPT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3199732" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/Incident+Response/">Incident Response</category></item><item><title>Understanding FCS Definitions</title><link>http://blogs.technet.com/b/kfalde/archive/2009/02/09/understanding-fcs-definitions.aspx</link><pubDate>Mon, 09 Feb 2009 20:31:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3199402</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3199402</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2009/02/09/understanding-fcs-definitions.aspx#comments</comments><description>&lt;P&gt;A fairly frequent question we get is how do FCS definitions work.&amp;nbsp; How do I find just the delta’s for the month etc.&amp;nbsp; You can always manually download the latest definitions from &lt;A href="http://www.microsoft.com/security/portal" mce_href="http://www.microsoft.com/security/portal"&gt;http://www.microsoft.com/security/portal&lt;/A&gt; with the links on the right.&amp;nbsp; This will get you the mpam-fe.exe and the mpam-fex64.exe files. &lt;/P&gt;
&lt;P&gt;So these are both self extracting cab files which you can easily open with your favorite unzipping utility usually.&amp;nbsp; I used 7-zip to dump out a copy shown below.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UnderstandingFCSDefinitions_9638/image_2.png" mce_href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UnderstandingFCSDefinitions_9638/image_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UnderstandingFCSDefinitions_9638/image_thumb.png" width=517 height=177 mce_src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UnderstandingFCSDefinitions_9638/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The first file I’m not so sure on but if you open it appears to tell us the different products that we can update with this .exe which includes FCS, FCS2, ONECARE, ISA, Standalone System Sweeper.&amp;nbsp; Makes sense as they all use the same MSAV engine right :).&lt;/P&gt;
&lt;P&gt;The next 4 files are all .vdm files which are all variations of definition sets.&lt;/P&gt;
&lt;P&gt;mpasbase.vdm = Last base signature set of AntiSpyware definitions&lt;/P&gt;
&lt;P&gt;mpasdlta.vdm = Last delta signature set of AntiSpyware defintions ie if you just installed the client you need to install both mpasbase.vdm and mpasdlta.vdm to be full up to date.&lt;/P&gt;
&lt;P&gt;mpavbase.vdm = Last base signature set of AntiVirus definitions&lt;/P&gt;
&lt;P&gt;mpavdlta.vdm = Last delta signature set of AntiVirus definitions again you need both mpavbase and mpavdlta for a new client to update it.&lt;/P&gt;
&lt;P&gt;The 2 Base files get updated monthly which means every month your client needs to install a new base set so that the deltas are applied to that base.&lt;/P&gt;
&lt;P&gt;mpengine.dll is the actual AV engine :) so if there is an update to how the engine works to handle some new situation this update can actually be provided via the definition set.&lt;/P&gt;
&lt;P&gt;mpsigstub.exe from what I know is just the .exe that is used to apply the definitions.&lt;/P&gt;
&lt;P&gt;This is the basics :) I’ll try to do another posting soon that dives into how to download individual deltas that you can apply manually as well as how clients working with WSUS handle which exact updates they download.&lt;/P&gt;
&lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;

&lt;SCRIPT type=text/javascript&gt;
try {
var pageTracker = _gat._getTracker("UA-6340849-1");
pageTracker._trackPageview();
} catch(err) {}&lt;/SCRIPT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3199402" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/FCS+Definitions/">FCS Definitions</category></item><item><title>Using Logparser + Eventcomb to find malware</title><link>http://blogs.technet.com/b/kfalde/archive/2009/01/28/using-logparser-eventcomb-to-find-malware.aspx</link><pubDate>Thu, 29 Jan 2009 01:04:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3193998</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3193998</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2009/01/28/using-logparser-eventcomb-to-find-malware.aspx#comments</comments><description>&lt;p&gt;During the course of these Conficker / Downadup issues we typically see cases that started because accounts are getting locked out.&amp;#160; I pause briefly here to point out that account lockouts are the work of the devil and are a sorry excuse for most people to not use a complex password policy.&amp;#160; So it seems that these cases for the most part are slowing down however customers are still looking for those few machines that fall between the cracks that are still causing account lockouts when they turn back on their account lockout policy (once again because they don’t want to use complex passwords). &lt;/p&gt;  &lt;p&gt;So the tool to turn towards is the &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=7AF2E69C-91F3-4E63-8629-B999ADDE0B9E&amp;amp;displaylang=en" target="_blank" mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=7AF2E69C-91F3-4E63-8629-B999ADDE0B9E&amp;amp;displaylang=en"&gt;account lockout tools&lt;/a&gt;.&amp;#160; Part of this toolset is eventcombmt (mt stands for multithreaded). &lt;/p&gt;  &lt;p&gt;Eventcombmt is cool for all sorts of things but the only thing we are interested in is the built in Account Lockout Search.&amp;#160; Select Searches&amp;gt;Built In Searches&amp;gt;Account Lockouts.&amp;#160; You could also change your output directory if you want, the default is C:\temp.&lt;/p&gt;  &lt;p&gt;Once&amp;#160; you selected this it should put in the right event id’s and locate and select all your DC’s.&amp;#160; Click Search and it’s off searching through all your DC’s Security Event Logs and dumping all the pertinent info to DomainControllername.txt files in the c:\temp directory.&lt;/p&gt;  &lt;p&gt;While your waiting for this go download &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;amp;displaylang=en" target="_blank" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;amp;displaylang=en"&gt;log parser&lt;/a&gt;. Install that you may want to make sure it’s in your path afterwards for this to work try typing logparser from a cmd prompt. Once you have logparser in place and Eventcomb has finished and output all of&amp;#160; your DC’s .txt files then you will want to run the following logparser query in the directory with the .txt’s&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Once that’s complete run the following in the directory with all your textfile outputs from the DC’s&lt;/p&gt;  &lt;p&gt;logparser -i:textline &amp;quot;SELECT SUBSTR(SUBSTR(Text, ADD(INDEX_OF(Text, 'Address: '), 8)), 1, INDEX_OF(SUBSTR(Text, ADD(INDEX_OF(Text, 'Address: '), 9)),' ')) AS IPAddr INTO addrs.csv FROM *.txt&amp;quot;&lt;/p&gt;  &lt;p&gt;Revision 5/8/09&amp;#160; You may need to use this instead of the Addresses are all at the end of the line: &lt;/p&gt;  &lt;p&gt;logparser -i:textline &amp;quot;SELECT SUBSTR(Text, LAST_INDEX_OF(Text, 'Address: ')) AS IPAddr INTO addrs.csv FROM *.txt&amp;quot;&lt;/p&gt;  &lt;p&gt;This should create a file called addrs.csv which has all of the IP addresses that has caused by password attempts.&amp;#160; There will be lines for each attempt so we need to parse this down a little more to give use a column with IP address and a column with the number of bad password attempts so we will run the following logparser query next:&lt;/p&gt;  &lt;p&gt;logparser -i:csv -o:csv &amp;quot;select IPaddr, count (*) as hits into final.csv from addrs.csv group by IPaddr order by hits desc&amp;quot;&lt;/p&gt;  &lt;p&gt;This should leave us with a final.csv file which has 2 columns one for the IP address and another for the amount of times we have seen that IP address causing bad password attempts in our security event logs across our DC’s.&amp;#160; In the case below that first IP had caused 85k bad password attempts guessing that machine has a problem :) …&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UsingLogparserEventcombtofindmalware_FB0E/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/UsingLogparserEventcombtofindmalware_FB0E/image_thumb.png" width="257" height="280" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Seeing we’ve primarily used this for Conficker it seems the following line works well to output just a list of IP addresses with no header on the file and no hits.&lt;/p&gt;  &lt;p&gt;logparser -i:csv -o:csv -headers:OFF &amp;quot;select distinct IPaddr into ips.txt from addrs.csv&amp;quot;&lt;/p&gt;  &lt;p&gt;You can then take the ips.txt file and use the import function on &lt;a href="http://www.mcafee.com/us/local_content/downloads/conficker_detection_tool_v108.zip"&gt;Mcafee’s Conficker Detection Tool&lt;/a&gt; to scan all of these IP’s quickly to see if they are infected with Conficker or not.&lt;/p&gt;  &lt;p&gt;Update 1: 4/9/2009&amp;#160; Totally reworked this thanks to &lt;a href="http://blogs.technet.com/neilcar/"&gt;Neil Carpenter&lt;/a&gt; and some better logparser logic to filter this better and have a much cleaner final output.&amp;#160; Also dropped need for .csv files as we are filtering using textline input instead.&lt;/p&gt;  &lt;p&gt;Update 2: 7/10/2009 Added new logpaser query to output just IP’s to file with no hits etc which you can then easily import to &lt;a href="http://www.mcafee.com/us/local_content/downloads/conficker_detection_tool_v108.zip"&gt;Mcafee’s Conficker Detection Tool&lt;/a&gt;&lt;/p&gt; &lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;&lt;SCRIPT type=text/javascript&gt;
try {
var pageTracker = _gat._getTracker("UA-6340849-1");
pageTracker._trackPageview();
} catch(err) {}&lt;/SCRIPT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3193998" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/Incident+Response/">Incident Response</category></item><item><title>How-to:  Removal of Conficker in your FCS environment</title><link>http://blogs.technet.com/b/kfalde/archive/2009/01/13/how-to-removal-of-conficker-in-your-fcs-environment.aspx</link><pubDate>Tue, 13 Jan 2009 21:46:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3181930</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3181930</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2009/01/13/how-to-removal-of-conficker-in-your-fcs-environment.aspx#comments</comments><description>&lt;P&gt;Another Conficker post :) however this one is aimed at our FCS customers.&amp;nbsp; It semi-applies to other customers however other AV vendors operated differently with regards to updates etc so this won’t necessarily be applicable to all.&lt;/P&gt;
&lt;P&gt;So today is Patch Tuesday … Yeah!!!&lt;/P&gt;
&lt;P&gt;With today’s releases we are finally getting some relief out for Conficker.&amp;nbsp; The main piece of relief is through the MSRT or &lt;A href="http://support.microsoft.com/kb/890830" target=_blank mce_href="http://support.microsoft.com/kb/890830"&gt;Malicious Software Removal Tool&lt;/A&gt; which contains an updated set of definitions and engine to handle the Conficker family of malware.&amp;nbsp; There are both &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&amp;amp;displaylang=en"&gt;x86&lt;/A&gt; and &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495E-94E7-6349F4EFFC74&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495E-94E7-6349F4EFFC74&amp;amp;displaylang=en"&gt;x64&lt;/A&gt; versions of the MSRT that are released.&amp;nbsp; I’ve never been a huge fan of this tool before as realistically this is a post-infection tool and it has a very limited definition set see &lt;A href="http://support.microsoft.com/?kbid=890830" target=_blank mce_href="http://support.microsoft.com/?kbid=890830"&gt;KB890830&lt;/A&gt; for the list.&amp;nbsp; But when you are hurting with one of those on the list its a great thing to have around.&lt;/P&gt;
&lt;P&gt;So you might say great my WSUS auto-approves that etc my clients are going to be all happy by tomorrow… WRONG.&amp;nbsp; Part of the Conficker Modus Operandi is to disable both the Automatic Updates and BITS services.&amp;nbsp; Automatic Updates (Windows Update in Vista) is your WSUS client so no joy for you. &lt;/P&gt;
&lt;P&gt;So here’s what you should do to get things fixed in your environment.&amp;nbsp; First off you need a logon script assigned to your computer accounts (user accounts would work if you knew they had admin access on the systems).&amp;nbsp; The scripts need to basically call out to run the MSRT manually on the system. You will also need to get the AU/BITS services back up and functioning, you could either do this via the script and the SC command line tool (i.e. sc config wuauserv start=auto) or you could do this via GPO directly and set the startup state of AU to Automatic and BITS to Manual (default states).&amp;nbsp; I’m posting in here some example code that one of our engineers put together (thanks Shain Wray I believe)&lt;/P&gt;&lt;PRE class=csharpcode&gt;REM
REM   Running MSRT locally
REM

REM
REM   Checking &lt;SPAN class=kwrd&gt;for&lt;/SPAN&gt; x86 or x64
REM   To use &lt;SPAN class=kwrd&gt;this&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;as&lt;/SPAN&gt; part of a GPO Startup Script, change &amp;lt;domain.com&amp;gt; to your
REM    domain.
REM   Notice the copy of the MRT.log up to a central location has 
REM   &amp;lt;servername&amp;gt;\&amp;lt;share with write perms&amp;gt;.  This &lt;SPAN class=kwrd&gt;is&lt;/SPAN&gt; on purpose.
REM   In most cases, opening a share with everyone write permissions on a DC
REM    &lt;SPAN class=kwrd&gt;is&lt;/SPAN&gt; not recommended, it &lt;SPAN class=kwrd&gt;is&lt;/SPAN&gt; suggested to use a
REM   member server or workstation.
REM

&lt;SPAN class=kwrd&gt;if&lt;/SPAN&gt; /i %PROCESSOR_ARCHITECTURE% == x86 &lt;SPAN class=kwrd&gt;goto&lt;/SPAN&gt; x86
&lt;SPAN class=kwrd&gt;if&lt;/SPAN&gt; /i %PROCESSOR_ARCHITECTURE% == AMD64 &lt;SPAN class=kwrd&gt;goto&lt;/SPAN&gt; x64
&lt;SPAN class=kwrd&gt;if&lt;/SPAN&gt; /i %PROCESSOR_ARCHITECTURE% == IA64 &lt;SPAN class=kwrd&gt;goto&lt;/SPAN&gt; End

:x86
call \\&amp;lt;domain.com&amp;gt;\netlogon\Sleep.exe 10
Start /wait \\&amp;lt;domain.com&amp;gt;\netlogon\Windows-KB890830-V2.6.exe /q

copy %windir%\debug\mrt.log \\&amp;lt;servername&amp;gt;\&amp;lt;share with write 
perms&amp;gt;\%computername%_%username%_mrt.log

&lt;SPAN class=kwrd&gt;goto&lt;/SPAN&gt; End

:x64
call \\&amp;lt;domain.com\netlogon\Sleep.exe 10
Start /wait \\&amp;lt;domain.com&amp;gt;\netlogon\windows-kb890830-x64-v2.6.exe /q

copy %windir%\debug\mrt.log \\&amp;lt;servername&amp;gt;\&amp;lt;share with write 
perms&amp;gt;\%computername%_%username%_mrt.log

:End

Exit&lt;/PRE&gt;
&lt;STYLE type=text/css&gt;
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/STYLE&gt;

&lt;STYLE type=text/css&gt;
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/STYLE&gt;

&lt;P&gt;The sleep.exe can be found from the &lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;amp;displaylang=en"&gt;2003 Resource Kit Tools&lt;/A&gt;.&amp;nbsp; So this script should be self-explanatory for MSRT.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Once you have copied all the .exe’s to a share and assigned the script via GPO to your computers OU’s then you need to get your users to reboot their systems which will cause them to run/clean and should hopefully fix your environment.&amp;nbsp; If you need help with this try posting a question here first and I’ll try to respond however if you need immediate assistance call us. As always we are here and available to help!! Malware cases are FREE as in no $250 for a ticket no hours decremented from your Premier contract etc.&amp;nbsp; So get on the phone call the CSS # (800) 936-5800 I believe and let them know you have a malware issue and need a case to work with CSS Security. &lt;/P&gt;
&lt;P&gt;So while typing this I just checked the MMPC’s blog and they have a good post and a beautiful picture that explains how the malware works as well &lt;A href="http://blogs.technet.com/mmpc/archive/2009/01/13/msrt-released-today-addressing-conficker-and-banload.aspx" mce_href="http://blogs.technet.com/mmpc/archive/2009/01/13/msrt-released-today-addressing-conficker-and-banload.aspx"&gt;http://blogs.technet.com/mmpc/archive/2009/01/13/msrt-released-today-addressing-conficker-and-banload.aspx&lt;/A&gt;.&lt;/P&gt;
&lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;

&lt;SCRIPT type=text/javascript&gt;
try {
var pageTracker = _gat._getTracker("UA-6340849-1");
pageTracker._trackPageview();
} catch(err) {}&lt;/SCRIPT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3181930" width="1" height="1"&gt;</description></item><item><title>More on File Shares and Autorun.inf with regards to malware</title><link>http://blogs.technet.com/b/kfalde/archive/2009/01/12/more-on-file-shares-and-autorun-inf-with-regards-to-malware.aspx</link><pubDate>Mon, 12 Jan 2009 19:32:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3181208</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3181208</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2009/01/12/more-on-file-shares-and-autorun-inf-with-regards-to-malware.aspx#comments</comments><description>&lt;P&gt;So in my last post I mentioned the fact that Conficker/Downad whatever can also have a component that will spread through file shares that allow everyone to write at the root level of the file share.&lt;/P&gt;
&lt;P&gt;So a typical autorun.inf looks something like this..&lt;/P&gt;&lt;PRE class=csharpcode&gt;[Autorun]
open=setup.exe
icon=setup.exe,0&lt;/PRE&gt;
&lt;STYLE type=text/css&gt;

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/STYLE&gt;

&lt;P&gt;Glancing at my dvd folder structure in this case I have&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/MoreonFileShares.infwithregardstomalware_86C2/image_2.png" mce_href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/MoreonFileShares.infwithregardstomalware_86C2/image_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/MoreonFileShares.infwithregardstomalware_86C2/image_thumb.png" width=428 height=75 mce_src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/MoreonFileShares.infwithregardstomalware_86C2/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;So basically with autoruns enabled if I double-click this drive explorer will process Autorun.inf and will run setup.exe in the same location as the autorun.inf.&amp;nbsp; Now if you were running Vista with UAC this wouldn’t be a big deal however a lot/most enterprises probably are not.&amp;nbsp; If you were running with your users as non-admins this would again not be an issue but again this is usually not the case.&lt;/P&gt;
&lt;P&gt;So what do we do to mitigate this problem?&lt;/P&gt;
&lt;P&gt;Well by default supposedly we should not process/execute autorun.inf from a network drive anyway on our XP/2K/Vista machine.&amp;nbsp; Check out &lt;A title=http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/91525.mspx?mfr=true href="http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/91525.mspx?mfr=true" mce_href="http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/91525.mspx?mfr=true"&gt;http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/91525.mspx?mfr=true&lt;/A&gt; which goes into detail about the NoDriveTypeAutoRun registry key setting.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/MoreonFileShares.infwithregardstomalware_86C2/image_4.png" mce_href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/MoreonFileShares.infwithregardstomalware_86C2/image_4.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/MoreonFileShares.infwithregardstomalware_86C2/image_thumb_1.png" width=450 height=86 mce_src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/MoreonFileShares.infwithregardstomalware_86C2/image_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The 0x10 setting for “Disables Autoplay on fixed drives” is a default that is present on all our supported OS’s so why does the issue still occur?&amp;nbsp; The reason it still occurs can be found in &lt;A title=http://support.microsoft.com/kb/953252 href="http://support.microsoft.com/kb/953252" mce_href="http://support.microsoft.com/kb/953252"&gt;http://support.microsoft.com/kb/953252&lt;/A&gt; “How to correct “disable Autorun registry key” enforcement in Windows”.&amp;nbsp; If you read through the KB you will basically see that all of our currently supported OS’s had a bug with Explorer and autoruns.&amp;nbsp; The bug though was fixed and released as security bulletin MS08-038 &lt;A title=http://support.microsoft.com/kb/950582 href="http://support.microsoft.com/kb/950582" mce_href="http://support.microsoft.com/kb/950582"&gt;http://support.microsoft.com/kb/950582&lt;/A&gt;.&amp;nbsp; Odds are though if you are one of those org’s that didn’t apply MS08-067 what’s a few more months (July vs October of 08).&amp;nbsp; If you are having problems with malware that is spread via autoruns on network shares then you should probably make sure to get MS08-038 installed in your environment as quickly as possible.&lt;/P&gt;
&lt;P&gt;As part of Defense in Depth I would also recommend that you set in a Group Policy linked to your domain to disable Autorun functionality completely.&amp;nbsp; The defaults should be fine once the MS08-038 is installed however in an enterprise setting you don’t want to rely on the “I hope my users didn’t change it” scenario.&amp;nbsp; &lt;A href="http://support.microsoft.com/kb/953252" target=_blank mce_href="http://support.microsoft.com/kb/953252"&gt;KB953252&lt;/A&gt; also has information on where to set this, I’ve also included a picture from my test system (it’s 2008 so may look slightly different then 2003).&amp;nbsp; Basically you want to set that “Turn Off Autoplay” as Enabled for “All drives”&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/MoreonFileShares.infwithregardstomalware_86C2/image_6.png" mce_href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/MoreonFileShares.infwithregardstomalware_86C2/image_6.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/MoreonFileShares.infwithregardstomalware_86C2/image_thumb_2.png" width=584 height=169 mce_src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/MoreonFileShares.infwithregardstomalware_86C2/image_thumb_2.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That’s about all I have at the moment if you have any questions post them here.&amp;nbsp; Thanks&lt;/P&gt;
&lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;

&lt;SCRIPT type=text/javascript&gt;
try {
var pageTracker = _gat._getTracker("UA-6340849-1");
pageTracker._trackPageview();
} catch(err) {}&lt;/SCRIPT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3181208" width="1" height="1"&gt;</description></item><item><title>Malware Win32/Conficker.B W32.Downadup.B</title><link>http://blogs.technet.com/b/kfalde/archive/2009/01/08/malware-win32-conficker-b-w32-downadup-b.aspx</link><pubDate>Thu, 08 Jan 2009 08:37:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3177867</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>16</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3177867</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2009/01/08/malware-win32-conficker-b-w32-downadup-b.aspx#comments</comments><description>&lt;P&gt;So for the past 2 weeks now we are absolutely getting hammered with calls in CSS Security here at MS with organizations contracting this piece of malware.&lt;/P&gt;
&lt;P&gt;You can find write-ups from various AV companies at the following URL’s&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.ca.com/us/securityadvisor/virusinfo/virus.aspx?id=76852" mce_href="http://www.ca.com/us/securityadvisor/virusinfo/virus.aspx?id=76852"&gt;http://www.ca.com/us/securityadvisor/virusinfo/virus.aspx?id=76852&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.microsoft.com/security/portal/Entry.aspx?Name=Worm:Win32/Conficker.B" mce_href="http://www.microsoft.com/security/portal/Entry.aspx?Name=Worm:Win32/Conficker.B"&gt;http://www.microsoft.com/security/portal/Entry.aspx?Name=Worm:Win32/Conficker.B&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.symantec.com/norton/security_response/writeup.jsp?docid=2008-123015-3826-99" mce_href="http://www.symantec.com/norton/security_response/writeup.jsp?docid=2008-123015-3826-99"&gt;http://www.symantec.com/norton/security_response/writeup.jsp?docid=2008-123015-3826-99&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.symantec.com/norton/security_response/writeup.jsp?docid=2009-010717-4209-99" mce_href="http://www.symantec.com/norton/security_response/writeup.jsp?docid=2009-010717-4209-99"&gt;http://www.symantec.com/norton/security_response/writeup.jsp?docid=2009-010717-4209-99&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So the write-up’s are all pretty good some have details that the others don’t etc.&amp;nbsp; We see a range of cases it seems from customers missing the patch to those who are completely patched but are still seeing this piece of malware in their environment causing issues.&amp;nbsp; The interesting thing about this piece of malware is that it is really singling out organizations that have not done a good job with their security policies/procedures.&amp;nbsp; The MMPC group made a post about this piece of malware &lt;A href="http://blogs.technet.com/mmpc/archive/2008/12/31/just-in-time-for-new-years.aspx" mce_href="http://blogs.technet.com/mmpc/archive/2008/12/31/just-in-time-for-new-years.aspx"&gt;http://blogs.technet.com/mmpc/archive/2008/12/31/just-in-time-for-new-years.aspx&lt;/A&gt; where they linked &lt;A href="http://technet.microsoft.com/en-us/library/cc512606.aspx" mce_href="http://technet.microsoft.com/en-us/library/cc512606.aspx"&gt;http://technet.microsoft.com/en-us/library/cc512606.aspx&lt;/A&gt; Jesper’s password paper from 2005!!! This guidance and similar guidance has been out for 3+ years now and we still have customers that aren’t following it.&amp;nbsp; I sometimes wonder if we should just push out a “critical update” that applies to all DC’s and updates their Default Domain and Default Domain Controller Policies for them to something more acceptable :) of course we would probable pull a lot of flack for that :) . /Rant Off&lt;/P&gt;
&lt;P&gt;So things you should look at doing if you are hit with this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Disable Account Lockouts&lt;/STRONG&gt;: You are already jacked why are you making it worse by leaving the account lockout policy in place?&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;If you are not patched (especially with MS08-067) do so immediately.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Find a machine that you know is infected and see if your AV will clean it up with the latest definitions/client.&amp;nbsp; If it is not cleaning it then &lt;STRONG&gt;open a case with your AV vendor&lt;/STRONG&gt; as well they are going to be the ones to update definitions to properly detect/remove the malware in the environment (believe me you want this instead of manually running around cleaning off systems)&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Enable Password Complexity&lt;/STRONG&gt;: Like the Account Lockouts this is in your Default Domain Policy if you don’t have it enabled odds are you have 10+% of your population using one of those weak passwords on the list from those write-ups on the malware, and if you have users with those&amp;nbsp; passwords you are still going to have issues with malware spreading.&amp;nbsp; Oh maybe you should get someone working on that org-wide email explaining to your users the new password policy like X characters and how they need 3/4 special characters/Upper/lower/numbers.&amp;nbsp; You probably also want to look into a script/tools to expire accounts (selectively so you don’t whack things like service accounts you aren’t ready to change) Check out Joeware’s oldcmp and expire utilities at &lt;A href="http://www.joeware.net/freetools/" mce_href="http://www.joeware.net/freetools/"&gt;http://www.joeware.net/freetools/&lt;/A&gt; you can dump selectively based on OU targeting to get lists of users’ password age and then pass the lists to the expire utility to force password changes across groups of users.&amp;nbsp; Or if you’re a masochist you can just expire them all and deal with the consequences.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Password Complexity on local accounts&lt;/STRONG&gt;: Is the password on your local Administrator accounts something on that list from the writeups? If so you better get it changed.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Share Permissions&lt;/STRONG&gt;: This one is more complex to explain.&amp;nbsp; Basically for any network shares that you know multiple users map drives to you need to have the permissions locked down in this fashion.. root of the share Remove Write/Modify access to Everyone.. Allow them full control to the contents of subfolders in the shares.&amp;nbsp; The way the malware works is if you have say a N: drive mapped to &lt;A href="file://file01/Data" mce_href="file://\\FILE01\Data"&gt;\\FILE01\Data&lt;/A&gt; it will basically drop malware.exe in N: and an autorun.inf in the same N: pointing to malware.exe.&amp;nbsp; The next user that is mapped to the same N: drive double clicks on drive icon and runs malware.exe (ok yes this can be mitigated by autorun settings but do you know those are set on your clients maybe a good idea for a GPO setting those as well :) )&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Stop logging into infected machines with Domain Admins&lt;/STRONG&gt;:&amp;nbsp; One characteristic of the malware is that it can use impersonation and can be in the Run key so that it runs under the logged on user’s context.&amp;nbsp; So when you log in on that infected system with your DA account guess what.. you just helped spread without it needing to force passwords use a vulnerability etc because hey its all allowed under your privileges.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;I may add more to this possibly as it’s getting late my time and I’m sure it’s going to be another long day tomorrow.&amp;nbsp; Hopefully this helps someone.&lt;/P&gt;
&lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;

&lt;SCRIPT type=text/javascript&gt;
try {
var pageTracker = _gat._getTracker("UA-6340849-1");
pageTracker._trackPageview();
} catch(err) {}&lt;/SCRIPT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3177867" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/Incident+Response/">Incident Response</category></item><item><title>Changes to Microsoft Anti-Malware</title><link>http://blogs.technet.com/b/kfalde/archive/2008/11/19/changes-to-microsoft-anti-malware.aspx</link><pubDate>Wed, 19 Nov 2008 20:14:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3156458</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3156458</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2008/11/19/changes-to-microsoft-anti-malware.aspx#comments</comments><description>&lt;P&gt;This doesn’t really affect the FCS world but it is an interesting development. &lt;A title=https://www.microsoft.com/presspass/features/2008/Nov08/11-18AmyBarzdukasQandA.mspx href="https://www.microsoft.com/presspass/features/2008/Nov08/11-18AmyBarzdukasQandA.mspx" mce_href="https://www.microsoft.com/presspass/features/2008/Nov08/11-18AmyBarzdukasQandA.mspx"&gt;https://www.microsoft.com/presspass/features/2008/Nov08/11-18AmyBarzdukasQandA.mspx&lt;/A&gt; apparently we are going to begin to offer a no-cost anti-malware solution in 2nd half of 2008.&amp;nbsp; This is going to be more targeted at the end-user market it appears from the look of it.&amp;nbsp; Check out the article for an interesting read.&lt;/P&gt;
&lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;

&lt;SCRIPT type=text/javascript&gt;
try {
var pageTracker = _gat._getTracker("UA-6340849-1");
pageTracker._trackPageview();
} catch(err) {}&lt;/SCRIPT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3156458" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/FCS/">FCS</category><category domain="http://blogs.technet.com/b/kfalde/archive/tags/Incident+Response/">Incident Response</category></item><item><title>FCS .adm settings</title><link>http://blogs.technet.com/b/kfalde/archive/2008/11/14/fcs-adm-settings.aspx</link><pubDate>Fri, 14 Nov 2008 19:50:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3153302</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3153302</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2008/11/14/fcs-adm-settings.aspx#comments</comments><description>&lt;P&gt;I’m not really advocating using this and I can’t take credit for this as it was&amp;nbsp; posted on the FCS forums by a “&lt;A target=_blank href="http://social.technet.microsoft.com/Forums/en-US/Forefrontclientgeneral/thread/8574ed97-b84d-4b0a-ae9e-d4985ed7217f#page:2" mce_href="http://social.technet.microsoft.com/Forums/en-US/Forefrontclientgeneral/thread/8574ed97-b84d-4b0a-ae9e-d4985ed7217f#page:2"&gt;lofty10&lt;/A&gt;”.&amp;nbsp; However I do know that many people are looking for something like this to manage FCS clients that do not have an FCS server infrastructure for whatever reason.&amp;nbsp; Just remember that you get no reporting whatsoever doing this but you can at least control some scan/update intervals and exclusions.&amp;nbsp; I have the .adm located on my SkyDrive at the following link.&lt;/P&gt;&lt;IFRAME style="BORDER-BOTTOM: #dde5e9 1px solid; BORDER-LEFT: #dde5e9 1px solid; PADDING-BOTTOM: 0px; BACKGROUND-COLOR: #ffffff; MARGIN: 3px; PADDING-LEFT: 0px; WIDTH: 240px; PADDING-RIGHT: 0px; HEIGHT: 26px; BORDER-TOP: #dde5e9 1px solid; BORDER-RIGHT: #dde5e9 1px solid; PADDING-TOP: 0px" marginHeight=0 src="http://cid-14eec8ab42191b55.skydrive.live.com/embedrow.aspx/FCS/forefront.adm" frameBorder=0 marginWidth=0 scrolling=no mce_src="http://cid-14eec8ab42191b55.skydrive.live.com/embedrow.aspx/FCS/forefront.adm"&gt;&lt;/IFRAME&gt;
&lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;

&lt;SCRIPT type=text/javascript&gt;
var pageTracker = _gat._getTracker("UA-6340849-1");
pageTracker._trackPageview();
&lt;/SCRIPT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3153302" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/FCS/">FCS</category><category domain="http://blogs.technet.com/b/kfalde/archive/tags/FCS+ADM/">FCS ADM</category></item><item><title>How to add extra scheduled scans or definition updates for FCS</title><link>http://blogs.technet.com/b/kfalde/archive/2008/10/23/how-to-add-extra-scheduled-scans-or-definition-updates-for-fcs.aspx</link><pubDate>Thu, 23 Oct 2008 22:33:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3141018</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3141018</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2008/10/23/how-to-add-extra-scheduled-scans-or-definition-updates-for-fcs.aspx#comments</comments><description>&lt;P&gt;The default option for scheduled scans in FCS is kind of sparse currently and it's something we get requests about so I'm posting a possible workaround to get more scheduled scans.&amp;nbsp; Below is the shot of the FCS policy setting.. you can either pick "every day" or an individual day and a certain time and which type of scan that you want to do.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_2.png" mce_href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" border=0 alt=image src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_thumb.png" width=328 height=76 mce_src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;So what happens say if I wanted to do a full scan on the 1st Sat of the month or say a Full scan on Saturday's and quick scans at 6pm every day or any other number of other scenarios you could think of?&amp;nbsp; The answer is your kind of stuck if you have your mind dead set on using the current FCS v1 policies.&lt;/P&gt;
&lt;P&gt;So how do we get around this limitation?&amp;nbsp; The answer lies in how those scans are accomplished in the first place.&amp;nbsp; If you go into Task Scheduler on your system and turn on "Show Hidden Tasks" you will see how your scheduled scans are actually occurring:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_4.png" mce_href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_4.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" border=0 alt=image src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_thumb_1.png" width=615 height=67 mce_src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;If you dig deeper and look at these tasks you will see that they are all using the following .exe with various options to perform scans&lt;/P&gt;
&lt;P&gt;c:\Program Files\Microsoft Forefront\Client Security\Client\Antimalware\MpCmdRun.exe&lt;/P&gt;
&lt;P&gt;So basically from an understanding point of view.. the FCS policy writes reg keys that tell which type of Scans and what schedules to use.. the FCS client takes those reg keys and creates scheduled tasks based on them.&lt;/P&gt;
&lt;P&gt;The following is a list of the options we are interested in:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Quick Scan&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;"C:\Program Files\Microsoft Forefront\Client Security\Client\Antimalware\MpCmdRun.exe" Scan -RestrictPrivileges -ScanType 1&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Full Scan&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;"C:\Program Files\Microsoft Forefront\Client Security\Client\Antimalware\MpCmdRun.exe" Scan -RestrictPrivileges&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Signature Update&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;"C:\Program Files\Microsoft Forefront\Client Security\Client\Antimalware\MpCmdRun.exe" SignatureUpdate&lt;/P&gt;
&lt;P&gt;So the obvious result here is that I can take these command lines and create any schedule that I want in my environment.&lt;/P&gt;
&lt;P&gt;But you ask ok how do I push that task out to all my 5k workstations/servers etc. Well I guess there are any number of methods from using a group policy with a system logon script that creates it to SMS/SCCM jobs to any other type of desktop management software etc.&amp;nbsp; The one I'll focus on here is using Group Policy Preferences.&amp;nbsp; This is a new feature of Vista/2008 however there is a Group Policy Preferences Extensions that you can install on your XP/2003 systems.&amp;nbsp; Just taking a look at WSUS it is there as an update that you can deploy easily via WSUS (which hopefully you are using if you have FCS)&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_6.png" mce_href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_6.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" border=0 alt=image src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_thumb_2.png" width=624 height=58 mce_src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_thumb_2.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Note that it is in the classification "Feature Packs" so you may need to sync that on your WSUS server.&amp;nbsp; Also as an FYI you don't need a 2008 DC/Forest etc for these.&amp;nbsp; You do need a 2008 server or a Vista system in order to edit and create policies that use these extensions but the settings are stored in the normal GPO folders inside SYSVOL for your domain.&lt;/P&gt;
&lt;P&gt;So once you have Group Policy Preferences installed in the environment and you have a system capable of editing these in your environment create a new Group Policy and start editing.&amp;nbsp; You should see a new section titled "Preferences"&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_8.png" mce_href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_8.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" border=0 alt=image src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_thumb_3.png" width=974 height=242 mce_src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_thumb_3.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;We are specifically looking for the Scheduled Tasks area.&amp;nbsp; Right click on it and select New Scheduled Task. From this point on it should be self-explanatory.&amp;nbsp; Pick which command line options you want to use from the list before and assign the schedules that you want.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_10.png" mce_href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_10.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" border=0 alt=image src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_thumb_4.png" width=332 height=368 mce_src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/HowtoaddextrascheduledscansforFCS_8A44/image_thumb_4.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;So just some thoughts here; you can't in one task schedule item set it to run multiple times per day, so for example if you wanted to run 3 definition updates at certain times of the day you would need 3 different task scheduler items.&amp;nbsp; The only reason I point out that example is that we typically seem to release about AV definitions about 3 times a day from looking at my WSUS history and they typically seem to come in around&amp;nbsp; 2am, 10am, and 6pm so if you wanted to be really .. um precise you could correlate both your WSUS with getting the definitions at the right time from us along with scheduling your clients to get the updates relatively soon after your WSUS server received them.&lt;/P&gt;
&lt;P&gt;Well hopefully this was helpful I'm sure there are other ways as well to accomplish this but figured this would be an easy one to document and implement. Good luck in your scheduling efforts :)&lt;/P&gt;
&lt;P&gt;Kurt&lt;/P&gt;
&lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;

&lt;SCRIPT type=text/javascript&gt;
var pageTracker = _gat._getTracker("UA-6340849-1");
pageTracker._trackPageview();
&lt;/SCRIPT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3141018" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/Scheduled+Scans/">Scheduled Scans</category></item><item><title>FCS Intervals</title><link>http://blogs.technet.com/b/kfalde/archive/2008/10/17/fcs-intervals.aspx</link><pubDate>Fri, 17 Oct 2008 21:22:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3138089</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3138089</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2008/10/17/fcs-intervals.aspx#comments</comments><description>&lt;P&gt;So you've seen the following options with your FCS settings and are wondering how do these work???&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Malware Scanning&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Run a Quick Scan at set interval (hours):"&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Security state assessment&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;"Scan at set interval (hours):"&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/FCSIntervals_C755/image_2.png" mce_href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/FCSIntervals_C755/image_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" border=0 alt=image src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/FCSIntervals_C755/image_thumb.png" width=479 height=441 mce_src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/FCSIntervals_C755/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Malware Definition Updates&lt;/P&gt;
&lt;P&gt;"Check for updates at set interval (hours):"&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/FCSIntervals_C755/image_4.png" mce_href="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/FCSIntervals_C755/image_4.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" border=0 alt=image src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/FCSIntervals_C755/image_thumb_1.png" width=472 height=191 mce_src="http://blogs.technet.com/blogfiles/kfalde/WindowsLiveWriter/FCSIntervals_C755/image_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;We had a customer recently ask about this as they were having systems miss their scheduled scans for too many times which eventually causes the client to return the wonderful Orange Box with regards to haven't had a scan in more then 10 days.&amp;nbsp; Initially it appeared that their scheduled scan was set to 5am or something of that like and the systems in question (mostly laptops) were turned off during this time period.&amp;nbsp; Based on this we recommended setting a quick scan interval which the customer did however they were still having problems with missing scans.&amp;nbsp; When we checked into the interval being used the customer had set it to 24 hours for quick scans...&lt;/P&gt;
&lt;P&gt;So here's the problem and how it works.&amp;nbsp; When the FCS client/service starts it basically creates a timer object which says right now is time 0 and at "interval" hours from now I will run whatever it is that needs to run Quick Scan/SSA Scan/Definition Update.&amp;nbsp; The problem here is that when systems are turned off this timer object goes away and is basically restarted when the system restarts.&amp;nbsp; So in our customers case the systems in question were being turned off at night and the 24 hour interval was never reached and the scan never performed.&amp;nbsp; Based on the users computing habits we have basically recommended that the interval be set to something around 5-6 hours so that it will hopefully run at least 1x during the work day while the system is on but not multiple times so to not cause performance issues while the user is working.&lt;/P&gt;
&lt;P&gt;Another side note of interest is that if your system hibernated between the intervals it should not reset the timer from what we have seen and the scan should still occur.&amp;nbsp; Supposedly if your system is hibernated/in sleep mode it should also try to scan when you resume however I have not been able to test that yet to confirm (if anyone has a laptop and wants to try let me know your results).&lt;/P&gt;
&lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;

&lt;SCRIPT type=text/javascript&gt;
var pageTracker = _gat._getTracker("UA-6340849-1");
pageTracker._trackPageview();
&lt;/SCRIPT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3138089" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/FCS/">FCS</category><category domain="http://blogs.technet.com/b/kfalde/archive/tags/FCS+Policy/">FCS Policy</category></item><item><title>FCS and System Center Essentials</title><link>http://blogs.technet.com/b/kfalde/archive/2008/10/08/fcs-and-system-center-essentials.aspx</link><pubDate>Thu, 09 Oct 2008 01:16:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3134326</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3134326</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2008/10/08/fcs-and-system-center-essentials.aspx#comments</comments><description>&lt;P&gt;Just found this posting on the SCE forums regarding integration of SCE and FCS:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1797488&amp;amp;SiteID=17" mce_href="http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1797488&amp;amp;SiteID=17"&gt;http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1797488&amp;amp;SiteID=17&lt;/A&gt;&amp;nbsp;is the link,&amp;nbsp; The text is below from the forum posting:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal align=left&gt;&lt;U&gt;Question 16:&lt;/U&gt;&amp;nbsp; Can I use Essentials 2007&amp;nbsp;and Forefront Client Security to manage the same computers?&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal align=left mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal align=left&gt;Yes.&amp;nbsp; Please read through these configuration steps to understand how to use both products in the same environment.&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal align=left mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal align=left&gt;&lt;SPAN&gt;&lt;FONT size=5&gt;&lt;FONT color=#365f91&gt;&lt;FONT face=Cambria&gt;&lt;STRONG&gt;Setup&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P style="MARGIN: 0in 0in 0pt 0.5in" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Base requirements:&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 1in" class=MsoListParagraph&gt;&lt;SPAN style="FONT-FAMILY: Symbol"&gt;&lt;SPAN&gt;&lt;FONT size=3&gt;·&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=3 face=Calibri&gt;Essentials 2007 must be installed on x86 hardware.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 1in" class=MsoListParagraph&gt;&lt;SPAN style="FONT-FAMILY: Symbol"&gt;&lt;SPAN&gt;&lt;FONT size=3&gt;·&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=3 face=Calibri&gt;Forefront Client Security must be installed in the 2 machine (or more) supported configuration from their guide, where the SCE server is the distribution server component.&amp;nbsp; No other FCS workload is supported on the Essentials server.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 1in" class=MsoListParagraph&gt;&lt;SPAN style="FONT-FAMILY: Symbol"&gt;&lt;SPAN&gt;&lt;FONT size=3&gt;·&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=3 face=Calibri&gt;All FCS managed machines must be SCE managed machines&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt 0.5in" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt 0.5in" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Configuration notes:&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 1in" class=MsoListParagraph&gt;&lt;SPAN style="FONT-FAMILY: Symbol"&gt;&lt;SPAN&gt;&lt;FONT size=3&gt;·&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=3 face=Calibri&gt;If the FCS distribution server is installed on to Essentials 2007, it will alter the subscription and approval settings already configured.&amp;nbsp; The administrator will need to re-run the Update Management Wizard again to apply custom settings.&amp;nbsp; It is important that the “Definitions” classification and the “Forefront” product remain subscribed and declared in the auto-approval settings.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 1in" class=MsoListParagraph&gt;&lt;SPAN style="FONT-FAMILY: Symbol"&gt;&lt;SPAN&gt;&lt;FONT size=3&gt;·&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=3 face=Calibri&gt;If Essentials is installed on to the Distribution server running FCS, the same classification and product settings need to be applied. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 1in" class=MsoListParagraph&gt;&lt;SPAN style="FONT-FAMILY: Symbol"&gt;&lt;SPAN&gt;&lt;FONT size=3&gt;·&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=3 face=Calibri&gt;The Essentials 2007 default client and server scan times fall 1-2 hours after the FCS scan, which may leave managed machines up to 22 hours stale.&amp;nbsp; We recommend using Group Policy to set the client scan time to 4:00 AM, and the Server Sync time to 1:00AM.&lt;/FONT&gt;&lt;/P&gt;
&lt;H1 style="MARGIN: 24pt 0in 0pt 0.5in"&gt;&lt;SPAN&gt;&lt;FONT size=5&gt;&lt;FONT color=#365f91&gt;&lt;FONT face=Cambria&gt;Operation&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/H1&gt;
&lt;P style="MARGIN: 0in 0in 0pt 0.5in" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;It is important to note that the purchased limits of the FCS solution must remain within the purchased limits of the Essentials solution.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;

&lt;SCRIPT type=text/javascript&gt;
var pageTracker = _gat._getTracker("UA-6340849-1");
pageTracker._trackPageview();
&lt;/SCRIPT&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3134326" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/FCS/">FCS</category><category domain="http://blogs.technet.com/b/kfalde/archive/tags/SCE/">SCE</category><category domain="http://blogs.technet.com/b/kfalde/archive/tags/System+Center+Essentials/">System Center Essentials</category></item><item><title>Automating WSUS Cleanup</title><link>http://blogs.technet.com/b/kfalde/archive/2008/09/23/automating-wsus-cleanup.aspx</link><pubDate>Tue, 23 Sep 2008 23:50:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3127439</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3127439</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2008/09/23/automating-wsus-cleanup.aspx#comments</comments><description>&lt;p&gt;By default WSUS does not clean up anything in an automated manner.&amp;#160; This is not normally too much of an issue for a system with plenty of drive space and a system that does not do definitions.&amp;#160; However with FCS thrown into the environment WSUS will sync new definitions three times a day at a size of about&lt;strike&gt; 30megs&lt;/strike&gt; 112Mb each.&amp;#160; These definitions are then declined on a normal basis as new revisions come out which means that over a month you could build up about &lt;strike&gt;1.8 gb&lt;/strike&gt; 9.4Gbworth of old definitions ( 5 business days 3 times a day 4 weeks a month 112Mb &lt;strike&gt;30mb&lt;/strike&gt; per release).&lt;/p&gt;  &lt;p&gt;There is a powershell script out that will allow you to automate this on your systems that you can find at &lt;a href="http://www.pulsarit.net/cs/blogs/claudiog/archive/2007/05/16/eseguire-wsus-3-0-cleanup-manager-via-powershell.aspx" mce_href="http://www.pulsarit.net/cs/blogs/claudiog/archive/2007/05/16/eseguire-wsus-3-0-cleanup-manager-via-powershell.aspx"&gt;http://www.pulsarit.net/cs/blogs/claudiog/archive/2007/05/16/eseguire-wsus-3-0-cleanup-manager-via-powershell.aspx&lt;/a&gt; however not everyone wants to install powershell on their systems.&amp;#160; So in lieu of the script there's an .exe now on codeplex that does the same thing. &lt;/p&gt;  &lt;p&gt;You can find it at &lt;a href="http://www.codeplex.com/WSUS/Release/ProjectReleases.aspx?ReleaseId=17612" mce_href="http://www.codeplex.com/WSUS/Release/ProjectReleases.aspx?ReleaseId=17612"&gt;http://www.codeplex.com/WSUS/Release/ProjectReleases.aspx?ReleaseId=17612&lt;/a&gt;.&amp;#160; It's a small .exe just throw it in a folder somewhere and create a task scheduler task to run this on a periodic basis.&amp;#160; This should help you keep the disk space bloat down on your WSUS servers that are serving up FCS definitions.&lt;/p&gt; &lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;&lt;SCRIPT type=text/javascript&gt;
var pageTracker = _gat._getTracker("UA-6340849-1");
pageTracker._trackPageview();
&lt;/SCRIPT&gt;  &lt;p&gt;Revised on 3/5/09 based on corrected numbers for definition sizes from &lt;a title="http://blogs.technet.com/kfalde/archive/2009/03/05/wsus-fcs-definitions.aspx" href="http://blogs.technet.com/kfalde/archive/2009/03/05/wsus-fcs-definitions.aspx"&gt;http://blogs.technet.com/kfalde/archive/2009/03/05/wsus-fcs-definitions.aspx&lt;/a&gt; So basically it’s even more data then previously and you definitely should use this script to keep your WSUS servers trimmed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3127439" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/FCS+Definitions/">FCS Definitions</category><category domain="http://blogs.technet.com/b/kfalde/archive/tags/WSUS/">WSUS</category></item><item><title>FCS SP1</title><link>http://blogs.technet.com/b/kfalde/archive/2008/08/29/fcs-sp1.aspx</link><pubDate>Fri, 29 Aug 2008 22:35:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3114091</guid><dc:creator>Kurt Falde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/kfalde/rsscomments.aspx?WeblogPostID=3114091</wfw:commentRss><comments>http://blogs.technet.com/b/kfalde/archive/2008/08/29/fcs-sp1.aspx#comments</comments><description>&lt;P&gt;So Forefront Client Security SP1 is out now.&amp;nbsp; To download it go to the Microsoft Update Catalog &lt;A href="http://catalog.update.microsoft.com/v7/site/home.aspx" mce_href="http://catalog.update.microsoft.com/v7/site/home.aspx"&gt;http://catalog.update.microsoft.com/v7/site/home.aspx&lt;/A&gt;&amp;nbsp;and search for "Forefront Client Security SP1" this will allow you to download it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the KB &lt;A href="http://support.microsoft.com/default.aspx/kb/951951"&gt;http://support.microsoft.com/default.aspx/kb/951951&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here are the release notes &lt;A href="http://technet.microsoft.com/en-us/library/cc901470.aspx"&gt;http://technet.microsoft.com/en-us/library/cc901470.aspx&lt;/A&gt;&lt;/P&gt;
&lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;

&lt;SCRIPT type=text/javascript&gt;
var pageTracker = _gat._getTracker("UA-6340849-1");
pageTracker._trackPageview();
&lt;/SCRIPT&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3114091" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/kfalde/archive/tags/FCS/">FCS</category><category domain="http://blogs.technet.com/b/kfalde/archive/tags/Forefront+Client+Security/">Forefront Client Security</category></item></channel></rss>