<?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: fundamental]]></title>
    <link>http://securityratty.com/tag/fundamental</link>
    <description></description>
    <pubDate>Thu, 08 May 2008 09:26:03 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Security Function as a Business Enabler]]></title>
      <link>http://securityratty.com/article/3180c5cc4bdef8e6f23843201b85d663</link>
      <guid>http://securityratty.com/article/3180c5cc4bdef8e6f23843201b85d663</guid>
      <description><![CDATA[In one of my earlier blog posts I branded Information Security function (as part of IT) as an overhead of an overhead. It is utmost important for security manager to run the security function in a way...]]></description>
      <content:encoded><![CDATA[<P>In one of my earlier blog posts I branded Information Security function (as part of IT)&nbsp;as an overhead of an overhead. It is utmost important for security manager to run the security function in a way that it enables the business. </P>
<P>The various components (sub functions)&nbsp;of security organization should align with the business objectives of the IT and the whole organization. There needs to be a cohesive security strategy in order to align the various comoponents. One good way of understanding the business objective is why is the business&nbsp;parting with&nbsp;money for deploying a specific security component. Why is business giving me money for Compliance? Why is business giving me money to implement IDP? Constitutive questions such as these will help you to understand the fundamental concerns for the business and based on these we can come up with a strategy suitably aligned with the business.</P>
<P>One good example is the area of compliance.&nbsp;Attempting to make&nbsp;each every units of your business complaint with certain standards/legal regulations and so on would be a tall order. First define the scope, draw a circle around the units that need to be compliant, then come up with a strategy to make it compliant by formulating your objective - derived from the business objective of why the business&nbsp;gave you&nbsp;money.</P>
<P>Any security implementation effort should have&nbsp;a well defined focus (scope), business objective and strategy to bind the various components cohesively that aligns with the ultimate business objective. By this business will view security organization with dignity else security organization will end up being a spoke in the wheel of business.</P>
<P>In the past, I was involved in discussion about the ROI of information security and security is insurance and so on. After eating the forbidden&nbsp;apple from the tree of paradise, I realize security has neither ROI nor akin to insurance. Information security is way of doing business with due care. Security is way of enhancing the trust of a business among customers and thus enhancing the identity (or brand image of the company). Few years down the line people won't even question why you do security, it&nbsp;will become a part&nbsp;of&nbsp; your background conversation. Nobody questions why we buy hybrid&nbsp;vehicles&nbsp;anymore right?</P>
<P>If&nbsp;components of security function&nbsp;is not cohesively aligned with&nbsp;business objective&nbsp;it is spoke in the wheel of business else it is a brand enhancer of business.</P>
<P>&nbsp;</P>
<P><IMG style="WIDTH: 370px; HEIGHT: 717px" height=975 src="http://ravichar.blogharbor.com/Strategy.jpg" width=545></P>
<P>&nbsp;</P>]]></content:encoded>
      <pubDate>Fri, 27 Jun 2008 16:50:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/view security organization">view security organization</category>
      <category domain="http://securityratty.com/tag/security organization">security organization</category>
      <category domain="http://securityratty.com/tag/business">business</category>
      <category domain="http://securityratty.com/tag/information security function">information security function</category>
      <category domain="http://securityratty.com/tag/organization">organization</category>
      <category domain="http://securityratty.com/tag/information security">information security</category>
      <category domain="http://securityratty.com/tag/cohesive security strategy">cohesive security strategy</category>
      <category domain="http://securityratty.com/tag/strategy">strategy</category>
      <source url="http://ravichar.blogharbor.com/blog/_archives/2008/6/27/3765919.html">Security Function as a Business Enabler</source>
    </item>
    <item>
      <title><![CDATA[42 Days In A Hole?]]></title>
      <link>http://securityratty.com/article/cca674dee75b546491e9846bc571c44c</link>
      <guid>http://securityratty.com/article/cca674dee75b546491e9846bc571c44c</guid>
      <description><![CDATA[Jeebus. The UK govt has apparently been into the Bush White Houses private stash of recreational horticulture
Being commanded about by the child-monster has slowed down my news consumption. So, big...]]></description>
      <content:encoded><![CDATA[<p>Jeebus. The UK gov&#8217;t has apparently been into the Bush White House&#8217;s private stash of recreational horticulture. </p>
<p>Being commanded about by the child-monster has slowed down my news consumption. So, big thanks to Portswigger for the heads up. Apparently the UK gov&#8217;t wants to set the new detention limit without charges to 42 days. This has triggered a firestorm.</p>
<p>From BBC:</p>
<blockquote><p>Shadow home secretary David Davis has resigned as an MP.</p>
<p>He is to force a by-election in his Haltemprice and Howden constituency which he will fight on the issue of the new 42-day terror detention limit.</p>
<p>Mr Davis told reporters outside the House of Commons he believed his move was a &#8220;noble endeavour&#8221; to stop the erosion of British civil liberties.</p>
<p>The 59-year-old is one of the best known Tory MPs and his resignation came as a complete surprise in Westminster.</p>
<p>He told reporters outside the Commons: &#8220;I will argue in this by-election against the slow strangulation of fundamental British freedoms by this government.&#8221;</p>
<p>BBC Political Editor Nick Robinson said it was an extraordinary move which was almost without precedent in British politics. </p></blockquote>
<p>Read on.</p>
<p><a href="http://news.bbc.co.uk/2/hi/uk_news/politics/7450627.stm">Article Link</a></p>

<p><a href="http://feeds.feedburner.com/~a/Liquidmatrix?a=VYFdtX"><img src="http://feeds.feedburner.com/~a/Liquidmatrix?i=VYFdtX" border="0"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Liquidmatrix?a=wECTXI"><img src="http://feeds.feedburner.com/~f/Liquidmatrix?i=wECTXI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Liquidmatrix?a=MCOcRi"><img src="http://feeds.feedburner.com/~f/Liquidmatrix?i=MCOcRi" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Liquidmatrix?a=VDLfni"><img src="http://feeds.feedburner.com/~f/Liquidmatrix?i=VDLfni" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Liquidmatrix?a=gym2Ri"><img src="http://feeds.feedburner.com/~f/Liquidmatrix?i=gym2Ri" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Liquidmatrix?a=YWzh7i"><img src="http://feeds.feedburner.com/~f/Liquidmatrix?i=YWzh7i" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Liquidmatrix/~4/310417717" height="1" width="1"/>]]></content:encoded>
      <pubDate>Thu, 12 Jun 2008 09:58:15 +0000</pubDate>
      <category domain="http://securityratty.com/tag/move">move</category>
      <category domain="http://securityratty.com/tag/british civil liberties">british civil liberties</category>
      <category domain="http://securityratty.com/tag/extraordinary move">extraordinary move</category>
      <category domain="http://securityratty.com/tag/bush white houses">bush white houses</category>
      <category domain="http://securityratty.com/tag/fundamental british freedoms">fundamental british freedoms</category>
      <category domain="http://securityratty.com/tag/recreational horticulture">recreational horticulture</category>
      <category domain="http://securityratty.com/tag/news consumption">news consumption</category>
      <category domain="http://securityratty.com/tag/article link">article link</category>
      <category domain="http://securityratty.com/tag/detention limit">detention limit</category>
      <source url="http://feeds.feedburner.com/~r/Liquidmatrix/~3/310417717/">42 Days In A Hole?</source>
    </item>
    <item>
      <title><![CDATA[Software and Security Separateness - You're Doing It Wrong]]></title>
      <link>http://securityratty.com/article/681d13eb98033e07664c4720fb0ae538</link>
      <guid>http://securityratty.com/article/681d13eb98033e07664c4720fb0ae538</guid>
      <description><![CDATA[Many years ago, I was a trout bum, and the guy who captured that wonderful experience better than anyone was John Gierach , I was lucky enough to live a few miles up the Frying Pan river from where he...]]></description>
      <content:encoded><![CDATA[Many years ago, I was a trout bum, and the guy who captured that wonderful experience better than anyone was&#0160;<a href="http://en.wikipedia.org/wiki/John_Gierach">John Gierach</a>, I was lucky enough to live a few miles up the Frying Pan river from where he stayed when he was fishing up there. In one of his stories he recounted the following<div><br /><div>New enthusiastic flyfisherman: &quot;When you get your cast just right, its better than sex!&quot;</div><br /><div>Other person: &quot;You are doing one of those things the wrong way.&quot;</div><br /><div>In the same way that you can get two separate things confused you can also get confused by thinking two things that are joined as being separate - if you think security is one thing and software development is another, you are doing both of them the wrong way. I had a coffee with a marketing person yesterday, he had been to my talk at Secure 360 conference and said he liked it because he could understand it, the others were too technical (a lot of stuff in my talk was fairly technical as well, but I always strive to keep the narrative flow accessible to everyone). He really wanted to understand what I did. After several attempts of my explaining the software security problem, I pointed to one side of the coffee shop and said - the developers sit over there. Hundreds or even thousands of them. The security people sit over there on the opposite side of the coffee shop. They are separate groups, with separate agendas, they rarely collaborate, there is no center. And he got it.</div><br /><div>Software development is its own culture discipline - processes, scripts, languages, and so on. Security is its own discipline and culture. As long as these remain separate disciplines, separate cultures, we&#39;ll see the same results we have seen so far - namely minimal to no security is software. On a basic level things are not going to improve until the practices, tools, and people are unified.</div><br /><div><a href="http://1raindrop.typepad.com/.a/6a00d83451c75869e200e552905ae98833-pi" style="display: block;"><img alt="Pond" border="0" class="at-xid-6a00d83451c75869e200e552905ae98833 " src="http://1raindrop.typepad.com/.a/6a00d83451c75869e200e552905ae98833-800pi" title="Pond" /></a>
<br /></div><br /><div>This corresponds to <a href="http://natureoforder.com/">Christopher Alexander&#39;s</a> fifteenth and most important fundamental property Not-Separateness</div><br /><div><blockquote>Let me summarize in structural terms what this property is all about. It states that any center which has deep life is connected, in feeling, to what surrounds it, and is not cut off, isolated, or separated. In a center which is deeply coherent there is a lack of separation - instead a profound connection - between that center and other centers which surround it, so that the various centers melt into one another and become inseparable.&#0160;<span style="font-style: italic; ">It is that quality which comes about from each center, to the degree it is connected to the whole world.</span></blockquote></div><div>Now, let&#39;s re-examine infosec and software- we have separate groups of people, separate projects, separate agendas. They don&#39;t agree on a center. Alexander&#39;s Not-Separateness underscores not only why infosec and security has issues creating value together, but also why we need to look at <a href="http://1raindrop.typepad.com/1_raindrop/2008/02/security-deploy.html">decentralized software security architectures</a>, not centralized or distributed architectures.</div><br /><div>More deeply, so much (all?) of infosec is focused on separation and isolation, its this misguided assumption that has led infosec to a sorry record of <a href="http://1raindrop.typepad.com/1_raindrop/2008/05/security-evolut.html">non-innovation</a>. A failure to realize that its a building problem, a development problem, a integration problems, and a scalability problem <span style="font-style: italic;">with security properties</span>.</div><br /><div>The high priests of infosec talk about protocols and access control models, instead what we need are strong centers. Obsessing about isolation mechanisms that don&#39;t scale is the wrong way to go, focusing on ways to build and integrate strong centers is. Its not about access control, its about strong subject-object centers.</div>

<p><br />
<a href="http://1raindrop.typepad.com/photos/uncategorized/2008/02/27/decentralized.png"><img alt="Decentralized" border="0" class="image-full " src="http://1raindrop.typepad.com/photos/uncategorized/2008/02/27/decentralized.png" title="Decentralized" /></a></p></div>]]></content:encoded>
      <pubDate>Fri, 30 May 2008 04:55:19 +0000</pubDate>
      <category domain="http://securityratty.com/tag/software">software</category>
      <category domain="http://securityratty.com/tag/software-">software-</category>
      <category domain="http://securityratty.com/tag/software security">software security</category>
      <category domain="http://securityratty.com/tag/software security architectures">software security architectures</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/architectures">architectures</category>
      <category domain="http://securityratty.com/tag/security properties">security properties</category>
      <category domain="http://securityratty.com/tag/centers">centers</category>
      <category domain="http://securityratty.com/tag/strong centers">strong centers</category>
      <source url="http://1raindrop.typepad.com/1_raindrop/2008/05/software-and-security-separateness---youre-doing-it-wrong.html">Software and Security Separateness - You're Doing It Wrong</source>
    </item>
    <item>
      <title><![CDATA[Web 2.0 Security - The Beginning of the End or The End of the Beginning]]></title>
      <link>http://securityratty.com/article/5cb1f1f464f473471419a8f3b07fe126</link>
      <guid>http://securityratty.com/article/5cb1f1f464f473471419a8f3b07fe126</guid>
      <description><![CDATA[Given past performance of software security, its hard to be optimistic where things are going wrt Web 2.0 security. Granted when Web 1.0 was built out did not have the ability to use static analysis...]]></description>
      <content:encoded><![CDATA[Given past performance of software security, its hard to be optimistic where things are going wrt Web 2.0 security. Granted when Web 1.0 was built out did not have the ability to use static analysis to find vulnerabilities, we didn't have good identity standards and so on. So are we at a new a beginning where new tools and mechanisms will save our bacon? Or will Web 2.0 herald some new some 21st century <a href="http://en.wikipedia.org/wiki/Catherine_O'Leary">O'leary cow</a> that burns it all to the ground?<p>

Again, if we take developer innovation as a given we can see that information security has a decade worth of innovation to catch up on, its very hard to argue that infosec will just latch on to Web 2.0 and actually solve this problem when it <a href="http://1raindrop.typepad.com/1_raindrop/2008/05/security-evolut.html">has not addressed any of the new innovations</a> in the last decade or so. 
</p><p>
<a href="http://1raindrop.typepad.com/photos/uncategorized/2008/05/19/innovatecompare_2.png"><img  alt="Innovatecompare_2" border="0" height="167" src="http://1raindrop.typepad.com/1_raindrop/images/2008/05/19/innovatecompare_2.png" title="Innovatecompare_2" width="300"></a></p>
<p>
Andy Steingruebl went to a Web 2.0 security conference and <a href="http://securityretentive.blogspot.com/2008/05/notes-from-ieee-web-20-security-and.html">took notes</a> on the ideas and presentations, if you are in infosec and/or developing Web 2.0 apps (that is to say if you are reading this blog), I recommend you <a href="http://securityretentive.blogspot.com/2008/05/notes-from-ieee-web-20-security-and.html">read it</a> and chase the links to get an idea of what is viable or not.

Now to thoroughly depress/inspire you further let me share Andy's conclusions from listening to this state of the state on Web 2.0 security

</p><blockquote>
We haven't come close to solving the security problems in a Web-1.0 world
</blockquote>
So this leaves two possible choices 1) redo Web 1.0 security or 2) leave that bridge burning and try to fix the latest. Unfortunately people are instead choosing option 3 - use the same thing that didn't work in Web 1.0 and try to protect Web 2.0 with it.
<blockquote>
We don't know what the security policies really ought to look like for the web, consequently we don't know what the architecture and implementation look like either.
</blockquote>
We do know it should come from a security architecture and design not from an auditor's spreadsheet though.
<blockquote>

Browsers are lacking fundamental architecture and policy around security.
</blockquote>
And everything including administrative functions run in a browser these days
<blockquote>
Web-2.0 only makes things worse
</blockquote>

The OWASP guide, last I checked is over 300 pages long, when I train and consult with developers, I always ask how many are familiar with OWASP. Less than 20% are in my experience, and of those percentage most only know the OWASP Top Ten. If you have not read the guide and understood the concepts, it is really hard for me to see how your app is going to have anything more than cardboard walls level of security. Sadly, a lot developers think that software security is a solved problem, <a href="http://1raindrop.typepad.com/1_raindrop/2008/05/truly-dangerous.html">Tim Bray</a>(*):

<blockquote>
Of course some of these get into very sensitive security issues; but actually we’re getting pretty good at providing information on the Web in a secure way.
</blockquote>

This type of misconception leads to the worst case scenario where you actually build apps with sensitive data and functionality, link 'em all up through mashups, Rest and whatever; and do all of this without realizing that a root and branch reform is necessary in your web application security model.
 
How'd we get here? Broken processes? Business too demanding? No security support in programming languages? Sure they all play a role, but its not the main problem, allow me to invoke the great <a href="http://www.geraldmweinberg.com/Site/Home.html">Gerald Weinberg</a>: 

<blockquote>
No matter how it looks at first, its always a people problem
</blockquote>

In our case, its quite simple the security people don't know enough about software development and developers don't know enough about security. 

So you can look at the innovation table and see how far software technologies have advanced and how security technologies have not kept pace, and that is an admittedly terrifying thought; but what's most scary to me is to think about the generation of <strong>people</strong> that are left behind at each technical evolution working on trivial or low priority issues. <div><br><div>One of the reasons I teach <a href="http://arctecgroup.net/training.htm">software security training</a> is to combat this, but in a company with thousands of developers I still may only get to teach 50 or 100. Many times when i teach we have the security people, developers, and architects in the same class; and usually they all know each other, but they don't <em>work</em> together, and a lot of the value in the class is them sitting together for a couple of days - finding some common ground, identifying some things each other are working on and then figuring out ways to make some joint progress. This is why I like teaching the class more at a company than as a public class -because when I am on site at a company they all have to work together. 
</div><br><div>So while we go through a ton of cool things in class like threat modeling, SAML, federation, static analysis, WS-Security and so on, the coolest thing is just facilitating interaction and in some small way helping to define some ways the groups can collaborate on tools, practices, and security architecture going forward.</div><br><div>When it works its really great, and sometimes we even get to flip around my earlier statement - architects, software developers and security people work together as a software security team and the software security team finds vulnerabilities we didn't even know about, leverages security capabilities we didn't even know they had and deploys security services that protect the enterprise assets.

Putting aside Web 2.0 as a technology; hopefully, Web 2.0 <strong>people</strong> means that software developers are software security people and security people are software security people. On that basis Web 2.0 may actually get an answer to Andy's concerns, without that Web 2.0 will remain DOA on security until Web 3.0. 
</div><div><br><div>* Note: I pick on Tim Bray not because he is an idiot, quite the opposite, its because I have higher expectations and expect more regard for security out of that community. I fondly recall the days when open source took security more seriously than Microsoft.</div></div></div>]]></content:encoded>
      <pubDate>Thu, 29 May 2008 11:26:12 +0000</pubDate>
      <category domain="http://securityratty.com/tag/people">people</category>
      <category domain="http://securityratty.com/tag/software security people">software security people</category>
      <category domain="http://securityratty.com/tag/software security">software security</category>
      <category domain="http://securityratty.com/tag/software security team">software security team</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/security people">security people</category>
      <category domain="http://securityratty.com/tag/web">web</category>
      <category domain="http://securityratty.com/tag/security support">security support</category>
      <category domain="http://securityratty.com/tag/architecture">architecture</category>
      <source url="http://1raindrop.typepad.com/1_raindrop/2008/05/web-20-security---the-beginning-of-the-end-or-the-end-of-the-beginning.html">Web 2.0 Security - The Beginning of the End or The End of the Beginning</source>
    </item>
    <item>
      <title><![CDATA[Vengeance]]></title>
      <link>http://securityratty.com/article/e735bc3ded97e2908f3138b40b6495d6</link>
      <guid>http://securityratty.com/article/e735bc3ded97e2908f3138b40b6495d6</guid>
      <description><![CDATA[Jared Diamond on vengeance and human nature: This question of state government's recent origins, and, conversely, of its long failure to originate throughout most of human history, is a fundamental...]]></description>
      <content:encoded><![CDATA[<p>Jared Diamond on <a href="http://www.newyorker.com/reporting/2008/04/21/080421fa_fact_diamond">vengeance</a> and human nature:</p>

<blockquote>This question of state government's recent origins, and, conversely, of its long failure to originate throughout most of human history, is a fundamental concern for social scientists. Until fifty-five hundred years ago, there were no state governments anywhere in the world. Even as late as 1492, all of North America, sub-Saharan Africa, Australia, New Guinea, and the Pacific islands, and most of Central and South America didn't have states and instead operated under simpler forms of societal organization (chiefdoms, tribes, and bands). Today, though, the whole world map is divided into states. Of course, most of that extension of state government has involved existing states from elsewhere imposing their government on stateless societies, as happened in New Guinea. But the first state in world history, at least, must have arisen de novo, and we now know that states arose independently in many parts of the world. How did it happen?

<p>[...]</p>

<p>...anthropologists, historians, and archeologists tell us that state governments have arisen independently under one of two sets of circumstances. Sometimes external pressure from an encroaching state has placed a people under such duress that it ceded individual rights to a government of its own that would be capable of offering effective resistance. For instance, about two centuries ago, the formerly separate Cherokee chiefdoms gradually formed a unified Cherokee government in a desperate attempt to resist pressure from whites. More frequently, chronic competition among warring non-state entities has ended when one gained a military advantage over the others by developing proto-state institutions: one example is the formation of the Zulu state by a particularly talented chief named Dingiswayo, in the early nineteenth century, out of an assortment of chiefdoms fighting each other.</p>

<p>[...]</p>

<p>We regularly ignore the fact that the thirst for vengeance is among the strongest of human emotions. It ranks with love, anger, grief, and fear, about which we talk incessantly. Modern state societies permit and encourage us to express our love, anger, grief, and fear, but not our thirst for vengeance. We grow up being taught that such feelings are primitive, something to be ashamed of and to transcend.</p>

<p>There is no doubt that state acceptance of every individual's right to exact personal vengeance would make it impossible for us to coexist peacefully as fellow-citizens of the same state. Otherwise, we, too, would be living under the conditions of constant warfare prevailing in non-state societies like those of the New Guinea Highlands.</blockquote></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=iO3MBH"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=iO3MBH" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=tp7lvH"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=tp7lvH" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Thu, 29 May 2008 09:07:04 +0000</pubDate>
      <category domain="http://securityratty.com/tag/vengeance">vengeance</category>
      <category domain="http://securityratty.com/tag/cherokee government">cherokee government</category>
      <category domain="http://securityratty.com/tag/government">government</category>
      <category domain="http://securityratty.com/tag/exact personal vengeance">exact personal vengeance</category>
      <category domain="http://securityratty.com/tag/world map">world map</category>
      <category domain="http://securityratty.com/tag/world">world</category>
      <category domain="http://securityratty.com/tag/societies">societies</category>
      <category domain="http://securityratty.com/tag/stateless societies">stateless societies</category>
      <category domain="http://securityratty.com/tag/individual">individual</category>
      <source url="http://www.schneier.com/blog/archives/2008/05/vengeance.html">Vengeance</source>
    </item>
    <item>
      <title><![CDATA[Notes from IEEE Web 2.0 Security and Privacy Workshop (W2SP2008)]]></title>
      <link>http://securityratty.com/article/52942044add67bfabfce0e3b310191f5</link>
      <guid>http://securityratty.com/article/52942044add67bfabfce0e3b310191f5</guid>
      <description><![CDATA[Thursday 5/22 I was at the IEEE Web 2.0 Security and Privacy Workshop . I figured I'd learn a few things, and also make sure that no new exploits were announced against my employer, and/or make sure...]]></description>
      <content:encoded><![CDATA[Thursday 5/22 I was at the <a href="http://seclab.cs.rice.edu/w2sp/2008/">IEEE Web 2.0 Security and Privacy Workshop</a>.   I figured I'd learn a few things, and also make sure that no new exploits were announced against my employer, and/or make sure we weren't the only examples people gave of problems.<br /><br />I was pretty successful on goal #1, not 100% successful on goal #2.<br /><br />This post is mostly brain dump of notes about the talks followed by a few things of architectural interest that I think were discussed enough at the workshop.  A quick preview - the first half of the conference was spent talking about general security holes in Web-1.0 that we still haven't solved technically/architecturally/culturally.  With that in mind its hard to see how we're going to have much success with Web-2.0 security.<br /><br />I'll start by saying though that I was ever so slightly disappointed with the makeup of the attendees.  Conferences and workshops held by the IEEE and ACM do generally tend towards the seriously geeky and academic side of things.  You're much more likely to find papers that are suitable for journals with plenty of academic references, peer review, CS technical terms, formulas, etc.  At the same time though workshops do tend towards the less academic and more practical side.  It was disappointing therefore that, though the workshop focused a lot of time on things like secure mashups, social networks, and Web-2.0 security models, to the best of my knowledge very few of the players in this space were present.  I didn't meet anyone from any of the really interesting mashup companies and none of the social networks were there (minus google, who was well represented).  Perhaps in the future people attending and organizing workshops like these can actually get the folks at the relevant companies interested, specifically invite them, etc.<br /><br />Now, onto the papers/presentations themselves:<br /><br /><span style="font-size:130%;"><span style="font-weight: bold;">Session 1: Authentication and Authorization </span></span><br /><br /><span style="font-weight: bold;">Daniel Sandler and Dan S. Wallach. <span style="text-decoration: underline;"><span style="font-style: italic;"></span></span></span><i><a href="http://www.blogger.com/papers/s1p2.pdf">&lt;input type="password"&gt; must die!</a></i><br />Daniel presented some good idea on how to move password authentication into the browser chrome to improve our defenses against javascript malware such as javascript keyloggers, etc.<br /><br />While the work Daniel did was quite cool in that it doesn't require any protocol modifications, to be truly useful in implementing authentication inside browser chrome you probably need involvement from the site itself to hint, tweak, etc.  Once you start doing that though, you start looking at doing stuff like cardspaces to actually get to a better architectural solution.<br /><br /><span style="font-weight: bold;">Ben Adida</span>. <i><a href="http://seclab.cs.rice.edu/w2sp/2008/papers/s1p1.pdf">Web Authentication by Email Address</a></i><br /><br />Ben focused on usability concerns in OpenID and the idea that email addresses (or things that look like email addresses) are much better identifiers than URLs.  He sketched out how to modify OpenID to use email addresses or lookalikes for authentication rather than URLs.  Some of his proposals hinge on using DNS lookups for a domain to find the authentication server much like we use MX records for email.  While potentially risky, DNSSEC could theoretically be used to mitigate some of the problems.<br /><br />I must say I haven't kept up with OpenID as much as I'd like to, and so I'm 99% sure lots of the nuance of Ben's proposal was lost on me.<br /><br /><span style="font-weight: bold;font-size:130%;" > Session 2: Browser Security Models and Isolation</span><br /><br /><span style="font-weight: bold;">Collin Jackson and Adam Barth</span>. <i><a href="http://seclab.cs.rice.edu/w2sp/2008/papers/s2p1.pdf">Beware of Finer-Grained Origins</a></i><br /><br />Collin Jackson presented some work he and Adam have done on how the browser security model, namely the same-origin policy, isn't nearly granular enough to handle most web applications and sites that host them.<br /><br />For example:<br /><br />http://cs.stanford.edu/~abarth<br />http://cs.stanford.edu/~cjackson<br /><br />both have the same origin from the browsers point of view, but don't necessarily have the same security policy per use intent.  Because the web browser can't really distinguish between them, we don't have a clean way of separating the security policies here.<br /><br />Collin went on to show a multitude of problems in the same origin policy between sites, and problems in the upgrade/downgrade of security indicators in a browser.  I won't rehash all of his results but suffice it to say we desperately need things like ForceHTTPS embeded in browsers in the near future to prevent some of these problems.<br /><br /><p><span style="font-weight: bold;">Kapil Singh and Wenke Lee</span>. <i><a href="http://seclab.cs.rice.edu/w2sp/2008/papers/s2p2.pdf">On the Design of a Web Browser: Lessons learned from Operating Systems</a></i></p>Kapil presented some research his team has been doing on modeling web browsers more like operating systems.  You might have seen some related work recently as part of the <a href="http://www.engr.uiuc.edu/news/?xId=074108160700">OP Browser project</a>.   The idea is that the internal implementation of most browsers is pretty dicey from a security perspective.  There is no clean separation between policy and mechanism.  All code operates at the same privilege level. Plugins cannot be constrained in what they can do, etc.<br /><br />I haven't seen any analysis yet comparing what MS did with IE7 on Vista in protected mode as compared to OP or Kapil's work.  It is pretty clear that MS didn't fully segment IE7, but I wonder how close they got to ideal on the sandboxing side of things.<br /><br />That said, I think our biggest problem in browser security isn't the implementation and internal segmentation.  Our biggest problem is that we don't have any idea what security policies we really want to implement.  Sure, having a flexible architecture under the hood makes it easier to implement flexible and finer-grained policies, but unless we have some idea what those are, perhaps we're putting the cart before the horse in terms of robust internal implementation.<br /><br /><p><span style="font-weight: bold;">Mike Ter Louw, Prithvi Bisht and V.N. Venkatakrishnan.</span> <i><a href="http://seclab.cs.rice.edu/w2sp/2008/papers/s2p3.pdf">Analysis of Hypertext Markup Isolation Techniques for XSS Prevention</a></i></p>My favorite presentation of the day was this one by Mike Ter Louw.  Mike talked all about the multiple ideas circulating out there related to content restrictions.  He showed the different failure modes for several of the proposals, showed how some of them can be rescued, and pointed towards areas that need more research.<br /><br />The idea of content restrictions and server-indicated security policy that clients interpret and enforce is a really hot idea right now, and I'm hoping to catch up with Mike in the not too distant future.<br /><br />Mike - if you see this, drop me a note :)<br /><br /><span style="font-size:130%;"><span style="font-weight: bold;"> Session 3: Social Computing Privacy Issues </span></span><br /><p><span style="font-weight: bold;">Adrienne Felt and David Evans</span>. <i><a href="http://seclab.cs.rice.edu/w2sp/2008/papers/s3p1.pdf">Privacy Protection for Social Networking Platform</a></i></p>Adrienne presented some work she's done on weaknesses in the security model of social networks and paltforms such as Facebook.  She analyzed a bunch of Facebook applications to understand whether they really ought to be granted all of the rights over user data that they are.  She proposed some mechanisms for limiting what types of applications get access to what data by enhancing the FBML tags to allow an application to get more data without API access.  She also showed how you can solve some data sharing rules with just FBML and a few permissions extensions without resorting to full API access.<br /><br />What Adrienne didn't come out and say is that in some contexts things like vetting are actually important.  Most people in the social networking space and Web-2.0 space don't want to look at things like vetting, legal relationships, etc. as a model for achieving security.  While a preventative model looks great on paper, solving some of the data safety/privacy concerns can really only be handled through contracts, vetting, etc.  No amount of hoping developers will do the right thing and develop least-privilege applications will solve this problem.<br /><br /><p><span style="font-weight: bold;">Monica Chew, Dirk Balfanz, and Ben Laurie.</span> <i><a href="http://seclab.cs.rice.edu/w2sp/2008/papers/s3p2.pdf">(Under)mining Privacy in Social Networks</a></i></p>Monica presented some research on how we can inadvertently leak data from social networks by a multitude of means.  While it was an interesting talk on how you can aggregate data from multiple locations to pin down more details than you ought to, since I'm not a heavy user of social networks I found myself less than interested in the general problem.  If you're going to post large amounts of personal data online in multiple online sources, you're going to have people aggregating them together.  There is only so much we can do to protect ourselves against that sort of aggregation.<span style="font-size:130%;"><br /><br /><span style="font-weight: bold;"> Session 4: Mashups and Privacy </span></span><br /><p><span style="font-weight: bold;">D. K. Smetters.</span> <i><a href="http://seclab.cs.rice.edu/w2sp/2008/papers/s4p1.pdf">Building Secure Mashups</a></i></p>D.K.'s talk was quite short on technical details and yet was one of the better talks of the day.  Whereas I had a few complaints about Kapil's talk earlier in the day being a solution looking for a problem, D.K.'s talk was about the problem itself - namely - how do we actually define the security policy we're trying to achieve in the mashup space, what sorts of general rules ought to govern application behavior, security properties, etc.<br /><br />This was the first talk of the day to really talk about user expectations for security, what we should generally understand to be user intent, and how to actually try and implement that in a mashup application.<br /><br /><p><span style="font-weight: bold;">Tyler Close</span>. <i><a href="http://seclab.cs.rice.edu/w2sp/2008/papers/s4p2.pdf">Web-key: Mashing with Permission</a></i></p><p>Tyler's talk may have been the most entertaining of the day, if only because of his obvious frustration with what the web has become.  Tyler's main claim was that we ought to  be using capability URLs to handle our authentication and authorization concerns.  URLs that encode both authentication and authorization data bring us back to the original intent of the web, where the link is everything.</p><p>It was nice to see someone railing against a bit of what the web has become, but it almost felt like an original internet user lamenting the end of the end-to-end internet.  A decent architectural argument, and yet one that isn't likely to yield a lot of converts.  I don't think I understood a few of Tyler's points about how to prevent these URLs from leaking out and/or how to revoke access should they happen to.  There are a multitude of user acceptance, behavior, and expectation questions to be answered.  It was a nice twist though on how to perhaps make access-controlled content more in keeping with the spirit of the web.</p><p><span style="font-weight: bold;">Mihai Christodorescu</span>. <i><a href="http://seclab.cs.rice.edu/w2sp/2008/papers/s4p3.pdf">Private Use of Untrusted Web Servers via Opportunistic Encryption</a></i></p><p>Mihai's presentation was about how to take advantage of networked services/web-applications while proividing them with only opaque data references created with cryptography.  His main example was about how to use Google's Calendar product without ever sending them your real data, and sending them only client-side encrypted data instead.</p><p>While it seems like a nice idea, and while parts of his solution were technically elegant, I think again it was a solution looking for a problem.  If you're so concerned about a networked service having your data that you're willing to reverse engineer the service to make it store your individual data elements encrypted, then perhaps a networked service isn't the one for you.  TYhe architectural challenges in achieving what he was able to with Google's calendar are nearly impossible with a more complicated service.  And, in order to make it work you have to give up many of the feature's you'd really like from a service - full text searching, etc.</p><p>I'm guessing there are a few places where's Mihai's ideas are feasible, but its hard for me to see the value prop in building what he proposed.</p><p><br /></p><p style="font-weight: bold;"><span style="font-size:130%;">Some Final Thoughts:</span></p><ul><li>We haven't come close to solving the security problems in a Web-1.0 world</li><li>We don't know what the security policies really ought to look like for the web, consequently we don't know what the architecture and implementation look like either.</li><li>Browsers are lacking fundamental architecture and policy around security.</li><li>Web-2.0 only makes things worse</li></ul>Apart from all of the unsolved security challenges, the biggest point that struck me from the workshop was the general belief (or I assume belief, I didn't challenge people on it) that mashups are here to stay, and that we're just going to have to back into a security model for them.<br /><br />I remain unconvinced that a client-side application mashup between datasets is the only way to build new and  innovative applications, and that if there were any liability concerns or even contracts that held some of these companies/services even semi-accountable, perhaps we'd have a very different architecture than we're seeing as part of the mashup space.<br /><br />We're spending time and money working on specs like XDR, HTML5-access-control, and we still haven't solved some of the fundamental security problems of the web.  I didn't see anything at this workshop to dissuade me from that perception either.<br /><br />Its like the old saying goes - "If it ain't fixed - don't break it more".  Well, ok, that isn't an old saying, but maybe a few of the people working on mashups and social networks could actually operate with that as their motto we'd make some progress on all of this.<img src="http://feeds.feedburner.com/~r/SecurityRetentive/~4/299601333" height="1" width="1"/>]]></content:encoded>
      <pubDate>Tue, 27 May 2008 18:45:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/browser">browser</category>
      <category domain="http://securityratty.com/tag/browser security models">browser security models</category>
      <category domain="http://securityratty.com/tag/browser project">browser project</category>
      <category domain="http://securityratty.com/tag/browser security model">browser security model</category>
      <category domain="http://securityratty.com/tag/security models">security models</category>
      <category domain="http://securityratty.com/tag/browser security">browser security</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/web">web</category>
      <category domain="http://securityratty.com/tag/security challenges">security challenges</category>
      <source url="http://feeds.feedburner.com/~r/SecurityRetentive/~3/299601333/notes-from-ieee-web-20-security-and.html">Notes from IEEE Web 2.0 Security and Privacy Workshop (W2SP2008)</source>
    </item>
    <item>
      <title><![CDATA[Jericho Forum and the Collaboration Oriented Architecture (COA) position paper ]]></title>
      <link>http://securityratty.com/article/a701ae0cd5b5bc07f95ca2853776d7fc</link>
      <guid>http://securityratty.com/article/a701ae0cd5b5bc07f95ca2853776d7fc</guid>
      <description><![CDATA[Blogger: Dan Blum
After discussing the concept of collaboration oriented architecture (COA) for some time, Jericho Forum released its COA position paper last month at the RSA and Infosecurity Europe...]]></description>
      <content:encoded><![CDATA[
<div xmlns="http://www.w3.org/1999/xhtml"><p>Blogger: Dan Blum</p>

<p>After discussing the concept of collaboration oriented architecture (COA) for some time, Jericho Forum released its COA position paper last month at the RSA and Infosecurity Europe conferences. The paper is now posted at <a href="http://www.opengroup.org/jericho/COA_v1.0.pdf">http://www.opengroup.org/jericho/COA_v1.0.pdf</a>.</p>

<p>For those who may be unfamiliar with Jericho Forum, it started as a user forum for discussing the problem of deperimeterization, wherein centralized firewalls become less effective as the mainstay of corporate security due to mobility, partnering, outsourcing, telecommuting and all those good things that happen as organizations become more geographically distributed and virtual.</p>

<p>The COA paper focuses on the need for business processes to operate across and between multiple organizations, potentially over untrusted networks such as the Internet. Users and endpoints must securely interact with services and applications controlled by multiple security domains.</p>

<p>The COA position paper builds on the Jericho Forum commandments, which are published at <a href="http://www.opengroup.org/jericho/commandments_v1.2.pdf">http://www.opengroup.org/jericho/commandments_v1.2.pdf</a>. When reading the commandments, by the way, I find it helps to ignore the explanatory paragraphs, and just focus on the 11 statements of principle. This gets me away from nitpicking the explanations to death and into a state where I just accept them as a very good list of principles for operating securely over open networks.</p>

<p>The COA position paper spends much of its space describing the need for secure, open collaboration as well as principles, processes, standards and frameworks through which the collaboration might be achieved. Most of this doesn’t convey much new information to persons who already grasp the notion of deperimeterization and understand that security is about people, process and technology. But there were some really interesting bits in the section Recommended Solution/Response:</p>

<p>&quot;The COA framework generalizes conventional architectures as follows. It provides:</p>

<ul><li>increased emphasis on the requirements listed under ‘principles’ below. These are traditionally only seen as external or ‘boundary’ interface concerns in enterprise architectures.</li>

<li>a user repository (keyed on people identifiers) is generalized into a contract repository (keyed on relationship, or obligation identifiers). A contract repository records agreements, and the obligations and capabilities that ensue from them.</li>

<li>an accounting log (keyed on system events) is generalized into a reputation repository (keyed on business events). A reputation repository records user actions and compares them to applicable contracts, and, depending on whether or not the actions are in accordance with the contract, upgrades or downgrades a reputation.</li></ul>

<p>The architecture formed by combining SOA (Service Oriented Architecture) with available security protocols (SAML or other XML) is insufficient to support COA. The following elements are also valuable:&nbsp; [Here, I shorten and paraphrase the list of bullet points]</p>

<ul><li>attribute brokers</li>

<li>access brokers</li>

<li>contract brokers</li>

<li>policy language (like XACML 3.0)</li>

<li>performance manager (builds audit logs and reputation systems)”</li></ul>

<p>I wish that the COA position paper had spent more space discussing some of its recommended solutions. The notion of a reputation system (not just a repository) is something we’re hearing more and more about. There is also a growing awareness of the importance of intermediaries, or brokers, that can fairly represent the interests of multiple parties. Perhaps we’ll see this covered in some future Jericho Forum work.</p>

<p>PS: The last bit of COA, in the conclusion, was quite entertaining: “A fundamental shift in thinking is required to implement a COA, moving from the thinking of a hedgehog, an animal that rolls into a tight ball at any sign of threat, to that of a Strawberry Plant, which puts all its key genetic material securely on its outside, as well as sending out suckers to extend the plant’s domain</p></div>
<img src="http://feeds.feedburner.com/~r/SecurityAndRiskManagementStrategiesBlog/~4/287003508" height="1" width="1"/>]]></content:encoded>
      <pubDate>Fri, 09 May 2008 10:16:55 +0000</pubDate>
      <category domain="http://securityratty.com/tag/coa">coa</category>
      <category domain="http://securityratty.com/tag/coa framework">coa framework</category>
      <category domain="http://securityratty.com/tag/coa paper focuses">coa paper focuses</category>
      <category domain="http://securityratty.com/tag/jericho forum">jericho forum</category>
      <category domain="http://securityratty.com/tag/paper">paper</category>
      <category domain="http://securityratty.com/tag/reputation repository">reputation repository</category>
      <category domain="http://securityratty.com/tag/reputation">reputation</category>
      <category domain="http://securityratty.com/tag/coa position paper">coa position paper</category>
      <category domain="http://securityratty.com/tag/future jericho forum">future jericho forum</category>
      <source url="http://feeds.feedburner.com/~r/SecurityAndRiskManagementStrategiesBlog/~3/287003508/jericho-forum-a.html">Jericho Forum and the Collaboration Oriented Architecture (COA) position paper </source>
    </item>
    <item>
      <title><![CDATA[Jericho Forum and the Collaboration Oriented Architecture (COA) position paper ]]></title>
      <link>http://securityratty.com/article/229aa2c46d05ed2d3bd64a86fd77582e</link>
      <guid>http://securityratty.com/article/229aa2c46d05ed2d3bd64a86fd77582e</guid>
      <description><![CDATA[Blogger: Dan Blum
After discussing the concept of collaboration oriented architecture (COA) for some time, Jericho Forum released its COA position paper last month at the RSA and Infosecurity Europe...]]></description>
      <content:encoded><![CDATA[
<div xmlns="http://www.w3.org/1999/xhtml"><p>Blogger: Dan Blum</p>

<p>After discussing the concept of collaboration oriented architecture (COA) for some time, Jericho Forum released its COA position paper last month at the RSA and Infosecurity Europe conferences. The paper is now posted at <a href="http://www.opengroup.org/jericho/COA_v1.0.pdf">http://www.opengroup.org/jericho/COA_v1.0.pdf</a>.</p>

<p>For those who may be unfamiliar with Jericho Forum, it started as a user forum for discussing the problem of deperimeterization, wherein centralized firewalls become less effective as the mainstay of corporate security due to mobility, partnering, outsourcing, telecommuting and all those good things that happen as organizations become more geographically distributed and virtual.</p>

<p>The COA paper focuses on the need for business processes to operate across and between multiple organizations, potentially over untrusted networks such as the Internet. Users and endpoints must securely interact with services and applications controlled by multiple security domains.</p>

<p>The COA position paper builds on the Jericho Forum commandments, which are published at <a href="http://www.opengroup.org/jericho/commandments_v1.2.pdf">http://www.opengroup.org/jericho/commandments_v1.2.pdf</a>. When reading the commandments, by the way, I find it helps to ignore the explanatory paragraphs, and just focus on the 11 statements of principle. This gets me away from nitpicking the explanations to death and into a state where I just accept them as a very good list of principles for operating securely over open networks.</p>

<p>The COA position paper spends much of its space describing the need for secure, open collaboration as well as principles, processes, standards and frameworks through which the collaboration might be achieved. Most of this doesn???t convey much new information to persons who already grasp the notion of deperimeterization and understand that security is about people, process and technology. But there were some really interesting bits in the section Recommended Solution/Response:</p>

<p>&quot;The COA framework generalizes conventional architectures as follows. It provides:</p>

<ul><li>increased emphasis on the requirements listed under ???principles??? below. These are traditionally only seen as external or ???boundary??? interface concerns in enterprise architectures.</li>

<li>a user repository (keyed on people identifiers) is generalized into a contract repository (keyed on relationship, or obligation identifiers). A contract repository records agreements, and the obligations and capabilities that ensue from them.</li>

<li>an accounting log (keyed on system events) is generalized into a reputation repository (keyed on business events). A reputation repository records user actions and compares them to applicable contracts, and, depending on whether or not the actions are in accordance with the contract, upgrades or downgrades a reputation.</li></ul>

<p>The architecture formed by combining SOA (Service Oriented Architecture) with available security protocols (SAML or other XML) is insufficient to support COA. The following elements are also valuable:&nbsp; [Here, I shorten and paraphrase the list of bullet points]</p>

<ul><li>attribute brokers</li>

<li>access brokers</li>

<li>contract brokers</li>

<li>policy language (like XACML 3.0)</li>

<li>performance manager (builds audit logs and reputation systems)???</li></ul>

<p>I wish that the COA position paper had spent more space discussing some of its recommended solutions. The notion of a reputation system (not just a repository) is something we???re hearing more and more about. There is also a growing awareness of the importance of intermediaries, or brokers, that can fairly represent the interests of multiple parties. Perhaps we???ll see this covered in some future Jericho Forum work.</p>

<p>PS: The last bit of COA, in the conclusion, was quite entertaining: ???A fundamental shift in thinking is required to implement a COA, moving from the thinking of a hedgehog, an animal that rolls into a tight ball at any sign of threat, to that of a Strawberry Plant, which puts all its key genetic material securely on its outside, as well as sending out suckers to extend the plant???s domain</p></div>
]]></content:encoded>
      <pubDate>Fri, 09 May 2008 10:16:55 +0000</pubDate>
      <category domain="http://securityratty.com/tag/coa">coa</category>
      <category domain="http://securityratty.com/tag/coa framework">coa framework</category>
      <category domain="http://securityratty.com/tag/coa paper focuses">coa paper focuses</category>
      <category domain="http://securityratty.com/tag/jericho forum">jericho forum</category>
      <category domain="http://securityratty.com/tag/paper">paper</category>
      <category domain="http://securityratty.com/tag/reputation repository">reputation repository</category>
      <category domain="http://securityratty.com/tag/reputation">reputation</category>
      <category domain="http://securityratty.com/tag/coa position paper">coa position paper</category>
      <category domain="http://securityratty.com/tag/future jericho forum">future jericho forum</category>
      <source url="http://srmsblog.burtongroup.com/2008/05/jericho-forum-a.html">Jericho Forum and the Collaboration Oriented Architecture (COA) position paper </source>
    </item>
    <item>
      <title><![CDATA[More on Application Security Metrics]]></title>
      <link>http://securityratty.com/article/3e4b88291d588b070f231c595572d743</link>
      <guid>http://securityratty.com/article/3e4b88291d588b070f231c595572d743</guid>
      <description><![CDATA[Eric Bidstrup of Microsoft has a blog entry up titled &quot; How Secure is Secure ?&quot; In it he makes a number of points related, essentially, to measuring the security of software and what the appropriate...]]></description>
      <content:encoded><![CDATA[Eric Bidstrup of Microsoft has a blog entry up titled "<a href="http://blogs.msdn.com/sdl/archive/2008/05/08/how-secure-is-secure.aspx">How Secure is Secure</a>?"  In it he makes a number of points related, essentially, to measuring the security of software and what the appropriate metrics might be.<br /><br />I'd been asking the Microsoft guys for a while whether they had any decent metrics to break down the difference between:<br /><ul><li>Architectural/Design Defects</li><li>Implementation Defects</li></ul>I hadn't gotten good answers up to this point because measuring those internally during the development process is a constantly moving target.  If your testing methodology is always changing, then its hard to say whether you're seeing more or fewer defects of a given type than before, especially as a percentage.  That is, if you weren't catching a certain class of issue with the previous version of a static analysis tool but now you are, its hard to correlate the results to previous versions of the software.<br /><br />Eric says:<br /><blockquote>Microsoft has been releasing security bulletins since 1999. Based on some informal analysis that members of our organization have done, we believe well over 50% of *all* security bulletins have resulted from implementation vulnerabilities and by some estimates as high as 70-80%. (Some cases are questionable and we debate if they are truly “implementation issues” vs. “design issues” – hence this metric isn’t precise, but still useful). I have also heard similar ratios described in casual discussions with other software developers.</blockquote>In general I think you're likely to find this trend across the board.  Part of the reason though is that in general implementation defects are easier to find and exploit.  Exploiting input validation failures that result in buffer overflows is a lot easier than complicated business logic attacks, multi-step attacks against distributed systems, etc.<br /><br />We haven't answered whether there are more Architectural/Design defects or Implementation defects, but from an exploitability standpoint, its fairly clear that implementation defects are probably the first issues we want to fix.<br /><br />At the same time, we do need to balance that against the damage that can be done by an architectural flaw, and just how difficult they can be to fix, especially in deployed software.  Take as an example Lanman authentication.  Even if implemented without defects, the security design isn't nearly good enough to resist exploit.  Completely removing Lanman authentication from Windows and getting everyone switched over to it has taken an extremely long time in most businesses because of legacy deployment, etc.  So, as much as implementation defects are the ones generally exploited and that need patching, architectural defects can in some cases cause a lot more damage and be harder to address/remediate once discovered/exploited.<br /><br />Another defect to throw into this category would be something like WEP.  Standard WEP implementations aren't defect ridden.  They don't suffer from buffer overflows, race conditions, etc.  They suffer from fundamental design defects that can't be corrected without a fundamental rewrite.  The number of attacks resulting from WEP probably isn't known.  Even throwing out high profile cases such as TJ Maxx and Home Depot, I'm guessing the damage done is substantial.<br /><br />So far then things aren't looking good for using implementation defects as a measuring stick of how secure a piece of software is. Especially for widely deployed products that have a long lifetime and complicated architecture.<br /><br />Though I suppose I can come up counter-examples as well.  SQL-Slammer after all was a worm that exploited a buffer overflow in MS-SQL Server via a function that was open by default to the world.  It was one of the biggest worms ever (if not the biggest, I stopped paying attention years ago) and  it exploited an implementation defect, though one that was exploitable because it was part of the unauthenticated attack surface of the application - a design defect.<br /><br />All this really proves is that determining which of these types of defects to measure, prioritize, and fix is a tricky business and as always, you mileage may vary.<br /><br />As Eric clearly points out the threat landscape isn't static either.  So, what you think is a priority today might change tomorrow.  And, its different for different types of software.  The appropriate methodology for assessing and prioritizing defects for a desktop application is substantially different than that for a centrally hosted web application.  Differences related to exploitability, time-to-fix, etc.<br /><br />More on that in a post to follow.<img src="http://feeds.feedburner.com/~r/SecurityRetentive/~4/286583249" height="1" width="1"/>]]></content:encoded>
      <pubDate>Thu, 08 May 2008 16:05:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/defects">defects</category>
      <category domain="http://securityratty.com/tag/fundamental design defects">fundamental design defects</category>
      <category domain="http://securityratty.com/tag/fewer defects">fewer defects</category>
      <category domain="http://securityratty.com/tag/architectural defects">architectural defects</category>
      <category domain="http://securityratty.com/tag/implementation defects">implementation defects</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/application">application</category>
      <category domain="http://securityratty.com/tag/security design">security design</category>
      <category domain="http://securityratty.com/tag/software developers">software developers</category>
      <source url="http://feeds.feedburner.com/~r/SecurityRetentive/~3/286583249/more-on-application-security-metrics.html">More on Application Security Metrics</source>
    </item>
    <item>
      <title><![CDATA[Confidential information sent to PinPay.net and SoftCard.biz is exposed]]></title>
      <link>http://securityratty.com/article/27cbd575cc28534b9ca368f27ad75124</link>
      <guid>http://securityratty.com/article/27cbd575cc28534b9ca368f27ad75124</guid>
      <description><![CDATA[Technorati Tag: Security Breach

Date Reported
4/29/08

Organization
ACAP Security Inc

Contractor/Consultant/Branch
PinPay
SoftCard

Victims
Merchants, Agents and customers

Number Affected
Unknown
...]]></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/pinpay.jpg" align="right" height="200" width="178"><font size="2"><span style="font-weight: bold;">Date Reported: </span><br>4/29/08<br><br><span style="font-weight: bold;">Organization: </span><br><a href="http://www.acapsecurity.com">ACAP Security Inc.</a> <br><br><span style="font-weight: bold;">Contractor/Consultant/Branch:</span><br><a href="http://www.pinpay.net/index.html">PinPay</a> <br><a href="http://www.softcard.biz/indexaa.html">SoftCard</a> <br><br><span style="font-weight: bold;">Victims:</span><br>Merchants, Agents and customers<br><br><span style="font-weight: bold;">Number Affected:</span><br>Unknown<br><br><span style="font-weight: bold;">Types of Data:</span><br>Name, mailing address, phone number, email address, date of birth, city of birth, sex, and one or more of the following (chosen from drop-down):<br><br></font><ul><li><font size="2">Passport</font></li><li>Voting ID card</li><li>PAN card</li><li>Driving License card</li><li>Government issued ID card</li><li>Social Security Card</li><li>Military ID card</li><li>Consular ID card</li><li>Postal ID card</li><li>Government Employee ID Card</li><li>Credit Card</li><li>Debit Card<br></li></ul><font size="2"><br><span style="font-weight: bold;">Breach Description:</span><br>ACAP Security and affiliated sites are actively marketing a "secure payment system that allows Internet-based businesses to accept secure PIN-debit card payments and transactions at their online store."&nbsp; The PinPay and SoftCard sign-up pages and account access pages are not adequately secured with encryption, potentially exposing extremely sensitive personal information.<br><br><span style="font-weight: bold;">Reference URL:</span><br><a href="http://www.merchant911.org/blog/index.php/2008/05/05/softcard-vendor-exposing-card-numbers/">Merchant 911 Blog</a> <br><br><span style="font-weight: bold;">Report Credit:</span><br>Tom Mahoney, the Founder and Director of Merchant 911<br><br><span style="font-weight: bold;">Response:</span><br>From the online source cited above and my own cursory investigation:<br><br>Back in January, I had short email dialog with a Kip Long, who claimed to be one of the principles of a company called Softcard out of Huntington Beach, CA. They are not to be confused with SoftCard Systems in Athens, GA. As far as I know, SoftCard Systems is a legitimate company with a legitimate product.<br><br>Mr. Long was rather aggressively, but not very successfully, trying to impress me with their product - from what I can make of it, a virtual PIN based card.<br><br>The company uses PinPay - to process transactions and both companies are a part of ACAP Security, Inc.. <br><br>I reviewed their site for possible inclusion in our website’s resource pages, but promptly rejected them.<br><br>their insecure sign-up form - was requesting “Identity Card Numbers” and issue dates. <br><span style="font-style: italic;">[Evan] The sign-up forms at SoftCard.biz and PinPay.net are not secure.&nbsp; Neither are their respected login pages.</span><br><br>“Identity cards” are selectable from a drop down menu and include such ID information as Passport, Driver’s license, SSN, and Credit Card. <br><br>The form also requires a full name and DOB.<br><br>I tried using the HTTPS URL but it appears that they do not have a security certificate tied to their site.<br><br>The fact that Mr. Long used a hotmail address to pitch the company made me wonder too, given that at Merchant911 we try to instill in our members that a free email address from a customer is a fraud alert.<br><br>If a company official can’t use his company’s domain for email, I’m not going to talk to him.<br><br>I called their attention to the insecure web form in January. They still have the form up there, happily collecting this information with an insecure form.<br><span style="font-style: italic;">[Evan] I also sent emails and heard nothing in return.</span><br><br>I have to wonder how much information has already been sniffed or otherwise compromised. You probably don’t want to fill out this form.<br><span style="font-style: italic;">[Evan] My advice would be to <span style="font-weight: bold;">NOT </span>fill out the form and <span style="font-weight: bold;">NOT </span>conduct business with a company that has not demonstrated a willingness to secure your information.</span><br><br><span style="font-weight: bold;">Commentary:</span><br>Tom informed me about this vulnerability (and potentially a breach for anyone that signed-up/in) a couple of weeks ago.&nbsp; I've been a little busy lately, but was finally able to check it out.&nbsp; Let me recap what I found.<br><br>First, let's go to <a href="http://www.softcard.biz.%C2%A0">www.softcard.biz.</a> This is the site that Tom originally pointed out to me.<br><br><img src="http://images.quickblogcast.com/95781-88451/softcardhome.jpg" border="0" width="485"><br><br>The flash home page forwards visitors to a static index (indexaa.html) page.&nbsp; The first paragraph on the page informs visitors about PinPay.<br><br>"The PINPAY SoftCard is a wise way to carry and transfer money. It gives you the ability to purchase products at participating stores throughout the world (as well as at online shopping malls), with the security of a PIN that travels the internet via private encrypted tunnels. It also allows you the ability to load money to your card, pay bills, transfer money to merchants, transfer money between cards, and withdraw cash from your card at the store."<br><br><img src="http://images.quickblogcast.com/95781-88451/registerforfree.jpg" border="0" width="574"><br><br>See where the page says, "Register for your FREE card HERE!!"?&nbsp; This is a link to the sign-up page that Tom was referring to.<br><br><img src="http://images.quickblogcast.com/95781-88451/signupurl.jpg" border="0" width="304"><br><br>No "https" in the URL.&nbsp; Tom was right on that.&nbsp; The sign-up form asks for a personal information ranging from name and address to identity card information (even information for a "Second Identity Card").<br><br><img src="http://images.quickblogcast.com/95781-88451/form.jpg" border="0" width="431"><br><br>The "Select Identity Card" drop down menu displays the choices for the prospective customer, including Passport, Voting ID card, PAN card, Drivers License card, Government issued ID card, Social Security card, Military ID card, Consular ID card, Postal ID card, Government Employee ID Card, Credit Card and Debit Card<br><br><img src="http://images.quickblogcast.com/95781-88451/dropdown.jpg" border="0" width="459"><br><br>SoftCard (or PinPay or ACAP Security) are asking for some very sensitive personal information!&nbsp; First, this is quite a bit more information than they need to approve a person for a "PINPAY SoftCard".&nbsp; Second, no encryption?!&nbsp; Third, who is ACAP/SoftCard/PinPay and what will they do to secure my information once they have it supposing it wasn't intercepted on the way to them?<br><br>Let's dig a little (public) information about ACAP Security.&nbsp; According to <a href="http://www.entrepreneur.com/tradejournals/article/120829630.html">Entreprenuer.com</a>, ACAP launched "Personal Private Network" (ppn) technology, commercially available under the trade name ppnPRO, which is described as a "highly secure, and highly private" personal private network.&nbsp; ppnPRO uses "Government approved AES encryption, with strong personalized 256-bit encryption keys, and encrypting all information- network addresses, applications and ports, as well as the confidential data content".&nbsp; Sounds impressive, but it also sounds like the company should know a thing or two about securing web site transactions with encryption.&nbsp; <br><br>I want to discuss the risk of sending confidential private information over a public network such as the internet without encryption, in particular.&nbsp; This is not a new topic, but I will take some time to demonstrate the risk.<br><br>In order for my information to be compromised, someone (or something) will need to capture the traffic.&nbsp; In order for someone to capture my traffic, they will need to tap into the communication somewhere between me (my computer) and the destination (the web server).&nbsp; My information doesn't travel directly from my computer to the server.&nbsp; There are intermediaries (routers, switches, firewalls, etc.) that have to get (or forward) my information from my computer to the server.<br><br><img src="http://images.quickblogcast.com/95781-88451/trace.jpg" border="0" width="575"><br><br>As you can see depicted in the graphic above, there are at least 16 routers (or hops) between this example source and <a href="http://www.softcard.biz.%C2%A0">www.softcard.biz.&nbsp;</a> The final few hops are not reported due to filtering.&nbsp; So where could my traffic be captured?&nbsp; At the very least:<br><br></font><ul><li><font size="2">Between my computer and my router (or firewall)</font></li><li>Between my firewall and the ISP hand-off</li><li>Between all the traversed devices within my ISP's network</li><li>Between all the traversed devices through the internet</li><li>Between all the traversed devices within the destination ISP's network</li><li>Between all the traversed devices within the destination organization's network and the server itself.<br></li></ul><font size="2">Anyone in the communication path can use a simple protocol analyzer like <a href="http://www.wireshark.org">Wireshark</a> and capture the sensitive information:<br><br>txtfname=Billy&amp;txtmname=J&amp;txtlname=Madison&amp;txtaddress=123+Main+Street&amp;txtcity=Anywhere&amp;<br>txtstate=MA&amp;txtzip=87451&amp;txtcountry=United+States&amp;mob_phone=NONE&amp;txtphone=18006218200&amp;<br>txtemail=billymadison@honky.com&amp;txtdob=04%2F20%2F1988&amp;txtbirthcity=Boston&amp;<br>txtbirthcountry=United+States&amp;txtgender=M&amp;identity1=Social+Security+Card&amp;txtcardno1=123-45-6789&amp;<br>txtissuedate1=04%2F20%2F1988&amp;identity2=Driving+License+card&amp;txtcardno2=M-1234567890&amp;<br>txtissuedate2=04%2F20%2F2006&amp;submit=Accept+Card+Agreement-Submit<br><br>This is a very simplistic demonstration about why it is important to encrypt sensitive information.&nbsp; If the communication had been encrypted, none of the data would have been visible without access to the private key.<br><br>We could go deeper into the server application and SQL, but I think that this is enough.<br><br>A Quote from the ACAP Security CEO:<br></font>“The right of privacy is a fundamental
          and very important right of American society. A right our Nation’s
          founders fought the American Revolution to obtain and a right many
          brave American soldiers have fought and continue to fight and die
          to preserve. As this Nation continues to advance into cyberspace, we
          have
          expanded the right of privacy to include the right to electronic privacy.
          The elements of cyber-crime and cyber-vulnerabilities have begun to
          seriously erode and destroy this important right of electronic privacy.”<br><font size="2"><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/05/08/pinpay.aspx" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
      <pubDate>Thu, 08 May 2008 09:26:03 +0000</pubDate>
      <category domain="http://securityratty.com/tag/information">information</category>
      <category domain="http://securityratty.com/tag/drivers license card">drivers license card</category>
      <category domain="http://securityratty.com/tag/license card">license card</category>
      <category domain="http://securityratty.com/tag/card">card</category>
      <category domain="http://securityratty.com/tag/free card">free card</category>
      <category domain="http://securityratty.com/tag/social security card">social security card</category>
      <category domain="http://securityratty.com/tag/sensitive information">sensitive information</category>
      <category domain="http://securityratty.com/tag/sensitive personal information">sensitive personal information</category>
      <category domain="http://securityratty.com/tag/encrypt sensitive information">encrypt sensitive information</category>
      <source url="http://breachblog.com/2008/05/08/pinpay.aspx">Confidential information sent to PinPay.net and SoftCard.biz is exposed</source>
    </item>
  </channel>
</rss>
