<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[[SecurityRatty] tag: jurisdictions]]></title>
    <link>http://securityratty.com/tag/jurisdictions</link>
    <description></description>
    <pubDate>Tue, 11 Sep 2007 04:39:00 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Midazolam as a Non-Lethal Weapon]]></title>
      <link>http://securityratty.com/article/1d80ef94fd9435a077d690395074b1df</link>
      <guid>http://securityratty.com/article/1d80ef94fd9435a077d690395074b1df</guid>
      <description><![CDATA[Did you know that, in some jurisdictions, police can inject midazolam into suspects to subdue them? &quot;There is no research guideline. There is no validated protocol for this. There's not even a clear...]]></description>
      <content:encoded><![CDATA[Did you know that, in some jurisdictions, police can <a href="http://www.wsmv.com/news/16844880/detail.html#-">inject midazolam</a> into suspects to subdue them?  

<blockquote>"There is no research guideline. There is no validated protocol for this. There's not even a clear set of indications for when this is to be used except when people are agitated. By saying that it's done by the emergency medical personnel, they basically are trying to have it both ways. That is, they’re trying to use a medical protocol that is not validated, not for a police function, arrest and detention," Miles said.

"The decision to administer Versed is based purely on a paramedic decision, not a police decision," Slovis said.

It's up to the officer to call an ambulance and determine if a person is in a condition called excited delirium.

"I don't know if I would use the word diagnosing, but they are assessing the situation and saying, 'This person is not acting rationally. This is something I've been trained to recognize, this seems like excited delirium.' I don't view delirium in the field as a police function. It is a medical emergency. We're giving the drug Versed that's routinely used in thousands of health care settings across the country in the field by trained paramedics. I view what we're doing as the best possible medical practice to a medical emergency," Slovis said.</blockquote>

The biggest side effect is amnesia, which makes it harder for any defendent to defend himself in court.<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=bKJoFJ"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=bKJoFJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=g3MHPJ"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=g3MHPJ" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Fri, 18 Jul 2008 07:28:19 +0000</pubDate>
      <category domain="http://securityratty.com/tag/decision">decision</category>
      <category domain="http://securityratty.com/tag/paramedic decision">paramedic decision</category>
      <category domain="http://securityratty.com/tag/police decision">police decision</category>
      <category domain="http://securityratty.com/tag/police">police</category>
      <category domain="http://securityratty.com/tag/police function">police function</category>
      <category domain="http://securityratty.com/tag/view">view</category>
      <category domain="http://securityratty.com/tag/view delirium">view delirium</category>
      <category domain="http://securityratty.com/tag/delirium">delirium</category>
      <category domain="http://securityratty.com/tag/medical emergency">medical emergency</category>
      <source url="http://www.schneier.com/blog/archives/2008/07/midazolam_as_a.html">Midazolam as a Non-Lethal Weapon</source>
    </item>
    <item>
      <title><![CDATA[Dan Wallach on Electronic Voting Machines]]></title>
      <link>http://securityratty.com/article/3dad39bfe648e88bc7d78abdacb0ed57</link>
      <guid>http://securityratty.com/article/3dad39bfe648e88bc7d78abdacb0ed57</guid>
      <description><![CDATA[It's been a while since I've written about electronic voting machines, but Dan Wallach has an excellent blog post about the current line of argument from the voting machine companies and why it's...]]></description>
      <content:encoded><![CDATA[It's been a while since I've written about electronic voting machines, but Dan Wallach has an <a href="http://www.freedom-to-tinker.com/?p=1304">excellent blog post</a> about the current line of argument from the voting machine companies and why it's wrong.

<blockquote>Unsurprisingly, the vendors and their trade organization are spinning the results of these studies, as best they can, in an attempt to downplay their significance.  Hopefully, legislators and election administrators are smart enough to grasp the vendors’ behavior for what it actually is and take appropriate steps to bolster our election integrity.

Until then, the bottom line is that many jurisdictions in Texas and elsewhere in the country will be using e-voting equipment this November with known security vulnerabilities, and the procedures and controls they are using will not be sufficient to either prevent or detect sophisticated attacks on their e-voting equipment. While there are procedures with the capability to detect many of these attacks (e.g., post-election auditing of voter-verified paper records), Texas has not certified such equipment for use in the state.  Texas’s DREs are simply vulnerable to and undefended against attacks.</blockquote><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=fSGUQJ"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=fSGUQJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=XVEwEJ"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=XVEwEJ" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Wed, 02 Jul 2008 02:15:27 +0000</pubDate>
      <category domain="http://securityratty.com/tag/dan wallach">dan wallach</category>
      <category domain="http://securityratty.com/tag/attacks">attacks</category>
      <category domain="http://securityratty.com/tag/excellent blog post">excellent blog post</category>
      <category domain="http://securityratty.com/tag/vendors">vendors</category>
      <category domain="http://securityratty.com/tag/vendors behavior">vendors behavior</category>
      <category domain="http://securityratty.com/tag/equipment">equipment</category>
      <category domain="http://securityratty.com/tag/procedures">procedures</category>
      <category domain="http://securityratty.com/tag/machine companies">machine companies</category>
      <category domain="http://securityratty.com/tag/texass dres">texass dres</category>
      <source url="http://www.schneier.com/blog/archives/2008/07/dan_wallach_on.html">Dan Wallach on Electronic Voting Machines</source>
    </item>
    <item>
      <title><![CDATA[Seat Belt Usage and Compensating Behavior]]></title>
      <link>http://securityratty.com/article/c290a277ba35690261126184154d7798</link>
      <guid>http://securityratty.com/article/c290a277ba35690261126184154d7798</guid>
      <description><![CDATA[There is a theory that people have an inherent risk thermostat that seeks out an optimal level of risk. When something becomes inherently safer -- a law is passed requiring motorcycle riders to wear...]]></description>
      <content:encoded><![CDATA[<p>There is a theory that people have an inherent risk thermostat that seeks out an optimal level of risk.  When something becomes inherently safer -- a law is passed requiring motorcycle riders to wear helmets, for example -- people compensate by riding more recklessly.  I first read this theory in a 1999 <a href="http://www.cato.org/pubs/pas/pa-335es.html">paper</a> by John Adams at the University of Reading, although it seems to have originated with Sam Peltzman.</p>

<p>In any case, <a href="http://www.stanford.edu/~leinav/pubs/RESTAT2003.pdf">this paper</a> presents data that contradicts that thesis:</p>

<blockquote>Abstract--This paper investigates the effects of mandatory seat belt laws on driver behavior and traffic fatalities. Using a unique panel data set on seat belt usage in all U.S. jurisdictions, we analyze how such laws, by influencing seat belt use, affect the incidence of traffic fatalities. Allowing for the endogeneity of seat belt usage, we find that such usage decreases overall traffic fatalities. The magnitude of this effect, however, is significantly smaller than the estimate used by the National Highway Traffic Safety Administration. In addition, we do not find significant support for the compensating-behavior theory, which suggests that seat belt use also has an indirect adverse effect on fatalities by encouraging careless driving. Finally, we identify factors, especially the type of enforcement used, that make seat belt laws more effective in increasing seat belt usage.</blockquote><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=n5KCk3G"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=n5KCk3G" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=1E7NlpG"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=1E7NlpG" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Fri, 11 Apr 2008 09:44:59 +0000</pubDate>
      <category domain="http://securityratty.com/tag/seat belt">seat belt</category>
      <category domain="http://securityratty.com/tag/seat belt usage">seat belt usage</category>
      <category domain="http://securityratty.com/tag/laws">laws</category>
      <category domain="http://securityratty.com/tag/seat belt laws">seat belt laws</category>
      <category domain="http://securityratty.com/tag/fatalities">fatalities</category>
      <category domain="http://securityratty.com/tag/traffic fatalities">traffic fatalities</category>
      <category domain="http://securityratty.com/tag/inherent risk thermostat">inherent risk thermostat</category>
      <category domain="http://securityratty.com/tag/risk">risk</category>
      <category domain="http://securityratty.com/tag/indirect adverse effect">indirect adverse effect</category>
      <source url="http://www.schneier.com/blog/archives/2008/04/seat_belt_usage.html">Seat Belt Usage and Compensating Behavior</source>
    </item>
    <item>
      <title><![CDATA[Waiting for "EuroSOX"]]></title>
      <link>http://securityratty.com/article/3db05b7f5da9ec7aad86ca0fb0f5fb52</link>
      <guid>http://securityratty.com/article/3db05b7f5da9ec7aad86ca0fb0f5fb52</guid>
      <description><![CDATA[Is corporate governance all about the U.S. Sarbanes-Oxley Act (SOX)? The answer is, of course, &quot;no,&quot; but you could be forgiven for wondering, given how often people say &quot;SOX&quot; when they're really...]]></description>
      <content:encoded><![CDATA[Is corporate governance all about the U.S. Sarbanes-Oxley Act (SOX)? The answer is, of course, "no," but you could be forgiven for wondering, given how often people say "SOX" when they're really talking about internal controls. I suppose it's not surprising, then, that many new pieces of audit-related legislation take on the "SOX" suffix. Japan's Financial Instruments and Exchange Law has come to be widely known as J-SOX, and now we're hearing all kinds of talk about something called "EuroSOX"  and that's a mistake.<br />
<br />
We Europeans don't like to be seen as copying the U.S. - surprise, surprise! - especially when we aren't. There are at least as many differences as similarities between Sarbanes-Oxley and the various European Union (EU) directives on related topics. The simple fact is: Europe isn't the United States. The legislative processes are longer and more complex. Many variations remain between different countries and jurisdictions within Europe. Noncompliant enterprises will be asked to explain their actions, instead of their CEOs being sent straight to jail. The only people who'll really benefit from the "EuroSOX" hype, with its current Peak of Inflated Expectations, are vendors trying to sell compliance tools that may or may not be appropriate to European needs. The Trough of Disillusionment that will follow is likely to be long and deep and come at the worst possible time  that is, when enterprises really do need to make some adjustments to their internal controls.<br />
<br />
Despite the differences I've identified here, Europe, like the U.S., <i>is </i>striving for improved corporate transparency and accountability. Specific guidance must, and will, be developed, and it will have an impact on IT  sooner in some countries, later in others. Europe can benefit from the experience of overly prescriptive U.S. legislation by ensuring that proper risk management is in place focusing on high-risk areas, enforcing segregation of duties and automating key controls. But learning, not copying, is the key here.<br />
]]></content:encoded>
      <pubDate>Thu, 03 Apr 2008 07:41:37 +0000</pubDate>
      <category domain="http://securityratty.com/tag/sox">sox</category>
      <category domain="http://securityratty.com/tag/eurosox">eurosox</category>
      <category domain="http://securityratty.com/tag/j-sox">j-sox</category>
      <category domain="http://securityratty.com/tag/internal controls">internal controls</category>
      <category domain="http://securityratty.com/tag/europe">europe</category>
      <category domain="http://securityratty.com/tag/key">key</category>
      <category domain="http://securityratty.com/tag/proper risk management">proper risk management</category>
      <category domain="http://securityratty.com/tag/key controls">key controls</category>
      <category domain="http://securityratty.com/tag/noncompliant enterprises">noncompliant enterprises</category>
      <source url="http://blog.gartner.com/blog/security.php?x=0&amp;itemid=3306">Waiting for "EuroSOX"</source>
    </item>
    <item>
      <title><![CDATA[Computer Misuse in Scotland]]></title>
      <link>http://securityratty.com/article/fd3f11fc4c2f2d30f7a4e09aff1c2414</link>
      <guid>http://securityratty.com/article/fd3f11fc4c2f2d30f7a4e09aff1c2414</guid>
      <description><![CDATA[Last June I explained that the Computer Misuse Act 1990 would not be amended until April 2008 because the amendments introduced in the Police and Justice Act 2006 were themselves to be amended by the...]]></description>
      <content:encoded><![CDATA[<p><a href="http://www.lightbluetouchpaper.org/2007/06/19/hacking-tools-are-legal-for-a-little-longer/">Last June I explained</a> that the <a href="http://www.opsi.gov.uk/acts/acts1990/Ukpga_19900018_en_1.htm">Computer Misuse Act 1990</a> would not be amended until April 2008 &#8212; because the amendments introduced in the <a href="http://www.opsi.gov.uk/acts/acts2006/ukpga_20060048_en_7#pt5-pb2-l1g35">Police and Justice Act 2006</a> were themselves to be amended by the <a href="http://www.legislation.gov.uk/acts/acts2007/ukpga_20070027_en_5#pt2-pb5-l1g61">Serious Crime Act 2007</a>, and that was not expected to come into force until then. Also, right at the end of 2007 <a href="http://www.lightbluetouchpaper.org/2007/12/31/hacking-tool-guidance-finally-appears/">the CPS published their guidance</a> on how these new offences might be prosecuted.</p>
<p>Now <a href="http://www.davros.org/">Clive Feather</a> draws my attention to a rather significant difference in the way that the law stands in Scotland.</p>
<p>Although on the face of it, both Acts do not extend to Scotland (Computer Misuse is a devolved matter) in practice the Scottish Parliament has used a Sewel motion (<a href="http://www.scotland.gov.uk/Topics/Government/Sewel/HealthBillMotion">here for the Police and Justice Act</a>, and <a href="http://www.scotland.gov.uk/Topics/Government/Sewel/SeriousCrime">here for the Serious Crime Act</a>) to keep the law in both jurisdictions the same&#8230;</p>
<p><strong>HOWEVER</strong> &#8212; as Clive points out &#8212; for some currently unknown reason the Scots brought the first version of the amendments into force on 1st October 2007 with <a href="http://www.england-legislation.hmso.gov.uk/legislation/scotland/ssi2007/ssi_20070434_en_1">this statutory instrument</a>.</p>
<p>So <a href="http://www.lyricspy.com/k/Killing_Joke/lyrics/North_of_The_Border/">North of the Border</a> the law is currently different: you can prosecuted for denial-of-service attacks and locked up for distributing hacking tools&#8230; whereas in the rest of the country, it&#8217;s 1990 offences only for a few more weeks.</p>
<p>The changes that arrive in April with the Serious Crime Act won&#8217;t make much difference to the people of Scotland, all that happens is that one of the new offences stops being computer-specific and is more broadly drawn instead. Still, it makes you wonder why the denial-of-service offence particularly &#8212; which has been widely welcomed &#8212; has been delayed for over a year; if the Scots can cope with two law changes rather than one.</p>
<p>BTW: Clive has <a href="http://www.davros.org/legal/cma.html">a marked up copy of the Computer Misuse Act</a> on his website, with pretty colours to show the current form of the Act (it&#8217;s been amended a number of times now) and how it will soon look.</p>
]]></content:encoded>
      <pubDate>Thu, 14 Feb 2008 17:25:22 +0000</pubDate>
      <category domain="http://securityratty.com/tag/act">act</category>
      <category domain="http://securityratty.com/tag/computer misuse act">computer misuse act</category>
      <category domain="http://securityratty.com/tag/computer misuse">computer misuse</category>
      <category domain="http://securityratty.com/tag/justice act">justice act</category>
      <category domain="http://securityratty.com/tag/crime act">crime act</category>
      <category domain="http://securityratty.com/tag/scotland">scotland</category>
      <category domain="http://securityratty.com/tag/law">law</category>
      <category domain="http://securityratty.com/tag/law stands">law stands</category>
      <category domain="http://securityratty.com/tag/offences stops">offences stops</category>
      <source url="http://www.lightbluetouchpaper.org/2008/02/14/computer-misuse-in-scotland/">Computer Misuse in Scotland</source>
    </item>
    <item>
      <title><![CDATA[More trustworthy election systems via SDL?]]></title>
      <link>http://securityratty.com/article/866587460674cd492103d30bf6cdbe4f</link>
      <guid>http://securityratty.com/article/866587460674cd492103d30bf6cdbe4f</guid>
      <description><![CDATA[Hi folks, Eric Bidstrup here
We interrupt our regular schedule of blog postings to offer this special post for Super Tuesday given the subject matter. Hope you enjoy
This year is a presidential...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri>Hi folks, Eric Bidstrup here.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>We interrupt our regular schedule of blog postings to offer this special post for “</FONT><A href="http://en.wikipedia.org/wiki/Super_Tuesday" mce_href="http://en.wikipedia.org/wiki/Super_Tuesday"><FONT face=Calibri size=3>Super Tuesday</FONT></A><FONT size=3><FONT face=Calibri>” given the subject matter. Hope you enjoy…<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>This year is a presidential election year in the United States. Selecting a new president is perhaps the ultimate example of the importance of having a trustworthy election process. There have been some well chronicled examples of elections with extremely close results, where the winner’s margin of victory was perhaps smaller than the election system’s margin of error. The term “</FONT><A href="http://en.wikipedia.org/wiki/Hanging_chad" mce_href="http://en.wikipedia.org/wiki/Hanging_chad"><FONT face=Calibri size=3>Hanging Chads</FONT></A><FONT face=Calibri size=3>,” from the </FONT><A href="http://en.wikipedia.org/wiki/United_States_presidential_election%2C_2000" mce_href="http://en.wikipedia.org/wiki/United_States_presidential_election%2C_2000"><FONT face=Calibri size=3>2000 U.S Presidential election</FONT></A><FONT face=Calibri size=3>, is now part of the American vocabulary, and locally here in Washington State our </FONT><A href="http://en.wikipedia.org/wiki/Washington_gubernatorial_election%2C_2004" mce_href="http://en.wikipedia.org/wiki/Washington_gubernatorial_election%2C_2004"><FONT face=Calibri size=3>last gubernatorial election in 2004</FONT></A><FONT size=3><FONT face=Calibri> required 3 recounts with the final winner being determined by a margin of only 129 votes, or 0.0045% of the popular vote. <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri>The populace demands confidence that, even in close elections, the election result accurately reflects the voters’ intent. In theory, such precision can be improved by using computers and technology. <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>However, it seems that every recent election season brings stories in the media about security concerns regarding voting machine (and their software) security. A recent </FONT><A href="http://www.nytimes.com/2008/01/06/magazine/06Vote-t.html?_r=2&amp;oref=slogin&amp;oref=slogin" mce_href="http://www.nytimes.com/2008/01/06/magazine/06Vote-t.html?_r=2&amp;oref=slogin&amp;oref=slogin"><FONT face=Calibri size=3>New York Times article</FONT></A><FONT face=Calibri size=3> provides a good overview of voting machine security concerns; and academic studies on voting systems last year in </FONT><A href="http://www.sos.ca.gov/elections/elections_vsr.htm" mce_href="http://www.sos.ca.gov/elections/elections_vsr.htm"><FONT face=Calibri size=3>California</FONT></A><FONT face=Calibri size=3>, </FONT><A href="http://voter.engr.uconn.edu/voter/Reports.html" mce_href="http://voter.engr.uconn.edu/voter/Reports.html"><FONT face=Calibri size=3>Connecticut</FONT></A><FONT face=Calibri size=3>, </FONT><A href="http://www.sait.fsu.edu/news/2007-03-05-essr.shtml" mce_href="http://www.sait.fsu.edu/news/2007-03-05-essr.shtml"><FONT face=Calibri size=3>Florida</FONT></A><FONT face=Calibri size=3>, and </FONT><A href="http://www.crypto.com/blog/ohio_voting/" mce_href="http://www.crypto.com/blog/ohio_voting/"><FONT face=Calibri size=3>Ohio</FONT></A><FONT size=3><FONT face=Calibri> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>provide some interesting insights about security concerns and vulnerabilities in voting systems from several vendors. <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri>These analyses are fascinating to us, because they offer an opportunity to see how a set of experts look at products other than ours.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Applied security researchers often analyze our products, and often share their processes and tools with us, but it’s rare to see a top-to-bottom product review released.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>In California, there was both white and black box testing done by different teams, and we’ve studied these reports to see the perceptions of development practices from other vendors and results of a different type of review process.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri>Something my colleagues and I find very interesting is that many of the vulnerabilities noted in these reports could have been prevented by following the requirements in Microsoft’s Security Development Lifecycle. The studies performed in California (prepared at UC Berkeley but created by teams of academics from across the United States) included detailed source code analysis. I’ll select out a few examples from those studies and describe them here. (Note: I’m deliberately picking a few examples from each vendor assessed in the study. I am not attempting to criticize any specific vendor, but rather am trying to illustrate examples of areas where application of the SDL could help contribute towards society’s need for trustworthy computing in a very visible and important application.) <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Let’s start with the </FONT><A href="http://www.sos.ca.gov/elections/voting_systems/ttbr/sequoia-source-public-jul26.pdf" mce_href="http://www.sos.ca.gov/elections/voting_systems/ttbr/sequoia-source-public-jul26.pdf"><FONT face=Calibri size=3>Source Code Review of the Sequoia Voting System</FONT></A><FONT size=3><FONT face=Calibri>. Two examples from the executive summary are interesting:<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.5in"><FONT face=Calibri><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%">“<I style="mso-bidi-font-style: normal">Cryptography</I></SPAN></B><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%">. …Many cryptographic functions are implemented incorrectly, based on weak algorithms with known flaws, or used in an ineffective or insecure manner. Of particular concern is the fact that virtually all cryptographic key material is permanently hardcoded in the system (and is apparently identical in all Sequoia hardware shipped to different jurisdictions)…<o:p></o:p></SPAN></I></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.5in"><FONT face=Calibri><B style="mso-bidi-font-weight: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%">Software Engineering</SPAN></I></B><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%">. …The software suffers from numerous programming errors, many of which have a high potential to introduce or exacerbate security weaknesses. These include buffer overflows, format string vulnerabilities, and type mismatch errors….</SPAN></I><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%">”<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>A deeper reading of the cryptographic concerns (page 29 in report) notes concerns (amongst others) over the use of a flawed implementation of the SHA hash algorithm and use of the Data Encryption Standard (DES) algorithm. The SDL has specific policies outlining appropriate selection of cryptographic algorithms. <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>For example, DES is prohibited except for backwards compatibility. SDL also requires that applications use operating system cryptographic functions and libraries. The cryptography team in the operating systems group is supported by world-class cryptographers who carefully scrutinize the implementation of crypto algorithms, and additionally these operating system functions are formally reviewed and certified by the </FONT><A href="http://csrc.nist.gov/groups/STM/cmvp/" mce_href="http://csrc.nist.gov/groups/STM/cmvp/"><FONT face=Calibri size=3>National Institute of Standards and Technology (NIST) Cryptographic Module Validation Program (CMVP) who validates cryptographic modules meet Federal Information Processing Standards (FIPS)</FONT></A><FONT size=3><FONT face=Calibri>. Most application developers are not cryptographers and hence are unlikely to encode crypto algorithms correctly. The SDL requires the use of standard crypto functions and outlines requirements on algorithm selection, key length and key management. <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Moving to the software engineering concerns; while several common coding and design concerns are noted (e.g. input validation) I want to select one with a bit more subtlety: running code from USB sticks (page 37 in report). From the report, it appears the code present on the USB sticks is used to program a component (HAAT) of their client (WinEDS) to prepare for a specific election.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>The valid concern noted by the study is that USB sticks used by WinEDS to configure the HAAT are implicitly trusted to have appropriate authorization to program the voting devices for an election, and that a formal authorization framework didn’t appear to be present. The implication being (as stated in the report): “<I style="mso-bidi-font-style: normal">If such a stick is used in a HAAT that has been compromised by an attacker, or an attacker can provide a maliciously modified USB stick in place of a legitimate one, the attacker could surreptitiously take complete control over the WinEDS client</I>”. Basically, this is a potential “</FONT><A href="http://en.wikipedia.org/wiki/Rootkit" mce_href="http://en.wikipedia.org/wiki/Rootkit"><FONT face=Calibri size=3>rootkit</FONT></A><FONT size=3><FONT face=Calibri>” for election systems. A threat model, a fundamental design requirement of the SDL, could help uncover such design issues and illustrate the need for mitigations. <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Now, let’s turn to the </FONT><A href="http://www.sos.ca.gov/elections/voting_systems/ttbr/Hart-source-public.pdf" mce_href="http://www.sos.ca.gov/elections/voting_systems/ttbr/Hart-source-public.pdf"><FONT face=Calibri color=#0000ff size=3>Source Code Review of the Hart InterCivic Voting System</FONT></A><FONT size=3><FONT face=Calibri>. I’ll try to keep my commentary balanced by selecting two examples here as well:<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri>From the executive summary:<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"><FONT face=Calibri><B><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-family: URWPalladioL-Bold">“Unsecured network interfaces …</SPAN></I></B><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-family: URWPalladioL-Roma"> Voters can connect to unsecured network links in a polling place to subvert eSlates, as well as to eavesdrop on cast votes and to inject new votes. Poll workers can connect to JBCs or eScans over the management interfaces and perform back-office functions such as modifying the device software. The impact of this is that a malicious voter could potentially take over one or more eSlates in a precinct and a malicious poll worker could potentially take over all the devices in a precinct. …<o:p></o:p></SPAN></I></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-family: URWPalladioL-Roma"><o:p><FONT face=Calibri>&nbsp;</FONT></o:p></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"><FONT face=Calibri><B><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-family: URWPalladioL-Bold">Failure to protect ballot secrecy </SPAN></I></B><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-family: URWPalladioL-Roma">Hart’s system fails to adequately protect ballot secrecy...”<o:p></o:p></SPAN></I></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri>The concerns about unsecured network interfaces are discussed in the context of authentication and least privilege (pages 24-25). While that is certainly a reasonable perspective, with the SDL we take a broader view and require all teams to threat model the attack surface of the software being developed. Attack surface is the enumeration of all possible entry points that an attacker could use to compromise software (code listening to network interfaces, code that accepts data from external sources, etc). The SDL requires development teams to both minimize attack surface in the software they are building and to consider attacks from each entry point on the attack surface to ensure that mitigations are present. It would appear that these examples show that the development teams didn’t adopt such a systematic approach, or failed to think about mitigations of each possible attack if they did.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Ballot secrecy is an example where security and privacy concerns intersect. Many people confuse security and privacy, and both are fundamental to trust. Privacy addresses a wide variety of concerns about many types of data (such as Personally Identifiable Data (PII), ballot data, etc.), how it’s handled (gathered, transmitted, stored, and disposed of) and what rights and expectations different stakeholders may have regarding that data. (Tina Knutson gave a great overview on these issues in a previous blog posting “</FONT><A href="http://blogs.msdn.com/sdl/archive/2007/05/10/privacy-is-not-just-about-data-security.aspx" mce_href="http://blogs.msdn.com/sdl/archive/2007/05/10/privacy-is-not-just-about-data-security.aspx"><FONT face=Calibri size=3>Privacy is not just about data security</FONT></A><FONT size=3><FONT face=Calibri>“). Security provides the mechanisms, policies, and practices to enforce privacy requirements. Given the intertwined nature of these issues, both are addressed in the SDL. <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri>The concerns about vote storage (section 6.8, page 58 of report) review some classic challenges in software security and privacy with weak random number generation. Randomization is important here since it controls how votes are stored in memory, and weak randomization enables someone to reverse engineer how individual voters voted by examining the aggregate tally of votes (which can be found on the Mobile Ballot Boxes “MBB”) in conjunction with the audit log. The MBB has mitigations in place to protect integrity (tampering) of votes, but doesn’t appear to protect against information disclosure. The SDL cryptographic policies also cover correct random number generation. The challenge of <B style="mso-bidi-font-weight: normal">fully</B> considering <B style="mso-bidi-font-weight: normal">all</B> ways in which data can be reverse engineered, contextualized (order of log entries providing information that can be linked to individuals’ choices), and correlated with other data sources is a growing challenge. In the SDL privacy policies, we call attention to these issues, but it’s still a challenge.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Next, let’s look at the </FONT><A href="http://www.sos.ca.gov/elections/voting_systems/ttbr/diebold-source-public-jul29.pdf" mce_href="http://www.sos.ca.gov/elections/voting_systems/ttbr/diebold-source-public-jul29.pdf"><FONT face=Calibri color=#0000ff size=3>Source Code Review of the Diebold Voting System</FONT></A><FONT size=3><FONT face=Calibri>. Again, I’ll pick two subjects.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"><FONT face=Calibri><B><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-family: URWPalladioL-Bold">“Vulnerability to malicious software: </SPAN></I></B><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-family: URWPalladioL-Roma">The Diebold software contains vulnerabilities that could allow an attacker to install malicious software on voting machines or on the election management system…<o:p></o:p></SPAN></I></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-family: CMSY10"><o:p><FONT face=Calibri>&nbsp;</FONT></o:p></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"><FONT face=Calibri><B><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-family: URWPalladioL-Bold">Vulnerability to malicious insiders: </SPAN></I></B><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-family: URWPalladioL-Roma">The Diebold system lacks adequate controls to ensure that county workers with access to the GEMS central election management system do not exceed their authority….”<o:p></o:p></SPAN></I></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri>Let’s look at the “Malicious Software” first: While there’s a lot of discussion of general concerns with viruses and malicious payloads, I’d like to drill down on a specific case noted in section 4.2.3 (page 29). The typical concerns around string handling in C/C++ and buffer overflows are mentioned. What is interesting is that in many places this system uses the Microsoft Foundation Classes (MFC) CString class to help mitigate such concerns. The problem noted is that this practice is not consistently followed, and in fact there is a case of one specific function making calls to both CString *and* a standard C string library, <I style="mso-bidi-font-style: normal">in the same function</I>. So here it appears the engineering team had the right idea by trying to remove calls to potentially risky C string library functions (just as required in SDL), but they just weren’t able to consistently and completely apply it.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Regarding the executive summary concern about malicious insiders, I’m inclined to attribute it to what’s described in section 4.3 on page 30: “<I style="mso-bidi-font-style: normal">No formal threat model or security plan</I>” and “<I style="mso-bidi-font-style: normal">No formal security training</I>”. Both of these are pivotal elements in the SDL. Several comments are offered to the effect that “<I style="mso-bidi-font-style: normal">security measures that are in place appeared to be ad hoc</I>”, and “<I style="mso-bidi-font-style: normal">When new developers arrive at the company, they do not receive any kind of security training</I>”. We’ve blogged here in the past about the importance of both areas, so I won’t repeat that again. (See Adam’s Threat Modeling series and Dave’s “</FONT><A href="http://blogs.msdn.com/sdl/archive/2007/05/02/security-education-v-security-training.aspx" mce_href="http://blogs.msdn.com/sdl/archive/2007/05/02/security-education-v-security-training.aspx"><FONT face=Calibri size=3>Security Education v. Security Training</FONT></A><FONT size=3><FONT face=Calibri>” posts respectively for more info).<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><B style="mso-bidi-font-weight: normal"><FONT size=3><FONT face=Calibri>Is the SDL enough to ensure trustworthy voting systems?<o:p></o:p></FONT></FONT></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri>When I offered this blog post for the review of my colleagues, it generated some very interesting discussion. Some of my colleagues were worried that I would misrepresent the SDL as a panacea for creating perfectly trustworthy voting systems. Let me be clear: this is absolutely NOT the case. While the SDL could help mitigate repeating many of the problems identified in these studies, it’s worth noting that election systems have a number of unusual and unique requirements. For example, voters cannot review their voting records as they would their banking records to ensure that no fraud has been committed – since the ability to do so would typically enable vote-selling and coercion.&nbsp; Alternate techniques are therefore required to allow voters to verify that their votes have been properly counted. Such requirements force the adoption of “extraordinary” techniques that go beyond those of secure software engineering.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Furthermore, the expectations of society on the trustworthiness of voting systems are much greater as compared to other types of software (for example: the latest XBOX game title). I’ll further explore differences in how different people think about “degrees of trustworthiness” (aka “assurance” or “robustness”) in a future posting. <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><B style="mso-bidi-font-weight: normal"><FONT size=3><FONT face=Calibri>Summary<o:p></o:p></FONT></FONT></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri>Let me wrap by saying this, building secure software is difficult. Prior to the advent of Trustworthy Computing and the Security Development Lifecycle here at Microsoft, I’d bet that many of the issues noted in these reports would have applied to earlier Microsoft products too. Some might think I’m throwing stones while living in a glass house, but that is not my intent. While Microsoft products are not vulnerability free, we continue to systematically analyze the sources of vulnerabilities in our software. We continue to modify our engineering practices and tools to better identify potential vulnerabilities and mitigate them before software is released. With increasing awareness and concerns over the trustworthiness of computers in general, the entire industry needs to improve. Given the importance of how we choose to organize ourselves as a society and elect representatives to govern us, voting systems are a great place to step up both in the context of the computing industry, and to better serve society.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri>I believe many of the issues found in these voting systems would not have entered the system if the SDL was used to design and build the voting systems.<o:p></o:p></FONT></FONT></P><img src="http://blogs.msdn.com/aggbug.aspx?PostID=7450582" width="1" height="1">]]></content:encoded>
      <pubDate>Mon, 04 Feb 2008 20:34:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/machine security concerns">machine security concerns</category>
      <category domain="http://securityratty.com/tag/security concerns">security concerns</category>
      <category domain="http://securityratty.com/tag/election systems">election systems</category>
      <category domain="http://securityratty.com/tag/election">election</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/security researchers">security researchers</category>
      <category domain="http://securityratty.com/tag/election systems margin">election systems margin</category>
      <category domain="http://securityratty.com/tag/margin">margin</category>
      <category domain="http://securityratty.com/tag/election management system">election management system</category>
      <source url="http://blogs.msdn.com/sdl/archive/2008/02/04/more-trustworthy-election-systems-via-sdl.aspx">More trustworthy election systems via SDL?</source>
    </item>
    <item>
      <title><![CDATA[Beware of regulatory reflexes and Metcalfian moles when you launch new Web 2.0 applications]]></title>
      <link>http://securityratty.com/article/96357f187164ed621c0ce3b8d18e501a</link>
      <guid>http://securityratty.com/article/96357f187164ed621c0ce3b8d18e501a</guid>
      <description><![CDATA[Stephen J. Murdoch is a graduate student at Cambridge, and a prolific writer of papers regarding Internet security. He recently wrote article and article (click HERE) on censorship and shifting...]]></description>
      <content:encoded><![CDATA[Stephen J. Murdoch is a graduate student at Cambridge, and a prolific writer of papers regarding Internet security. He recently wrote article and article (click HERE) on censorship and shifting Internet borders. The piece reflects on how various jurisdictions have attempted to control or censor content deemed &#8220;offensive&#8221;, and how it has changed as the [...]]]></content:encoded>
      <pubDate>Wed, 09 Jan 2008 19:02:38 +0000</pubDate>
      <category domain="http://securityratty.com/tag/piece reflects">piece reflects</category>
      <category domain="http://securityratty.com/tag/internet security">internet security</category>
      <category domain="http://securityratty.com/tag/article">article</category>
      <category domain="http://securityratty.com/tag/censor content">censor content</category>
      <category domain="http://securityratty.com/tag/prolific writer">prolific writer</category>
      <category domain="http://securityratty.com/tag/internet borders">internet borders</category>
      <category domain="http://securityratty.com/tag/jurisdictions">jurisdictions</category>
      <category domain="http://securityratty.com/tag/papers">papers</category>
      <category domain="http://securityratty.com/tag/student">student</category>
      <source url="http://securityviews.com/blog/2008/01/09/regulatory-reflexes/">Beware of regulatory reflexes and Metcalfian moles when you launch new Web 2.0 applications</source>
    </item>
    <item>
      <title><![CDATA[Thoughts on OWASP Day San Jose/San Francisco]]></title>
      <link>http://securityratty.com/article/578db92bae751a18bdc19c81ae901476</link>
      <guid>http://securityratty.com/article/578db92bae751a18bdc19c81ae901476</guid>
      <description><![CDATA[Last Thursday 9/6/2007 we had a combination San Jose/San Francisco OWASP day at the eBay campus. Details on the program are at: https://www.owasp.org/index.php/San Jose

The turnout was great,...]]></description>
      <content:encoded><![CDATA[Last Thursday 9/6/2007 we had a combination San Jose/San Francisco OWASP day at the eBay campus.  Details on the program are at: <a href="https://www.owasp.org/index.php/San_Jose">https://www.owasp.org/index.php/San_Jose</a><br /><br />The turnout was great, somewhere between 40 and 50 people, I didn't get an exact count.  There were two sessions for the evening:<br /><ul><li>A talk by  Tom Stracener of Cenzic on XSS</li><li>A panel discussion on Privacy with a pretty broad group of security folks and some people in adjacent areas such as Law and Privacy proper.</li></ul>The panel discussion was really the part of the night I was looking forward to.  I think the discussion rambled a bit between several different areas:<br /><ol><li>What is Privacy?</li><li>What are a companies obligations to protect Privacy? Legal, Ethical, Moral, good business sense, etc.</li><li>How do companies, especially large ones that operate in multiple states or are multinationals, deal with all of the different privacy regulations?</li><li>How do we integrate Privacy concerns into security operations, secure development, etc.</li></ol>I'll admit that #4 was the topic I was hoping would get a decent amount of coverage, but despite my efforts to prod the panel in that direction we didn't really come up with an answer.<br /><br />The best discussion of the night in my mind came on point #3.  How do large companies manage to diverse privacy regulations and policies across jurisdictions...<br /><br />All of the panelists in this area made two points:<br /><ol><li>Set a baseline policy that encompasses the vast majority of your requirements and implement it across the board.  This way you don't have to continuously manage to specific privacy regulations as you've embodied them in your general policy.</li><li>Setting the privacy policies and controls around it is an exercise in risk management.  People don't often look at writing policies as managing risk, but that is exactly what policies do.</li></ol>The good thing about the panel was that there were plenty of people with expertise in Privacy considerations.  The bad part was that there was little discussion of how we actually do software development with Privacy in mind.   Of the people writing about SDL, the Microsoft people have been most vocal in talking about how to integrate Privacy evaluations into their SDLC.  For an example, see this <a href="http://blogs.msdn.com/sdl/archive/2007/05/10/privacy-is-not-just-about-data-security.aspx">post</a>.<br /><br />If nothing else was achieved last Thursday we had great turnout for the local OWASP event, better than I've seen so far.  We also got to try out part of the space that will be used for the fall conference.  I think it went well, but I guess we'll have to get the other folks present to weigh-in with their thoughts since I'm obviously a little biased.<img src="http://feeds.feedburner.com/~r/SecurityRetentive/~4/155086188" height="1" width="1"/>]]></content:encoded>
      <pubDate>Tue, 11 Sep 2007 04:39:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/privacy">privacy</category>
      <category domain="http://securityratty.com/tag/privacy concerns">privacy concerns</category>
      <category domain="http://securityratty.com/tag/diverse privacy regulations">diverse privacy regulations</category>
      <category domain="http://securityratty.com/tag/privacy policies">privacy policies</category>
      <category domain="http://securityratty.com/tag/privacy considerations">privacy considerations</category>
      <category domain="http://securityratty.com/tag/specific privacy regulations">specific privacy regulations</category>
      <category domain="http://securityratty.com/tag/privacy proper">privacy proper</category>
      <category domain="http://securityratty.com/tag/privacy regulations">privacy regulations</category>
      <category domain="http://securityratty.com/tag/panel discussion">panel discussion</category>
      <source url="http://feeds.feedburner.com/~r/SecurityRetentive/~3/155086188/thoughts-on-owasp-day-san-josesan.html">Thoughts on OWASP Day San Jose/San Francisco</source>
    </item>
  </channel>
</rss>
