<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Perimeter Grid &#187; society</title> <atom:link href="http://perimetergrid.com/wp/category/society/feed/" rel="self" type="application/rss+xml" /><link>http://perimetergrid.com/wp</link> <description>Building Security in a Networked World</description> <lastBuildDate>Sat, 13 Aug 2011 06:02:53 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=</generator> <item><title>DefCon 19, Day 1</title><link>http://perimetergrid.com/wp/2011/08/10/defcon-19-day-1/</link> <comments>http://perimetergrid.com/wp/2011/08/10/defcon-19-day-1/#comments</comments> <pubDate>Thu, 11 Aug 2011 05:49:42 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[industry]]></category> <category><![CDATA[physical security]]></category> <category><![CDATA[privacy]]></category> <category><![CDATA[risk]]></category> <category><![CDATA[society]]></category> <category><![CDATA[statistics]]></category> <category><![CDATA[terrorism]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/?p=140</guid> <description><![CDATA[Having finished with BlackHat, I checked out of the Flamingo and moved to DefCon&#8217;s new location this year, the Rio. This was an enormous upgrade from the Riviera, the previous location. For one, the conference center is nearly 50% bigger, and it&#8217;s beautiful. Traffic flow was greatly improved, despite record attendance (~12,000, from estimates I&#8217;ve [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>Having finished with BlackHat, I checked out of the Flamingo and moved to DefCon&#8217;s new location this year, the Rio.  This was an <I>enormous</I> upgrade from the Riviera, the previous location.  For one, the conference center is nearly 50% bigger, and it&#8217;s beautiful.  Traffic flow was greatly improved, despite record attendance (~12,000, from estimates I&#8217;ve heard, up 20% from last year.)  It was crowded, but it was a manageable crowd, and I managed to get into everything I wanted to, save for a talk in Track 2 (by far the smallest of the 5 presentation rooms.)  What&#8217;s more, the DefCon Goons improved things as the conference went along (they always do), so Saturday went even better than Friday.</p><p>I started the first day with 1o57&#8242;s talk on the new DefCon badge.  This year&#8217;s badges were non-electronic (for the first time in several years) &#8212; they were antiqued titanium discs with the Eye of Ra and various codes inscribed in them with a water knife.  Apparently making the 10,000 DefCon badges actually used the entire supply of sheet titanium in the United States at the time.  Bright side of them being non-electronic: they actually had them before the con started!  There has been a history of the badges getting hung up in customs on the way from China, but the non-electronic badges were produced in the USA.  1o57 designed an elaborate puzzle contest around the badges, but I can&#8217;t say much about it as I didn&#8217;t participate this year.  There was, however, a very nice-looking code wheel on the floor of the Rio convention center rotunda that was key to the game and gave the room a nice DefCon look, so it was appreciated even by non-participants.</p><p>I spent the next couple of hours exploring the non-talk aspects of DefCon (none of the sessions in those slots were particularly interesting to me) and bought up some DefCon shirts and a couple of 2600 Hacker Calendars.  I also donated $170 to the <A
HREF="http://www.eff.org">Electronic Frontier Foundation</A> in my name and my wife&#8217;s, though I didn&#8217;t actually end up going to the party to which that entitled me admission (the donation and not the party was the primary purpose anyway.)</p><p>I dropped into Mark Weber Tobias&#8217;s physical security talk, called <A
HREF="https://www.defcon.org/html/defcon-19/dc-19-speakers.html#Tobias">Insecurity: An Analysis Of Current Commercial And Government Security Lock Designs</A>, which involved some hilarious attacks on &#8220;high-security&#8221; physical locks.  You know those locks with 5 vertically-arranged pushbuttons you see in every airport or government building?  They pop right open if you stick a neodymium-iron-boron magnet on the side.  A keycard/keypad electronic lock with a USB port on the bottom for reprogramming is impervious to electronic attacks&#8230; but opens if you shove a paperclip to the back of the USB port.  This sort of attack was ubiquitous &#8212; simple modifications that made sophisticated electronic locks open in purely mechanical ways.  The overall point is that to get through a door, you do not have to open the lock &#8212; you have to actuate the mechanism that the lock actuates.  Sometimes this is really easy.</p><p>The next talk was entitled <A
HREF="https://www.defcon.org/html/defcon-19/dc-19-speakers.html#Rezchikov">Why Airport Security Can&#8217;t Be Done FAST</A>, about the TSA&#8217;s Future Attribute Screening Technology.  This project intends to detect malicious intent, based on biometrics and facial cues, kind of like an electronic <A
HREF="http://en.wikipedia.org/wiki/Lie_to_me">Cal Lightman</A>.  The problem, in short, is the standard Bayesian statistical issues that always come up when trying to detect something vanishingly rare like terrorism.  The top 10 airlines in the world carry a billion passengers per year &#8212; the top 5 US carriers alone carry 500 million per year.  How many of these are terrorists who actually intend to blow up a plane that flight?  Let&#8217;s be very conservative and pretend 100 people try to board an American plane with the intent to blow it up every year (probably an enormous overestimate.)  Now let&#8217;s imagine my FAST system is 99.9% accurate at detecting terrorists &#8212; sounds great, doesn&#8217;t it?  Let&#8217;s get that into our airports immediately!  But wait&#8230; 99.9% accurate means it will probably catch all 100 terrorists.  It&#8217;ll also catch 500,000 innocent people &#8212; 0.1% of the 500 million passengers.  So if FAST points you out as a terrorist, there&#8217;s a 0.0002% chance it&#8217;s right!  Due to the base rate fallacy, a 99.9% accurate terrorist detector&#8217;s alarms are false positives 99.9998% of the time.  Oops.</p><p>What do you bet the real FAST isn&#8217;t 99.9% accurate, either?</p><p>I next attended the <A
HREF="https://www.defcon.org/html/defcon-19/dc-19-speakers.html#PanelEFF">EFF Year in Civil Liberties panel</A> for a summary of legal issues in information security, privacy, and free speech.  This was followed by the <A
HREF="https://www.defcon.org/html/defcon-19/dc-19-speakers.html#PanelDCG">Hackerspace Panel</A>, about hackerspaces and DefCon groups around the country and what they do to encourage innovation and bring hackers, makers, and other interested people together.  Both panels went very well, especially given that the Q&#038;A nature of panels often makes them hit-or-miss.</p><p>Friday night at DefCon is surprisingly free of events &#8212; about all that&#8217;s going on is the Black Ball and the DefCon Pool Party.  I met up with the DC206 group again, had some dinner, and mostly hung out at the pool party for the evening and discussed the day&#8217;s events and other topics in hackerdom.  Frankly, talking about interesting topics (in a hot tub outside with DJs spinning techno in the background, no less) beats most parties anyway.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2011/08/10/defcon-19-day-1/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>BlackHat USA 2011, Day 2</title><link>http://perimetergrid.com/wp/2011/08/10/blackhat-usa-2011-day-2/</link> <comments>http://perimetergrid.com/wp/2011/08/10/blackhat-usa-2011-day-2/#comments</comments> <pubDate>Thu, 11 Aug 2011 05:03:49 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[attacks]]></category> <category><![CDATA[crypto]]></category> <category><![CDATA[industry]]></category> <category><![CDATA[risk]]></category> <category><![CDATA[society]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/?p=135</guid> <description><![CDATA[The second day of BlackHat started out with a keynote by Mudge. I attended this one despite the normally-dull nature of BlackHat keynotes, because while Mudge is a Fed now (he works for DARPA), he has a long history as a contributor to hacker culture and I wanted to hear what he had to say. [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>The second day of BlackHat started out with a keynote by Mudge.  I attended this one despite the normally-dull nature of BlackHat keynotes, because while Mudge is a Fed now (he works for DARPA), he has a long history as a contributor to hacker culture and I wanted to hear what he had to say.  He introduced a DARPA program called Cyber Fast Track (it&#8217;s not government if it doesn&#8217;t have &#8220;cyber&#8221; in the name, after all) that allows small companies and even hackerspaces to receive grants to do infosec research, without having to jump through the hoops and fill out the forms for traditional government financing, all of which are designed for huge government contractors like Lockheed Martin and are nigh-impossible for individuals and startups.  I appreciate the work he&#8217;s doing, and especially the fact that accepting these grants involves giving DARPA only government-use rights and not signing over the IP for the research.</p><p>Next I went to Chris Paget&#8217;s <A
HREF="http://blackhat.com/html/bh-us-11/bh-us-11-briefings.html#Paget">overview of the Final Security Review for Windows Vista</A>.  Since I&#8217;m someone who&#8217;s actually done Final Security Reviews for Microsoft and is part of the team that owns the Security Development Lifecycle, there was nothing here I didn&#8217;t know.  However, Chris gave a very favorable review of Microsoft, and it was clear that she really appreciated the work Microsoft does in securing their products.  For all the bad press Microsoft used to get in security, Microsoft has the most mature and complete security processes in the industry, and this is a remarkable turnaround when you look at where they were in 2001.  It&#8217;s good to know that even on the much-maligned Vista they gave Chris and her team full access to everything and everyone remotely relevant, and got a very good return on investment in terms of security bugs fixed.</p><p>I missed the next session to pick up my DefCon badge.  In my five years of attending DefCon, they have run out of badges every time, thanks to DT underestimating attendance (each DefCon has been much bigger than the last, recessions notwithstanding.)  As a result, everyone queues up early to get one, making for hours-long lines.  Though this year they went for a non-electronic badge, and thus at least had them on time, they did still run out by midday Saturday.  Lines were about an hour at BlackHat, and apparently ran to over two at the Rio.</p><p>In the afternoon, I dropped into Moxie Marlinspike&#8217;s <A
HREF="http://blackhat.com/html/bh-us-11/bh-us-11-briefings.html#Marlinspike">SSL and the Future of Authenticity</A>.  Moxie is worried about the constant compromises of SSL Certificate Authorities &#8212; many have had bugs in them that made it possible to get real, valid certificates issued to you for other people&#8217;s domains (e.g. google.com, or your bank), thus making it possible to eavesdrop on SSL communications in a man-in-the-middle scenario.   One of the most-public breaches was the attack on Comodo that resulted in many false certificates being generated for some of the most important sites on the Web.  But what happened to Comodo?  Nothing!  The CA system has no ability to change.  Browsers trust Comodo, and even if we don&#8217;t like the idea of trusting them anymore &#8212; when they have been proven untrustworthy &#8212; there&#8217;s nothing to do about it.  If browser vendors dropped Comodo, 20-25% of all secure sites on the Web would stop working.  Moxie proposed a new system (he demonstrated it with a Firefox plugin called Convergence) wherein the user selects trustworthy parties, called notaries, which verify certificates for him.  The notary system will prevent a man-in-the-middle attack just as well as the CA system does, and if you distrust a notary you can just switch to others, and nothing breaks.  The user chooses who to trust.  On one hand, this does give trust agility &#8212; the ability to change who you trust &#8212; which Moxie highly values, and it does prevent man-in-the-middle attacks unless the attacker is very close (from a network-topology standpoint) to the destination host (which is unusual &#8212; in most MitM attacks, the attacker is very close to the source host, not the destination.)  On the other hand, I&#8217;m not quite convinced &#8212; the system does not prove authenticity, only that no MitM is present, so it doesn&#8217;t really substitute for the CAs.  However, I&#8217;d say my friends and I spent more time discussing this talk than any other at BlackHat or DefCon, so right or wrong he got us thinking, which can only be good in the long run.  The CA system really is broken, and it&#8217;s untenably fragile &#8212; if <I>one</I> CA has its private key widely distributed, everyone will be able to make fake SSL certificates forever.  And there are thousands of CAs.</p><p>I went up to IOActive&#8217;s IOAsis suite at the top of the Forum Tower in lieu of the next BlackHat session.  I&#8217;m not sure what actually happened between BlackHat and IOActive this year, but for the first time since I&#8217;ve attended the conference, IOActive had no official presence at the conference (whereas before they&#8217;ve been one of the top-tier sponsors) and ran their own parallel events at Caesars instead.  I had a pass to IOActive&#8217;s events as well &#8212; spend five years in infosec in the Seattle industry and it&#8217;s hard not to know half of IOActive, particularly their CEO who seems to have the remarkable ability to remember everyone she meets, instantly and forever.  I went to a talk they hosted about malware tools like Spy Eye and Zeus.  Overall, they&#8217;re remarkable professionally-developed tools, with high-quality tutorials and documentation.  They really make being a criminal easy, and if you happen to live in a non-extradition country like Russia, it turns out crime <I>does</I> pay.</p><p>Finally, I went to a talk about the latest <A
HREF="http://blackhat.com/html/bh-us-11/bh-us-11-briefings.html#Laurie">Chip &#038; PIN exploits</A>.  I have to admit, as an American, Chip &#038; PIN exploits always seem kind of lame.  They boil down to &#8220;with this amazing exploit, we can make European credit cards <I>almost</I> as insecure as American ones are <I>all the time</I>!&#8221;  The fact that if you steal a credit card you can, you know, buy stuff with it until the cardholder notices it&#8217;s gone and calls the bank just doesn&#8217;t seem like a revelation.  This said, it is interesting to see some of the dubious security decisions made in this &#8220;secure&#8221; payment system, and Chip &#038; PIN will be coming to the U.S. in the near future.  The worst threat here is not technical but legal &#8212; in most European countries, the fact that a transaction happened via Chip &#038; PIN is considered <I>prima facie</I> proof that you authorized the transaction and are fully liable &#8212; either that, or you were negligent with your PIN and still fully liable.  The fact that it&#8217;s possible to make these transactions without a PIN makes this dangerous.</p><p>At this point, BlackHat USA 2011 was over.  I headed back up to IOActive&#8217;s IOAsis suite for their post-conference reception.  I not only met up with several people from IOActive, but I also happened to strike up a conversation with someone who informed me that she was with the <A
HREF="http://www.dc206.org/">DC206 group</A> &#8212; the local DefCon club here in Seattle that meets at <A
HREF="http://www.blacklodgeresearch.org/">The Black Lodge</A> about 10 miles from here.  We quickly found we had several friends in common, and she introduced me to the other DC206/Black Lodge people at the party.  This worked out very well, as I ended up hanging out with them for the next three days of DefCon, and had a lot of great conversations with a very interesting mix of security pros, makers, and hackers as a result.  Though I&#8217;ve been by the Black Lodge and DC206 events before, I plan to make an effort to be present for more of them in the future.</p><p>We went to the Microsoft party at the Haze nightclub in Aria, primarily because given the youth of the Aria property, none of us had ever seen it before.  The party itself wasn&#8217;t bad &#8212; quite good compared to last year&#8217;s event &#8212; and they had a nerdcore rapper performing (I honestly don&#8217;t remember if it was DualCore or MC Frontalot, having encountered both of them multiple times during the week.)  However, we stayed only briefly then moved to the Rio, where we hung out with other DefCon attendees at the pool.  The Rio was kind enough to keep the pool open until 1am (much later than normal) for DefCon attendees, and even until 2am on subsequent nights, which was quite appreciated.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2011/08/10/blackhat-usa-2011-day-2/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The Trouble With Fighting Your Users</title><link>http://perimetergrid.com/wp/2010/08/10/the-trouble-with-fighting-your-users/</link> <comments>http://perimetergrid.com/wp/2010/08/10/the-trouble-with-fighting-your-users/#comments</comments> <pubDate>Tue, 10 Aug 2010 21:39:27 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[attacks]]></category> <category><![CDATA[industry]]></category> <category><![CDATA[risk]]></category> <category><![CDATA[society]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/?p=117</guid> <description><![CDATA[Companies like Apple that try to control devices purchased by end-users create their own serious security problems. It turns out that Apple trying to protect itself from you makes you vulnerable to attackers. Apple doesn&#8217;t want you to run anything on your phone that they didn&#8217;t approve. But of course, customers want to run whatever [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>Companies like Apple that try to control devices purchased by end-users create their own serious security problems.  It turns out that Apple trying to protect itself from you makes you vulnerable to attackers.</p><p>Apple doesn&#8217;t want you to run anything on your phone that they didn&#8217;t approve.  But of course, customers want to run whatever they want on the phone they bought, regardless of if Apple likes it.  This creates end-user demand for jailbreaks &#8212; software that attacks their phone&#8217;s OS to remove Apple&#8217;s restrictions.  Whenever one is discovered, Apple patches it, but another one is always discovered soon afterwards.</p><p>Right now, there&#8217;s a website, <a
href="http://jailbreakme.com">jailbreakme.com</a>, that offers the easiest, most convenient jailbreak yet.  You browse to the site on your iPhone, iPad, or iPod Touch, and suddenly it&#8217;s jailbroken and the non-Apple application stores like Cydia are available.  It&#8217;s very slick, and much easier than any previous jailbreak, many of which required modifying OS images, caching key signatures from Apple, and other tasks that required at least some moderate technical savvy.  People really like jailbreakme.com &#8212; it makes taking ownership of your own phone quick and easy!</p><p>How does it work?  Well, it&#8217;s a combination of two exploits.  When you visit the site, it loads a PDF that exploits a bug in Apple&#8217;s font rendering (iPhones render PDFs themselves, using Apple code &#8212; Adobe&#8217;s reader is not even involved) to load and run arbitrary code.  Then <em>that</em> code exploits another vulnerability, in the iOS kernel, to run code as root, outside the app sandbox.  This third piece of code jailbreaks the phone and installs the necessary backdoors to wrest control away from Apple and give it to the user.</p><p>But&#8230; there&#8217;s a problem here.  The fact that this works means that there&#8217;s an unpatched remote root exploit on every iOS device.  That is, on an iPhone, iPad, or iPod Touch, any website you visit or any email you receive can silently load and run arbitrary code on your device, which will then reside there permanently and do whatever the attacker wants.  How do you know this hasn&#8217;t already happened to your phone, and your location isn&#8217;t being tracked, your calls tapped, your SMS messages and web passwords forwarded to some Russian crime syndicate?  You don&#8217;t.  There&#8217;s no way to know, because there&#8217;s no anti-malware software for iOS &#8212; Apple would never approve it anyway, since you&#8217;re not &#8220;supposed&#8221; to be able to run anything but Apple-approved apps anyway.</p><p>In a normal, open ecosystem, like that on PCs, this problem would be less likely to happen.  If a security researcher discovered remote exploits like this, they would often follow responsible disclosure practices, and contact the vendor and let them know about the problem so it could be fixed.  But they&#8217;re not willing to do this for Apple &#8212; because they need the remote exploit to have unfettered access to their own phones!</p><p>Apple has created a situation where someone acting in good faith to help iPhone users use their own devices has to keep security flaws away from Apple, so that they can also be used by malicious attackers.  Apple and Apple&#8217;s users are on opposing sides &#8212; helping Apple hurts legitimate users, yet helping users jailbreak also means helping attackers exploit them.</p><p>What&#8217;s more, when Apple releases a patch to iOS to make it no longer vulnerable to these attacks, they will undoubtedly reverse the jailbreaks in the same patch.  Thus, <em>users will not want to install the patch</em>, since it will kill functionality that they want on their phones!  In the IT world, it&#8217;s hard enough to get people to patch even when there&#8217;s no downside, and Apple&#8217;s creating customers who deliberately avoid patches and updates, since most of Apple&#8217;s &#8220;security fixes&#8221; are aimed at protecting Apple from customers, not protecting customers from harm.</p><p>Come on, Apple, would a settings checkbox marked &#8220;Allow execution of unsigned code&#8221; be so bad?  You could even pop up a warning that turning it on makes you ineligible for Apple support.  Is it really better to force your userbase to help hackers?</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2010/08/10/the-trouble-with-fighting-your-users/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>BlackHat 2009, Day 2</title><link>http://perimetergrid.com/wp/2009/08/13/blackhat-2009-day-2/</link> <comments>http://perimetergrid.com/wp/2009/08/13/blackhat-2009-day-2/#comments</comments> <pubDate>Thu, 13 Aug 2009 21:04:57 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[anonymity]]></category> <category><![CDATA[attacks]]></category> <category><![CDATA[crypto]]></category> <category><![CDATA[hardware]]></category> <category><![CDATA[industry]]></category> <category><![CDATA[legal]]></category> <category><![CDATA[networks]]></category> <category><![CDATA[passwords]]></category> <category><![CDATA[risk]]></category> <category><![CDATA[society]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/?p=92</guid> <description><![CDATA[The Thursday keynote was given by Bob Lentz, a Deputy Assistant Secretary of Defense for the United States. His main point was the paradigm shift from network-centric security to what he called content-centric security, and the fact that this devalues the protections around network perimeters. Static defenses don&#8217;t work when all the services being used [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>The Thursday keynote was given by Bob Lentz, a Deputy Assistant Secretary of Defense for the United States.  His main point was the paradigm shift from network-centric security to what he called content-centric security, and the fact that this devalues the protections around network perimeters.  Static defenses don&#8217;t work when all the services being used are distributed and not found behind your firewall; the adversary is effectively always inside your firewall.  Other notable but less positive things from the speech included that the Department of Defense considers &#8220;reducing anonymity&#8221; a strategic goal, and that the government still likes to prefix &#8220;cyber-&#8221; on everything, creating &#8220;cyberczar,&#8221; &#8220;cybertime,&#8221; &#8220;cyber green movement,&#8221; and even &#8220;cyber&#8221; as a standalone noun.</p><p>This year, BlackHat had an entire Cloud Computing track, running all day on Thursday, of which I attended a great deal.  Part of my job involves protecting cloud computing services, so it seemed very relevant, and it&#8217;s certainly a hot topic in the industry right now.  It began with <a
href="http://www.blackhat.com/html/bh-usa-09/bh-usa-09-speakers.html#Stamos">Alex Stamos, Nathan Wilcox, and Andrew Becherer</a> presenting a lecture on cloud computing models and vulnerabilities.</p><p>They defined cloud computing as not just virtualization, but including general-purpose hosts, central management, application mobility, distributed data, low-touch provisioning, and soft failover.  They looked at three different cloud models: Software as a Service, Platform as a Service, and Infrastructure as a Service, and the differences &amp; vulnerabilities in each.</p><p>The Software as a Service (SaaS) model is to outsource everything.  From a security perspective it&#8217;s not necessarily a bad idea &#8212; the cloud provider probably has a lot more security people than the average company.  On the other hand, you also outsource all your data &#8212; the recent Twitter &#8220;breach&#8221; via somebody logging into Twitter&#8217;s Google Docs account shows the risks this can entail.  You lose the perimeter, endpoint management, the ability to use better authentication than simple passwords, credential quality controls, password reset processes, and realtime anomaly detection (though you hope the cloud provider has some of these things.)  It puts all your eggs in one basket &#8212; if someone can read your email, they can access all your data.  SaaS products include Office Live, Google Apps, and Salesforce.com.  None of these have decent audit &amp; rollback capability; Google Apps at least provides login history (though you have to write code &amp; call an API to get at it) but still no read/write level auditing.  Salesforce.com offers some write logging.  However, the biggest flaw with SaaS models may well be authentication &#8212; all your security relies on a password, with all the vulnerability that entails, and you can&#8217;t even set a strong password policy (for all the good it would do you.)  Google Apps actually lets you use a SAML-based SSO system; with other SaaS apps the best you can do is set a strong password policy via employee education.</p><p>Another issue with SaaS providers is the legal concerns &#8212; the cloud service EULAs tend to promise basically nothing and disclaim all liability.  Also, they forbid malicious traffic &#8212; even pentesting your own app.  There&#8217;s also decreased protection from search and subpoena.  Since the data is stored with someone else, there&#8217;s no Constitutional protection from search, and even statutory protection is usually only for &#8220;communication.&#8221;  Are Google Docs communication?  Courts haven&#8217;t really defined this yet.  The net result of this is that there&#8217;s no need for a warrant, probable cause, or even notice of a search &#8212; you can&#8217;t fight a seizure before it happens, but only after the fact.</p><p>Platform as a Service (PaaS) is the model of having a common development platform provided, yet allowing people to customize their applications.  This is the model of Google AppEngine, Force.com, and (maybe) Windows Azure.  (Azure is a unique case, kind of halfway between PaaS and IaaS; I&#8217;ll come back to this.)  This section of the presentation was rather odd, as they really looked at the common web vulnerabilities (CSRF, XSS, SQL injection) and investigated how the platform protected you from them.  In short, the answer is that they don&#8217;t.  Some of the platforms have some inherent protection available (e.g. Windows Azure apps are typically ASP.NET, which has some built-in XSRF protection via ViewStateUserKey, XSS protection via encoders, and SQL injection via LINQ), but it&#8217;s up to the developer to actually use them.  I found this section somewhat lacking, because it wasn&#8217;t really about the cloud platforms at all, but rather the common web technologies sitting on them.</p><p>The Infrastructure as a Service (IaaS) model is that taken by Amazon EC2 and similar services.  It provides virtual machines with short-lived instances, non-persistent local storage, and available helper services.  Though the presenters thought of Azure as very much a PaaS model, I think it&#8217;s a little fuzzier here &#8212; while Azure does not allow you to choose an operating system (the Windows Azure OS runs on every VM), it does not constrain you to anywhere near the degree of Google AppEngine or Force.com, as you can run arbitrary native code on it.  It would be impossible to use AppEngine or Force.com to run anything but a web site; Azure is like EC2 in that it could be used for any flexible computing task, not just web sites.</p><p>The problems with IaaS services are usually hypervisor flaws or problems in the helper services.  However, they brought up something very new here that I don&#8217;t think any of the current cloud providers consider &#8212; lack of entropy.  Virtual hardware has mostly deterministic timings &#8212; input events don&#8217;t exist and block device events are abstracted.  Thus, entropy is generated very slowly if at all.  What&#8217;s more, in the case of Amazon EC2, since OS images are available to everyone, an attacker can get a copy of the stored entropy pool you&#8217;re using (which will never update after the image is originally created, thus depriving the system of another source of entropy) and eliminate it as well.  The net result of this is that pseudo-random number generators &#8212; even cryptographically strong ones &#8212; are unreliable and may be predictable.  This attack may or may not be practical given the specifics of the system in question, but for now you may not want to build your online casino or public key infrastructure in an IaaS environment!  Cloud providers may actually have to have random number generation as a helper service as well, supported by <a
href="http://en.wikipedia.org/wiki/Hardware_random_number_generator">quantum hardware</a>.</p><p>Next, <a
href="http://www.blackhat.com/html/bh-usa-09/bh-usa-09-speakers.html#Grossman">Jeremiah Grossman and Trey Ford</a> presented a sequel to last year&#8217;s talk on &#8220;making money the black hat way.&#8221;  Essentially, it was a survey of interesting hacks-for-profit that have been carried out recently.  They noted that hacking activity is up this year (layoffs create more hackers?) and that 69% of attacks are discovered only because a 3rd party tells the company it&#8217;s been hacked.</p><p>Some of the interesting ones: eBay gave away 1000 items for $1 in a &#8220;Holiday Doorbusters&#8221; promotion.  However, almost 100% of them were bought by bots, which was evident because the items were purchased before the item description page was even viewed.  StrongWebmail.com had a contest to give $10,000 to whoever could hack into the CEO&#8217;s webmail account; rather than attacking the servers, the winners of the contest sent the CEO phishing mail with an XSRF in it that stole the contents of the account.  (Amusingly, they got him to open the mail by labeling it &#8220;I think I won.&#8221;)  Grossman &amp; Ford also brought up cookie-stuffing, a type of affiliate fraud that&#8217;s been around for many years; it&#8217;s a well-known technique in the affiliate marketing world (basically you spoof the referrer while iframing the advertiser&#8217;s site on your site, then drive traffic to your site in ways that would not please the advertiser if they knew about it) but was apparently new to most of the BlackHat audience.  They also brought up the technique of using embedded site search to fake authority links, another well-known &#8220;black hat&#8221; SEO technique.  Marketers have apparently also begun spamming Google Maps with fake businesses, so as to come up first in &#8220;local searches&#8221; with their web-based and not-remotely-local businesses.  A man in Britain used Google Earth to find all the lead roofs in London, then steal the lead tile in the middle of the night.</p><p>Some of the more ambitious hacks were more intriguing, though.  One man discovered that you could order &#8220;advance replacements&#8221; for broken iPods from Apple just by giving them a credit card number as collateral; he used low-balance anonymous Visa gift cards to get 9,000 iPods.  Another group put their garage band music in the Amazon and iTunes stores using Tunecore, then bought hundreds of downloads of their own album with stolen credit cards (thus getting a big check from Tunecore.)  One thing to note is that these people got caught only because <em>they weren&#8217;t trying not to</em>.  The iPod guy shipped all 9,000 to his home address; the Tunecore fraud was so blatant as to get this garage band&#8217;s album onto Amazon and iTunes top-10 bestsellers.</p><p>Finally, in South America, the system for getting logging permits for the Amazon rain forest was put online.  An investigation discovered that <em>107 different logging companies</em> had hired hackers to compromise the site, which was full of common web vulnerabilities.  All told, 1.7 million cubic feet of lumber were smuggled out of the country.  Scary permit systems in the United States that are now protected only by a web site: entrance visas, hazardous material transport, and open burning permits.</p><p>Next, <a
href="http://www.blackhat.com/html/bh-usa-09/bh-usa-09-speakers.html#Meer">Haroon Meer, Nick Arvanitis, and Marco Slaviero</a> presented a talk on &#8220;Clobbering the Cloud.&#8221;  This SensePost talk covered much of the same material as the iSec Partners talk earlier in the day.  Their primary risk factors for cloud computing were as follows: lack of transparency from cloud providers (opaque EULAs), people don&#8217;t want to store regulated data in the cloud, vendor lock-in especially if the vendor goes out of business or stops offering the service, availability concerns (not just servers being down, but also things like password lockout from DoS attacks), monoculture issues (worms and cascading compromise are a big concern when you have thousands of perfectly-identical boxes), and trust in the cloud provider &#8212; you have to trust your cloud provider implicitly not to lose your data or have system failures.  In addition, there&#8217;s the problem that the cloud is available to the bad guys, too &#8212; cloud boxes can be used for click fraud, DoS, or spamming (for a short time Amazon EC2 was the net&#8217;s #1 spammer.)  Finally, the security of your environment is all in the hands of the account owner, who authenticates with nothing more than a password, and is (in most companies) probably a non-technical executive.  Breaking into the CIO&#8217;s email now makes you the global administrator of the company&#8217;s entire infrastructure.</p><p>The presenters then went into more detail about attacks on Amazon Web Services (EC2, S3, SQS, and DevPay) in particular.  I can understand why they chose AWS; due to its flexibility, it&#8217;s certainly the most fun of the cloud services for a hacker to play with (though Windows Azure is getting there, too.)  EC2 is based on a modified Xen hypervisor, and supports running any OS you want that can run in that environment.  Amazon provides 47 OS images, but users have contributed over 72,000 more, and an EC2 user can choose to boot any of them.  Sometimes user images have interesting things in them, like other user&#8217;s EC2 credentials, for example.</p><p>Scanning EC2 is prohibited, but you can start up one of the images and scan it yourself via an SSH tunnel (or even have the machine scan itself.)  They found 646 Nessus critical vulns in Amazon&#8217;s public images; you can also steal Amazon&#8217;s own Windows activation keys off their images.  The DevPay system is interesting; it&#8217;s supposed to allow a user to make an image then charge other users for its use (e.g. to resell an application on EC2.)  However, the presenters found you could get a DevPay image and modify its ancestor info (stored in the image itself) so as to credit use of it to you rather than the original author, then reregister it for others to use.</p><p>Simply putting up pre-owned (pun intended) images for others&#8217; use can be an attack on AWS.  If you prop up a box with a good name (e.g. &#8220;Ubuntu 9.04 Standard Image, All Patches&#8221;) and a low-numbered ID (so it shows up at the top of the list), and people will use your image to host their apps!  You can get a low-numbered ID simply by registering repeatedly; since it&#8217;s a hash, eventually you&#8217;ll get lucky and have one start with zero.  You can only have 20 images per account, but you can create 20 accounts in 3 minutes, so there&#8217;s no effective limit.</p><p>After that talk, I went over to the mobile track to hear <a
href="http://www.blackhat.com/html/bh-usa-09/bh-usa-09-speakers.html#Burns">Jesse Burns</a> talk about Android.  Android interests me because I&#8217;d really like a phone that behaves like a computer (i.e. a device I own) rather than like a toy the phone company is reluctantly allowing me to touch, and Android&#8217;s open-source nature has real potential to give me that.  It&#8217;s not that I trust Google any more than any other wireless provider, just that the platform seems much more hackable and thus inherently harder to control.</p><p>Android has a dual security model &#8212; Android permissions on various privileges, plus Linux permissions on the filesystem.  Applications have their own UIDs/GIDs and are thus somewhat isolated from each other. A package (application) is made up of Activities (GUIs,) Services (background tasks,) Broadcast Receivers (event handlers,) Content Providers (databases,) and Instrumentations (used for testing.)  For interprocess communication, there are Intents, which are sets of name-value pairs with routing information.  Applications are written in Java, but they&#8217;re not applets (i.e. no Java sandbox.)</p><p>Available attack surfaces for a malicious app include other apps, system services under privileged accounts (like the clipboard or the surfaceflinger, which draws the UI and owns the screen,) the binder (the inter-process communication system, similar to domain sockets,) and anonymous shared memory.  There are a variety of tools available &#8212; one can just install a bash shell on Android (either interactively or over the wire or network,) use logcat to look at logs, view Android system properties, check the /proc and /sys filesystems, run dmesg to get kernel output, and all the usual Linux attacks.  There&#8217;s also a file in /data/system/packages.xml that contains data about every installed app, including the location of the app and its manifest.  /proc/binder contains a transaction log of the inter-process communication, and /proc/binder/proc contains data of all the processes themselves.</p><p>Another interesting detail about Android is the &#8220;secret code&#8221; handler.  When you dial *#*#somenumber#*#*, this triggers the secret code handler for that number, which can do pretty much whatever an app wants it to do.  The only secret codes on &#8220;stock&#8221; Android are 8351 and 8350, which turn voice dialer logging on and off, respectively.  However, wireless providers may add additional codes &#8212; the presenter found some in T-Mobile&#8217;s MyFaves app, for example.  Finally, the presenter had a series of Android hacking apps he&#8217;d developed &#8212; Manifest Explorer (to view the system manifest and the manifest of each app, such as to see what events they react to,) Package Play (to see the parts of a package or to directly activate Activities,) Intent Sniffer (to view Intents as they&#8217;re routed at runtime,) and Ill Intent (an Intent fuzzer.)</p><p>The last presentation of the day was <a
href="http://www.blackhat.com/html/bh-usa-09/bh-usa-09-speakers.html#Schneier">Bruce Schneier</a>, whose talk was entitled Reconceptualizing Security.  Mostly, he gave the same speech he always does, about fear, psychology, security vs. security theater, why we mis-estimate risk, etc.; pick up a copy of <em>Beyond Fear</em> or <em>Secrets and Lies</em> if you want the details.  However, during Q&amp;A he did also talk about the attack on AES-256 that was just demonstrated.  It&#8217;s a feasible attack on 10 rounds of AES-256 (out of 14,) in 2<sup>42</sup> time.  It&#8217;s a related-key attack that works only on 256-bit keys (not on shorter ones,) so there&#8217;s no reason to panic right now, but it does show that the margin of safety on AES is smaller than we thought.  There may need to be a Double-AES in the same way Triple-DES was devised as a stopgap until a new cryptosystem is developed.  Alternately, the standard could be changed to increase the number of rounds, but that would require replacing or updating all the AES-based crypto hardware out there.</p><p>And that wrapped up BlackHat 2009.  Overall, there was nothing as Earth-shattering as last year&#8217;s DNS exploit, though it turns out that the SSL issues are pretty nasty.  After BlackHat, I hit the Microsoft Security Researcher Appreciation Party at Christian Audigier, which was actually a pretty good party this year without any of the problems of previous years.  It&#8217;s only drawback was that it only ran two hours.  However, at this point DefCon festivities had begun, so there was still plenty going on; my next post will get into DefCon 17.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2009/08/13/blackhat-2009-day-2/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>A &#8220;Clear&#8221; Case of Failure</title><link>http://perimetergrid.com/wp/2009/06/29/a-clear-case-of-failure/</link> <comments>http://perimetergrid.com/wp/2009/06/29/a-clear-case-of-failure/#comments</comments> <pubDate>Mon, 29 Jun 2009 19:52:25 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[risk]]></category> <category><![CDATA[society]]></category> <category><![CDATA[terrorism]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/?p=84</guid> <description><![CDATA[Clear, the &#8220;trusted traveler&#8221; program that allowed customers to bypass airport security lines, has shut down.  The story is an interesting case of bureaucratic disincentives and general failure around the whole mess known as airport security. A privately-run alternative to the TSA&#8217;s Registered Traveller program, Clear started out with what seemed like a good idea [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>Clear, the &#8220;trusted traveler&#8221; program that allowed customers to bypass airport security lines, has <a
href="http://www.wired.com/epicenter/2009/06/vip-airport-screening-company-closes-lanes/">shut down</a>.  The story is an interesting case of bureaucratic disincentives and general failure around the whole mess known as airport security.</p><p>A privately-run alternative to the TSA&#8217;s Registered Traveller program, Clear started out with what seemed like a good idea &#8212; allow frequent travelers to undergo a thorough background check to make sure they weren&#8217;t terrorists or criminals in lieu of screening them every time they went to the airport.  For someone who travels by air every week or even every day, the long-run time savings would be worth a fortune.  The TSA was all for this idea, since their goal is to prevent hijackings, not just have people take off their shoes for fun.  So Clear (originally called Verified Identity Pass) was started &#8212; and frequent travellers could pay $200 per year, have a background check performed on them, and get a nifty-looking smart card that they could use at any of a dozen major airports to skip to the front of the security screening line.</p><p>Wait a minute&#8230; skip to the <em>front </em>of the security screening line?  Yep, somewhere along the line some government bureaucrat changed the rules such that Clear and Registered Traveller-certified people still have to undergo the screening, they just get to go to the front of the line.  I can easily see their motivation for doing so.  Imagine being an assistant director at the TSA in charge of such a program: &#8220;So, what happens if, God forbid, someone with a Clear card blows up a plane?  What would we say to the public?  &#8217;Yeah, he had a bomb on him, but we didn&#8217;t search him, because he&#8217;d undergone a background check a couple years ago.  You see, he&#8217;d never blown up any aircraft before, so we had no idea this would happen.&#8217;&#8221;  It would go even worse for the TSA if said terrorist were a member of a group that the public would consider an &#8220;obvious&#8221; terrorist suspect (e.g. a Muslim of Arabic descent) and would pretty certainly end the careers of everyone involed in the program, if not end the TSA itself.</p><p>So the Clear card was changed to only allow you to skip the <em>line</em>, while still undergoing the full security screening.  What no one seems to have thought of, though, is&#8230; why bother with the background check?  If you still have to be screened at the airport, what&#8217;s the point of having to be investigated to get the card?  In what way does the screening <em>line </em>contribute to security?  Many of these same airports let members of airlines&#8217; top-tier frequent flyer clubs skip the line, too, and they&#8217;re not required to have background checks.  Essentially, Clear and Registered Traveller simply morphed into HOT lanes &#8212; pay a fee, and you get to go faster than people who don&#8217;t pay a fee.  It&#8217;s not &#8220;trusted&#8221; status, it&#8217;s &#8220;VIP&#8221; status.  A smart card with associated fingerprint and iris scans seems kind of excessive for jumping a line.</p><p>Also, Bruce Schneier <a
href="http://www.schneier.com/blog/archives/2009/06/clear_shuts_dow.html">brings up an interesting point</a> &#8212; now that Clear is out of business and having all its assets transferred to creditors, what happens to all the personal data in the background checks?  Who gets <em>that</em> asset?</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2009/06/29/a-clear-case-of-failure/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>False Expense Service Reveals the Trouble With Documents</title><link>http://perimetergrid.com/wp/2009/06/29/false-expense-service-reveals-the-trouble-with-documents/</link> <comments>http://perimetergrid.com/wp/2009/06/29/false-expense-service-reveals-the-trouble-with-documents/#comments</comments> <pubDate>Mon, 29 Jun 2009 18:30:27 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[attacks]]></category> <category><![CDATA[authentication]]></category> <category><![CDATA[legal]]></category> <category><![CDATA[society]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/?p=82</guid> <description><![CDATA[There&#8217;s been some news coverage lately about FalseExpense.com, a service that produces fake receipts to order &#8220;for novelty use only.&#8221; The obvious purpose of this is to help people scam their companies&#8217; expense reporting system by &#8220;padding&#8221; receipts.  People who are reimbursed for hotel, meals, etc. can create receipts for slightly more than they actually [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>There&#8217;s been some news coverage lately about <a
href="http://www.falseexpense.com/">FalseExpense.com</a>, a service that produces fake receipts to order &#8220;for novelty use only.&#8221;</p><p>The obvious purpose of this is to help people scam their companies&#8217; expense reporting system by &#8220;padding&#8221; receipts.  People who are reimbursed for hotel, meals, etc. can create receipts for slightly more than they actually pay (or for that matter, create receipts for meals they skip altogether or eat a balogna sandwich for) and pocket the difference.  Apparently the same company aims to help people rip off their employers in any way they desire, as they also run &#8220;Fake Sick Notes USA.&#8221;  (Though people running that particular scam are often <a
href="http://www.dailymail.co.uk/news/worldnews/article-1080010/Call-centre-worker-caught-boss-posting-sickie-plan-Facebook.html">caught by their own actions</a>.)</p><p>It&#8217;s interesting that receipts are considered &#8220;proof&#8221; of purchase.  A receipt, after all, is just a piece of paper, and what&#8217;s more, there is no standard for what a receipt looks like.  People know it should be printed on &#8220;receipt paper&#8221; &#8212; which is usually thin thermal paper, but is sometimes quite heavy paper tape that&#8217;s inkjet or impact printed &#8212; and contain certain pertinent data, like the location of the purchase, the tax, the total, and some legalese at the bottom.  In the modern era, receipts often have serial numbers or bar codes on them, which makes the receipt uniquely identifiable <em>by the issuer</em>, but is quite useless for anyone else to authenticate them.  After all, only someone who has access to Target&#8217;s computer system can say if Target receipt #824935729345 is authentic or not.  And when it comes to small mom-and-pop retailers (which often have cash register receipts that contain literally nothing but prices) and online retailers (whose receipts are trivially-forged HTML emails), receipt as proof of anything becomes even more ridiculous.</p><p>All this false expense site does is make available to the general public an ability that&#8217;s been available to the tech-savvy for years.  Someone with Photoshop and a USB thermal printer (easily available on eBay for under $100) has been able to forge receipts since the 1990s.  This is another case (like <a
href="http://perimetergrid.com/wp/2008/01/01/checks-the-most-dangerous-transaction/">checking accounts</a>) where the &#8220;security&#8221; of a system comes not from any internal defense, but simply from the fact that most people don&#8217;t have a <a
href="http://perimetergrid.com/wp/2008/01/31/how-to-get-a-job-in-information-security/">security mindset</a> &#8212; most people don&#8217;t look at everyday systems and think about their weak points and where they break down.  Since a recept is <em>used as </em>proof of purchase, people assume it <em>is </em>proof of purchase.</p><p>Unfortunately, there&#8217;s really not much to be done to &#8220;secure&#8221; receipts.  To do so would require data-sharing between merchants, employers, and the IRS, so as to make receipt numbers authenticable &#8212; and that&#8217;s a case of the solution being worse than the disease (the privacy implications would be staggering.)  As an employer, the best solution may be to simply avoid the problem &#8212; have the company book hotel and travel for the employee (rather than reimbursing after-the-fact), and provide a <em>per diem </em>allowance for expenses rather than reimbursing exact receipts.  Any time you rely on receipts from employees, there&#8217;s the potential for fraud losses.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2009/06/29/false-expense-service-reveals-the-trouble-with-documents/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Charter Communications Using Ad Replacer</title><link>http://perimetergrid.com/wp/2008/05/16/charter-communications-using-ad-replacer/</link> <comments>http://perimetergrid.com/wp/2008/05/16/charter-communications-using-ad-replacer/#comments</comments> <pubDate>Fri, 16 May 2008 16:50:39 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[anonymity]]></category> <category><![CDATA[legal]]></category> <category><![CDATA[society]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/?p=48</guid> <description><![CDATA[A story in the New York Times tells us that Charter Communications (the United States&#8217;s fourth-largest cable company) is going to start tracking user behavior and using it to sell ads.  They spin this as a potential problem because of privacy implications &#8212; it means that the cable company is watching your web surfing so [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>A <a
href="http://bits.blogs.nytimes.com/2008/05/14/charter-will-monitor-customers-web-surfing-to-target-ads/">story in the New York Times</a> tells us that Charter Communications (the United States&#8217;s fourth-largest cable company) is going to start tracking user behavior and using it to sell ads.  They spin this as a potential problem because of privacy implications &#8212; it means that the cable company is watching your web surfing so it knows what ads to show you.  While they say it will be anonymous (i.e. they only know that a specific tracking cookie is associated with one user, but not who the user is), when it comes to an ISP this simply isn&#8217;t true &#8212; they do know who you are (due to billing information) and if they were not-so-politely asked (i.e. with a subpoena) they would be able to associate your tracking cookie with you as the individual user.  As a matter of policy they don&#8217;t associate the tracking profiles with individual users&#8217; personal information and share it with their advertising partner &#8212; but they have the data, which means law enforcement can have the data.</p><p>However, all the discussion about privacy in the article is, in my opinion, a secondary issue.  As I&#8217;ve <a
href="http://perimetergrid.com/wp/2008/03/10/ad-replacers-and-the-future-of-the-internet/">discussed </a><a
href="http://perimetergrid.com/wp/2008/04/23/ad-replacers-let-dan-kaminsky-rickroll-the-web/">before</a>, using an ad replacer has other effects that may be much more serious.  It means Charter is now mounting a man-in-the-middle attack on all its customers and editing the web pages they view.  Thus, if there are any security flaws in the NebuAd software (like, say, a cross-site scripting vulnerability as we saw with Barefruit in a previous post), they are now embedded in every web site viewed by every Charter customer.  When you&#8217;re a large ISP like Charter, this makes it worthwhile for hackers to try to attack the system &#8212; being able to steal the bank account passwords of every Charter customer at a given bank is almost as good as being able to do it to all customers of the bank.  It may only be 10% of people, but 10% of everyone is still a lot of people.  In addition, Charter customers are no longer contributing to the revenue of the web sites they visit (which could be interpreted as an attack on those websites by Charter &#8212; they just stole all their revenue.)  I don&#8217;t much expect Charter to care, nor their customers, but the more ad replacers that are out there, the less advertising is able to support web sites.</p><p>So, what to do if you&#8217;re a Charter customer?  Well, you can <a
href="http://connect.charter.com/cas/portal/settings/privacyoptout.aspx">opt out of the tracking system</a> by setting a cookie, which means the ads you&#8217;re served will not be targeted.  However, the ads probably <em>will </em>still be replaced, so you&#8217;re still not helping pay for the web sites you visit.  And chances are that Charter could still come up with a record of all your web surfing if they were served a subpoena.  If you want to avoid that, the only choice is using an encrypted tunnel and mix network like <a
href="http://www.torproject.org/">TOR</a> (which law enforcement has probably at least partially compromised, but this puts them in a situation like the Allies after they broke the Enigma machine &#8212; if they use evidence from a TOR compromise to prosecute you, then they give away that they&#8217;ve compromised the network and criminals will stop using it.  Thus, you&#8217;d need to do something pretty serious for them to be willing to admit they know about it.)  And what to do if you&#8217;re an advertiser-supported website?  Not much.  You can lobby for net neutrality laws, or ban Charter customers outright (which will hurt you more than it hurts them.)  However, I would expect Google, DoubleClick, and other ad networks to start working on obfuscating their ads soon if more major ISPs embrace ad replacement.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2008/05/16/charter-communications-using-ad-replacer/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Ad Replacers Let Dan Kaminsky RickRoll the Entire Web</title><link>http://perimetergrid.com/wp/2008/04/23/ad-replacers-let-dan-kaminsky-rickroll-the-web/</link> <comments>http://perimetergrid.com/wp/2008/04/23/ad-replacers-let-dan-kaminsky-rickroll-the-web/#comments</comments> <pubDate>Thu, 24 Apr 2008 05:11:17 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[attacks]]></category> <category><![CDATA[legal]]></category> <category><![CDATA[society]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/?p=46</guid> <description><![CDATA[I&#8217;ve talked before about ad replacers, where ISPs dynamically edit the contents of web traffic for their customers, replacing ads on web sites with ads of their own. This is a threat to the business model of the internet, as if done on a wide scale it would render small, advertiser-supported websites unable to support [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>I&#8217;ve talked before about <a
href="http://perimetergrid.com/wp/2008/03/10/ad-replacers-and-the-future-of-the-internet/">ad replacers</a>, where ISPs dynamically edit the contents of web traffic for their customers, replacing ads on web sites with ads of their own.  This is a threat to the business model of the internet, as if done on a wide scale it would render small, advertiser-supported websites unable to support themselves.  It&#8217;s also difficult to fight, as it&#8217;s a variation of the Times Square effect (the fact that in any movie that shows Times Square, all the ads have been replaced with ads from the movie&#8217;s sponsors) &#8212; companies do it because it makes money and they have no contractual obligation <em>not </em>to.  About the only things that would stop it would be enough customers caring about it to make it a competitive advantage <em>not </em>to replace ads, or some sort of net neutrality law banning ad replacers.  The former isn&#8217;t too likely, because by and large customers hate all ads equally, and couldn&#8217;t care less <em>whose </em>ads they&#8217;re seeing.</p><p>Dan Kaminsky, however, gives us another reason to oppose ad replacers in his <a
href="http://www.doxpara.com/DMK_Neut_toor.ppt">latest presentation</a>, which he gave last week at Toorcon 10.  A bunch of ISPs (and I mean <em>big </em>ISPs &#8212; Comcast, Earthlink, Cox, Verizon,  Quest) decided that rather than replacing ads in live pages, they&#8217;d go after something less controversial &#8212; typos.  They set up their DNS servers to return ad servers run by a British company called Barefruit when a DNS lookup failed (rather than following the RFC and returning NXDOMAIN, the code for &#8220;no such domain.&#8221;)  This is similar to what Verisign SiteFinder did a couple years ago (SiteFinder was taken down after a storm of bad publicity), but instead of affecting the entire Internet (VeriSign did this on the root domain name servers), it only affects customers of the specific ISPs doing it.</p><p>The result is that if you mistype &#8220;www.google.com&#8221; as &#8220;www.gogole.com&#8221; or somesuch (actually, gogole.com is registered to Google, too, but it&#8217;s just an example) on one of these ISPs, you get a &#8220;site not found&#8221; page from the Barefruit, filled with ads.  Doesn&#8217;t seem too harmful &#8212; after all, you&#8217;re still getting the error message, and seeing some ads never hurt anybody.</p><p>Except for one problem.  Dan Kaminsky found that the Barefruit page constructs the error message from an argument in the URL querystring (telling the server which site you were trying to hit, so it can say &#8220;Sorry, we couldn&#8217;t find an entry for www.gogole.com&#8221; or somesuch.)  This is <em>the </em>classic cross-site scripting vulnerability &#8212; you can just toss in some JavaScript in that URL, and when someone clicks a link to the corrupt URL, the JavaScript will execute in their browser.  Normally, this is bad &#8212; a site with an XSS vulnerability can be used to carry out phishing attacks, where users are sent a link to a site (say, a bank), but clicking the link executes the attacker&#8217;s script and steals their credentials to the site.</p><p>When it happens in this ad replacer that&#8217;s based on DNS voodoo, though, it&#8217;s not just bad &#8212; it&#8217;s catastrophic.  The ad replacer page comes up for <em>subdomains</em>, too.  Not only does a typo of Google send you to the Barefruit site, so does trying to go to this-domain-does-not-exist.perimetergrid.com.  Since the Barefruit page comes up in response to a call to any bad subdomain, and the Barefruit page has a severe XSS vulnerability on it, this means that an attacker now has an XSS to work with on an arbitrary subdomain of every domain on the Internet.  A really insidious, intelligent attacker (e.g. Dan Kaminsky) can do terrible things with this.</p><p>Luckily, Dan is a nice guy, and instead only did ridiculous things with them, crafting links to <a
href="http://en.wikipedia.org/wiki/Special:Search?search=rickroll">RickRolled </a>versions of Facebook, MySpace, Apple, Microsoft, eBay, ToorCon, Fox News, etc.  However, he could have just as easily crafted links to GMail, Hotmail, Chase, Bank of America, Fidelity, and eTrade that steal your credentials when you click on them.</p><p>The presentation slides do not make it obvious what exactly his script does (presumably because Dan explained that out loud during the presentation.)  However, I can see from context how this attack works.  The attacker writes a script to exploit a given site, and then creates a link to a nonexistent subdomain containing the script.  They then send this out in a phishing email, or embed it in a hidden iFrame on a compromised site, and wait to receive credentials.  Any user who clicks on the link:</p><p
class="codeblock">http://evil-subdomain.gmail.com/index,html,aaa=bbb&amp;ccc=ddd&lt;script&gt;[long evil script file here]&lt;/script&gt;</p><p>gets sent to the Barefruit page, but with the attacker&#8217;s long evil script inserted into that page.  That script then takes over:</p><ol><li>The browser thinks that the script is running off of &#8220;evil-subdomain.gmail.com&#8221;, since that was the DNS query that (falsely) returned the Barefruit page.</li><li>The script sets document.domain to &#8220;gmail.com&#8221;.  Since it is on a subdomain of gmail.com, this is allowed under the same-origin policy, and the browser lets it happen.  The script is now permitted to script against gmail.com.</li><li>The script creates a frame that occupies the entire browser window (thus hiding the Barefruit page entirely) and loads the real gmail.com into the frame.</li><li>The script grabs document.cookie out of the frame.  Since the frame is gmail.com, and document.domain is set to gmail.com, this is permitted.  Document.cookie contains the user&#8217;s GMail credentials, or at least a session ID that will let the attacker in.</li><li>The script generates code to load a resource from the attacker&#8217;s malicious server, with the cookie contents in the resource value.  Loading a resource (e.g. an &lt;img src=&#8230;&gt; tag) is allowed on other domains, without the same-origin policy applying.</li><li>That resource doesn&#8217;t exist on the malicious server&#8217;s pages, of course&#8230; but now the user&#8217;s cookie is in the attacker&#8217;s server logs where he can retrieve it at his leisure.</li></ol><p>And what does the user see when this happens?  Just a normal load of the GMail login page.  And there&#8217;s nothing wrong with GMail in this example!  It could be any site, including online banking, shopping, etc.  There is nothing that the site &#8212; or the user &#8212; can do about it.  Click a link or visit a malicious web page and the attacker steals your credentials to any site he wants.</p><p>All this is made possible because you&#8217;re on an ISP that is running an ad replacer, and that ad replacer contains a vulnerability.  Using the ad replacers makes a simple cross-site scripting vulnerability into a full compromise of <em>the entire Internet</em>.</p><p>Are you on Comcast, Earthlink, Cox, Verizon,  or Quest?  They&#8217;re some of the biggest ISPs in the nation, so probably so.  If so, be glad Dan Kaminsky found this simple, obvious XSS before some malicious hacker did, or that hacker could have been stealing credentials from half the Internet for months without detection.</p><p>&#8220;Without detection.&#8221;  Yeah, maybe Dan wasn&#8217;t the first one to find this.  We&#8217;ll never really know for sure.</p><p><em>This </em>vulnerability is fixed now &#8212; it was very straightforward, and Barefruit fixed it within hours.  But Barefruit isn&#8217;t the only ad replacer out there, and there will be more experiments like this in the future.  Whether &#8220;net neutrality&#8221; becomes a law or not, it needs to be something we demand from our ISPs, or this won&#8217;t be the last internet-wide compromise we see.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2008/04/23/ad-replacers-let-dan-kaminsky-rickroll-the-web/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Surveillance and Ubiquity</title><link>http://perimetergrid.com/wp/2008/04/10/surveillance-and-ubiquity/</link> <comments>http://perimetergrid.com/wp/2008/04/10/surveillance-and-ubiquity/#comments</comments> <pubDate>Thu, 10 Apr 2008 18:07:08 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[anonymity]]></category> <category><![CDATA[hardware]]></category> <category><![CDATA[legal]]></category> <category><![CDATA[privacy]]></category> <category><![CDATA[risk]]></category> <category><![CDATA[society]]></category> <category><![CDATA[terrorism]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/?p=45</guid> <description><![CDATA[HexView has an article about tracking vehicles with RFID tire pressure monitors. The devices are found in tires and transmit tire pressure to the engine control module, which sounds innocuous enough, but to prevent modules from reading neighboring cars&#8217; tires by accident, they also transmit a unique ID. Thus, you can follow a car around [...]<p></p> ]]></description> <content:encoded><![CDATA[<p><a
href="http://www.hexview.com/sdp/node/44">HexView</a> has an article about tracking vehicles with RFID tire pressure monitors.  The devices are found in tires and transmit tire pressure to the engine control module, which sounds innocuous enough, but to prevent modules from reading neighboring cars&#8217; tires by accident, they also transmit a unique ID.  Thus, you can follow a car around town based on its ID, turning tire pressure monitors into tracking devices.</p><p>RFID devices are becoming more and more common, and this trend will continue &#8212; they&#8217;re too convenient for many purposes for the security risks around them to stop them.  You may not want every consumer good you buy to be tagged with an ID that lets people watch your shopping from 100 yards away, but the scenario of being able to check out at the grocery store by instantaneously scanning every item in your cart simultaneously is too compelling for people to resist.</p><p><a
href="http://www.schneier.com">Bruce Schneier</a> has a post on <a
href="http://www.schneier.com/blog/archives/2008/04/the_ineffective.html">the ineffectiveness of security cameras</a>, but while calling them ineffective it does note that criminals moved their crimes to somewhere the cameras couldn&#8217;t see.  This may be &#8220;ineffective&#8221; for a government camera system designed to deter crime, but it&#8217;s <em>precisely</em> what privately-owned security cameras are meant to do &#8212; make a target unappealing so criminals go elsewhere.  This actually shows that cameras <em>do</em> deter crime&#8230; but only where they can see it.</p><p>However, both of these technologies can have pernicious effects, too.  The HexView article points out that you could use the RFID tire monitors to commit murder &#8212; set a bomb with a radio trigger that goes off when the &#8220;right&#8221; car drives over it.  It would also be just as useful to private investigators spying on citizens as it is to law enforcement chasing down criminals.  And speaking of law enforcement, these cameras create a dangerous imbalance in their favor &#8212; the camera evidence is all under their control, and thus can come up when needed to prove a perpetrator&#8217;s guilt yet be conveniently lost in cases of police brutality, abuse of power, corruption etc.</p><p>This is an interesting time for surveillance &#8212; police and government surveillance ability is skyrocketing (London is practically blanketed in cameras at this point, as the British seem much less uncomfortable with them than Americans are) but it is still largely in the hands of authority figures.  This is dangerous because of how fast the change is coming &#8212; our criminal laws and sentencing structures are based on the principle that <em>most criminals get away with it</em>.  A $75 fine for speeding seems pretty reasonable, but what if that fine were levied every time a car hit 1 mph over the speed limit?  Most of us would get fined a dozen times a day, every day, despite not even meaning to speed, because our behaviors are based on the idea that we probably won&#8217;t get caught and that even if we are police are unlikely to punish us for very minor transgressions.  If people were caught for speeding <em>every time</em>, and fined <em>every time</em>, a $75 fine would be absurd &#8212; the fine could probably be under $1 and still bring in a few hundred dollars a month from every citizen.  What is the right legal structure here?  I can see two possibilities:</p><ul><li>Raise the speed limits to the speeds we really think no one should exceed, and continue to fine every time.  Maybe you should get charged every time you exceed, say, 85 on a highway or 55 on a city street.  Set them high enough that there&#8217;s no leeway required.</li><li>Leave the speed limits where they are but set the fine really low, say a $0.25 per minute of speeding.  This makes speeding discretionary &#8212; you can obey the law, or not, but if you choose not to you pay a penalty.  This is a fundamental change in the whole idea of crime and punishment, and itself has some pernicious consequences &#8212; it means that a certain income level can render you &#8220;above the law,&#8221; which is not a good thing.  Obviously some crimes (such as murder) should not be treated as discretionary, but for traffic violations it could make sense.</li></ul><p>It&#8217;s not just traffic laws that are like this; consider the War on Drugs.  If every person who ever smoked marijuana went to prison, we would have a nation of felons &#8212; there&#8217;d be few people left who could vote, get security clearances, hold most jobs, etc.  The RIAA lawsuits against file-sharers are a good example of what happens when technology that catches everyone gets used to enforce laws designed under the assumption that only the worst and most flagrant criminals will be caught &#8212; people being hit by millions of dollars in fines for using technology to do something that wouldn&#8217;t even raise an eyelash if done by old, physical means (e.g. posting a song on BitTorrent vs. handing it to a friend on a cassette tape.)</p><p>A surveillance society needs a different kind of jurisprudence &#8212; one that sets punishments that fit the crime even if applied every time.  On the bright side, actually doing this would lower crime rates tremendously due to the psychology of criminals.  Escalating punishments does little to deter crime because criminals are risk-seekers &#8212; they do not expect to get caught.   Even a small punishment can be a strong deterrent if applied every time &#8212; if criminals are usually caught, such that all criminals have some first-hand experience with being caught and punished, it would break this idea.  On the not so bright side, a surveillance society must have very liberal laws to avoid being a police state &#8212; our current legal system, applied to everyone every time, would result in tyranny.  We all break 10 laws a day, it&#8217;s only sloppy enforcement that allows us to live our lives.  Unfortunately, the technology for ubiquitous enforcement will come well before the legal system changes to make it livable do.</p><p>What&#8217;s interesting to me is what will happen when surveillance becomes even more common: that is, when it is no longer monopolized by authority.  This has already started with cellular phones.   Almost everyone carries around a device which, while primarily for communication, contains a camera and often a voice recorder and videocamera as well.  Everyone is equipped to carry out impromptu surveillance at any time.  Devices like <a
href="http://www.thinkgeek.com/gadgets/electronic/a0f3/">these glasses from ThinkGeek</a> (found via <a
href="http://feeds.feedburner.com/~r/boingboing/iBag/~3/266129101/camera-glasses-on-sa.html">BoingBoing</a>) coupled with the rapidly falling cost of storage capacity will change this to everyone <em>actually</em> carrying out impromptu surveillance <em>all </em>the time.  This will have a chilling effect on human behavior at first &#8212; would you act differently if you knew everyone around you was videotaping everything you did?  Everything you say will, indeed, be able to be used against you, and not just in a court of law.  However, look at what young people put on MySpace and Facebook these days &#8212; the next generation <em>does not have the assumption of privacy</em>.  They&#8217;ve grown up in a world where they know everything goes on a permanent record, and have simply accepted it.  Sure, they&#8217;ll be occasionally shocked by it (e.g. the first time their party photos on MySpace disqualify them from a job), but the knowledge of permanence has not stopped them from sharing themselves, and eventually the rest of us will adjust, too.</p><p>Consider what the democratization of surveillance does to government power.  When we&#8217;re all recording, someone is watching the watchers.  Corruption, abuse of power, etc. all rely on the fact that authority figures can get away with crimes because they are more reliable witnesses in court than their victims are.  When everything is on the record &#8212; and not just the official record, but <em>everyone&#8217;s </em>record &#8212; police and government officials become compelled to act within the law.  While this may not be much of an impediment in truly totalitarian societies like China where the courts are as corrupt as everyone else, it&#8217;s a very strong bulwark of freedom in any society with an independent judiciary and a liberal tradition like the Untied States and Europe.  This is the next generation of surveillance &#8212; everyone sucking in light and sound from their glasses, or lapel pens, or even <a
href="http://uwnews.org/article.asp?articleid=39094">contact lenses</a>, recording every moment of their lives on multi-terabyte devices that fit in their pockets.  It&#8217;s probably only 5-7 years away, and it washes away the current problems of a surveillance society and replaces them with new ones.</p><p>I think this cycle will continue for some time.  After all, once we&#8217;re past the era of democratized surveillance, computer graphics and artificial intelligence technology will improve to the point that ordinary people can modify their recordings to create perfect video of events that never happened, indistinguishable from the real thing.  What happens to recordings in law courts then, when they cease to be reliable evidence and become hearsay?  Tapes will become the new eyewitnesses, known to be unreliable and requiring corroboration from others.  When it becomes truly easy to make forged video, perhaps we will have emerged from the surveillance society from the other side &#8212; why bother to record anything when there&#8217;s no way to tell if it&#8217;s real?  Sometimes the only way out is through.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2008/04/10/surveillance-and-ubiquity/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Mom lets 9-year-old take subway home alone!</title><link>http://perimetergrid.com/wp/2008/04/03/mom-lets-9-year-old-take-subway-home-alone/</link> <comments>http://perimetergrid.com/wp/2008/04/03/mom-lets-9-year-old-take-subway-home-alone/#comments</comments> <pubDate>Thu, 03 Apr 2008 17:22:48 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[risk]]></category> <category><![CDATA[society]]></category> <category><![CDATA[statistics]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/2008/04/03/mom-lets-9-year-old-take-subway-home-alone/</guid> <description><![CDATA[The Today Show has a cover story today entitled &#8220;Mom lets 9-year-old take subway home alone.&#8221; The controversy over this &#8212; that is, the fact that there is any &#8212; is a wonderful example of how poorly people assess risk in modern society. What this woman, Lenore Skenazy, has done to stir up trouble is [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>The Today Show has a <a
href="http://www.msnbc.msn.com/id/23935873/">cover story </a>today entitled &#8220;Mom lets 9-year-old take subway home alone.&#8221;  The controversy over this &#8212; that is, the fact that there is any &#8212; is a wonderful example of how poorly people assess risk in modern society.  What this woman, Lenore Skenazy, has done to stir up trouble is to make a decision about her child based on reason rather than emotion (specifically fear) &#8212; something that seems frighteningly uncommon today.  As she puts it:</p><blockquote><p>“It’s safe to go on the subway,” Skenazy replied. “It’s safe to be a kid. It’s safe to ride your bike on the streets. We’re brainwashed because of all the stories we hear that it isn’t safe. But those are the exceptions. That’s why they make it to the news. This is like, ‘Boy boils egg.’ He did something that any 9-year-old could do.”</p></blockquote><p>She&#8217;s right.  Most of us in our 30&#8242;s today remember growing up in the 1980&#8242;s &#8212; and it involved riding your bike across town, visiting neighbors, and being unattended for relatively long periods of time.  Of course there were unsafe <em>areas </em>&#8211; there were parts of cities where people alone really <em>aren&#8217;t </em>safe &#8212; but these are the exceptions rather than the rule.  Today, most parents seem to live in fear, convinced that there are criminals lying in wait to abduct children everywhere.  It simply isn&#8217;t the case &#8212; it never has been, and crime rates are lower today than they were in the 80&#8242;s!  We have not gotten any less safe, we have simply become so afraid that we <em>think </em>we&#8217;re less safe.   And this culture of fear is damaging and contagious:</p><blockquote><p>“Half the people I&#8217;ve told this episode to now want to turn me in for child abuse. As if keeping kids under lock and key and helmet and cell phone and nanny and surveillance is the right way to rear kids. It&#8217;s not. It&#8217;s debilitating — for us and for them.”</p></blockquote><p>There are a variety of reasons that people believe that their children are under constant threat.  Among them are:</p><ul><li>Vividness criterion: shocking anecdotes stick in our memory more than statistics, and they attract our attention.  This is both why the media reports on every bad thing happening to a child, and why we remember them.</li><li>Availability bias: when determining how frequently something happens, rather than turning to statistics we turn to how many cases of it we can remember.  Since the news reports on <em>every </em>plane crash, but almost <em>no</em> auto accidents, we think of air travel as riskier even though we know the statistics show differently.  Since in this age of pervasive news reporting we <em>hear about </em>crime more often, crime must be more common, even though the statistics show differently.</li><li>Fundamental attribution error: when something happens, we tend to overestimate behavioral causes.  So when a child is hurt, we assume the parents <em>did something wrong, </em>even if the event is random and exceedingly rare.</li><li>We overestimate risks from <em>intentional </em>causes and underestimate risks from <em>natural </em>causes. This is probably related to the vividness criterion &#8212; someone deliberately hurting a child is more shocking than the child being hurt in a bike accident.  The result is that we expect people to be malicious a lot more often than they are, and we think children are more likely to be hurt by criminals than by illness or car accident, once again despite statistics showing otherwise.</li></ul><p>In truth, the violent crime rate today in the United States is <em>less than half </em>of what it was in the 1980&#8242;s!  Most of our burgeoning prison population consists of nonviolent drug offenders, and most violent crime occurs in geographically delimited areas.  Skenazy is right &#8212; the streets and subways of New York City are as safe as they were in 1963.  Crime against children is even lower &#8212; the simple fact is that the overwhelming majority of humanity doesn&#8217;t want to hurt kids and is inclined to help and protect them.</p><p>It&#8217;s sad how many normal childhood experiences have been lost to this obsession with safety from small risks &#8212; just try to buy a chemistry set today even as an adult and compare it with what was available to young children 20 years ago (or to what&#8217;s in <em>The Golden Book of Chemistry Experiments</em>, now available pretty much only via <a
href="http://www.mininova.org/search/?search=The+Golden+Book+of+Chemistry+">BitTorrent</a>, which begins by teaching children to use an alcohol burner to shape glass tubing.  Today, a children&#8217;s chemistry set would never be allowed to contain an alcohol burner&#8230; or glass tubing.)</p><p>The key is this:</p><blockquote><p>‘The statistics show that this is an incredibly rare event, and you can&#8217;t protect people from very rare events. It would be like trying to create a shield against being struck by lightning.’ ”</p><p>She said that people ask her how she would feel if one of those terrible and rare events happened to her son. &#8220;It would be horrible,” she said. “But you can’t live your life that way; you could slip in the shower.”</p></blockquote><p>When faced by <em>extremely low risks</em>, the rational response is sometimes to <em>disregard them</em>.  Sometimes the response to fear of something is, in aggregate, worse than the thing itself.  We of course do the same thing with terrorism, and these same biases cause us to misallocate security dollars in industry, too (how many companies have tens of thousands of dollars in firewall and IDS hardware, but no disaster recovery plan?)</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2008/04/03/mom-lets-9-year-old-take-subway-home-alone/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Broadband Steps Backwards</title><link>http://perimetergrid.com/wp/2008/01/23/broadband-steps-backwards/</link> <comments>http://perimetergrid.com/wp/2008/01/23/broadband-steps-backwards/#comments</comments> <pubDate>Wed, 23 Jan 2008 17:49:15 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[legal]]></category> <category><![CDATA[networks]]></category> <category><![CDATA[piracy]]></category> <category><![CDATA[society]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/2008/01/23/broadband-steps-backwards/</guid> <description><![CDATA[The recent news from broadband providers seems to be all about how to make their product less appealing to customers. First of all, the AP reports that AT&#38;T is still considering filtering backbone traffic. They say they&#8217;ve noticed the massive amount of copyrighted data being shared over P2P networks, and feel a need to do [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>The recent news from broadband providers seems to be all about how to make their product less appealing to customers.</p><p>First of all, the AP reports that <a
href="http://ap.google.com/article/ALeqM5g0ySrafwZ3OnGSnsi1-fHB7OMhfwD8UBLMK80">AT&amp;T is still considering filtering backbone traffic</a>.  They say they&#8217;ve noticed the massive amount of copyrighted data being shared over P2P networks, and feel a need to do something about it &#8212; &#8220;It&#8217;s like being in a store and watching someone steal a DVD. Do you act?&#8221;  However, I think it&#8217;s likely that this is not just AT&amp;T having an attack of conscience (not exactly something Ma Bell is known for), but rather AT&amp;T being pressured by the usual suspects, the MPAA and RIAA.</p><p>They&#8217;re looking at this as a security problem &#8212; how do we stop unauthorized traffic (piracy) while allowing authorized traffic?  From this perspective, it&#8217;s tractable &#8212; the technology exists to do it, albeit clumsily (you either miss a lot of piracy or you throw out a lot of legitimate traffic.)  However, this is more than a security problem &#8212; there are legal and business problems here that in my opinion should overwhelm the security concern.</p><p>I&#8217;m surprised that AT&amp;T is actually considering it.  Currently, AT&amp;T is shielded from lawsuits over content carried over their network by having &#8220;common carrier&#8221; status &#8212; they do not discriminate based on content.  If they begin discriminating based on content, they may cut down on music and movie piracy &#8212; <em>but they also render themselves vulnerable to being held liable for what music and movie piracy does occur</em>.  Perhaps the MPAA and RIAA have offered to indemnify AT&amp;T in exchange for its help with the filtering.  There is another problem with filtering, though &#8212; AT&amp;T&#8217;s Internet backbone lines carry a staggering amount of traffic, so any kind of filtering would of necessity have to be very rudimentary or the processing power requirements would be enormous.  Essentially, they would have to do something like what Comcast did with the Sandvine system &#8212; just interfere with all BitTorrent (or other P2P) traffic, without making any attempt to differentiate between legal and illegal content.</p><p>Perhaps AT&amp;T has another ulterior motive, though &#8212; P2P traffic is representing an increasing proportion of all Internet traffic, at this point more than half.  If killing P2P would drop AT&amp;T&#8217;s bandwidth requirements by 60% while not affecting their revenue, this would have to be tempting for the corporation.</p><p>The increasing amount of P2P traffic is causing another major Internet company to consider sabotaging their own business &#8212; Time-Warner Cable. <a
href="http://arstechnica.com/news.ars/post/20080122-shooting-yourself-in-the-foot-time-warners-usage-caps.html">Ars Technica reports</a> that Time-Warner is considering switching to metered rates, where users pay different amounts based on how much bandwidth they are using.  They&#8217;re undoubtedly considering this due to the public&#8217;s reaction to Comcast&#8217;s filtering of P2P traffic (outrage and lawsuits.)  Cable companies are in a bind &#8212; they built their networks under the assumption that traffic is extremely asymmetric &#8212; many users send small amounts of traffic (requests, acknowledgments) to centralized servers which respond with large amounts of traffic.  This made sense when almost all Internet traffic consisted of web pages, but P2P networks destroy this assumption, with each user uploading as much, or more, than they download.  Essentially, with P2P everyone is a server, and the cable companies simply can&#8217;t handle this without massive, expensive upgrades to their entire infrastructure.  Their problem is one of failure to plan &#8212; they didn&#8217;t see this coming, and spent billions of dollars in capital building the wrong network.  Even without piracy, P2P would be an increasing proportion of Internet traffic today &#8212; the world has changed, and it won&#8217;t be changed back again.</p><p>On one hand, metered pricing is fair.  Right now, the people who use P2P are getting their Internet connections below-cost &#8212; we&#8217;re unprofitable for the ISPs, who can only support us because the masses of people who do nothing but occasional web-surfing are so profitable that they subsidize P2P users and result in an overall profit for the ISP.  ISPs can afford to offer &#8220;unlimited&#8221; broadband only so long as they can be sure almost no one will use it.  With metered pricing, heavy users pay for their heavy use, and light users can pay less since they don&#8217;t have to subsidize the heavy users.  On the other hand, there&#8217;s a problem &#8212; customers despise metered pricing, especially when they&#8217;re used to flat-rate.  In the 90&#8242;s, phone companies experimented with metered local service, and it was outrageously unpopular even with people whose phone bills <em>decreased </em>as a result.  Sure, they were paying less, but now they felt <em>limited</em>.</p><p>Switching to metered pricing will indeed save money.  However, it will do so by driving away customers, starting with the unprofitable heavy users.  Perhaps this is intentional &#8212; banks set up their fee structures to drive away unprofitable customers, too, so it&#8217;s not unprecedented.  But in the long run, P2P use is increasing, and the old usage patterns are decreasing &#8212; if the networks don&#8217;t adapt to this, eventually they&#8217;ll have no customers left.  Competitors like Verizon FiOS, which (due to a fiber-optic last mile) don&#8217;t need to limit upstream bandwidth and have been built in the modern P2P world will kill off any network that tries to live in the past.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2008/01/23/broadband-steps-backwards/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The Resilient Society, and How Not To Build It</title><link>http://perimetergrid.com/wp/2008/01/16/the-resilient-society-and-how-not-to-build-it/</link> <comments>http://perimetergrid.com/wp/2008/01/16/the-resilient-society-and-how-not-to-build-it/#comments</comments> <pubDate>Wed, 16 Jan 2008 23:44:15 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[legal]]></category> <category><![CDATA[risk]]></category> <category><![CDATA[society]]></category> <category><![CDATA[terrorism]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/2008/01/16/the-resilient-society-and-how-not-to-build-it/</guid> <description><![CDATA[Today I found a link to an article by my least-favorite current presidential candidate, Rudy Giuliani. I was expecting a cavalcade of fear-mongering &#8212; his usual stock in trade &#8212; but discovered to my surprise an article entitled &#8220;The Resilient Society.&#8221; This gave me pause, as resilience is precisely what I believe must be the [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>Today I found a link to an article by my least-favorite current presidential candidate, Rudy Giuliani.  I was expecting a cavalcade of fear-mongering &#8212; his usual stock in trade &#8212; but discovered to my surprise an article entitled <a
href="http://www.city-journal.org/2008/18_1_homeland_security.html">&#8220;The Resilient Society.&#8221;</a> This gave me pause, as <em>resilience</em> is precisely what I believe must be the necessary societal response to the distributed threat of terrorism.  Security must be divided into prevention, detection, response, and recovery &#8212; resilience is the ability to quickly recover from attack at as low a cost as possible.  Resilience is the difference between a society changing its entire way of life in response to a terrorist attack vs. society being able to return quickly to normalcy, thus making itself impossible to terrorize.  I was not expecting to hear about resilience from Rudy Giuliani &#8212; after all, this is the one aspect of national security that cannot be centralized around an all-powerful government (Giuliani&#8217;s obvious goal), but rather relies on the distributed strength of every citizen.  Was I about to actually <em>agree </em>with an article by Giuliani?</p><p>It turns out that I had nothing to worry about.  Despite its title, there are only four paragraphs about resilience in the 41-paragraph article, and even those are wrong.</p><p>So what does Giuliani think must be done to defend a society from terrorism?  Primarily a command-and-control response process combined with offensive attacks on the sources of terrorism.</p><p>With regard to prevention, Giuliani favors deployment of massive detection nets to fight against the attacks we&#8217;ve already faced &#8212; radiation and biohazard detectors at every port and point of entry.  The cost-benefit ratio of this would be astronomically poor; as a free society with mostly open borders, there are a phenomenal number of entry points to the United States, and only very rarely (possibly never, so far, though the government would not be likely to tell us if it <em>did </em>happen) does anyone try to smuggle weapons-grade nuclear material or biological weapons through it.   This isn&#8217;t to say that these measures would do <em>no </em>good, but they protect only against specific attacks and are obvious.  They signal to terrorists &#8220;you can&#8217;t bring a nuclear or biological weapon through a shipping container in a port,&#8221; thus letting them know they should instead a.) use conventional weapons, b.) acquire nuclear/biological materials already inside the United States, or c.) enter via uncontrolled border space.  If I, in three minutes, can think of three easy ways around a measure that will take billions of dollars to implement, it&#8217;s not very cost-effective.</p><p>He discusses the difficulties in information sharing between law enforcement and military agencies, clearly seeing these as an unalloyed negative.  He&#8217;s right that there have been clear communications breakdowns, where these organizations had information that they were legally free to share, but chose not to out of myopia or the desire to preserve the institutional sovereignty of their silo.  Despite the Central Intelligence Agency being founded to ensure all military and civilian intelligence agencies share information, it has in many cases become the most isolated hoarder of information of them all, and this is a problem.  However, in other cases the obstacles to information-sharing are the civil liberties guaranteed by the Constitution.  Giuliani has no issue with sweeping these away &#8212; this is, after all, the person who claims &#8220;Freedom is about authority. Freedom is about the willingness of every single human being to cede to lawful authority a great deal of discretion about what you do. You have free speech so I can be heard.&#8221;  (<a
href="http://query.nytimes.com/gst/fullpage.html?res=9A01E2D9173CF933A15750C0A962958260">That quote is not taken out of context in any way.</a> He did not, however, go on to add &#8220;War is Peace.  Freedom is Slavery.  Ignorance is Strength.&#8221;)</p><p>Judicial oversight is not inimical to detecting and stopping international terrorism.  Judges do not want terrorist attacks to happen, either; these protections exist to ensure that normal people are able to live their lives without constant monitoring. <em>Surveillance is not unintrusive</em>.  Comamnd-and-control executives like Giuliani think that it does not matter if people are being watched, as only the &#8220;bad guys&#8221; will be prosecuted, but this simply isn&#8217;t true.  First of all, <em>people change their behavior when they know they&#8217;re being watched</em>.  It has a chilling effect not just on actually criminal behavior, but also on any behavior that people consider &#8220;socially unacceptable.&#8221;   Surveillance drives everyone toward the mainstream center of society, homogenizing them; it creates the very opposite of a free society.  (For a chilling illustration of this, I highly recommend Charles Stross&#8217;s sci-fi novel <a
href="http://www.amazon.com/Glasshouse-Charles-Stross/dp/B000X1P48E/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1200523974&amp;sr=8-1"><em>Glasshouse</em></a>, one of the best and most terrifying books I&#8217;ve ever read, though it requires a high tolerance for transhumanist concepts.)  Second, who watches the watchers?  Even if Giuliani&#8217;s motives are pure (they&#8217;re not), and he wants to use these tools of warrantless surveillance, imprisonment without trial, etc. only against international terrorists, no one can possibly believe the entire law enforcement apparatus of a 300-million-person nation is entirely free of corruption and petty tyranny. <em>Security has a cost</em> &#8212; Giuliani looks only at how these measures benefit security, ignoring their unintended consequences.  Security is of limited value &#8212; a terrorist attack is tragic but it does not end the world.  We must not embrace &#8220;security at any cost&#8221; &#8212; instead we must consider security at a cost that we can bear, and most importantly, not allow the cost of security to exceed the cost of terrorism.</p><p>Giuliani also wants a &#8220;good Samaritan&#8221; law for people who report suspicious activity, protecting them from lawsuits.  This is a terrible idea.  Lawsuits are there to provide a cost for making a false of frivolous report &#8212; people will still report the man walking down the street with a pile of dynamite, but they think twice about reporting possibly-suspicious but almost certainly innocuous activity, like speaking Arabic in an airport, or loitering in a parking lot.  Making reporting costless means you&#8217;ll get an inevitable excess of it, resulting in both the chilling effect of universal surveillance and a waste of law enforcement&#8217;s time.  When people are encouraged to report everything unusual, you drown in reports and make people paranoid.  This teaches people to react to the unknown with fear &#8212; that is, it accomplishes precisely what terrorists aim to accomplish.  People reporting suspected terrorist activities should not be <em>immune </em>from lawsuits; rather, courts should decide whether the report was reasonable and take appropriate action.  Often the reporters should be held blameless, having had a reasonable reaction that turned out to be incorrect, but doing so <em>automatically </em>makes filing false reports a simple way for private citizens to use the nation&#8217;s law enforcement apparatus as a means for private revenge.</p><p>Giuliani also calls for &#8220;tamper-proof biometric ID cards&#8221; for all non-citizens.  As a security professional I can&#8217;t help but chuckle when anyone uses the word &#8220;tamper-proof.&#8221; But there&#8217;s nothing terribly <em>wrong </em>with this&#8230; except that it doesn&#8217;t do any good.  We already know when people enter the country legally, and we identify them then; if they sneak in, they&#8217;re not going to have a &#8220;tamper-proof biometric ID card&#8221; any more than they have a regular ID card now.  In addition, identity alone does not provide security.  The fact that you know who someone <em>is </em> does you little to no good if he does not have a background in committing terrorist acts.  And if he has a background in committing terrorist acts, why would you hand him a &#8220;tamper-proof biometric ID card?&#8221; Just deport him!</p><p>Giuliani supports fences around borders and stepping up guards, but claims to want to avoid turning the nation into a &#8220;fortress&#8221; in order to &#8220;deepen the connections between America and the Islamic world that will prove essential in prevailing over radical Islamic extremism.&#8221;  On one hand, he&#8217;s on to something there &#8212; the only way to truly prevent terrorism is to eliminate the <em>motivation </em>for terrorism.  Otherwise, 100% prevention is impossible &#8212; total prevention requires that you succeed <em>every </em>time, while the villains only have to succeed once.   On the other hand, he simultaneously advocates precisely the foreign policy that creates that motivation &#8212; worldwide interventionism and American control and support of often-corrupt foreign governments.  Now, the fact that a given policy makes people want to kill you doesn&#8217;t necessarily mean that that policy is <em>wrong </em>&#8211; but it is a <em>cost </em>of that policy that must be taken into account, and to claim that it will not have this effect is disingenuous.</p><p>Stepping up epidemiological surveillance and data gathering is the one good idea Giuliani has.  Not only would it be helpful to detect bioterror attacks, but more importantly, it can help detect and contain natural pandemics.  The emergence of a serious disease threat at some point in the future is a certainty, and unlike surveillance of people&#8217;s activities, this sort of surveillance has very little civil liberties cost.</p><p>Giuliani is obvious very proud of New York&#8217;s CompStat method of crime detection and prevention, given his desire to apply the same methodology to everything.  For terrorism and border control, it makes some sense, as these are essentially law enforcement problems with a lot of parallels.  However, for emergency preparedness it does not.  Dividing up funding based on &#8220;need&#8221; determined by a statistical formula is absolutely certain to result in &#8220;gaming the system.&#8221;  Emergency preparedness must be decentralized; there is no way for the Federal government to take care of it on a nationwide basis, or even to effectively coordinate and monitor it.  Fundamentally, preparedness requires having appropriate materials on site and appropriate plans made, and no one can make those plans from afar.</p><p>Finally, Giuliani gets to the putative subject of the essay, resilience.  He says, rightly, &#8220;Government should harness the inherent strength of the American people and the private sector in order to build a society that may bend—but not break—if catastrophe does strike.&#8221;  It is somewhat ironic to hear this from Giuliani, who has just spent the preceding 30 paragraphs calling for increased central control of everything.  His entire resilience proposal is as follows:</p><ul><li>Create government-organized response teams of private citizens who have been trained and equipped by government to respond to disaster,</li><li>Pass a law shielding people from lawsuits if they are trying to help in disaster response, and</li><li>Set government standards for how businesses, citizens, and charitable organizations should respond to disasters.</li></ul><p>Ah, for every problem a government solution.  This is precisely what resilience <em>isn&#8217;t</em>.  A resilient society is one that responds to and recovers from disaster <em>on its own</em> &#8212; one that is not broken by disaster but continues to function mostly unchanged.  The model of a resilient society is England during the IRA period: terrorist attacks happened, and <em>life went on largely unchanged</em>.</p><p>Western society is still phenomenally resilient, but not as much as it once was. You cannot build a resilient society using only government.  A resilient society comes from a variety of factors, and these can do more to protect against the impact of terrorism than any technological or centralized security measure.  They include:</p><ul><li>A culture of hope.  People have to believe that every terrorist attack is an abberation, and that life will return to normal.  This is what prevents a localized disaster from having repercussions on an entire nation for years to come; without this, with a culture of fear instead, the damage of a terrorist attack is multiplied a hundredfold.</li><li> A citizenry that trusts itself.  People must believe they are competent to solve their own problems, so the first reaction to a disaster is not &#8220;how will I get help,&#8221; but rather &#8220;what do <em>I </em>need to do?&#8221;  Government cannot save everyone; if the able-bodied and passably intelligent people save <em>themselves, </em>government is freed up to help those who genuinely need it, and not simply those who abrogated their responsibility to plan.</li><li>A populace that cares for others while still expecting them to take care of themselves.  When disasters like Hurricane Katrina or 9/11 occur, there is an outpouring of charity from the populace to help.  It doesn&#8217;t take government to solicit this; general benevolence will do, the desire to help <em>anyone </em>hurt by a disaster rather than using disaster as am impetus to hoard more for yourself and your tribe.  However, people also must recognize the limits of charity, and be willing to go back to their own lives as time passes.</li></ul><p>All of these are cultural shifts; we can&#8217;t impose them, and as Giuliani is running for head of government, it makes sense for him to talk about government actions.  However, the statements he&#8217;s making are precisely what <em>damages </em>resilience.  When all we hear from government is how they are expecting impending doom, and how government will save us when it happens, it does not teach us to have hope, trust ourselves, and help others!  It teaches us to always anticipate disaster, do nothing and wait for help when it happens, and expect the government to do all the helping.  Regardless of what the government <em>does, </em>this rhetoric from our politicians itself reduces the resilience of our society.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2008/01/16/the-resilient-society-and-how-not-to-build-it/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>New Legislation: SAFE and PRO IP</title><link>http://perimetergrid.com/wp/2007/12/07/new-legislation-safe-and-pro-ip/</link> <comments>http://perimetergrid.com/wp/2007/12/07/new-legislation-safe-and-pro-ip/#comments</comments> <pubDate>Fri, 07 Dec 2007 22:47:40 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[dmca]]></category> <category><![CDATA[legal]]></category> <category><![CDATA[piracy]]></category> <category><![CDATA[society]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/2007/12/07/new-legislation-safe-and-pro-ip/</guid> <description><![CDATA[There has been some controversy over two new security-related bills in the United States Congress right now: the SAFE Act and PRO IP. The SAFE Act (Secure Adolescents From Exploitation Online; another case where the acronym almost certainly came first) aims to protect children and teenagers from exploitation by increasing enforcement of child pornography laws.  [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>There has been some controversy over two new security-related bills in the United States Congress right now: the SAFE Act and PRO IP.</p><p>The SAFE Act (Secure Adolescents From Exploitation Online; another case where the acronym almost certainly came first) aims to protect children and teenagers from exploitation by increasing enforcement of child pornography laws.  Not, on the surface of it, a bad thing.  The controversy comes from its means: it requires anyone operating an internet service to report not just actual child pornography, but also fully-clothed minors in &#8220;lascivious poses&#8221; (whatever that means) and any &#8220;drawing, cartoon, sculpture, or painting&#8221; consisting of an obscene depiction of minors.  This troubles people for two reasons: first of all, due to the vagueness of what is prohibited (can you tell if a drawing, cartoon, sculpture, or painting is of a 17-year-old or an 18-year-old?), and second, because of the apparent requirement that providers monitor all their traffic in order to make these reports.</p><p>According to <a
href="http://www.news.com/8301-13578_3-9829759-38.html">C|Net News</a>, the monitoring requirement would apply to anyone providing an open Wi-Fi node, such as coffee shops, restaurants, and even homes that simply don&#8217;t choose to encrypt their Wi-Fi, in addition to social networking sites, web-based email providers, domain name registrars, etc.  Were the bill interpreted in this way, this would place an impossible burden on any provider of connectivity &#8212; there is no automated way to scan the traffic of all your subscribers for vaguely-defined unlawful depictions of fictional minors, you would need to have a person manually inspect all the traffic, which is obviously impossible at any scale (not to mention a terrible privacy invasion.)</p><p>However, I think that this is an overly alarmist reading of the bill.  It&#8217;s certainly not the author&#8217;s intent (indeed, <a
href="http://www.news.com/8301-13578_3-9830648-38.html">Rep. Rick Lampson&#8217;s office has responded</a> to the C|Net article) for the bill to apply to every small Wi-Fi provider, though author&#8217;s intent is often beside the point once a law is passed.  More importantly, though, the bill does not mandate surveillance or detection at all &#8212; it mandates reporting <em>if </em>child pornography (or something that kind of sort of looks like it) is detected.  In other words, it forbids finding out about illegal activity and looking the other way; it does not mandate actually looking for it.  I think that Ars Technica has a <a
href="http://arstechnica.com/news.ars/post/20071206-safe-act-wont-turn-mom-and-pop-shops-into-wifi-cops.html">much more balanced article</a> about the bill.  Overall, I think it&#8217;s feel-good &#8220;for the children&#8221; legislation that won&#8217;t accomplish much (ISP&#8217;s are already required by law to report child pornography if they detect it, this just raises the penalties and expands the definition), and that prohibiting fictional depictions of children where no actual children are involved is a poor idea from a legal standpoint (since it is very open to abuse by subjective interpretations of judges, prosecutors, and jurors), but that this bill, if it passes &#8212; which is likely &#8212; will not impose a serious technical burden on service providers.</p><p>Meanwhile, the <a
href="http://www.eff.org/deeplinks/2007/12/pro-ip-act-increase-infringement-penalties-and-drastically-expand-government-enfor">Electronic Frontier Foundation</a> reports on the <a
href="http://judiciary.house.gov/newscenter.aspx?A=887">PRO IP Act</a> (&#8220;Prioritizing Resources and Organization for Intellectual Property (PRO IP) Act of 2007&#8243; &#8212; doesn&#8217;t anyone ever just name a bill and <em>then </em>come up with the acronym anymore?), which aims to fight copyright infringement in the typical ineffective way, presumably to shore up the music industry&#8217;s failing business model.  It increases penalties for peer-to-peer file sharing from their current ridiculous levels (which build animosity toward the recording industry via outlandish million-dollar damages levied against ordinary university students) to new even more ridiculous levels, while also creating a new $25 million federal bureaucracy to step up copyright enforcement.</p><p>Having a copyright system is important.  However, you would think that by now the music industry would realize that if suing customers for $250,000 does not stop piracy, the problem is not that they&#8217;re not suing them for enough money, and stepping up the penalties will have no effect.  People believe either a.) that they&#8217;re not doing anything wrong or illegal, or b.) that they&#8217;re extremely unlikely to get caught (this latter belief being true.)   In order to change this, they&#8217;ll need to either offer a legal alternative that at least approaches the convenience and usability of illegal downloading (which you would think would not be a high bar &#8212; BitTorrent is not very convenient) and is affordable for broad categories of consumers, or they&#8217;ll need to <em>decrease </em>the penalties while <em>increasing </em>the percentage of people who get caught.</p><p>With regard to the former, coming up with a pricing model seems to be their stumbling block.  Some customers buy several CDs a month, spending $100 or more on music.  These customers would love a monthly-fee option, and would pay a substantial amount for unlimited downloads.  Other customers buy one CD in a great while, and a subscription model is terrible for them &#8212; and thus they prefer individual song downloads like iTunes.  All customers hate DRM, as it prevents them from using music in ways we now take for granted (e.g. playing on multiple devices.)  What the music industry is doing now is akin to the government trying to win the War on Drugs by dropping defoliant in Colombia while doing nothing to reduce local demand &#8212; if the demand for illegal material exists, an infrastructure will spring up to fill it.</p><p>With regard to the latter, the recording industry faces a backlash when they impose penalties that vastly outstrip the perceived seriousness of the crime.  People have an idea of what fair use entails, and anything you could do with a tape recorder in the 1980&#8242;s pretty much fits in that category.  Thus, multi-million-dollar prosecutions of parents and students seems grossly unfair.  However, people also know that &#8220;everyone&#8221; shares files, yet we only occasionally hear about these huge lawsuits, and thus people assume it won&#8217;t happen to them.  The only people who <em>believe </em>they&#8217;ll get caught for file-sharing are those that <em>already have</em>.  However, if being caught file-sharing leads to financial ruin, this must of necessity be only a very small percentage.  If university students got caught by the thousand file-sharing and got fined $100 for it, they might consider legal alternatives a better option after a fine or two.</p><p>All this said, I think the future will eventually be in DRM-free downloads, and that that future will result in less profit both for recording companies (which may die entirely) and for hit artists (though it will result in substantially <em>more </em>profit for well-known local and regional acts, or less-popular national acts, which currently get almost nothing from the &#8220;star&#8221; system of the recording industry.)  It&#8217;s understandable that the recording industry and the most-successful recording artists want to fight this future, but I don&#8217;t see any way that continuously stepping up penalties for actions taken by half the American population is going to do it.</p><p>As for creating a new federal bureaucracy to fight copyright infringement, having law enforcement involved in what is essentially a civil matter (as copyright should be) is always dangerous, because it eliminates risk and return from the equation.  When something is a civil matter,  the injured party must decide that its <em>worth its while</em> to pursue a given enforcement action.  Industrial-scale piracy would certainly be worth a lawsuit; a university student running Kazaa probably isn&#8217;t.  However, when the injured party can simply ask the government to use taxpayer dollars to go after infringers, then why not go after everyone?  it doesn&#8217;t cost <em>them</em> anything; instead <em>we</em> get to pay for it.</p><p>DRM is a dead end; as a trusted-client problem, it is unsolvable.  I think this &#8220;get tough&#8221; legislative approach is a dead end as well.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2007/12/07/new-legislation-safe-and-pro-ip/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Backdoored PNRGs from the NSA</title><link>http://perimetergrid.com/wp/2007/11/16/backdoored-pnrgs-from-the-nsa/</link> <comments>http://perimetergrid.com/wp/2007/11/16/backdoored-pnrgs-from-the-nsa/#comments</comments> <pubDate>Fri, 16 Nov 2007 17:37:50 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[crypto]]></category> <category><![CDATA[legal]]></category> <category><![CDATA[privacy]]></category> <category><![CDATA[society]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/2007/11/16/backdoored-pnrgs-from-the-nsa/</guid> <description><![CDATA[Bruce Schneier has an article at wired.com about the new government-sponsored official standards for random number generators in NIST Special Publication 800-90.&#160; Apparently, it&#8217;s possible that one of them contains a back-door for the NSA; depending on how the constants in the algorithm were chosen, the NSA may have another set of constants that let [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>Bruce Schneier has <a
href="http://www.wired.com/politics/security/commentary/securitymatters/2007/11/securitymatters_1115">an article at wired.com</a> about the new government-sponsored official standards for random number generators in <a
href="http://csrc.nist.gov/publications/nistpubs/800-90/SP800-90revised_March2007.pdf">NIST Special Publication 800-90</a>.&nbsp; Apparently, it&#8217;s possible that one of them contains a back-door for the NSA; depending on how the constants in the algorithm were chosen, the NSA may have another set of constants that let them predict the &#8220;random&#8221; numbers generated by the algorithm.</p><p>To people not very familiar with cryptography, it may seem odd that random number generators are very significant.&nbsp; However, all modern key-based cryptography is based on having a source of entropy (true randomness) &#8212; somewhere it can get a key that is unlikely to be guessed or otherwise determined.&nbsp; When we talk about &#8220;40-bit&#8221; or &#8220;128-bit&#8221; encryption, we&#8217;re really talking about the key length, which provides an upper bound on available entropy.&nbsp; Ideally, cryptography would be based on true random numbers, for which every bit of number is a bit of entropy.&nbsp; However, true random numbers have to be generated physically &#8212; we have devices that do it based on radioactive decay, but you can also get it by asking a human to move a mouse around or bang on a keyboard, as PGP does when generating keys.&nbsp; Thus, for most applications, we settle for pseudo-random number generators &#8212; programs which generate a stream of numbers that are unrelated to each other, have a uniform distribution, and are for most purposes entirely random.</p><p>However, a psuedo-random number generator usually needs a seed &#8212; a starting point for the generator.&nbsp; If you use the same seed, you&#8217;ll get the same stream of &#8220;random&#8221; numbers.&nbsp; Thus, the seeds chosen are usually very large numbers.&nbsp; Cryptographic pseudo-random number generators are considerably more processor-intensive than the regular &#8220;random&#8221; number generators used in non-security applications, as they&#8217;re usually based on multiple iterations of a hashing algorithm.</p><p>What happens if your pseudo-random number generator isn&#8217;t very good?&nbsp; Well, in the early 2000s, an online casino in the Caribbean (I wish I could remember the name of it to provide a link to the news coverage) lost several million dollars.&nbsp; Apparently, a player realized that to shuffle the decks of cards, they used a standard, non-cryptographic random number generator &#8212; the sort of thing that&#8217;s built into Windows and Linux and such.&nbsp; A shuffled deck of cards is very random &#8212; there are 8&#215;10<sup>67</sup> ways to shuffle a deck, which is about 225 bits of entropy.  However, the random number generator used only a 32-bit seed!&nbsp; There are only 4&#215;10<sup>9</sup> 32-bit numbers.&nbsp; This is still a lot, but with modern computer aids, it&#8217;s a manageable number.&nbsp; So what did this player do?&nbsp; He had his computer generate shuffled decks for each of the four billion 32-bit seeds.&nbsp; He then wrote a program that let him enter specific cards that were drawn (e.g. &#8220;fourth card was a queen of spades, fifth card was a 9 of diamonds&#8230;&#8221;) based on the draws he could see (such as his own cards in poker, or the up cards in blackjack) and it would pare down the four billion decks to the ones that could have potentially produced those draws.</p><p>It turns out that when you know that almost all decks are invalid (not able to be generated by the random number generator in use), there aren&#8217;t many decks that can produce a given set of cards.&nbsp; Thus, within 3-5 known cards, his program would spit out the entire deck, and that player could now predict the future.&nbsp; He would know exactly what cards would be coming out, and what ones already had.&nbsp; Thus, poker and blackjack were trivial, and he won a ton of money.</p><p>Many things in cryptography operate similarly.&nbsp; If you can predict the random numbers being used, you drastically simplify cracking the code.&nbsp; It is generally still not what a layman would call <em>simple</em> &#8212; but it brings a message from &#8220;even the National Security Agency with its thousand acres of supercomputers couldn&#8217;t crack it in our lifetime&#8221; to &#8220;it&#8217;s still out of reach for you and I, but, well, the NSA could probably crack it in a day or two.&#8221;&nbsp; Well-funded, skilled adversaries can use any small defect in a cryptosystem that lowers entropy to shorten the time to break codes.</p><p>And that&#8217;s why the NSA would be interested in putting a back-door in a pseudo-random number generator.&nbsp; Did they actually do this?&nbsp; In my opinion, the evidence Schneier presents is pretty convincing, and while Schneier is today best known as a popularizer of security rather than a technical expert, one would do well to remember that he also wrote <a
href="ttp://www.wired.com/politics/security/commentary/securitymatters/2007/11/securitymatters_1115">Applied Cryptography</a>, a very technical book that sits on the bookshelf of basically every security developer, including mine.&nbsp; The NIST publication presents four random number generators, based on different algorithms, and then recommends the use of one, Dual_EC_DRBG, that is about 1,000 times slower than the other three.&nbsp; Unlike the others (Hash_DRBG, HMAC_DRBG, and CTR_DRBG), however, with this particular algorithm it would be possible to craft a set of input constants that are defective in a specific way &#8212; such that someone armed with a corresponding set of constants could predict the output of the generator.</p><p>Now, we don&#8217;t have proof that the NSA actually <em>did </em>this.&nbsp; It&#8217;s possible that the input constants in the NIST publication are truly random, chosen arbitrarily, and the NSA does not have a matching key that will break the generator.&nbsp; But the NSA is pretty smart, and almost certainly knew about the flaw in the algorithm &#8212; in general, people in the cryptographic industry assume that the NSA is a few years ahead of them and just hasn&#8217;t said so.&nbsp; The old adage about not attributing to malice what simple incompetence will explain usually applies to government pretty well, but not to the NSA.</p><p>Really, this is a rather ingenious way to backdoor a crypto algorithm.&nbsp; The normal method &#8212; just make a cryptosystem with a mathematical flaw or known backdoor key &#8212; has a serious issue: if you can figure out the mathematical flaw, so can someone else.&nbsp; The NSA wants to be able to listen to our phone calls &#8212; it doesn&#8217;t also want <em>every other country</em> to be able to do so.&nbsp; To backdoor a cryptosystem requires making it so you can read messages without also weakening it for everyone else.&nbsp; This method does exactly that &#8212; without the specific numbers that match the provided input constants, the system isn&#8217;t flawed at all.&nbsp; The NSA has the key (if, indeed, they do), and no one else does.&nbsp; Putting it in the random number generator rather than the cryptosystem itself is a good way to draw attention away from it, too.</p><p>And if the NSA didn&#8217;t choose the constants to have a backdoor, why recommend an elliptic-curve based generator that&#8217;s three orders of magnitude slower than several other generators, all believed to be just as secure, that are based on much more easily understood mathematics like hashing?&nbsp; It just doesn&#8217;t seem to make much sense.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2007/11/16/backdoored-pnrgs-from-the-nsa/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>The War on the Unexpected</title><link>http://perimetergrid.com/wp/2007/11/01/the-war-on-the-unexpected/</link> <comments>http://perimetergrid.com/wp/2007/11/01/the-war-on-the-unexpected/#comments</comments> <pubDate>Thu, 01 Nov 2007 18:31:23 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[risk]]></category> <category><![CDATA[society]]></category> <category><![CDATA[terrorism]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/2007/11/01/the-war-on-the-unexpected/</guid> <description><![CDATA[Bruce Schneier has a good post today called &#8220;The War on the Unexpected,&#8221; about the unintended results of asking the general population to report anything suspicious.  Even discounting deliberate malfeasance (reporting the neighbor you don&#8217;t like as &#8220;suspicious&#8221;), people find a lot of things suspicious, and the gatekeepers have no motivation to apply intelligent filtering [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>Bruce Schneier has a good post today called &#8220;<a
href="http://www.schneier.com/blog/archives/2007/11/the_war_on_the.html">The War on the Unexpected</a>,&#8221; about the unintended results of asking the general population to report anything suspicious.  Even discounting deliberate malfeasance (reporting the neighbor you don&#8217;t like as &#8220;suspicious&#8221;), people find a lot of things suspicious, and the gatekeepers have no motivation to apply intelligent filtering to public reports.  When someone makes a specious report and the police overreact, they&#8217;re praised for their vigilance, while the real victim in the situation is lucky to escape without prison time.  The result is a paranoid society where merely being unusual can get you into trouble &#8212; the very opposite of a free society where your actions are none of anyone else&#8217;s business unless you&#8217;re directly harming them.</p><p>Of course, there&#8217;s not much motivation for government to reduce these overzealous &#8220;awareness&#8221; programs, either.  A paranoid populace is always supportive of more government intervention to &#8220;protect&#8221; them, and making everyone into a criminal makes social control quite easy, since there is no one not subject to arrest, only the people you haven&#8217;t chosen to arrest <em>yet</em>.</p><p>Terrorism can never be absolutely prevented because terrorism is easy &#8212; it is a sad fact of chemistry that many things explode, and there are many ways of being dead.  A free society can only prevent crime because criminals have something to lose &#8212; people acting in self-interest do not want to die or go to prison, and a free society must fight crime via punishing criminals <em>after the crime has been committed</em>.  Since terrorists of the current radical Islamic model aren&#8217;t deterred in this way, we are deprived of our normal security responses and forced to try to fight with <em>prevention only</em>, rather than the standard responses of detection &amp; punishment.  To truly eliminate this sort of terrorism requires changing the culture from which it emerges &#8212; removing the &#8220;feed stock&#8221; of terrorist organizations by giving people something to live for.  This is not a short-term project.<br
/> The proper response of a free society to terrorism is not &#8220;prevention at all costs,&#8221; but rather prevention where the cost is justified and <em>resilience </em>where it is not.  Western society is distributed, and has a phenomenal depth of resources that is absent in many other societies &#8212; our culture is, in short, extremely hard to destroy.  As catastrophic as the September 11th attacks were, your chances of dying in a terrorist attack remain smaller than your chances of dying of heatstroke, inhalation of a foreign object, or drowning in a swimming pool; our society is threatened not by the direction damage of terrorist attacks but by the response those attacks cause in us.  Some threats are direct and obvious enough that mitigates them makes sense, but for many threats the rational response is to <em>accept the risk</em>; that is, recognize that the risk is there, understand that the chances of it affecting you, personally, are nearly nil, and that absolute safety does not exist.  We need to go on about our lives, and work to recover from attacks in the same way that we recover from natural disasters.  When a disaster happens, we mourn, we help the people affected, we rebuild the damage &#8212; but we do not change our way of life because of them.  Somehow, we think that <em>human-caused </em>disasters should be entirely different, but this is not necessarily the case.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2007/11/01/the-war-on-the-unexpected/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 14/19 queries in 0.304 seconds using disk: basic

Served from: perimetergrid.com @ 2012-05-18 16:03:40 -->
