<?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>MCB Systems &#187; adobe</title>
	<atom:link href="http://www.mcbsys.com/techblog/tag/adobe/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mcbsys.com/techblog</link>
	<description>Custom Software and I.T. Services</description>
	<lastBuildDate>Mon, 06 Feb 2012 18:58:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Use Group Policy to Enhance Adobe Security</title>
		<link>http://www.mcbsys.com/techblog/2010/05/use-group-policy-to-enhance-adobe-security/</link>
		<comments>http://www.mcbsys.com/techblog/2010/05/use-group-policy-to-enhance-adobe-security/#comments</comments>
		<pubDate>Sat, 01 May 2010 14:05:00 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[acrobat]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[group policy]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jsprefs]]></category>
		<category><![CDATA[launch]]></category>
		<category><![CDATA[originals]]></category>
		<category><![CDATA[reader]]></category>

		<guid isPermaLink="false">/mark/post/Use-Group-Policy-to-Enhance-Adobe-Security.aspx</guid>
		<description><![CDATA[
Adobe Reader and Adobe Acrobat have become two of the biggest security holes on Windows computers. It&#8217;s important to keep them patched. There are also a couple of registry changes that can help by disabling JavaScript and disabling the ability to launch external programs. After barely dodging this /Launch attack a few days ago, I [...]]]></description>
			<content:encoded><![CDATA[<p>
Adobe Reader and Adobe Acrobat have become two of the biggest security holes on Windows computers. It&rsquo;s important to keep them patched. There are also a couple of registry changes that can help by disabling JavaScript and disabling the ability to launch external programs. After barely dodging this <a href="http://news.softpedia.com/news/PDF-Launch-Trick-Spotted-in-New-Attack-140775.shtml" target="_blank">/Launch attack</a> a few days ago, I decided to use Windows Server 2003 Group Policy to make the registry changes.
</p>
<p>
<span id="more-8"></span>
</p>
<h1>Create the Logon Scripts</h1>
<p>
The registry keys that affect these security settings are under HKEY_CURRENT_USER, which means the simplest way to change them is when the user logs on. This also has the advantage of resetting the values at each logon.
</p>
<p>
The JavaScript script is based on <a href="http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=17210" target="_blank">this post</a> in the independent Acrobat Users forum; see <a href="http://learn.adobe.com/wiki/download/attachments/64389123/Acrobat_Reader_JavaScript_Mgmt.pdf?version=1" target="_blank">this Adobe document</a> for more information. You do lose the ability to fill in PDF forms if JavaScript is disabled, but Reader prompts you to re-enable for a form (not always desirable in my opinion). The /Launch script is based on <a href="http://blogs.adobe.com/adobereader/2010/04/didier_stevens_launch_function.html" target="_blank">this Adobe blog post</a>. Please read the scripts and make sure they do what you want to do; use them at your own risk.
</p>
<p>
These scripts are designed to create or change the registry keys for both Adobe Reader and Adobe Acrobat, versions 6.0 through 9.0. Yes they create more registry keys than you need, but that doesn&rsquo;t hurt anything. Don&rsquo;t use spaces the the file names or the Group Policy Object shown below won&rsquo;t work. You can copy and paste the files below, or download them as a zip file:&#160; <a href="http://www.mcbsys.com/techblog/wp-content/uploads/2010/05/Adobe_Security_Scripts.zip">Adobe_Security_Scripts.zip (646.00 bytes)</a>. (If you download, make sure you can open them without prompting, as they will be flagged as coming from the Internet.)
</p>
<h2>Disable_Adobe_Javascript.reg</h2>
<p>
Windows Registry Editor Version 5.00
</p>
<p>
[HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\9.0\JSPrefs]   <br />&#8220;bConsoleOpen&#8221;=dword:00000000    <br />&#8220;bEnableJS&#8221;=dword:00000000    <br />&#8220;bEnableMenuItems&#8221;=dword:00000000
</p>
<p>
[HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\8.0\JSPrefs]   <br />&#8220;bConsoleOpen&#8221;=dword:00000000    <br />&#8220;bEnableJS&#8221;=dword:00000000    <br />&#8220;bEnableMenuItems&#8221;=dword:00000000
</p>
<p>
[HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\7.0\JSPrefs]   <br />&#8220;bConsoleOpen&#8221;=dword:00000000    <br />&#8220;bEnableJS&#8221;=dword:00000000    <br />&#8220;bEnableMenuItems&#8221;=dword:00000000
</p>
<p>
[HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\6.0\JSPrefs]   <br />&#8220;bConsoleOpen&#8221;=dword:00000000    <br />&#8220;bEnableJS&#8221;=dword:00000000    <br />&#8220;bEnableMenuItems&#8221;=dword:00000000
</p>
<p>
[HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\9.0\JSPrefs]   <br />&#8220;bConsoleOpen&#8221;=dword:00000000    <br />&#8220;bEnableJS&#8221;=dword:00000000    <br />&#8220;bEnableMenuItems&#8221;=dword:00000000
</p>
<p>
[HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\8.0\JSPrefs]   <br />&#8220;bConsoleOpen&#8221;=dword:00000000    <br />&#8220;bEnableJS&#8221;=dword:00000000    <br />&#8220;bEnableMenuItems&#8221;=dword:00000000
</p>
<p>
[HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\7.0\JSPrefs]   <br />&#8220;bConsoleOpen&#8221;=dword:00000000    <br />&#8220;bEnableJS&#8221;=dword:00000000    <br />&#8220;bEnableMenuItems&#8221;=dword:00000000
</p>
<p>
[HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\6.0\JSPrefs]   <br />&#8220;bConsoleOpen&#8221;=dword:00000000    <br />&#8220;bEnableJS&#8221;=dword:00000000    <br />&#8220;bEnableMenuItems&#8221;=dword:00000000
</p>
<h2>Disable_Adobe_Launch.reg</h2>
<p>
Windows Registry Editor Version 5.00
</p>
<p>
[HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\9.0\Originals]   <br />&#8220;bAllowOpenFile&#8221;=dword:00000000    <br />&#8220;bSecureOpenFile&#8221;=dword:00000001
</p>
<p>
[HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\8.0\Originals]   <br />&#8220;bAllowOpenFile&#8221;=dword:00000000    <br />&#8220;bSecureOpenFile&#8221;=dword:00000001
</p>
<p>
[HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\7.0\Originals]   <br />&#8220;bAllowOpenFile&#8221;=dword:00000000    <br />&#8220;bSecureOpenFile&#8221;=dword:00000001
</p>
<p>
[HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\6.0\Originals]   <br />&#8220;bAllowOpenFile&#8221;=dword:00000000    <br />&#8220;bSecureOpenFile&#8221;=dword:00000001
</p>
<p>
[HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\9.0\Originals]   <br />&#8220;bAllowOpenFile&#8221;=dword:00000000    <br />&#8220;bSecureOpenFile&#8221;=dword:00000001
</p>
<p>
[HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\8.0\Originals]   <br />&#8220;bAllowOpenFile&#8221;=dword:00000000    <br />&#8220;bSecureOpenFile&#8221;=dword:00000001
</p>
<p>
[HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\7.0\Originals]   <br />&#8220;bAllowOpenFile&#8221;=dword:00000000    <br />&#8220;bSecureOpenFile&#8221;=dword:00000001
</p>
<p>
[HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\6.0\Originals]   <br />&#8220;bAllowOpenFile&#8221;=dword:00000000    <br />&#8220;bSecureOpenFile&#8221;=dword:00000001
</p>
<h1>Create the Group Policy Object</h1>
<ol>
<li>Copy the files above to your domain controller&rsquo;s <strong>\\SysVol\domainname.local\scripts</strong> folder. </li>
<li>Create a new Group Policy Object called <strong>Adobe Security</strong> and link it to the root of the domain, or to an OU that affects all computers (assuming Adobe Reader runs on servers and clients). </li>
<li>Edit the GPO. Under <strong>User Configuration > Windows Settings > Scripts</strong>, create two Logon &ldquo;scripts&rdquo;. Note the use of the <strong>/s</strong> (&ldquo;silent&rdquo;) parameter, which makes the change without asking the user to confirm it.
<p>	<strong>Script Name:</strong>&#160; regedit.exe       <br />	<strong>Script Parameters:</strong>&#160; /s \\domainname.local\SysVol\domainname.local\scripts\Disable_Javascript.reg       </p>
<p>	<strong>Script Name:</strong>&#160; regedit.exe       <br />	<strong>Script Parameters:</strong>&#160; /s \\domainname.local\SysVol\domainname.local\scripts\Disable_Launch.reg       </p>
<p>	<img style="border: 0px none; display: inline" src="http://www.mcbsys.com/techblog/wp-content/uploads/WindowsLiveWriter/UseGroupPolicytoEnhanceAdobeSecurity_BC2B/Adobe%20Security%20GPO_3.png" border="0" alt="Adobe Security GPO" title="Adobe Security GPO" width="699" height="323" /> </li>
<li>Test the GPO by logging on to a client machine. Open <strong>regedit</strong> and check the <strong>HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader</strong> and <strong>HKEY_CURRENT_USER\Software\Adobe\Acrobat Acrobat</strong> keys. Open Adobe Reader, go to Edit > Preferences, and check the JavaScript and TrustManager options. </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2010/05/use-group-policy-to-enhance-adobe-security/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Patching Adobe Reader</title>
		<link>http://www.mcbsys.com/techblog/2009/08/patching-adobe-reader/</link>
		<comments>http://www.mcbsys.com/techblog/2009/08/patching-adobe-reader/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 10:39:10 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[9.1.1]]></category>
		<category><![CDATA[9.1.2]]></category>
		<category><![CDATA[9.1.3]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[reader]]></category>

		<guid isPermaLink="false">/mark/post/Patching-Adobe-Reader.aspx</guid>
		<description><![CDATA[I never used to worry too much about keeping Adobe Reader up to date. Then a couple months ago, I got my first-ever computer virus infection, delivered courtesy of a PDF vulnerability. I decided I&#8217;d better get my computers and those of my clients updated with the latest Adobe patches.
The Easy Part:&#160; Patching to 9.1.1
I [...]]]></description>
			<content:encoded><![CDATA[<p>I never used to worry too much about keeping Adobe Reader up to date. Then a couple months ago, I got my first-ever computer virus infection, delivered courtesy of a PDF vulnerability. I decided I&#8217;d better get my computers and those of my clients updated with the latest Adobe patches.</p>
<h1>The Easy Part:&#160; Patching to 9.1.1</h1>
<p>I applied for a license to redistribute Adobe Reader, and (woo-hoo!) my application was accepted. I feel so special! The good thing about this is that you get links and instructions about how to create a Reader installer that excludes Adobe AIR and Acrobat.com using the Adobe Customization Wizard.</p>
<p><span id="more-37"></span></p>
<p>Following the example in <a href="http://blogs.adobe.com/pdfitmatters/2009/03/directions_for_including_the_9.html" target="_blank">this article</a>, I was able to include the patch to 9.1.1 by simply adding this line to the setup.ini:</p>
<p><code>PATCH=AdbeRdrUpd911_all_incr.msp</code></p>
<p>Once that was done, I had a setup package that I could run on any computer to upgrade it to Adobe Reader 9.1.1. Earlier versions were uninstalled automatically as necessary.</p>
<h1>The Hard Part:&#160; Getting to 9.1.3</h1>
<p>That blissful state of affairs only lasted a couple months. Now that yet another critical vulnerability is being exploited, Adobe got back on my radar last week with the release of 9.1.3. (I had missed 9.1.2, which I later learned was a quarterly patch as opposed to a security patch.)</p>
<p>So, time to update 9.1.1 to 9.1.3. How hard could it be?</p>
<p>Plenty hard.</p>
<p>The main problem is that, as explained in this <a href="http://kb2.adobe.com/cps/498/cpsid_49880.html" target="_blank">TechNote</a>, Adobe does not allow you to apply a quarterly patch to Reader if the most recent patch was a security patch. That&#8217;s right:&#160; if you keep your software up to date with security patches, you have to do a reinstall to get to the next quarterly patch, which is in turn the prerequisite for the next security patch.</p>
<p>The secondary problem is that quarterly patches apparently cannot be applied with the PATCH= line; they must be applied using MS installer&#160; patching techniques. That at least seems to be the gist of <a href="http://forums.adobe.com/message/2032567#2032567" target="_blank">this thread</a>. I&#8217;m indebted to TTEConline, who in post #37 of that thread sent me in the right direction for the MSI install.</p>
<p>These rather astonishing limitations led me to what feels like a very cobbled-together approach to patching Reader. But here is what worked this time:</p>
<ol>
<li>Download standard Reader 9.1 (without AIR) for Windows XP SP3 and Vista from the secret link Adobe sends you.
<li>Extract with this command:<br />
<code>AdbeRdr910_en_US.exe -nos_ne -nos_o"CustomAcroRead911" </code>
<li>Downloaded Reader 9.1.2 quarterly update (includes 9.1.1 security patch) and the new 9.1.3 security patch.
<li>Run the following command to patch your Administrative Install Point (AIP) to 9.1.2:<br />
<code>msiexec /a AcroRead.msi /p AdbeRdrUpd912_all_incr.msp</code><br />
When prompted, direct the output to the &#8220;PatchedTo912&#8243; subdirectory, which it will create for you. Note that this <em>modifies</em> AcroRead.msi to be version 9.1.2.&#160; Supposedly data1.cab is no longer needed, but I got install errors without it.&#160; However, it&#8217;s okay to delete the AdbeRdrUpd912_all_incr.msp file now.
<li>Customize AcroRead.msi using Adobe Customization Wizard. I chose to remove the desktop icon, remove all Acrobot.com access, create a silent install (prompt user if reboot necessary), and some other stuff. Save the project, which creates the transform file AcroRead.mst and updates setup.ini to call the transform.
<li>Add the following line to the setup.ini [Product] section:<br />
<code>PATCH=AdbeRdrUpd913_all_incr.msp</code></li>
</ol>
<h2>Two-Step Deployment</h2>
<p>Congratulations, you now have a 210MB package that will install Adobe Reader 9.1.3. But wait! That only works if the previous version was not a security patch. So it works if no Adobe Reader is present, or if 9.0.0 is present, but <em>not</em> if 9.1.1 is present.</p>
<p>Here&#8217;s what I had to do to update my 9.1.1 installations:</p>
<ol>
<li>In the [Product] section of setup.ini, based on the aforementioned <a href="http://kb2.adobe.com/cps/498/cpsid_49880.html" target="_blank">TechNote</a>, change the CmdLine to read</code><br />
<code>CmdLine=TRANSFORMS="AcroRead.mst" REINSTALL=ALL REINSTALLMODE=vomus /q</code>
<li>Apply the patch to all 9.1.1 machines. With the forced REINSTALL, it is now able to go to 9.1.2. However, the 9.1.3 patch is <em>not</em> applied.
<li>Go back and directly apply the 9.1.3 patch as a stand-alone patch to all machines. I discovered that a <a href="http://blogs.mcbsys.com/mark/post/Deploy-Microsoft-Zero-Day-Patch-with-a-Zenith-Job.aspx">Zenith job</a> can deploy the .msp file directly using a shell execute (don't forget the /quiet parameter), but if you need to test or run from a command line, here it is:<br />
<code>msiexec /p AdbeRdrUpd913_all_incr.msp /quiet</code></li>
</ol>
<p>Note that if, after the update to 9.1.2, you try re-running the main install without the REINSTALL parameters, it will either fail or trigger a Repair installation, but it will not apply 9.1.3. Hence the need to patch directly.</p>
<h1>Adobe:&#160; We Need <em>One</em> Installer</h1>
<p>It's possible that I missed something here and that there is a much easier way to do this. But judging from the Adobe forum posts, lots of people are struggling with Adobe administrative installations. It shouldn't be this hard!</p>
<p>By the way, Adobe Updater is not an option in a security-conscious environment where users do not have administrative privileges.</p>
<p>It's okay if one patch requires the previous patch to be installed, but it's not okay if one patch (9.1.2) requires that the previous patch (9.1.1) <em>not</em> be installed to work normally. I mean, if a security patch is there, why not just automatically do whatever you need to do to apply the next patch, whether quarterly or security? </p>
<p>And please, allow applying multiple quarterly and security patches in one step.</p>
<p>In short:&#160; give us one installer that will always bring Adobe Reader to the latest version, no matter what is or isn't installed on a machine. And don't make it an all-day task to create the installer.</p>
<p>C'mon Adobe, add some intelligence to your patch mechanisms!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2009/08/patching-adobe-reader/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

