<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Security for a day &#187; Forefront</title>
	<atom:link href="http://www.chris-mohan.com/category/forefront/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chris-mohan.com</link>
	<description>Securing Windows networks or giving it a go in Australia...</description>
	<lastBuildDate>Sat, 31 Dec 2011 12:54:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The Curious case of licensing TMG’s Web Protection Services Licensing</title>
		<link>http://www.chris-mohan.com/2011/04/the-curious-case-of-licensing-tmg%e2%80%99s-web-protection-services-licensing/</link>
		<comments>http://www.chris-mohan.com/2011/04/the-curious-case-of-licensing-tmg%e2%80%99s-web-protection-services-licensing/#comments</comments>
		<pubDate>Fri, 08 Apr 2011 05:46:50 +0000</pubDate>
		<dc:creator>ChrisM</dc:creator>
				<category><![CDATA[Forefront]]></category>
		<category><![CDATA[ISA/TMG]]></category>

		<guid isPermaLink="false">http://www.chris-mohan.com/?p=838</guid>
		<description><![CDATA[Microsoft’s Threat Management Gateway (TMG) comes with a 120 day trial of two subscription-based features, wittily known  as Forefront TMG Web Protection Services (WPS). These features are URL Filtering (URLF) which is a form of web content filtering and Anti-Malware or Enhanced Malware Protection (AM or EMP) that scans inbound HTTP traffic downloads. &#160; We [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft’s Threat Management Gateway (TMG) comes with a 120 day trial of two subscription-based features, wittily known  as Forefront TMG Web Protection Services (WPS).</p>
<p>These features are URL Filtering (URLF) which is a form of <a href="http://blogs.technet.com/b/isablog/archive/2009/06/10/url-filtering-is-here.aspx">web content filtering</a> and Anti-Malware or <a href="http://technet.microsoft.com/en-us/library/dd253247.aspx">Enhanced Malware Protection</a> (AM or EMP) that scans inbound HTTP traffic downloads.</p>
<p><a href="http://www.chris-mohan.com/wp-content/uploads/2011/04/TMG-mal-insped.bmp"><img class="aligncenter size-full wp-image-840" title="TMG malware inspection license option" src="http://www.chris-mohan.com/wp-content/uploads/2011/04/TMG-mal-insped.bmp" alt="" /></a></p>
<p>&nbsp;</p>
<p>We have an Enterprise Agreement (EA) which covers having the two features  so I expected to find the key in our License portal. No, that’s too obvious. It turns out that I needed to enter our actual Enterprise Agreement key. The first seven digits of the EA needs to be popped in to the TMG server field in the picture above then Ms&#8217; trusts you to enter in the right date your EA expires. That’s it.</p>
<p>Finding this out took quite a bit of time, numerous emails and careful explanation to people what the heck was WPS in TMG. Finally this link from Ms <a href="http://blogs.technet.com/b/isablog/archive/2010/02/02/forefront-tmg-2010-web-protection-services-licensing.aspx">turned up</a></p>
<p><a href="http://blogs.technet.com/b/isablog/archive/2010/02/02/forefront-tmg-2010-web-protection-services-licensing.aspx"></a><br />
Had I found this at the start, well, it would have taken two minutes rather than two weeks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chris-mohan.com/2011/04/the-curious-case-of-licensing-tmg%e2%80%99s-web-protection-services-licensing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exception has been thrown by the target of an invocation and other Forefront humour</title>
		<link>http://www.chris-mohan.com/2010/04/exception-has-been-thrown-by-the-target-of-an-invocation-and-other-forefront-humour/</link>
		<comments>http://www.chris-mohan.com/2010/04/exception-has-been-thrown-by-the-target-of-an-invocation-and-other-forefront-humour/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 06:07:27 +0000</pubDate>
		<dc:creator>ChrisM</dc:creator>
				<category><![CDATA[Forefront]]></category>

		<guid isPermaLink="false">http://www.chris-mohan.com/?p=594</guid>
		<description><![CDATA[My wonderful Forefront Client Security management console (or FCSMC for the party people) crashed and this lovely, helpful error appeared every time I attempted to load the console. This is bad, as  can&#8217;t really look or do anything with the console. Bad  FCSMC! Or the easy to read version: FX:{f337d96e-45c1-4106-88b1-e417a7703d6b} Exception has been thrown by [...]]]></description>
			<content:encoded><![CDATA[<p>My wonderful Forefront Client Security management console (or FCSMC for the party people) crashed and this lovely, helpful error appeared every time I attempted to load the console. This is bad, as  can&#8217;t really look or do anything with the console. Bad  FCSMC!</p>
<p>Or the easy to read version:</p>
<p>FX:{f337d96e-45c1-4106-88b1-e417a7703d6b}</p>
<p>Exception has been thrown by the target of an invocation.</p>
<p>Exception type:</p>
<p>System.Reflection.TargetInvocationException</p>
<p>Exception stack trace:</p>
<p>at Microsoft.ManagementConsole.Internal.SnapInMessagePumpProxy.OnThreadException(Object sender, ThreadExceptionEventArgs e)<br />
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)<br />
at System.Windows.Forms.Application.OnThreadException(Exception t)<br />
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()<br />
at System.Windows.Forms.Control.WndProc(Message&amp; m)<br />
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)<br />
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)<br />
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)</p>
<p>Now The server and console had been working fine for the last six months without issue. Despite no obvious alerts, warnings or errors in any of the Windows event logs or SQL logs/checks the standard fixes won’t work. Somewhat annoying, but having worked with Forefront for a while now, I took my default posture with these types of problems: Blame SQL.</p>
<p>After taking my problem to The Grumpy old DBA for “his”  SQL databases breaking again, he used his mastery of many years to cut and paste the error in to Google. Dominik&#8217;s Forefront Security Blog and this <a href="http://blogs.ecreation.ch/2009/05/18/FCSConsoleSnapinException.aspx">link</a> popped up and refers to <a href="http://support.microsoft.com/kb/942581">kb942581</a>, which is a hotfix SQL script.</p>
<p>From the cause blurb on the page: “A server-side SQL stored procedure that the Forefront Client Security dashboard uses incorrectly calculates statistics when the managed computers have not reported to the collection server for more than 30 days.”</p>
<p>Running the script fixed the problem. Oh joy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chris-mohan.com/2010/04/exception-has-been-thrown-by-the-target-of-an-invocation-and-other-forefront-humour/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forefront Vs Conficker</title>
		<link>http://www.chris-mohan.com/2009/10/forefront-vs-conficker/</link>
		<comments>http://www.chris-mohan.com/2009/10/forefront-vs-conficker/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 01:34:23 +0000</pubDate>
		<dc:creator>Chris Mohan</dc:creator>
				<category><![CDATA[Forefront]]></category>
		<category><![CDATA[Labs]]></category>

		<guid isPermaLink="false">http://www.chris-mohan.com/?p=479</guid>
		<description><![CDATA[Conficker has been doing the rounds for awhile, so it was only a matter of time before it found a way on to the network. There are some fantastic write ups on how Conficker acts: Sneaky tricks, Autorun.inf , working groups , detection methods and resources. Here’s how Forefront deals with it. From a USB [...]]]></description>
			<content:encoded><![CDATA[<p>Conficker has been doing the rounds for awhile, so it was only a matter of time before it found a way on to the network.</p>
<p>There are some fantastic write ups on how <a href="http://www.ca.com/securityadvisor/virusinfo/virus.aspx?id=76852#section5">Conficker acts</a>: <a href="http://isc.sans.org/diary.html?storyid=5695">Sneaky tricks</a>, <a href="http://web17.webbpro.de/index.php?page=analysis-of-conficker">Autorun.inf</a> , <a href="http://www.confickerworkinggroup.org/wiki/">working groups</a> , <a href="http://iv.cs.uni-bonn.de/wg/cs/applications/containing-conficker/">detection methods</a> and <a href="http://isc.sans.org/diary.html?storyid=5860">resources</a>.</p>
<p>Here’s how Forefront deals with it.</p>
<p><strong>From a USB drive</strong></p>
<p>When Conficker is on a USB drive, Forefront reports it as conficker.x!inf, x being the version, and happily wipes the autorun.inf file on the USB drive. It doesn’t remove the hidden file at detection; a scan has to be run on the USB drive to remove it. Nice and straightforward.</p>
<p><strong>ON the network</strong></p>
<p>When you get Forefront detected Conficker on a machine warning, this is the time you need to be worried. Why is it a worry?</p>
<p>Well gentle reader, this means Conficker was able to infect the machine and Forefront has stepped in to clean it <strong><em>after</em></strong> the fact.</p>
<p>By after the fact, I mean Conficker has attacked the system and dropped it’s dll and AT1.job in to a local folder on the attacked system.</p>
<p>Look in the attacked machine’s System event log, two Event ID 3004, Source FCSAM followed by a Event ID 3005, Source FCSAM have been generated.</p>
<p>Event ID 3004 is Forefront detecting and suspending the file, Event ID 3005 is Forefront removing the file.</p>
<p align="center"><img class="aligncenter size-full wp-image-480" title="Event ID from System" src="http://www.chris-mohan.com/wp-content/uploads/2009/10/Event-ID-from-System.JPG" alt="Event ID from System" width="620" height="72" /></p>
<p>IMPORTANT NOTE:</p>
<p>If someone is logged on to the machine Forefront is protecting and Conficker attacks it, the Forefront icon turns in to a red cross. If the user simply ignores this, that is doesn&#8217;t click the icon and press smart clean, after ten minutes Forefront removes or quarantines the file.</p>
<p>This means for those ten minutes the AT1.Job file and the .dll are on the attacked system, despite being in a suspended state. By suspended state, the files are still visible.</p>
<p>So how did Conficker get on the machine in the first place?</p>
<p>There are only three ways that can happen:</p>
<p>1)      Conficker was on the machine before you installed Forefront and Forefront detects it on first scan</p>
<p>2)      The patch to protect against Conficker, MS08-086 KB958644, is not installed and Conficker attacks the machine</p>
<p>3)      And the worst, <strong>by far</strong>, is an administrative account has been used to attempt to install Conficker on the machine</p>
<p>Ignoring the first way and using the deployment tool of your choice to patch your machines for the second way, let’s talk about big bad number three.</p>
<p>Here are some of the scenarios for way number three can occur first:</p>
<p>1)      You have a terrible password policy and the password of a local administrator account is in the guessing file of Conficker</p>
<p>2)      Conficker successfully attacks a machine left logged in as a local Admin with no AV</p>
<p>3)      Someone with administrator rights plugs in a infected USB in to the machine without antivirus (or the antivirus is horribly out of date)</p>
<p>So having Forefront installed on all machines and up to date is step one. Step two is user education on USB sticks. Step three is an awareness campaign to all of your IT admins. Since you’re using Forefront, Active Directory should be in use as well. If you don’t have money for smarter tools just use <a href="http://www.google.com.au/search?hl=en&amp;source=hp&amp;q=software+deployment+gpo&amp;meta=&amp;aq=0&amp;oq=">software deployment GPO’s</a> to install Forefront and then use <a href="http://www.wsuswiki.com/WSUSBeforeYouDeploy">WSUS</a> to push out the updates.</p>
<p>So now that I’ve taught you to suck eggs, here are some suggestions to actually help.</p>
<p>Group policy objects (GPO) can aid find Conficker infected machines First enable audit policies (Computer Configuration – Windows Settings – Security Settings – Local Policies – Audit Policies), with the most important being Audit account login events. Set this to success and failure.</p>
<p>With this GPO enabled and applied, when the next machine reports being attacked by Conficker connect to the machines Security event log and filter by <a href="http://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=680">Event ID 680</a>. This ID deals with which account login in to the machine and from which machine.</p>
<p align="center"><img class="aligncenter size-full wp-image-481" title="Event ID from Security" src="http://www.chris-mohan.com/wp-content/uploads/2009/10/Event-ID-from-Security.JPG" alt="Event ID from Security" width="615" height="306" /></p>
<p>What we want is the 680 successes as our <strong>number one priority</strong>, as this means Conficker has an account that can connect to the system. The 680 failures still tell which machines are attacking and can be add to the clean up task.</p>
<p>There a number of log parsing tools and scripts out there to automate finding the 680 event id on multiple systems, pick your favourite and use that.</p>
<p>The two pieces of information we are interested in are Logon Account and Source Workstation within the 680 event id. These two wonderful fields tell us which account and which computer successful attacked the machine.</p>
<p>Stating the obvious, run a cleaning tool <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&amp;displaylang=en">Ms tool</a> or any one of <a href="http://isc.sans.org/diary.html?storyid=5860">these</a> or format and rebuild the computer only after taking a copy of the event logs. The more important part is the user account. In a number of companies, every machine has the same local administrator account. If this is a poor password, it is time to change it. Script out a password change for all machines, plenty of examples on how to do this are online.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chris-mohan.com/2009/10/forefront-vs-conficker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling the Forefront Icon for Citrix Users in Citrix Metaframe 4.5</title>
		<link>http://www.chris-mohan.com/2009/09/disabling-the-forefront-icon-for-citrix-users-in-citrix-metaframe-4-5/</link>
		<comments>http://www.chris-mohan.com/2009/09/disabling-the-forefront-icon-for-citrix-users-in-citrix-metaframe-4-5/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 08:52:51 +0000</pubDate>
		<dc:creator>Chris Mohan</dc:creator>
				<category><![CDATA[Forefront]]></category>

		<guid isPermaLink="false">http://www.chris-mohan.com/2009/09/disabling-the-forefront-icon-for-citrix-users-in-citrix-metaframe-4-5/</guid>
		<description><![CDATA[Forefront was deployed to a Citrix server farm; much to the joy and delight of our Citrix Guru, Michael. He got rather concerned about the happy Forefront icon sitting in the system tray of Citrix desktops. If a user decided to kick off a Forefront scan, the Citrix server would ramp up its use of [...]]]></description>
			<content:encoded><![CDATA[<p>Forefront was deployed to a Citrix server farm; much to the joy and delight of our Citrix Guru, Michael.
</p>
<p>He got rather concerned about the happy Forefront icon sitting in the system tray of Citrix desktops. If a user decided to kick off a Forefront scan, the Citrix server would ramp up its use of memory and RAM. Not a good thing on busy Citrix server apparently.
</p>
<p>I offered to lock down what user could do, but Michael quickly jumped in to the registry and cut out these keys on his farm.
</p>
<p><span style="color:#1f497d">REM Remove User GUI Run Key for Citrix<br />
</span></p>
<p><span style="color:#1f497d">REG DELETE &#8220;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run&#8221; /V &#8220;Microsoft Forefront Client Security Antimalware Service&#8221; /F<br />
</span></p>
<p><span style="color:#1f497d">REM Delete Forefront from AllUsers StartMenu<br />
</span></p>
<p><span style="color:#1f497d">rmdel c:\docume~1\alluse~1\startm~1\programs\micros~1 /q /s<br />
</span></p>
<p>He&#8217;s happy, and the Citrix users are blissfully unaware Forefront is watching their every move&#8230;. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.chris-mohan.com/2009/09/disabling-the-forefront-icon-for-citrix-users-in-citrix-metaframe-4-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forefront Update Error 0&#215;80080005</title>
		<link>http://www.chris-mohan.com/2009/07/forefront-update-error-0x80080005/</link>
		<comments>http://www.chris-mohan.com/2009/07/forefront-update-error-0x80080005/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 03:51:13 +0000</pubDate>
		<dc:creator>Chris Mohan</dc:creator>
				<category><![CDATA[Forefront]]></category>

		<guid isPermaLink="false">http://www.chris-mohan.com/?p=401</guid>
		<description><![CDATA[Had a Forefront client that displayed the annoying* orange alert icon. The system was refusing to get the current Forefront definitions update with a 0&#215;80080005. No updating for me A quick search of the web got me no-where.  Back to proper troubleshooting. Check services (Automatic Updates &#38; Background Intelligent Transfer Service) and WindowsUpdate.log details are [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><img class="aligncenter" title="Forefront warning" src="../wp-content/uploads/2009/07/Forefront-warning.jpg" alt="Forefront warning" width="86" height="86" /></p>
<p style="text-align: left;">Had a Forefront client that displayed the annoying* orange alert icon. The system was refusing to get the current Forefront definitions update with a 0&#215;80080005.</p>
<div class="mceTemp mceIEcenter" style="text-align: left;">
<dl id="attachment_402" class="wp-caption aligncenter" style="width: 375px;">
<dt class="wp-caption-dt"><img class="size-full wp-image-402" title="Forefront Error 0x8008005" src="http://www.chris-mohan.com/wp-content/uploads/2009/07/Forefront-Error-0x8008005.JPG" alt="No updating for me" width="365" height="292" /></dt>
<dd class="wp-caption-dd">No updating for me</dd>
</dl>
</div>
<p style="text-align: left;">A quick search of the web got me no-where.  Back to proper troubleshooting.</p>
<p style="text-align: left;">Check services (Automatic Updates &amp; Background Intelligent Transfer Service) and WindowsUpdate.log details are the best starting points for these types of errors, so:</p>
<p style="text-align: left;">%systemroot%\WindowsUpdate.log</p>
<h6 style="text-align: left;">2009-07-21                         07:31:23:852           13400           3490            COMAPI      FATAL: Unable to initiate asynchronous search, hr=80080005</h6>
<h6 style="text-align: left;">2009-07-21                         08:30:53:161           1924              2984            Misc                Logging initialized (build: 7.0.6000.374, tz: +0700)</h6>
<h6 style="text-align: left;">2009-07-21                         08:30:53:161           1924              2984            Misc                = Process: C:\Program Files\Microsoft Forefront\Client Security\Client\Antimalware\MpCmdRun.exe</h6>
<h6 style="text-align: left;">2009-07-21                         08:30:53:161           1924              2984            Misc                = Module: C:\WINNT\system32\wuapi.dll</h6>
<h6 style="text-align: left;">2009-07-21                         08:30:53:161           1924              2984            COMAPI      &#8212;&#8212;&#8212;&#8212;-</h6>
<h6 style="text-align: left;">2009-07-21                         08:30:53:161           1924              2984            COMAPI      &#8212; START &#8211;  COMAPI: Search [ClientId = Microsoft Forefront Client Security]</h6>
<h6 style="text-align: left;">2009-07-21                         08:30:53:161           1924              2984            COMAPI      &#8212;&#8212;&#8212;</h6>
<h6 style="text-align: left;">2009-07-21                         08:31:23:162           1924              2984            COMAPI      FATAL: Unable to connect to the service (hr=80080005)</h6>
<h6 style="text-align: left;">2009-07-21                         08:31:23:162           1924              2984            COMAPI      WARNING: Unable to establish connection to the service. (hr=80080005)</h6>
<h6 style="text-align: left;">2009-07-21                         08:31:23:162           1924              2984            COMAPI        &#8211; WARNING: Exit code = 0&#215;80080005</h6>
<h6 style="text-align: left;">2009-07-21                         08:31:23:162           1924              2984            COMAPI      &#8212;&#8212;&#8212;</h6>
<h6 style="text-align: left;">2009-07-21                         08:31:23:162           1924              2984            COMAPI      &#8211;  END  &#8211;  COMAPI: Search [ClientId = &lt;NULL&gt;]</h6>
<h6 style="text-align: left;">2009-07-21                         08:31:23:162           1924              2984            COMAPI      &#8212;&#8212;&#8212;&#8212;-</h6>
<h6 style="text-align: left;">2009-07-21                         08:31:23:162           1924              2984            COMAPI      FATAL: Unable to initiate asynchronous search, hr=80080005</h6>
<p style="text-align: left;">Not much help, either.</p>
<p style="text-align: left;">SC Query BITS</p>
<p style="text-align: left;">SC Query Wuauserv</p>
<h6 style="text-align: left; padding-left: 60px;">SERVICE_NAME: wuauserv</h6>
<h6 style="text-align: left; padding-left: 60px;">DISPLAY_NAME: Automatic Updates</h6>
<h6 style="text-align: left; padding-left: 60px;">TYPE                                                        : 20  WIN32_SHARE_PROCESS</h6>
<h6 style="text-align: left; padding-left: 60px;">STATE                                                     : 3  STOP_PENDING</h6>
<h6 style="text-align: left; padding-left: 60px;">(NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN))</h6>
<h6 style="text-align: left; padding-left: 60px;">WIN32_EXIT_CODE                      : 0 (0&#215;0)</h6>
<h6 style="text-align: left; padding-left: 60px;">SERVICE_EXIT_CODE                    : 0 (0&#215;0)</h6>
<h6 style="text-align: left; padding-left: 60px;">CHECKPOINT                                     : 0&#215;2</h6>
<h6 style="text-align: left; padding-left: 60px;">WAIT_HINT                                        : 0&#215;7530</h6>
<p style="text-align: left;">
<p style="text-align: left;">Well that would be the problem, the service has hung; Reboot time.</p>
<p style="text-align: left;">
<p style="text-align: left;">After the reboot completed, Forefront gets the latest update and the world is a happier place.</p>
<p style="text-align: left;">*It’s annoying as it means I have to look at the problem</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chris-mohan.com/2009/07/forefront-update-error-0x80080005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing the management group to which an FCS client reports</title>
		<link>http://www.chris-mohan.com/2009/07/changing-the-management-group-to-which-an-fcs-client-reports/</link>
		<comments>http://www.chris-mohan.com/2009/07/changing-the-management-group-to-which-an-fcs-client-reports/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 04:52:28 +0000</pubDate>
		<dc:creator>Chris Mohan</dc:creator>
				<category><![CDATA[Forefront]]></category>
		<category><![CDATA[Labs]]></category>

		<guid isPermaLink="false">http://www.chris-mohan.com/?p=397</guid>
		<description><![CDATA[Was doing a bit of house keeping in a lab and had to re-point the Forefront MOM agents for a whole pile of machines. I remembered that FCS Nerds&#8217; Craig Wiands had done a great post on it, so it dug it out and kicked of a simple batch script. Boom &#8211; redirected all the  [...]]]></description>
			<content:encoded><![CDATA[<p>Was doing a bit of house keeping in a lab and had to re-point the Forefront MOM agents for a whole pile of machines.</p>
<p>I remembered that FCS Nerds&#8217; Craig Wiands had done a great post on it, so it dug it out and kicked of a simple batch script. Boom &#8211; redirected all the  clients before the kettle had boiled!</p>
<p>Find Craig&#8217;s guide <a title="FCS Nerds" href="http://blogs.technet.com/fcsnerds/archive/2008/11/12/changing-the-management-group-to-which-an-fcs-client-reports.aspx" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chris-mohan.com/2009/07/changing-the-management-group-to-which-an-fcs-client-reports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forcing AV scans from the command line in Forefront</title>
		<link>http://www.chris-mohan.com/2009/05/forcing-av-scans-for-the-command-line-in-forefront/</link>
		<comments>http://www.chris-mohan.com/2009/05/forcing-av-scans-for-the-command-line-in-forefront/#comments</comments>
		<pubDate>Fri, 01 May 2009 04:40:52 +0000</pubDate>
		<dc:creator>Chris Mohan</dc:creator>
				<category><![CDATA[Forefront]]></category>

		<guid isPermaLink="false">http://www.chris-mohan.com/?p=336</guid>
		<description><![CDATA[One of the things that annoys me with Forefront is the inability to scan multiple, selected machines in the console. One way around that is to use the command line and mpcmdrun.exe. mpcmdrun.exe is the Forefront tool to get information, but can be used to start Forefront scans. &#8220;C:\Program Files\Microsoft Forefront\Client Security\Client\Antimalware\mpcmdrun.exe&#8221; -Scan -scantype 1 [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things that annoys me with Forefront is the inability to scan multiple, selected machines in the console.<br />
One way around that is to use the command line and mpcmdrun.exe.<br />
mpcmdrun.exe is the Forefront tool to get information, but can be used to start Forefront scans.</p>
<h5>&#8220;C:\Program Files\Microsoft Forefront\Client Security\Client\Antimalware\mpcmdrun.exe&#8221; -Scan -scantype 1</h5>
<p style="text-align: center;">Forces an immediate quick scan.</p>
<h5>&#8220;C:\Program Files\Microsoft Forefront\Client Security\Client\Antimalware\mpcmdrun.exe&#8221; -Scan -scantype 2</h5>
<p style="text-align: center;">Forces an immediate full scan.</p>
<p style="text-align: left;">Niffy, eh?</p>
<p>When I get in to work and have a number of Forefront generated alerts, I drop the machine names from the alerts in to a text file.<br />
Using Psexec I can then kick of scans of all these machines just to make sure they are clean</p>
<h5>Psexec @alerted.txt &#8220;C:\Program Files\Microsoft Forefront\Client Security\Client\Antimalware\mpcmdrun.exe&#8221; -Scan -scantype 1</h5>
<p>Psexec will go through the list, machine by machine, however, only once it has completed the scan on the machine.<br />
For the more serious alerts I prefer to run a full scan</p>
<h5>Psexec @majoralert.txt &#8220;C:\Program Files\Microsoft Forefront\Client Security\Client\Antimalware\mpcmdrun.exe&#8221; -Scan -scantype 2</h5>
<p style="text-align: center;">Running a full scan PSexec on 20 normal machines could take hours this way!</p>
<p style="text-align: left;"><strong>NOTE:</strong> Running a full scan on a PC won’t make any friends. It will mostly like generate help desk calls on why their PC is suddenly running slowly. You may want to send an email to the user in question before hand – or not you, BOFH, you <img src='http://www.chris-mohan.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p style="text-align: left;">On the full scans, I occasionally dump out some of the logs just to have a history file for ammo from the angry user. Forefront does produce a link with alert email, which points to a pretty SQL reporting page, but I still like the raw data.</p>
<h5>Psexec @majoralert.txt &#8220;C:\Program Files\Microsoft Forefront\Client Security\Client\Antimalware\mpcmdrun.exe&#8221; –getfiles</h5>
<p>This, annoyingly, drops the file on the remote machine, so I then have to bring the files to my local machine:</p>
<h5>Robocopy &#8220;\\machinename\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Forefront\Client Security\Client\Antimalware\Support&#8221; c:\dumps\machinename *.*</h5>
<p>Here’s a much nicer guide, with pictures, from retrieving and working with the Forefront client log files <a href="http://itprosecure.com/blogs/fcs_administration/archive/2009/04/13/forefront-client-security-using-the-log-files-from-the-forefront-client-security-agent-sp1for-analysis.aspx" target="_blank">here</a>.</p>
<p>Should you want to run this a schedule task to kick off a full scan create the task with this undocumented command:</p>
<h5>&#8220;C:\Program Files\Microsoft Forefront\Client Security\Client\Antimalware\mpcmdrun.exe&#8221; -Scan -RestrictPrivileges -scantype 2</h5>
]]></content:encoded>
			<wfw:commentRss>http://www.chris-mohan.com/2009/05/forcing-av-scans-for-the-command-line-in-forefront/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Stopping users uninstalling Forefront</title>
		<link>http://www.chris-mohan.com/2009/02/stopping-users-uninstalling-forefront/</link>
		<comments>http://www.chris-mohan.com/2009/02/stopping-users-uninstalling-forefront/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 10:42:35 +0000</pubDate>
		<dc:creator>Chris Mohan</dc:creator>
				<category><![CDATA[Forefront]]></category>

		<guid isPermaLink="false">http://www.chris-mohan.com/?p=276</guid>
		<description><![CDATA[Had a problem user, who decided AV wasn&#8217;t needed and promptly removed it from his system. I got the call, called up the customer and politely pointed out the Internet was full of Bad Stuff™ and it&#8217;s a good idea NOT to uninstall, especially as it broke IT policy doing so. The conversation went a [...]]]></description>
			<content:encoded><![CDATA[<p>Had a problem user, who decided AV wasn&#8217;t needed and promptly removed it from his system.</p>
<p>I got the call, called up the customer and politely pointed out the Internet was full of Bad Stuff™ and it&#8217;s a good idea <em><strong>NOT</strong></em> to uninstall, especially as it broke IT policy doing so.</p>
<p>The conversation went a bit &#8220;odd&#8221; .</p>
<p>He knew better than any of us and bluntly informed me he never goes to bad sites or opens unknown attachments, thus he was safe. He didn&#8217;t need it at home and he sure didn&#8217;t need it at work. Especially as &#8220;we&#8221; used it to spy on him.</p>
<p>Er. Right. Okay then.</p>
<p>Moving along quickly. As he had local admin rights on the box, I started to look at changing registry keys to blocking the further uninstalling Forefront. Yaniv Feldman came to my rescue with a new blog posting on exactly how to do this saving quite a bit of time for me.</p>
<p><a title="Tamper Protection in Forefront Client Security" href="http://blogs.microsoft.co.il/blogs/yanivf/archive/2009/01/09/temper-protection-in-forefront-client-security.aspx" target="_blank">http://blogs.microsoft.co.il/blogs/yanivf/archive/2009/01/09/temper-protection-in-forefront-client-security.aspx</a></p>
<p>Sadly, Yaniv offers no suggestions on managing paranoia.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chris-mohan.com/2009/02/stopping-users-uninstalling-forefront/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Data Protection Manager (DPM) 2007 and Forefront hiccup Fixed!</title>
		<link>http://www.chris-mohan.com/2008/09/data-protection-manager-dpm-2007-and-forefront-hiccup-fixed/</link>
		<comments>http://www.chris-mohan.com/2008/09/data-protection-manager-dpm-2007-and-forefront-hiccup-fixed/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 13:00:00 +0000</pubDate>
		<dc:creator>Chris Mohan</dc:creator>
				<category><![CDATA[Forefront]]></category>
		<category><![CDATA[Labs]]></category>

		<guid isPermaLink="false">http://www.chris-mohan.com/?p=148</guid>
		<description><![CDATA[Our previous Forefront/DPM problem has finally be resolved. After building a lab or two and talks with Ms (thanks Lee!) I discovered the new client build, 1.5.1958.0 KB956280 fixes the problem. Have deployed it to a number of previous problem sites and DPM is behaving itself nicely. As a note the previous version 1.5.1955.0 KB952265 [...]]]></description>
			<content:encoded><![CDATA[<p>Our previous <a title="DPM oops" href="http://www.chris-mohan.com/?p=116" target="_blank">Forefront/DPM problem</a> has finally be resolved.</p>
<p>After building a lab or two and talks with Ms (thanks Lee!) I discovered the new client build, 1.5.1958.0 <a title="Client update" href="http://support.microsoft.com/kb/956280" target="_blank">KB956280</a> fixes the problem. Have deployed it to a number of previous problem sites and DPM is behaving itself nicely.</p>
<p>As a note the previous version 1.5.1955.0 <a title="Older Client update" href="http://support.microsoft.com/kb/952265" target="_blank">KB952265</a> didn&#8217;t fix this issues on our production or my lab environments. Weird!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chris-mohan.com/2008/09/data-protection-manager-dpm-2007-and-forefront-hiccup-fixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FCSNerds &#8211; New blog</title>
		<link>http://www.chris-mohan.com/2008/09/fcsnerds-new-blog/</link>
		<comments>http://www.chris-mohan.com/2008/09/fcsnerds-new-blog/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 12:42:48 +0000</pubDate>
		<dc:creator>Chris Mohan</dc:creator>
				<category><![CDATA[Forefront]]></category>

		<guid isPermaLink="false">http://www.chris-mohan.com/?p=144</guid>
		<description><![CDATA[Was looking for some guidance on a every increasing SystemCentreReporting Database and discovered FCSNerds Any other real life Forefront tips and stories are always welcome. Looks like it could be good, especially if they keep it going.]]></description>
			<content:encoded><![CDATA[<p>Was looking for some guidance on a every increasing SystemCentreReporting Database and discovered <a title="FCSNerds" href="http://blogs.technet.com/fcsnerds/default.aspx" target="_blank">FCSNerds</a> Any other real life Forefront tips and stories are always welcome. Looks like it could be good, especially if they keep it going.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chris-mohan.com/2008/09/fcsnerds-new-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

