<?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>Praetorian Prefect &#187; Security Policy</title>
	<atom:link href="http://praetorianprefect.com/archives/category/security-policy/feed/" rel="self" type="application/rss+xml" />
	<link>http://praetorianprefect.com</link>
	<description>Information security, a little slower...a little deeper</description>
	<lastBuildDate>Thu, 29 Jul 2010 16:38:31 +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>Press F1 for Help, pwned.</title>
		<link>http://praetorianprefect.com/archives/2010/03/press-f1-for-help-pwned/</link>
		<comments>http://praetorianprefect.com/archives/2010/03/press-f1-for-help-pwned/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 17:39:54 +0000</pubDate>
		<dc:creator>Simon Price</dc:creator>
				<category><![CDATA[Remote Exploit]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Security Policy]]></category>
		<category><![CDATA[Stay Safe Online]]></category>
		<category><![CDATA[Vulnerability]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[help system]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[winhlp32]]></category>
		<category><![CDATA[zero-day]]></category>

		<guid isPermaLink="false">http://praetorianprefect.com/?p=3444</guid>
		<description><![CDATA[

Microsoft published security advisory 981169 yesterday in response to the zero day vulnerability reported a few days prior. The vulnerability is in the help system and can be triggered by luring an Internet Explorer user into pressing the F1 key. Windows 2000, Windows XP SP2 &#38; SP3, and Windows 2003 SP2 with Internet Explorer 7 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://praetorianprefect.com/wp-content/uploads/2010/03/Vista_Help_thumb_7AEAB696.png"><img src="http://praetorianprefect.com/wp-content/uploads/2010/03/Vista_Help_thumb_7AEAB696-150x150.png" alt="Vista_Help_thumb_7AEAB696" title="Vista_Help_thumb_7AEAB696" width="125" height="125" class="alignleft size-thumbnail wp-image-3449" /></a></p>

<p>Microsoft published security advisory <a href="http://www.microsoft.com/technet/security/advisory/981169.mspx">981169</a> yesterday in response to the zero day vulnerability reported a few days prior. The vulnerability is in the help system and can be triggered by luring an Internet Explorer user into pressing the F1 key. Windows 2000, Windows XP SP2 &amp; SP3, and Windows 2003 SP2 with Internet Explorer 7 and Internet Explorer 8 are all affected.</p>

<p>Credit to Maurycy Prodeus for publishing the <a href="http://isec.pl/vulnerabilities/isec-0027-msgbox-helpfile-ie.txt">initial details</a> of the vulnerability.</p>

<h3>Details</h3>

<p>Using the MsgBox VBScript function in an html file, an attacker can create a dialog box prompting the user to hit F1, something that is likely not difficult to do with a message such as &#8220;Internet Explorer encountered an error, press F1 to continue&#8221;. The <a href="http://msdn.microsoft.com/en-us/library/sfw6660x(VS.85).aspx">MsgBox</a> function is important as its fourth argument specifies a helpfile parameter, basically which hlp or chm file to launch when the user asks for help via F1.</p>

<p>I created a simple help file with the word &#8220;Test&#8221; using the Microsoft Help Workshop version 4.03. In addition to this, I added the macro to launch a command prompt (cmd.exe). When I double click this file in Windows XP SP3, I get my test helpfile and the command prompt launches as well:</p>

<div id="attachment_3447" class="wp-caption alignright" style="width: 310px"><a href="http://praetorianprefect.com/wp-content/uploads/2010/03/ScreenHunter_02-Mar.-02-11.51.jpg"><img src="http://praetorianprefect.com/wp-content/uploads/2010/03/ScreenHunter_02-Mar.-02-11.51-300x248.jpg" alt="Cmd.exe launched with my Help file." title="ScreenHunter_02 Mar. 02 11.51" width="300" height="248" class="size-medium wp-image-3447" /></a><p class="wp-caption-text">Cmd.exe launched with my Help file.</p></div>

<p>So we now have a .hlp file which executes code. As mentioned before, the MsgBox function has a parameter to specify a help file to launch when the user hits F1. Here is where I come back to a recurring issue of SMB traffic and allowing it outbound on firewalls. In order for the MsgBox parameter to launch the .hlp file, the attacker must point to a local file (which the user would have had to already download) or host a file on an internet accessible SMB share. If you look at the proof of concept code circulating, currently you will see the MsgBox help parameter is &#8220;&#92;x.x.x.x\attackfile.hlp&#8221;, a pointer to a help file on an SMB share. Corporate enterprises should certainly block SMB outbound, and with this vulnerability and the several previous attacks via SMB client, users should be blocking this outbound traffic as well.</p>

<h3>Vista, Windows 7, &amp; Server 2008</h3>

<p>The vulnerability does not work on Vista, Windows 7 and Windows 2008 due to Microsoft no longer including winhlp32.exe with these versions. However, there is an update which can install winhlp32 for these versions (<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=258aa5ec-e3d9-4228-8844-008e02b32a2c&amp;displaylang=en">Windows 7 Version I installed from here</a>). I found that these updates did not launch the cmd.exe as the Windows XP version did (I also tried Prodeus&#8217;s PoC help file and it displayed but did not run calc.exe). It is possible that Microsoft removed this code execution function from these versions.</p>

<h3>Workarounds</h3>

<p>The warnings are avoid hitting F1 when prompted by websites. Additionally, permissions to winhlp32.exe can be modified so that it doesn&#8217;t execute. In an Active Directory environment, a Group Policy software restriction setting can prohibit winhlp32.exe from launching. As mentioned, I recommend blocking outbound SMB traffic, as there is rarely a justification for mounting a network share on the public internet. This helps with many known vulnerabilities disclosed in the past as well.</p>

<p><strong>Related Posts:</strong></p>
<ul>
<li><a href="http://praetorianprefect.com/archives/2010/07/turning-an-atm-into-a-slot-machine/">Turning an ATM into a Slot Machine</a></li>
<li><a href="http://praetorianprefect.com/archives/2010/06/iphone-4-ordering-and-session-switching/">iPhone 4 Ordering and Session Switching</a></li>
<li><a href="http://praetorianprefect.com/archives/2010/05/thou-shalt-not-send-naked-pictures-to-anyone-ever/">Thou Shalt Not Send Naked Pictures&#8230;To Anyone Ever</a></li>
<li><a href="http://praetorianprefect.com/archives/2010/05/mays-patch-tuesday/">May&#8217;s Patch Tuesday</a></li>
<li><a href="http://praetorianprefect.com/archives/2010/03/iepeers-a-new-internet-explorer-zero-day-vulnerability/">IEPeers &#8211; A New Internet Explorer Zero Day Vulnerability</a></li>
</ul><br />
]]></content:encoded>
			<wfw:commentRss>http://praetorianprefect.com/archives/2010/03/press-f1-for-help-pwned/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fugitive Found Working at Homeland Security</title>
		<link>http://praetorianprefect.com/archives/2009/12/fugitive-found-working-at-homeland-security/</link>
		<comments>http://praetorianprefect.com/archives/2009/12/fugitive-found-working-at-homeland-security/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 04:49:49 +0000</pubDate>
		<dc:creator>Prefect</dc:creator>
				<category><![CDATA[Security Policy]]></category>

		<guid isPermaLink="false">http://praetorianprefect.com/?p=2156</guid>
		<description><![CDATA[Tahaya Buchanan, a 39 year old continued working for the Atlanta office of U.S. Citizenship and Immigration services (USCIS), part of the U.S. Department of Homeland Security, while a fugitive wanted in Essex County, New Jersey for insurance fraud. It was not until yesterday that the CIS office in Atlanta became aware of the criminal charges, despite her having been arrested on July 9th and spending the subsequent week in a Georgia prison, a warrant in the National Crime Information Center system (nationwide law enforcement notification) issued on January 8th, 2008, and her pleading guilty to one charge of insurance fraud on Monday.]]></description>
			<content:encoded><![CDATA[<p><a href="http://praetorianprefect.com/wp-content/uploads/2009/12/logo_hm.jpg"><img src="http://praetorianprefect.com/wp-content/uploads/2009/12/logo_hm.jpg" alt="logo_hm" title="logo_hm" width="112" height="104" class="alignleft size-full wp-image-2159" /></a></p>

<p>Tahaya Buchanan, a 39 year old continued working for the Atlanta office of U.S. Citizenship and Immigration services (USCIS), part of the U.S. Department of Homeland Security, while a fugitive wanted in Essex County, New Jersey for insurance fraud. It was not until yesterday that the CIS office in Atlanta became aware of the criminal charges, despite her having been arrested on July 9th and spending the subsequent week in a Georgia prison, a warrant in the National Crime Information Center system (nationwide law enforcement notification) issued on January 8th, 2008, and her pleading guilty to one charge of insurance fraud on Monday.</p>

<h3>Time line of Events</h3>

<ul>
<li>March 2005: Tahaya Buchanan of Newark, NJ falsely reports her car, a Range Rover, stolen and files an insurance claim.</li>
<li>April 2005: The Range Rover is found by police in a garage in Irvington, NJ owned by Buchanan&#8217;s aunt. The police discovered the car after responding to a fire at the garage. Her insurance company denies her claim and a criminal probe is opened.</li>
<li>Between April &#8211; November 2007: At some point during the investigation, it appears Buchanan transferred from a Homeland Security office in New Jersey to the Georgia office.</li>
<li>November 2007: Buchanan is indicted on a charge of second degree insurance fraud.</li>
<li>January 2008: On January 8th, 2008, a warrant is entered into the National Crime Information Center system, entering a nationwide notification to law enforcement agencies that Buchanan is a fugitive, based on the issuance in December of an arrest warrant by a New Jersey judge.</li>
<li>July 2009: Buchanan is arrested on July 9th of this year in DeKalb County, Georgia after a traffic officer noticed a December 2007 warrant for her arrest. She spends the following week in prison in Georgia.</li>
<li>December 2009: On December 7th, Buchanan pleads guilty to one count of insurance fraud for which she faces up to three months of probation.</li>
<li>December 2009: On December 8th the USCIS finds out Buchanan was a fugitive when asked for comment by news sources.</li>
</ul>

<div id="attachment_2161" class="wp-caption alignnone" style="width: 235px"><a href="http://praetorianprefect.com/wp-content/uploads/2009/12/buchanan-tahaya.jpg"><img src="http://praetorianprefect.com/wp-content/uploads/2009/12/buchanan-tahaya-225x300.jpg" alt="Tahaya Buchanan, Essex County Prosecutors Office" title="buchanan-tahaya" width="225" height="300" class="size-medium wp-image-2161" /></a><p class="wp-caption-text">Tahaya Buchanan, Essex County Prosecutors Office</p></div>

<h3>Dueling Quotes</h3>

<p>Of interest are the subsequent quotations from both USCIS and the Essex County Prosecutor, each engaging in a bit of finger pointing as to what the real lead of the story is:</p>

<p><i>&#8220;&#8221;It&#8217;s amazing they couldn&#8217;t find her. Good Lord,&#8221;</i> &#8211; Kevin Kerns, Office Chief of Staff at USCIS</p>

<p><i>&#8220;We found it surprising, alarming that an employee of the Department of Homeland Security is a fraudster, and we do not understand how she could have remained employed there with an open criminal warrant for her arrest remaining on the interstate system without being discovered,&#8221;</i> &#8211; Michael Morris, Essex County Assistant Prosecutor.</p>

<p>Easily the most bizarre response is from USCIS spokesperson Ana Santiago, who states that she does not have the information available as to whether the office regularly checks its employee lists against national criminal warrants, but does note that the &#8220;<i>USCIS has zero tolerance for any type of employee misconduct or criminal activity</i>&#8220;.</p>

<p>Providing an answer for Ms. Santiago, the USCIS (obviously) does not regularly check their employee lists against nationwide issued warrants. Additionally Buchanan is still employed by USCIS.</p>

<h3>Finally</h3>

<p>USCIS is hardly alone, in corporate America many firms fail at hiring an investigation firm to conduct competent background checks on newly hired employees, let alone conduct checks for subsequent criminal behavior after the date of hire. Still, this is a strange story, on one hand demonstrating that the unusual behavior of Tahaya Buchanan went completely unnoticed by supervisory staff at USCIS, on the other showing the competency of local law enforcement in identifying and arresting an out of state fugitive.  Still, the Department of Homeland Security agencies have a different level of responsibility and impact than a regular business, and this incident will likely result in changes including potentially regular background checks of existing employees,  background checks on employees doing job or regional transfers, or verifications against well known law enforcement registries (Sex offenders, National Crime Information Center, et al) at some regular time interval.</p>

<p>For the corporate information security officer, this is a good excuse to meet with Human Resources, dust off the new hire policy to see if changes are needed, and make sure the investigative agency retained to do background checks is performing adequately and as expected. Want a good way to verify? On your next two new hires, use both your existing investigations firm and an additional firm, and compare the reports to see if the quality level of your existing provider is matching up to that of its similar rate competitors. It is a low cost exercise for a process that can cause high level headaches if it fails and an inappropriate employment choice is made.</p>

<h3>References:</h3>

<ul>
<li><a href="http://www.nj.com/news/ledger/jersey/index.ssf?/base/news-15/126032730518280.xml&amp;coll=1">Fugitive is discovered at Homeland Security</a></li>
<li><a href="http://www.uscis.gov">U.S. Citizenship and Immigration Services</a></li>
</ul>

<p><strong>Related Posts:</strong></p>
<ul>
<li><a href="http://praetorianprefect.com/archives/2010/03/press-f1-for-help-pwned/">Press F1 for Help, pwned.</a></li>
<li><a href="http://praetorianprefect.com/archives/2009/11/panhandling-and-policy/">Panhandling and Policy</a></li>
</ul><br />
]]></content:encoded>
			<wfw:commentRss>http://praetorianprefect.com/archives/2009/12/fugitive-found-working-at-homeland-security/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Panhandling and Policy</title>
		<link>http://praetorianprefect.com/archives/2009/11/panhandling-and-policy/</link>
		<comments>http://praetorianprefect.com/archives/2009/11/panhandling-and-policy/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 05:30:12 +0000</pubDate>
		<dc:creator>Prefect</dc:creator>
				<category><![CDATA[Security Policy]]></category>
		<category><![CDATA[enforcement]]></category>
		<category><![CDATA[policy]]></category>

		<guid isPermaLink="false">http://praetorianprefect.com/?p=1626</guid>
		<description><![CDATA[I have been watching an aggressive panhandler, sometimes with a second person, approach and threaten people (mostly old ladies, young girls, and tourists) at the corner of Church and Chambers Streets in New York City for the past month or so. While a nuisance, and problematic for the people he threatens, this is not terribly unusual in large cities although does seem to have become more prevalent based on what are likely a number of factors (including notably a down economy and a change in police enforcement). The problem in this case though, is that an NYPD police officer directs traffic at this intersection every day, watches and ignores what’s happening. What I’m observing unfold plays itself out similarly in every information security department in every company on a daily basis.]]></description>
			<content:encoded><![CDATA[<p><a rel="lightbox" href="http://praetorianprefect.com/wp-content/uploads/2009/11/aggressive_pan_thumb.jpg"><img rel="lightbox" src="http://praetorianprefect.com/wp-content/uploads/2009/11/aggressive_pan_thumb-150x150.jpg" alt="aggressive_pan_thumb" title="aggressive_pan_thumb" width="150" height="150" class="alignleft size-thumbnail wp-image-1629" /></a>I have been watching an aggressive panhandler, sometimes with a second person, approach and threaten people (mostly old ladies, young girls, and tourists) at the corner of Church and Chambers Streets in New York City for the past month or so. While a nuisance, and problematic for the people he threatens, this is not terribly unusual in large cities although does seem to have become more prevalent based on what are likely a number of factors (including notably a down economy and a change in police enforcement). The problem in this case though, is that an NYPD police officer directs traffic at this intersection every day, watches and ignores what’s happening. What I’m observing unfold plays itself out similarly in every information security department in every company on a daily basis.</p>

<div class="wp-caption" style="float: right;margin: 5px;margin-left: 42px;margin-right: 21px;"><a title="There's the police officer, within 10 feet there is the panhandler making threats, 10/28/2009 at 4:25pm, corner of Church and Chambers Streets" rel="lightbox" href="http://praetorianprefect.com/wp-content/uploads/2009/11/aggressive_panhandler.jpg"><img src="http://praetorianprefect.com/wp-content/uploads/2009/11/aggressive_panhandler-300x180.jpg" border="1" alt="There's the police officer, within 10 feet there is the panhandler making threats, 10/28/2009 at 4:25pm, corner of Church and Chambers Streets" width="300" height="180" /> </a>
<p class="wp-caption-text"><a title="" rel="lightbox" href="http://praetorianprefect.com/wp-content/uploads/2009/11/aggressive_panhandler.jpg">There&#8217;s the police officer, within 10 feet there is the panhandler <br />making threats, 10/28/2009 at 4:25pm, corner of Church <br />and Chambers Streets</a></p></div>

<p>Actually it is worse than just one officer ignoring a crime, it is that it is different officers on a daily basis watching people be yelled at and threatened. The approach did not start that way of course, the panhandling started simply as this person asking for change for the subway and being mindful of the police officer standing there. But as the month wore on, and he saw that clearly the police had no intention of addressing what he was doing, he became more aggressive.</p>

<h3>A little History…</h3>

<p>Around 1994 New York City’s police forces adopted an Order-Maintenance Policing strategy, popularly known as Broken Windows theory. Under this approach laws that deal with social disorder are enforced using a low tolerance approach. In other words, infractions that are generally considered low level such as graffiti, panhandling, jumping subway turnstiles, public urination, and so forth are used as grounds for arrest.</p>

<div class="wp-caption" style="float: right;margin: 5px;margin-left: 42px;margin-right: 21px;"><a title="NY Crime Rate Drop" rel="lightbox" href="http://praetorianprefect.com/wp-content/uploads/2009/11/nycrime1_20071129.gif"><img src="http://praetorianprefect.com/wp-content/uploads/2009/11/nycrime1_20071129-300x218.gif" border="1" alt="NY Crime Rate Drop" width="300" height="218" /> </a>
<p class="wp-caption-text"><a title=NY Crime Rate Drop" rel="lightbox" href="http://praetorianprefect.com/wp-content/uploads/2009/11/nycrime1_20071129.gif">NY Crime Rate Drop</a></p></div>

<p>The theory had one of its most well known implementations in New York under William Bratton the then head of the NYC Transit Police. The policy was adopted more widely under Mayor Rudy Giuliani and police commissioner Howard Safir, and in many objective measurements the crime rates dropped for both nuisance and violent crimes. Most would also agree that if multiple officers with the duty to enforce the laws of the city directly observe something happen but take no punitive action that the law while on the books is not an enforced law. When the law is obviously not enforced, people are led to the conclusion that it can be broken without consequence, and thus because of uneven or non-existent enforcement the law becomes a paper tiger, largely not worth the paper it is written on.</p>

<h3>Whatever you think of it…</h3>

<p>Not everyone subscribes to this theory, which as a zero-tolerance style policy does likely over reach.  In general though, most will concede that even if panhandling itself should not be a crime, aggressive panhandling does become problematic under its most extreme variations including: approaching individuals as a group, using veiled threats or insults, following individuals, blocking or touching a person, or approaching a person using an ATM. If you can concede that, and it is against the law, then law officers not addressing the situation is tacitly accepting the behavior.</p>

<p>I keep using officers in plural because one police officer ignoring something could be taken as an outlier, someone who just is not doing his or her job but not characteristic of what other officers would do. In this case I have waited a month to observe multiple officers, to see what the reaction would be.</p>

<h3>What does this have to do with Information Security?</h3>

<h4>Security Policies</h4>

<p>People who write information security policies are loath to have their effort be completed in vain. Most texts and experienced security professionals will tell you that anything that is overly technically specific, patently unenforceable, or subject to major variation in interpretation should be taken out of a security policy.  The best practice generally put forth is to carefully divide the security requirements of the organization into the direction and context (policy level) and put the specifics for achieving those policies into standards, procedures, and guidelines which can be updated often and are more fungible.</p>

<p>Security folks write what are sometimes complex exception mechanisms and risk acceptance methods to deal with the rare occasion that a security policy must be overridden. Good security policies are usually the result of much iteration, regular update, and reviewed in consult with business, technical, and legal leadership within the organization.</p>

<p>Finally a good security policy contains a corrective action clause. That is the policy details the consequences of non-compliance. This is the part of the policy that usually includes a clause that reads “actions up to and including termination”.</p>

<p>In this context, security policies are like the law. They describe “the what” on what’s prohibited but exclude “the how”, the enforcement itself.</p>

<h4>Policy Enforcement</h4>

<p>Most security professionals can also quote what should be on the policy books of your Human Resources department, that there can be no difference between individuals in the way policies are enforced or the risk of a downstream law suit that is more difficultly defensible is incurred. In the imperfect reality of the enterprise, corporate policies are enforced differently across different people all the time, but the goal and stated practice generally remains the same. Policy is to be enforced uniformly in all cases.
For this reason, a security policy that does not have a reasonable enforcement mechanism (technology products and people processes to detect violation) will generally be difficult to enforce. Further a policy where detection mechanisms do exist but corrective actions never followed communicates clearly to corporate citizens the lack of importance of the policy.</p>

<p>Unenforced policies are difficult to resurrect to being enforceable, and further weaken the overall set of security policies. As soon as the reader comes across a policy instance that they know to either be unenforceable or that clearly is not enforced because it is observed by security personnel but nothing comes of it, that reader comes to question the entire set of security policies in place. It is similar to what happens when reading a newspaper article, if you come across one glaring inaccuracy that you know to be untrue based on your personal experience it draws all of the facts of the article in question.</p>

<h3>So what have we learned?</h3>

<p>If you know you can’t enforce it, or know your company will not enforce it, fight like hell to keep it out of your security policies. And if you want to threaten people into giving you money, south of Canal Street is the place to do it.</p>

<p><strong>Related Posts:</strong></p>
<ul>
<li><a href="http://praetorianprefect.com/archives/2010/03/press-f1-for-help-pwned/">Press F1 for Help, pwned.</a></li>
<li><a href="http://praetorianprefect.com/archives/2009/12/fugitive-found-working-at-homeland-security/">Fugitive Found Working at Homeland Security</a></li>
</ul><br />
]]></content:encoded>
			<wfw:commentRss>http://praetorianprefect.com/archives/2009/11/panhandling-and-policy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
