<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>Protecting a Better Internet</title>
      <link>http://www.csoandy.com/</link>
      <description></description>
      <language>en</language>
      <copyright>Copyright 2010</copyright>
      <lastBuildDate>Mon, 08 Mar 2010 10:58:14 -0500</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/?v=4.25</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

      
      <item>
         <title>Why is PCI so successful?</title>
         <description><![CDATA[<p>While at the RSA Conference, I took an afternoon out to head over to Bsides, where I participated in a panel (video in <a href='http://www.ustream.tv/recorded/5164678'>two</a> <a href='http://www.ustream.tv/recorded/5165234'>parts</a>) looking at the PCI Data Security Standard, and its impact on the industry.  The best comment actually came to me in email afterward:</p>

<blockquote>It's worth remembering that, no matter what your opinion of
PCI, the simple fact of the panel discussion today says something
impressive about the impact the standard has had, and the quality of
the industry's response.  Other areas of infosec haven't matured
nearly as much, or as quickly.</blockquote>

<p>Far more than any standard to date, PCI has improved the state of security across the board.   Some of that is in its simplicity -- the bulk of the control objectives are clearly written, and easy to implement against.   Some is in its applicability -- it crosses industries like few other standard.  Even more, I think, is in its narrowness.  Rather than trying to improve security everywhere (and failing), it focuses on one narrow piece of data, and aims to protect that everywhere.</p>

<p>This isn't to say that PCI is the best we could have.  Far from it.  But it's the best we have, and we should look at its model and learn for future compliance standards.</p>]]></description>
         <link>http://www.csoandy.com/2010/03/why_is_pci_so_successful.html</link>
         <guid>http://www.csoandy.com/2010/03/why_is_pci_so_successful.html</guid>
         <category>Conferences</category>
         <pubDate>Mon, 08 Mar 2010 10:58:14 -0500</pubDate>
      </item>
      
      <item>
         <title>Why don&apos;t websites default to SSL/TLS? </title>
         <description><![CDATA[<p>When a client connects on TCP port 80 to a webserver, one of the first thing it sends is a line that tells the server what website it wants.  This line looks like this:<br />
<code>HOST: www.csoandy.com</code><br />
This tells the webserver which configuration to use, and how to present content to the end-user.   This effectively abstracts TCP and IP issues, and lets websites and webservers interact at the discretion of the owner.  The designed user of HTTP is the administrator, who may need to host dozens of websites on a smaller number of systems.</p>

<p>Secure Socket Layer (SSL) and its successor, Transport Layer Security (TLS), on the other hand, were designed for exactly the opposite user.  The designed user of HTTPS is the paranoid security academic, who doesn't even want to tell a server the hostname it is looking for (the fact that you were willing to tell a DNS server is immaterial).  In essence, SSL requires that any server IP address can have only one website on it.  When a client connects to a webserver on port 443, the first thing it expects is for the server to provide a signed certificate, that matches the hostname that the <i>client has not yet sent</i>.  So if you connect to <i>www.csoandy.com</i> via <a href=https://www.csoandy.com/>SSL</a>, you'll note you get back a different certificate: one for <i>a248.e.akamai.net</i>.  This is expected -- nothing on this hostname requires encryption. Similarly, for Akamai customers that are delivering whole-site content via Akamai on hostnames CNAMEd to Akamai's edgesuite.net domain, attempts to access these sites via SSL will result in a certificate for a248.e.akamai.net being returned. (Aside: customers use our SSL Object Caching service to deliver objects on the <i>a248.e.akamai.net</i> hostname; customers who want SSL on their own hostnames use our WAA and DSA-Secure services).</p>

<p>The designs of HTTP and HTTPS are diametrically opposed, and the SSL piece of the design creates horrendous scaling problems.  The server you're reading this from serves over 150,000 different websites.   Those sites are actually loadbalanced across around 1600 different clusters of servers.  For each website to have an SSL certificate on this network, we'd need to consume around 250 million IP addresses - or 5.75% of the IPv4 space.  That's a big chunk of the <a href='http://www.potaroo.net/tools/ipv4/index.html'>9% left as of today</a>. Note that there isn't a strong demand to put most sites on SSL; this is just elucidating why, even if there were demand, the sheer number of websites today makes this infeasible.</p>

<p>Fortunately, there are paths to a solution.</p>

<p><strong>Wildcard certificates</strong><br />
For servers that only serve hostnames in one domain, a wildcard certificate can help.  If, for instance, in addition to <i>www.csoandy.com</i>, I had <i>store.csoandy.com</i>, <i>pictures.csoandy.com</i>, and <i>catalog.csoandy.com</i>, instead of needing four certificates (across those 1800 locations!), I could use a certificate for <i>*.csoandy.com</i>, which would match all four domains, as well as future growth of hostnames.</p>

<p>You're still limited; a wildcard can only match one field, so a certificate for <i>*.csoandy.com</i> wouldn't work on a site named <i>comments.apps.csoandy.com</i>.  Also, many security practitioners, operating from principles of least privilege, frown on wildcard certificates, as they can be used even for unanticipated sites in a domain.</p>

<p><strong>Subject Alternate Name (SAN) certificates</strong><br />
A slightly more recent variety of certificate are the SAN certificates.   In addition to the hostname listed in the certificate, an additional field lets you specify a <i>list</i> of valid hostnames for that certificate (If you look closely, the <i>a248.e.akamai.net</i> certificate on this host has a SAN field set, which includes both <i>a248.e.akamai.net</i> and <i>*.akamaihd.net</i>).   This permits a server to have multiple, disparate hostnames on one interface.</p>

<p>On the downside, you still only have one certificate, which is going to get larger and larger the more hostnames you have (which hurts performance).   It also ties all of those hostnames into one list, which may present brand and security issues to some enterprises.</p>

<p><strong>Server Name Indication (SNI)</strong><br />
The long term solution is a feature for TLS called Server Name Indication (SNI).   This extension calls for the client to, as part of the initial handshake, indicate to the server the name of the site it is looking for.   This will permit a server to select the appropriate one from its set of SSL certificates, and present that.</p>

<p>Unfortunately, SNI only provides benefit when <i>everyone</i> supports it.  Currently, <a href='http://en.wikipedia.org/wiki/Server_Name_Indication#Unsupported_operating_systems.2C_browsers_and_libraries'>a handful of systems don't support SNI</a>, most notably Windows XP and IIS. And those two major components are significant: <a href='http://en.wikipedia.org/wiki/Usage_share_of_operating_systems#Web_clients'>XP accounts for 55-60% of the browser market</a>, and <a href=http://news.netcraft.com/archives/2010/01/07/january_2010_web_server_survey.html>IIS looks to be around 24%</a>.  So it'll be a while until SNI is ready for primetime.</p>]]></description>
         <link>http://www.csoandy.com/2010/02/why_dont_websites_default_to_s.html</link>
         <guid>http://www.csoandy.com/2010/02/why_dont_websites_default_to_s.html</guid>
         <category>Akamai</category>
         <pubDate>Thu, 04 Feb 2010 09:25:17 -0500</pubDate>
      </item>
      
      <item>
         <title>The Designed User </title>
         <description><![CDATA[<p>One of the things I've always liked about Apple technology is that every system feels like it was designed for a specific individual.   The more you're like that individual, the more you like their technology.   This isn't unique to Apple -- most technology capabilities are designed for a specific problem space -- Apple is just clearer about it.  As a security professional, I like to understand who a specific technology is designed for ("The Designed User") as part of assessing risks involved.</p>

<p>As an example of designed users, take the new Twitter "retweet" functionality.   (For those of you new to Twitter: Twitter permits people to post 140-character tweets.  Interesting tweets are often "retweeted" by prepending "RT @username (original tweet here)", sometimes with some commentary appended.  Twitter has another setting: whenever someone puts your username into a tweet, you see it.)   The new retweet functionality, much maligned, allows a single click to retweet a tweet.    The originating user does not see the new tweet.</p>

<p>The "old" retweet function -- really, a use created by users -- is perfect for the networking user.   It often gets used to make a comment on someone else's tweet, while rebroadcasting it.   I want to see every time someone retweets something I said (really, it doesn't happen that often).  But I'm not the target of the new functionality: celebrities are.  A large number of retweets are celebrity tweets being rebroadcast by their followers.   If you're in that network, you want to minimize how many times you see the same retweet in your timeline.  For those users, the new capability is easier, and far more preferred.</p>

<p>With any capability, we should always ask who the intended audience is as part of understanding the design space the developers were in.  This may help us understand why certain security tradeoffs were chosen.</p>]]></description>
         <link>http://www.csoandy.com/2010/01/the_designed_user.html</link>
         <guid>http://www.csoandy.com/2010/01/the_designed_user.html</guid>
         <category>Philosophy</category>
         <pubDate>Mon, 25 Jan 2010 12:41:12 -0500</pubDate>
      </item>
      
      <item>
         <title>The Evolution of DDoS</title>
         <description><![CDATA[<p>Last week, I spent some time with Bill Brenner (CSO Magazine) discussing DDoS attacks, and some insight into attacks over the last ten years.  He put our discussion into a <a href=http://www.csoonline.com/podcast/512573/The_Long_Strange_Evolution_of_DDoS_Attacks>podcast</a>.   </p>]]></description>
         <link>http://www.csoandy.com/2010/01/the_evolution_of_ddos.html</link>
         <guid>http://www.csoandy.com/2010/01/the_evolution_of_ddos.html</guid>
         <category>Akamai</category>
         <pubDate>Wed, 13 Jan 2010 10:24:57 -0500</pubDate>
      </item>
      
      <item>
         <title>Interview at ThreatChaos</title>
         <description><![CDATA[<p>Over the holidays, I spent some time on the phone with Richard Stiennon, talking a bit about Akamai and DDoS.  The <a href='http://threatchaos.com/home-mainmenu-1/16-blog/528-cdn-cyber-defense'>interview is up</a> over at ThreatChaos.</p>]]></description>
         <link>http://www.csoandy.com/2010/01/interview_at_threatchaos.html</link>
         <guid>http://www.csoandy.com/2010/01/interview_at_threatchaos.html</guid>
         <category>Akamai</category>
         <pubDate>Mon, 04 Jan 2010 10:16:13 -0500</pubDate>
      </item>
      
      <item>
         <title>Would DNSSEC have helped Twitter?</title>
         <description><![CDATA[<p><a href="http://www.computerworld.com/s/article/9142485/Twitter_s_own_account_caused_blackout_says_DNS_provider">Twitter had its name servers "stolen"</a>.   Would DNSSEC have helped protect them?  To be brief, no.  But looking at why not will help understand the limitations of DNSSEC.  It helps to start with the basics of DNS, and DNSSEC.</p>

<p>DNS is broken down into <em>zones</em>.   A zone is a hierarchical collections of names, roughly grouped by the periods in the hostname -- e.g., <em>www.csoandy.com</em> exists under three zones: <em>.</em> (the root zone), <em>.com</em>, and <em>.csoandy.com</em>.   Each zone has a set of servers that are <em>authoritative</em> when answering queries in that zone, and can <em>delegate</em> responsibility for a subsidiary zone to a different set of servers.</p>

<p>With DNSSEC, each zone has a set of keys used to sign answers in the zone; the zone signing key, which signs the records, and the key signing key, which signs the zone signing key.  You learn the key signing key for a zone when receiving a delegation; the delegating server adds a special record informing you of the key for the zone they're passing you to.</p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="doorlock.jpg" src="http://www.csoandy.com/images/doorlock.jpg" width="100" height="67" class="mt-image-right" style="float: right; margin: 0 0 20px 20px;" /></span><p><a href="http://www.thetechherald.com/article.php/200951/4978/Twitter-was-not-hacked-their-DNS-was-hijacked-Update">Looking at the incident</a>, it appears that a compromised Twitter employee email account was used to reset an administrative account login with their registrar, and then that account was used to change the delegation for twitter.com.  Had Twitter been using DNSSEC, Twitter would have needed to provide the public half of their key signing key to their registrar.   Odds are, that would be in the same interface that was used to redirect twitter.com.  An adversary would have been able to alter the DNSSEC delegation just as easily as they altered the zone delegation.</p></p>

<p>DNSSEC has a lot of strengths, but it isn't a magic bullet for all of the weaknesses in the DNS infrastructure.</p>

<p><small><div class="mt-image-right" style="float: right; margin: 0 0 20px 20px;" xmlns:cc="http://creativecommons.org/ns#" about="http://www.flickr.com/people/17516529@N00/">Photo by <a rel="cc:attributionURL" href="http://www.flickr.com/photos/17516529@N00/">jillyspoon</a> / <a rel="license" href="http://creativecommons.org/licenses/by-nd/2.0/">CC BY-ND 2.0</a></div></small><p></p></p>]]></description>
         <link>http://www.csoandy.com/2009/12/would_dnssec_have_helped_twitt.html</link>
         <guid>http://www.csoandy.com/2009/12/would_dnssec_have_helped_twitt.html</guid>
         <category>DNS</category>
         <pubDate>Mon, 21 Dec 2009 09:24:12 -0500</pubDate>
      </item>
      
      <item>
         <title>Modeling Imperfect Adversaries</title>
         <description><![CDATA[<p>An important piece of risk assessment is understanding your adversaries.  Often, this can degenerate into an assumption of perfect adversaries.  Yet when we think about risk, understanding that our adversaries have different capabilities is critical to formulating reasonable security frameworks.   Nowhere is this more true than in the streaming media space.</p>

<p>Brian Sniffen (a colleague at Akamai) recently presented a <a href="http://www.csoandy.com/docs/sniffen-fast2009-web.pdf">paper</a> at <a href="http://www.iit.cnr.it/FAST2009/">FAST</a> exploring ways of considering different adversaries, especially in the context of different business models.   He presents some interesting concepts worth exploring if you're in the space:</p>

<ul>
	<li><em>Defense in breadth</em>: The concept of using different security techniques to protect distinct attack surfaces, specifically looking at defeating <em>how</em> a specific adversary type is prone to conduct attacks.</li>
         <li><em>Tag-limited adversaries</em>: An extension to the <a href="http://en.wikipedia.org/wiki/Dolev-Yao_threat_model">Dolev-Yao adversary</a> (a perfect adversary who sits inline on a communication stream), the tag-limited adversary may only have knowledge, capabilities, or desire to conduct attacks within a limited vocabulary.</li>
</ul>

<p>His paper is also a good primer on thinking about streaming threat models.</p>]]></description>
         <link>http://www.csoandy.com/2009/12/modeling_imperfect_adversaries.html</link>
         <guid>http://www.csoandy.com/2009/12/modeling_imperfect_adversaries.html</guid>
         <category>Technology</category>
         <pubDate>Fri, 18 Dec 2009 09:09:04 -0500</pubDate>
      </item>
      
      <item>
         <title>Virtual Patching</title>
         <description><![CDATA[<p>Virtual patching, for those new to the term, is the practice of adding a rule to a Web Application Firewall (WAF) to filter out traffic that could exploit a known vulnerability in a protected application.  This has triggered debate in the security community -- is this a good thing?   Why would a developer fix the vulnerability if it is mitigated?</p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="bandaid.jpg" src="http://www.csoandy.com/images/bandaid.jpg" width="100" height="75" class="mt-image-right" style="float: right; margin: 0 0 20px 20px;" /></span>First off, Virtual Patching is, in fact, a good thing.   The development turnaround time for a WAF rule is almost certainly shorter than the development cycle for the backend application, so this shortens your mitigation window.   That shouldn't really be a topic of debate.</p>

<p>The interesting debate, then, is how we manage the underlying vulnerability.  One school of thought argues that the WAF is only a stopgap, and developers should fix the vulnerability because that's the right thing to do.  Another school's argument is a bit more complex.   Don't fix the vulnerability.   <em>Fix the entire class of vulnerabilities.</em></p>

<p>If you have a vulnerability in a webapp, odds are that it's a symptom of a greater category of vulnerability.  That CSRF bug on one page likely reflects a design flaw in not making GET requests nullipotent, or not using some form of session request management.   Given the urgency of an open vulnerability, the developers will likely focus on fixing the tactical issue. Virtually patch the tactical vulnerability, and focus on the flaw in the foundation.  It'll take longer to fix, but it'll be worth it in the long run.</p>

<p><small><div class="mt-image-right" style="float: right; margin: 0 0 20px 20px;"xmlns:cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/leonorjr/464414982/">Photo by <a rel="cc:attributionURL" href="http://www.flickr.com/photos/leonorjr/">leonorjr</a> / <a rel="license" href="http://creativecommons.org/licenses/by-nd/2.0/">CC BY-ND 2.0</a></div></small><p></p></p>]]></description>
         <link>http://www.csoandy.com/2009/12/virtual_patching.html</link>
         <guid>http://www.csoandy.com/2009/12/virtual_patching.html</guid>
         <category>Philosophy</category>
         <pubDate>Tue, 15 Dec 2009 11:16:26 -0500</pubDate>
      </item>
      
      <item>
         <title>DDoS thoughts</title>
         <description><![CDATA[<p>We are used to measuring the efficiency of DDoS attacks in ratios of bits-per-second.  An attacker wants to consume many bits-per-second for each of his own bits-per-second that he uses. He would rather send one packet to generate a storm than have to send the storm himself.  We can extend this efficiency measurement to other attacks.  Let's use the name "flits per second" (for fully-loaded bits) for this more general measurement of cost and pain: sending or receiving one bit-per-second costs one flit-per-second.  Doing enough computation to have an opportunity cost of one bit-per-second has a cost of one flit-per-second.  Enough disk access to forestall one bit-per-second costs one flit-per-second.  Now we can talk about the flit capacity of the attacker and defender, and about the ratio between flits consumed on each side during an attack.</p>

<p>From a defensive efficiency perspective, we have two axes to play with:  first, reducing the flit-to-bit ratio of an attack, by designing optimal ways of handling traffic; and second, increasing the relative client cost to produce an attack.</p>

<p>To reduce the flitcost, consider the history of SYN floods.   SYN floods work by sending only the first packet in the three way TCP handshake; the victim computer keeps track of the half-open connection after sending its response, and waits for the attacker's followup.    That doesn't come;  for the cost of a single SYN packet, the attacker gets to consume a sparse resource (half-open connections) for some period of time.   The total amount of traffic needed historically was pretty minimal, until SYN cookies came along.  Now, instead of using the sparse resource, targets use a little bit of CPU to generate a cryptographic message, embed it in their response, and proceed apace.   What was a very effective attack has become rather ineffective; against most systems, a SYN flood has a lower flit-to-bit ratio than more advanced application layer attacks.</p>

<p>The other axis is more interesting, and shows why SYN floods are still prevalent even today:  they're cheap to produce.   They don't consume a lot of cycles on the attacking systems, and don't require interesting logic or protocol awareness.  The fewer resources an attacker can consume, the more likely their attack will go unnoticed by the owners of the compromised hosts used in the attack (Case in point: look at how fast Slammer remediation happened.  Why? ISPs were knocked offline by having infected systems inside).  Many attack programs effectively reduce to "<em>while (1) {attack}</em>".   If the attack is making an HTTP request, filtering the request will often generate <em>a higher rate of requests</em>, without changing the attacker's costs.   If this higher rate has the same effect on you that the lower rate did, you didn't buy anything in your remediation. You might have been better off responding more slowly, than not at all.</p>

<p>In the general case, this leads us to two solution sets.   Traffic filtering is the set of technologies designed to make handling attacks more efficient; either by handling the attack further out in an infrastructure, classifying it as malicious for a cheaper cost than processing it, or making processing cheaper.</p>

<p>Capacity increases, on the other hand, are normally <em>expensive</em>, and they're a risky gamble.  If you increase far in excess of attacks you ever see, you've wasted money.  On the other hand, if you increase by not quite enough, you're still going to be impacted by an event (and now, of course, you'll be criticized for wasting money that didn't help). <em>Obligatory vendor pitch: this is where a shared cloud infrastructure, like a CDN, comes into play.  Infrastructures that measure normal usage in terabits per second have a significantly different tolerance for attack capacity planning than most normal users.</em></p>]]></description>
         <link>http://www.csoandy.com/2009/12/ddos_thoughts.html</link>
         <guid>http://www.csoandy.com/2009/12/ddos_thoughts.html</guid>
         <category>Technology</category>
         <pubDate>Thu, 10 Dec 2009 17:10:15 -0500</pubDate>
      </item>
      
      <item>
         <title>H1N1 and telework</title>
         <description><![CDATA[<p>The nervousness around H1N1 has pretty much permeated every aspect of our lives.   Remember a year or two ago, the hysteria around hand sanitizers and alcohol poisoning?  Gone; in its place, we have dispensers in buildings everywhere.  That's the power of the fear of H1N1.</p>

<p>Another place is in schooling.  Not too long ago, if your kid got sick, school policy was "keep them home if they have a fever or are vomiting."   Sanely, this migrated to "keep them home for 24 hours after a fever."  Now, however, it is "48 hours fever-free with no medications."  Some schools/daycares have added "and no symptoms either," which is moderately impractical for the kids who get a three-week long lingering cough.</p>

<p>This affects us in the workplace.   If an employee has a small child and they don't have a stay-at-home caregiver, expect that they're going to miss more time than in prior years; and that the employee actually will be stressed about this (heck, anyone trapped at home with a no-longer-sick child on a school-day is going to end up pretty stressed).  Also, you may want to suggest that employees with sick children stay at home even if they aren't the primary caregiver, just to minimize workplace infections.</p>

<p>Key to this is a sane telework plan.   Like most things, this comes down to People, Process, and Technology.</p>

<p><em>People</em>: Do the employee and manager have a good rapport, such that working remotely does not lead to communications failures?  Can the employee work without direct management?   Can the employee balance the needs of daytime home-life with work?</p>

<p><em>Process</em>: Do you have understood ways for the employee's status to be communicated?   Do other employees know how to reach them?   How many hours do you expect when an employee is "working from home"?</p>

<p><em>Technology</em>:  What telework capabilities do you have?   (VOIP phones in the home?   VTC setups?)   What about remote collaboration? (A wiki, IM, ticketing system or just email?)   Do your employees have enough bandwidth at home to telework?  Do you have enough in your office to support them?</p>

<p>It's going to happen to you -- you just need a little prep.   And most of that prep?  You can typeset it to hand to your auditors; it's a big piece of your DRP.</p>]]></description>
         <link>http://www.csoandy.com/2009/11/h1n1_and_telework.html</link>
         <guid>http://www.csoandy.com/2009/11/h1n1_and_telework.html</guid>
         <category>Philosophy</category>
         <pubDate>Mon, 23 Nov 2009 11:51:09 -0500</pubDate>
      </item>
      
      <item>
         <title>Secure by design?</title>
         <description><![CDATA[<p><em>"How do we ensure people build secure systems?"</em></p>

<p>This was the question to the panel before mine at the <a href='http://engineering.dartmouth.edu/news-events/lecture-series/impact-areas/complex-systems/program.html'>Thayer School's Complex Systems Symposium</a>.  It's not a new question - it comes up every time anyone tries to tackle hard problems around internet security.   But it's an unfair question, because <em>we have never built anything securely.</em></p>

<p>The question was asked in a lecture hall.  Every time the symposium took a break, the two aisles bottled up with side conversation, inhibiting the flow of people needing to exit/enter.   There were several "captains of industry", extremely talented professors, and bright students in the room; yet a mob could have swooped in shouting at any minute or an attacker could have waltzed in unimpeded (I could go on and on with threat scenarios).  Yet who is responsible for the poor security design of that lecture hall?</p>

<p>In reality, security is about making good risk decisions, and accepting that there are some attacks and adversaries that you will not defend against.  For internet-connected systems, this tradeoff is harder, as the cost to your adversaries is usually small enough that attacks that are implausible in the physical world become economical (remember the half-penny skimmers?)</p>]]></description>
         <link>http://www.csoandy.com/2009/11/secure_by_design.html</link>
         <guid>http://www.csoandy.com/2009/11/secure_by_design.html</guid>
         <category>Conferences</category>
         <pubDate>Sun, 08 Nov 2009 03:33:17 -0500</pubDate>
      </item>
      
      <item>
         <title>Compliance, Security, and the relations therein</title>
         <description><![CDATA[<p>Last week, Anton Chuvakin <a href=http://chuvakin.blogspot.com/2009/10/compliance-security-does-security.html>shared his latest in the "compliance is not security" discussion</a>:<br />
<blockquote>Blabbing "compliance does not equal security" is a secret rite of passage into the League of High Priests of the Arcane Art of Security today. Still, it is often quietly assumed that a well-managed, mature security program, backed up by astute technology purchases and their solid implementation will render compliance "easy" or at least "easier." One of my colleagues also calls it "compliance as a byproduct." So, I was shocked to find out that not everyone agrees...</blockquote></p>

<p>I think there are two separate issues that Anton is exploring.   </p>

<p>The first is that a well-designed security control should aid in compliance.   As one of <a href='http://chuvakin.blogspot.com/2009/10/compliance-security-does-security.html#IDComment37866771'>his commenters notes</a>, a good security program considers the regulatory issues; or, more plainly, <i>a good security control considers the compliance auditor as an adversary</i>.  If you do not design controls to be auditable, you are building risk into your system (sidebar: what security risks are <i>worse</i> than failing an audit?).</p>

<p>But the second point is more interesting.   Most compliance frameworks are written to target the industry standard architectures and designs. What if you are doing something so different that a given control has no parallel in your environment? Example:  You have no password authentication in your environment; what do you do about controls that require certain password settings?  What if your auditor insists on viewing inapplicable settings?</p>

<p>Then, you have three options:<br />
<ol><li>Convince your auditor of the inapplicability of the controls.</li><li>Create sham controls to satisfy the auditor</li><li>Find another auditor</li></ol></p>]]></description>
         <link>http://www.csoandy.com/2009/10/compliance_security_and_the_re.html</link>
         <guid>http://www.csoandy.com/2009/10/compliance_security_and_the_re.html</guid>
         <category>Regulation</category>
         <pubDate>Tue, 13 Oct 2009 07:14:49 -0500</pubDate>
      </item>
      
      <item>
         <title>Security and hairdressing</title>
         <description><![CDATA[<p>I've become an amateur hairdresser in the past couple of years, thanks to my three year old (I suspect that, had I been unwilling to do so, her hair would be quite short right now). Along the way, I've realized that I know as much about hairdressing as I do about many of the disciplines InfoSec touches.</p>

<p>For those of you who've never braided hair, let's try a little manual experiment. Go get three strings.  Tie them together at one end to a fixed object: maybe a railing.  Now braid them: holding them extended, switch the middle and right one; then the (new) middle and left one.  Repeat, each time making sure the middle one goes under the outer one.  Do this a couple of times, until you're comfortable with it.</p>

<p>You now know as much about hairstyling as you probably know about some of the more esoteric security disciplines: executive extraction, availability analysis, crypto design, or fault isolation in Byzantine networks.  You haven't had to deal with snarls, or working with multiple different hair types, or tried a French braid.  Similarly, you may never have designed a communications protocol, or walked a perimeter, or managed IDS sensors on the other end of an intercontinental straw.</p>

<p>Yet every day, as infosec professionals, we are compelled to guide other professionals  in how to do their jobs.  My advice: be a bit humble.  As smart and clever as we think we are, the professionals we deal with are smarter in their own disciplines.   </p>

<p></p>

<p><br />
<br /></p>]]></description>
         <link>http://www.csoandy.com/2009/07/security_and_hairdressing.html</link>
         <guid>http://www.csoandy.com/2009/07/security_and_hairdressing.html</guid>
         <category>Technology</category>
         <pubDate>Mon, 13 Jul 2009 20:30:17 -0500</pubDate>
      </item>
      
      <item>
         <title>The Problem with Password Unmasking</title>
         <description><![CDATA[<p>I disagree with <a href='http://www.useit.com/alertbox/passwords.html'>this</a>:<br />
<blockquote>It's time to show most passwords in clear text as users type them. Providing feedback and visualizing the system's status have always been among the most basic usability principles. Showing undifferentiated bullets while users enter complex codes definitely fails to comply.</p>

<p>Most websites (and many other applications) mask passwords as users type them, and thereby theoretically prevent miscreants from looking over users' shoulders. Of course, a truly skilled criminal can simply look at the keyboard and note which keys are being pressed. So, password masking doesn't even protect fully against snoopers.</p>

<p>More importantly, there's usually nobody looking over your shoulder when you log in to a website. It's just you, sitting all alone in your office, suffering reduced usability to protect against a non-issue.</blockquote></p>

<p>Even though <a href='http://www.schneier.com/blog/archives/2009/06/the_problem_wit_2.html'>Bruce Schneier agrees with it</a>:<br />
<blockquote>Shoulder surfing isn't very common, and cleartext passwords greatly reduces errors. It has long annoyed me when I can't see what I type: in Windows logins, in PGP, and so on.</blockquote></p>

<p>Ignoring the issue of security controls enforced differently in browsers for type <em>password</em> versus type <em>text</em>, the arguments in favor of unmasking fail to address several issues:</p>

<ul><li>What class of attackers are completely foiled by password masking?  What is the exposure presented by these people? (Think: someone that happens to glance at your screen as they've interrupted you midlogin)</li>
<li>What is the additional level of likelihood of detection of someone trying to watch your fingers touchtype vs. someone simply reading off a screen?</li>
<li>What is the additional level of risk presented by a persistent display of the password vs. an ephemeral display of each keystroke as it is typed?</li>
<li>What is the additional attack surface presented by having the password sent back from a network application, rather than a one-way transmission?</li>
<li>How much of the uncommonality of shoulder surfing is due to user awareness of password protection needs, as communicated to them at <em>every</em> login?</li>
</ul>

<p>All that aside, the correct answer is to reduce our dependency on passwords, both through SSO technologies, and through use of certificate and ephemeral authentication schemes.</p>]]></description>
         <link>http://www.csoandy.com/2009/06/the_problem_with_password_unma.html</link>
         <guid>http://www.csoandy.com/2009/06/the_problem_with_password_unma.html</guid>
         <category>Technology</category>
         <pubDate>Fri, 26 Jun 2009 08:45:11 -0500</pubDate>
      </item>
      
      <item>
         <title>Embedded bluetooth systems</title>
         <description><![CDATA[<p>I have a bluetooth handsfree device, which occasionally gets into an annoying error mode, where my phone thinks the device is connected, and the device disagrees.   Modifications to the phone's state - turning bluetooth on or off, powercycling - have no effect.   The only apparent cure is to turn the bluetooth device off, and then back on again.</p>

<p>Unfortunately, it's the embedded handsfree system in my car.  So I have to turn off the car, and then turn it back on again.  My mother has the same problem - this seems to be a defect in the Toyota/Lexus integration.  So if you're behind me when I pull out of the garage, and I turn the car off and on at the first red light, you'll know why.</p>]]></description>
         <link>http://www.csoandy.com/2007/03/embedded_bluetooth_systems.html</link>
         <guid>http://www.csoandy.com/2007/03/embedded_bluetooth_systems.html</guid>
         <category>Technology</category>
         <pubDate>Sat, 31 Mar 2007 19:28:38 -0500</pubDate>
      </item>
      
   </channel>
</rss>
