<?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; privacy</title> <atom:link href="http://perimetergrid.com/wp/category/privacy/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>Google SSL Search</title><link>http://perimetergrid.com/wp/2010/05/24/google-ssl-search/</link> <comments>http://perimetergrid.com/wp/2010/05/24/google-ssl-search/#comments</comments> <pubDate>Mon, 24 May 2010 18:30:22 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[industry]]></category> <category><![CDATA[privacy]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/?p=98</guid> <description><![CDATA[Google has added the ability to access their search engine via SSL.  The interface couldn&#8217;t be simpler &#8212; you just go to https://www.google.com instead of http://www.google.com.  The news media has been quite favorable to this &#8212; after all, search queries are at least semi-private in that you might not want your employer or neighbors to [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>Google has added the ability to access their search engine via SSL.  The interface couldn&#8217;t be simpler &#8212; you just go to <a
href="https://www.google.com">https://www.google.com</a> instead of <a
href="http://www.google.com">http://www.google.com</a>.  The news media has been quite favorable to this &#8212; after all, search queries are at least semi-private in that you might not want your employer or neighbors to know what you&#8217;re searching for.  With SSL searches, only Google knows what you&#8217;re searching for.  From a consumer-privacy perspective, it&#8217;s a good thing.</p><p>On the other hand, search is not exactly something people have been clamoring for SSL on.  Implementing SSL for large amounts of web traffic is not cheap (done right it&#8217;s not terribly expensive, either, but it&#8217;s an engineering effort at least,) so normally it&#8217;s only done in response to either regulation or customer demand.</p><p>I think Google has an ulterior motive here &#8212; possibly two of them.  Current web browsers, as a privacy feature, will not pass extra headers from an SSL site to a non-SSL site or vice-versa.  This means that if I click a link on the SSL Google site, the web site I clicked on will not receive a Referrer: header indicating what I had searched for on Google.</p><p>(Incidentally, yes, this <em>does</em> mean that right now every time you click a link or ad on Google, the site you click through to gets to see what you searched for.  It&#8217;s always been this way, most people just don&#8217;t know it.)</p><p>There&#8217;s a big business in website analytics.  People run various statistics packages on their website to find out what searches lead to them, what sites link to them, etc.  It&#8217;s critical for optimizing marketing or advertising strategies.  There are also several analytics services that will do this for you, including Google&#8217;s own product Google Analytics.  If everyone started using SSL for searches, all of these would be broken&#8230; well, except Google&#8217;s of course, because Google Analytics doesn&#8217;t need to rely on the Referrer: header &#8212; it has the inside scoop from Google Search itself.</p><p>In addition to this, in the pay-per-click advertising world, conversion tracking is very important.  One advertiser may pay for thousands of keywords and run dozens or hundreds of ads.  They track each click all the way through to sales &#8212; in other words, they look not just at which ads people click on, but which ads <em>buyers</em> click on, vs. ads that only attract browsers who don&#8217;t follow through and purchase.  Once again, these usually work via the Referrer: header, which SSL takes away.  And once again, Google offers its own conversion tracking system, which will no doubt still work when all the others are broken.  This one can be worked around &#8212; you can make a third-party PPC conversion-tracking system that doesn&#8217;t use Referrer:, it&#8217;s just a little more work &#8212; but not everyone will work around it.</p><p>Both of these results would mean, in a world where <em>many</em> searches were over SSL, rather than just a tiny fraction as it is today, that advertisers &amp; webmasters would have the choice of either operating &#8220;blind&#8221; or giving all their data over to Google.  And they have a very good reason not to want to do this &#8212; if you&#8217;re an ad buyer, and Google is the supplier you buy from, do you want Google to know exactly what keywords &amp; placements are most profitable to you?  Clearly Google can use this inside knowledge of their customers&#8217; businesses to maximize prices on the most effective advertising spots.</p><p>This is the sort of thing that can lead to an antitrust lawsuit.  So far Google has managed to spin it as a consumer-friendly privacy feature, but we&#8217;ll see if that lasts.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2010/05/24/google-ssl-search/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Data Hiding at the Airport</title><link>http://perimetergrid.com/wp/2008/05/01/data-hiding-at-the-airport/</link> <comments>http://perimetergrid.com/wp/2008/05/01/data-hiding-at-the-airport/#comments</comments> <pubDate>Fri, 02 May 2008 05:28:33 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[attacks]]></category> <category><![CDATA[crypto]]></category> <category><![CDATA[legal]]></category> <category><![CDATA[privacy]]></category> <category><![CDATA[products]]></category> <category><![CDATA[terrorism]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/?p=47</guid> <description><![CDATA[According to the EFF blog, customs has taken to randomly searching electronic devices for suspicious data.  It is somewhat mysterious what they are searching them for &#8212; given only a few minutes and a technically unskilled border guard doing the searching, it&#8217;s hard to imagine them actually finding anything better hidden than a file on [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>According to the EFF blog, customs has taken to <a
href="http://www.eff.org/deeplinks/2008/05/protecting-yourself-suspicionless-searches-while-t">randomly searching electronic devices for suspicious data</a>.  It is somewhat mysterious what they are searching them <em>for</em> &#8212; given only a few minutes and a technically unskilled border guard doing the searching, it&#8217;s hard to imagine them actually finding anything better hidden than a file on the desktop labeled &#8220;terroristic threats.doc&#8221; and a hyperlink to the Al-Qaeda Homepage.</p><p>Thus, from a security perspective, this just isn&#8217;t a good idea.  There&#8217;s a large tradeoff in inconvenience, delay, and civil liberties violation for a miniscule increase in security.  However, it does get me thinking about an interesting problem &#8212; how does one hide data from people inclined to search your electronic devices for it?</p><p>A legal search is a totally different kind of threat from a hacker attack.  With a hacker attack, you simply have to keep them out of the data &#8212; with a legal attack, you have to hide the <em>existence </em>of the data, as the legal system has at their disposal an additional channel for getting the data &#8212; they can subpoena it and demand you disable any protective measures and hand over the data.  Thus, encryption &#8212; the primary defense against data disclosure to hackers &#8212; is of limited use against a legal attack.  (And note that a &#8220;legal attack&#8221; doesn&#8217;t just mean law enforcement or other rightful authorities &#8212; it also means attack via lawsuit.  Abuse of the legal system is not limited to the political administration &#8212; competitors and other adversaries can and do use the legal system to get at things they shouldn&#8217;t have.  In other words, this information isn&#8217;t of value only to criminals &#8212; there are a lot of perfectly legitimate reasons to hide data.)</p><p>The EFF points out a few possible ways of avoiding scrutiny from customs:</p><ul><li>Create multiple accounts on the machine, and just log in with an account with nothing sensitive in it when asked to log in.  This is basically taking advantage of the lack of technical expertise on the part of the searcher.</li><li>Take only the data you need on the trip &#8212; just minimize what there is to find.  This is a good idea anyway, but probably unsatisfactory if you are carrying, say, diplomatic communications.</li><li>Bring no data at all, and when you arrive at your destination, retrieve the information via VPN.  Before flying back, VPN the data back and delete it.</li><li>For sensitive business communications, have the data encrypted by someone else who provides the key only when you arrive at your destination.  This would work to protect the data, but it also means that, being unable to comply with an order to reveal the data, you may just have to miss your flight.</li></ul><p>I have two more that they didn&#8217;t mention:</p><ul><li>Encrypt the data onto something that is not an &#8220;electronic device&#8221; subject to search, like a CD-ROM, USB key, or whatever.  It no longer falls under the search provision.  Obviously it could be searched if you were actually arrested or sued, but it gets around this particular issue.</li><li>Use <a
href="http://www.truecrypt.org/docs/?s=hidden-volume">TrueCrypt Hidden Volumes</a>.  Merely hiding an encrypted file on a disk will not hide it from a skilled attacker, because cryptographic data is distinctive.  Statistically, it has a uniform distribution, which makes it look unlike any other kind of data except white noise (random numbers.)  Essentially, it looks so bland and generic that it stands out &#8212; because no real data is that essentially devoid of information.  Since nobody keeps a hard disk full of random noise files, if one exists, it must be encrypted data &#8212; which means you can be subpoenaed for the key.  TrueCrypt&#8217;s hidden volume feature gets around this in a novel way, which I&#8217;ll discuss below.</li></ul><p>Hidden volumes take advantage of the similarity between random noise &amp; encrypted files.  A section of disk is reserved for an encrypted virtual disk.  When this is created, it is filled with random noise, which is replaced by encrypted data as needed.  The trick is that you can create <em>another </em>encrypted virtual disk <em>inside </em>the first one.  So long as some data is in the &#8220;outer&#8221; volume (as no one would have a huge encrypted file on their hard drive with nothing in it &#8212; it&#8217;s not plausible), there is no evidence that the &#8220;inner&#8221; volume even exists unless you have the key.  The inner volume&#8217;s encrypted data blends into the outer volume&#8217;s white noise.  Thus, you put slightly-secret data in the outer volume, and really-secret data in the inner volume.  When asked to reveal the key, you reveal the key to the outer volume only, and have plausible deniability of the inner volume&#8217;s existence.</p><p>As with any countermeasure, though, there are limits.  If you&#8217;re hiding from the NSA or some foreign government&#8217;s equivalent, just putting a couple TrueCrypt volumes on your laptop&#8217;s hard disk will not do the job.  The problem is that the operating system and the applications you use may leave traces that reveal the existence of the inner volume (e.g. Word&#8217;s file history notes that you opened a file on Drive F:, when your laptop doesn&#8217;t have an F:&#8230;)  For extremely sensitive data, it would be necessary to not only put it in a hidden inner volume, but also to only <em>ever</em> access that inner volume from an ephemeral operating system (e.g. a LiveCD, or an OS you boot off a USB key and load into a RAMdisk.)  If the OS you use never makes any changes to the disk outside the encrypted volume, evidence of the volume remains hidden.  You would of course want a normal OS and outer volume to be present and used, for plausible deniability to be present (as, once again, it&#8217;s not reasonable to have a laptop with only random noise on the hard drive.)  You would also want to access the outer volume with the laptop&#8217;s native OS after any session in which you accessed the inner volume (as otherwise the access date on the encrypted file could be newer than the last boot date on the OS, once again leaving a breadcrumb trail.)</p><p>And all this makes me wonder once again what the government plans to get out of casually searching the data on laptop hard disks.  The only people whose data will be discovered are those with nothing to hide.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2008/05/01/data-hiding-at-the-airport/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>Ad Replacers and the Future of the Internet</title><link>http://perimetergrid.com/wp/2008/03/10/ad-replacers-and-the-future-of-the-internet/</link> <comments>http://perimetergrid.com/wp/2008/03/10/ad-replacers-and-the-future-of-the-internet/#comments</comments> <pubDate>Mon, 10 Mar 2008 21:46:00 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[industry]]></category> <category><![CDATA[legal]]></category> <category><![CDATA[privacy]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/2008/03/10/ad-replacers-and-the-future-of-the-internet/</guid> <description><![CDATA[A company named Phorm (formerly 121Media) has introduced a new product for ISPs.  The idea is that the ISP installs this product (basically a transparent proxy) on their network, and as their customers surf the web, the OIX  proxy replaces advertisements on web pages with advertisements on the Phorm network.  To make it more palatable, [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>A company named Phorm (formerly 121Media) <a
href="http://www.newswireless.net/index.cfm/article/3779">has introduced a new product for ISPs</a>.  The idea is that the ISP installs this product (basically a transparent proxy) on their network, and as their customers surf the web, the OIX  proxy replaces advertisements on web pages with advertisements on the Phorm network.  To make it more palatable, they also provide some minor anti-phishing services (the sort of thing that&#8217;s built into IE7 anyway.)</p><p>They make a big deal out of their privacy practices.  They do not maintain histories on browsers the way Google does &#8212; they just replace ads on pages based on the page&#8217;s content, kind of like Google AdSense but for image and rich-content ads as well.   Customers, unsurprisingly, don&#8217;t really care either way about this service &#8212; what&#8217;s it matter if I get CNN&#8217;s own banner ads on their pages or my ISP&#8217;s banner ads?  They&#8217;re still ads, and nobody likes them, but <em>whose </em>ads they are isn&#8217;t high on a consumer&#8217;s priority list.</p><p>However, products like this (generically called &#8220;ad replacers&#8221;) are going to be extremely important to the future of the Internet.  The linked article talks about how ISPs&#8217; profit margins are narrow given their customers&#8217; increasing appetites for bandwidth, and how this advertising revenue will help them recover.  What it doesn&#8217;t mention, though, is where this revenue <em>comes from </em>&#8211; it&#8217;s the ad revenue that would otherwise be given to the sites you browse.</p><p>In other words, ubiquitous use of ad replacers would boost ISP revenue while destroying ad revenue paid to web sites.  This is a tremendous threat to Google as it eliminates their sole revenue stream!  For that matter, if an ad replacer can substitute ads, why not substitute the first page of Google search results?  Google won&#8217;t sell you #1 placement in organic search&#8230; but with an ad replacer, Comcast (for example) could sell you #1 placement on Google <em>for Comcast users</em>.  In addition, all the small niche websites that currently pay their hosting bill (and their owners&#8217; salaries) off of advertising revenue may find themselves unable to do so.  People hate advertising, but what happens to the Internet without it?  The free, ad-supported Internet goes away, replaced with paid, subscription-based walled gardens.  Nobody wants that, but that&#8217;s the world ad replacers lead to &#8212; and ironically, it&#8217;s a world that has no room for them, as they would then have no ads to replace.  This is difficult to fight economically, though &#8212; an ad replacer can be a tremendous source of revenue <em>so long as there aren&#8217;t many of them</em>.  There&#8217;s lots of incentive to make them, even though in the long run they kill the ecosystem.</p><p>What this will lead to is a new security arms race.  Publishers will have to start finding ways to &#8220;hide&#8221; ads in their pages, so that ad replacers do not recognize that they&#8217;re ads and replace them.  This will be particularly hard for the large ad networks like Google&#8217;s where the ads must be embedded in thousands of dissimilar web pages.  As the publishers come up with better ways to hide ads, the ad replacers will be updated to find them.  The result is likely to be quite a mess, and result in neither the ISPs nor the publishers getting as much revenue as they&#8217;d like.  In addition, while Phorm may promise not to build up profiles of private information on you, an ISP who <em>did </em>engage in Google-like privacy invasion would be able to do it far better than Google can &#8212; after all, they have all your billing info since you&#8217;re a paying customer.  Unlike Google, they really do know who you are, personally, and not just by your browsing habits.</p><p>In the long run, international backbone providers could even start replacing ads in order to avoid local legislation, though this would lead to the ridiculous situation of the same ad on a page possibly being replaced several times on its way to the user.  I don&#8217;t see any solution to this other than legislation &#8212; the same sort of &#8220;net neutrality&#8221; laws  that forbid content-based traffic shaping or Comcast-like protocol tampering could also forbid ad replacers.  Unfortunately, economic incentives aren&#8217;t likely to have much effect, since the actual end users won&#8217;t change ISPs to go to one that promises not to run ad replacers &#8212; as only the publishers, not the end users, care whose ads are seen.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2008/03/10/ad-replacers-and-the-future-of-the-internet/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>IP Addresses: Personally Identifiable Information?</title><link>http://perimetergrid.com/wp/2008/01/24/ip-addresses-personally-identifiable-information/</link> <comments>http://perimetergrid.com/wp/2008/01/24/ip-addresses-personally-identifiable-information/#comments</comments> <pubDate>Fri, 25 Jan 2008 04:06:46 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[anonymity]]></category> <category><![CDATA[legal]]></category> <category><![CDATA[networks]]></category> <category><![CDATA[privacy]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/2008/01/24/ip-addresses-personally-identifiable-information/</guid> <description><![CDATA[Peter Scharr, Germany&#8217;s Commissioner of Data Protection and head of the European Union&#8217;s privacy working group, has stated that information identified only by IP address must be considered personally identifiable information. As the AP article points out, this could have rather serious implications for search engines and many other electronic businesses, and RSnake is concerned [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>Peter Scharr, Germany&#8217;s Commissioner of Data Protection and head of the European Union&#8217;s privacy working group, has stated that information identified only by <em>IP address </em>must be considered personally identifiable information.  As <a
href="http://news.yahoo.com/s/ap/20080121/ap_on_hi_te/eu_online_privacy">the AP article points out</a>, this could have rather serious implications for search engines and many other electronic businesses, and <a
href="http://ha.ckers.org/blog/20080122/ip-addresses-are-considered-personally-identifiable-information-in-the-eu/">RSnake is concerned</a> about it messing up the entire advertising business model of the Internet.</p><p>First, for those not working in the information security industry: something being classified as personally identifiable information (PII) is a big deal.  If data is PII, you are liable for damages if the data is ever released, and you are required by statute to take significant and often expensive measures to protect it.  If you&#8217;re a public corporation, Sarbanes-Oxley requires you to do all sorts of things to protect the data (e.g. encryption.)  If your company takes credit card payments, the Payment Card Industry Data Security Standard requires you to do even more (e.g. physical protection of the hardware the data sits on, specific firewall/router configurations, etc.)  Most large companies have their own standards for how PII must be protected that combine or even go beyond the regulatory and industry requirements.  Overall, the required protections around PII are onerous enough that companies strive to minimize how much PII they have at all &#8212; it&#8217;s often cheaper and easier to just delete the data than to protect it the way you need to protect it.  Companies must make the decision of &#8220;How much business value do we get out of storing, say, our customers&#8217; addresses, and does it exceed the cost of protecting that data?&#8221;  Often the answer is no.</p><p>On the surface, calling IP addresses PII is ridiculous.  IP addresses are found on every packet anyone sends on the Internet; if IP addresses count as a personal identification, then logging basically anything about Internet traffic makes the logs PII.  It takes a label currently applied only to a small amount of high-value data and applies it to something that everyone everywhere logs; it seems absurd.  But as I think about it more, I&#8217;ve come to realize that Scharr has a point.</p><p>The EU is much more aggressive about privacy law than the United States.  The United States Constitution guarantees privacy <em>from the government</em> through the Fourth and Fifth amendments; this sharply limits what <em>the government </em>can collect on you and what it can do with the data it does collect.  However, there is no Constitutionally or legislatively defined general right to privacy &#8212; anyone can collect whatever data they want, so long as they&#8217;re not a branch of government.  This is usually an adequate protection against government abuse, but it does mean the private sector can accumulate a frightening amount of data about you, and <a
href="http://www.radaronline.com/from-the-magazine/2007/09/google_fiction_evil_dangerous_surveillance_control_1.php">that could be prone to abuse as well</a>.  EU nations, on the other hand, often have a general right to privacy and various data collection expected in the United States is often illegal; in addition, where the data can be stored, sharing it with any third party without express user consent is almost always illegal.</p><p>If IP addresses are PII, what really happens?  It requires changing a lot of <em>current practices</em>, but this is not the same as breaking scenarios.  Remember, the privacy issue isn&#8217;t with transmitting or using IPs &#8212; it&#8217;s with <em>storing </em>them or <em>sharing them with a third party</em>.</p><ul><li>Currently search engines like Google use your IP to identify where you are geographically, so as to establish search profiles for regions and target ads.  They store the first 24 bits of your IP (dropping the last octet) as a proxy for location.  They would need to switch to storing a different proxy for location (e.g. latitude and longitude), though they could still base this proxy on your IP.</li><li>Pay-per-click ad networks would still function.  When they&#8217;re clicked, the ad network records the click (so as to be able to bill the advertiser), then issues a 301 redirect to the advertiser, who also records the click (to know it happened and the ad was effective.)  These records would need to leave out IP, or be protected as PII.  Lacking IP, however, would make detecting and preventing click fraud (spoofed clicks, or many clicks from the same person) much more difficult.  Currently a skilled fraudster can evade IP-based click-fraud prevention, but losing even that would make click fraud <em>easy</em>.  Also, without IP addresses, the ad networks would have a hard time proving to advertisers that clicks were real if an advertiser chose to sue them.  Large ad networks would probably have to just eat the cost of protecting their logs as PII.</li><li>Contrary to RSnake&#8217;s comment, I do not think this would affect embedded content.  Embedded content comes in two forms &#8212; content linked to on a page, which your browser loads (objects), and content retrieved by the server and displayed on the page (mashups.)<ul><li>In the object case (e.g. viewing a YouTube video on someone&#8217;s web page), the web site owner is not leaking your IP to the third party &#8212; <em>you are</em>.  The web site is not sending your IP to YouTube at all; your web browser is sending it in response to a link tag in the page.</li><li>In the mashup case (e.g. web pages that get data from an API, like Facebook pages, pages embedding Google Maps, etc.), the web site owner is also not leaking your IP to the third party.  You access the site, and then the site accesses the third party not as you, but as itself.  The site leaks <em>its own </em>IP, not the customer&#8217;s.  No PII is released.</li></ul></li><li>Sites that do user tracking (via logins simply recognizing users between sessions) would be unaffected; they use cookies, not IP, to track users.  Most ad networks work this way, too.</li><li>The biggest change, though, is to simple website logs.  Currently every time you access any web page, it makes a note in a log of your IP and which site you accessed, which is used for statistical analysis, forensics, etc.  Even this blog is doing it; with most web providers you can&#8217;t even turn this logging off if you want to.  Sites will either have to stop doing this or take substantial steps to protect the logs (or else be subject to significant statutory liability if they don&#8217;t.)  Not keeping logs is, from a security perspective, very dangerous &#8212; if something happens, you have no idea <em>what </em>happened and thus may not be able to fix it.</li></ul><p>However, despite all that cost and difficulty, when you think about it&#8230; IP addresses really are personally identifying.  If you have an always-on broadband &#8216;net connection, your IP address changes very rarely (maybe only once in several months), so all your web traffic everywhere, complete with your search queries, emails, etc., can be tied together with that number.  Your ISP can connect that number to your name, address, etc.  If you&#8217;re at a corporation, the IP is tied to a corporate gateway or proxy&#8230; which has logs tying each communication (based on date and time) to your desktop&#8217;s IP, which once again likely uniquely identifies you (unless you always compute from a shared machine.)</p><p>IP is a unique identifier for confirming identity, but not so much for initially finding it.  In other words, if someone attacks my website, and I have only their IP address, it may not do me much good in finding out who they are unless I can get someone with subpoena powers to get it from the ISP.  However, if I suspect a specific person of something, I can probably find out their IP and check it against my attacker&#8217;s IP, thus confirming their identity.  Likewise, if I am an ad network or search engine with a lot of IP data, I don&#8217;t know who you are based on your IP, but the commonality in IPs between all the data I have may enable me to figure it out based on data aggregation.</p><p>I think this is a case where something is considered ridiculous merely because it changes things.  Yes, a lot of business models and current practices would have to change if IP-as-PII became the default assumption.  Yes, it would make some security people&#8217;s jobs harder, and cause web providers to incur a lot of costs.  But does that mean it&#8217;s wrong?  Perhaps what it means is that current businesses &amp; web sites under-value their users&#8217; privacy, and are freeloading while providing inadequate protections.  It&#8217;s a different world if we have to discard IPs or protect them as PII, but I&#8217;m not convinced it&#8217;s a worse one.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2008/01/24/ip-addresses-personally-identifiable-information/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Sears &amp; KMart&#8217;s Official Malware</title><link>http://perimetergrid.com/wp/2008/01/04/sears-kmarts-official-malware/</link> <comments>http://perimetergrid.com/wp/2008/01/04/sears-kmarts-official-malware/#comments</comments> <pubDate>Fri, 04 Jan 2008 19:08:11 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[legal]]></category> <category><![CDATA[privacy]]></category> <category><![CDATA[products]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/2008/01/04/sears-kmarts-official-malware/</guid> <description><![CDATA[CA&#8217;s Security Advisor Research Blog has an interesting post about a bit of malware they discovered when doing research for their Anti-Spyware product &#8212; the My SHC Community system. You&#8217;re offered a chance to join when you buy something from sears.com or kmart.com. The system offers you &#8220;special offers and promotions,&#8221; the usual marketing stuff [...]<p></p> ]]></description> <content:encoded><![CDATA[<p><a
href="http://community.ca.com/blogs/securityadvisor/archive/2007/12/20/sears-com-join-the-community-get-spyware.aspx">CA&#8217;s Security Advisor Research Blog</a> has an interesting post about a bit of malware they discovered when doing research for their Anti-Spyware product &#8212; the <a
href="http://www.myshccommunity.com/Home.aspx">My SHC Community </a>system.  You&#8217;re offered a chance to join when you buy something from sears.com or kmart.com.  The system offers you &#8220;special offers and promotions,&#8221; the usual marketing stuff &#8212; give up some privacy in exchange for discounts.</p><p>However, this system does rather more tracking than your average grocery store &#8220;membership card.&#8221;  When you join, it installs a local proxy on your system and reroutes all your web traffic through it, <em>including SSL sessions on port 443 </em>(yes, it actually mounts local man-in-the-middle attacks on your online banking.)  It then monitors this traffic, and based on some algorithm that has not been disclosed, sends some of it to <a
href="http://www.comscore.com/">comScore</a>.  Sears&#8217;s privacy policy promises not to share your data with anyone, and so does comScore&#8217;s, but it&#8217;s pretty hard to figure out what that means in this case.  After all, comScore&#8217;s policy also promises not to collect any information that&#8217;s personally identifiable, but your My SHC Community data is tied to a personal ID at Sears, so in this case they&#8217;re clearly collecting personally identifiable information.  Also, I think most people would consider copies of my online transactions in SSL sessions to be &#8220;personally identifiable;&#8221; while we can&#8217;t be sure comScore gets all of these (since the algorithm by which some traffic is rerouted is unknown), we do know the software is capable of sending them to comScore so we just have to take their word for it.  Also, CA&#8217;s research did show an SSL transaction being rerouted, credit card numbers and all.</p><p><a
href="http://www.schneier.com/blog/archives/2008/01/is_sears_engagi.html">Bruce Schneier</a> points out that if an average piece of spyware did this, it would be considered criminal.  However, not only is Sears a large corporation and thus able to get away with this sort of thing (remember the <a
href="http://en.wikipedia.org/wiki/Extended_Copy_Protection">Sony Rootkit</a> debacle?), it also did have a pretty clear privacy statement that the user agrees to before installing it, so it may be on good legal ground.  However, even if it&#8217;s legal, it&#8217;s a terrible idea for all involved.</p><p>First of all, the app is silent &#8212; once it&#8217;s been installed, it gives no indication it is monitoring your traffic, and no clear way to remove it.  Second, the fact that the app comes from Sears, providing their privacy policy, but the data goes to comScore, while both parties claim the data is not shared with &#8220;any other party,&#8221; makes the privacy policies border on nonsensical.  If it takes a lawyer to figure out what exactly your click-through license agreement <em>means</em>, it&#8217;s pretty disingenuous to claim that end users have been properly informed and have voluntarily waived their privacy rights.  And third, comScore &amp; Sears are collecting data (such as your credit card numbers and favorite non-commercial websites) that they don&#8217;t even <em>want </em>along with the information that they&#8217;re trying to collect.  This puts on them a legal burden to protect and secure huge volumes of information that provides them no benefit.</p><p>When you have private data that you have a moral, legal, or regulatory responsibility to protect, the first thing to consider, before looking at security measures, is whether you need the data at all.  It&#8217;s a lot easier to delete it and stop collecting it than it is to put in encryption systems, network access controls, auditing and logging systems, etc.  A lot of companies collect reams of useless private data simply because &#8220;they&#8217;ve always done it that way,&#8221; and thus have to spend money protecting things of no value to them.  This is probably the logic behind Sears&#8217;s data collection here &#8212; &#8220;we might as well have everything, it could be useful someday&#8221; without thinking about the <em>cost </em>that having that data imposes on the enterprise.  You can&#8217;t have a catastrophic data breach if you don&#8217;t have the data.</p><p>This is also another symptom of a larger problem &#8212; people are increasingly unable to control the code running on their own computers.  The separation of code and data is becoming increasingly porous with the web&#8217;s &#8220;active content,&#8221; and DRM software exists to keep the user from controlling their own system&#8217;s activity.  Microsoft&#8217;s <a
href="http://technet.microsoft.com/en-us/windowsvista/aa906021.aspx">Vista User Account Control</a> and <a
href="http://www.securityfocus.com/infocus/1887">Integrity Levels</a> systems try to mitigate this, but it&#8217;s really not enough.</p><p>The problem is that they rely on the <em>user </em>to determine what code is allowed to run, but the user is unable to <em>verify </em>what that code will do until he runs it.  It&#8217;s impossible for the computer to tell the user what it will do, as native code is unverifiable.  With some technologies, such as Microsoft .NET code, it <em>is </em>possible for the system to tell the user what the code will do, but people writing malicious or underhanded apps like this Sears spyware and the Sony rootkit will not use these technologies, sticking to the unverifiable native code.  It is my hope that virtualization will offer a way out of this in the long term &#8212; a way for each application to have its own enforceable security boundary.  However, to avoid these same problems from occurring, application developers will have to give up functionality &#8212; that is, certain types of inter-application interaction will have to be categorically prohibited, which will sometimes inconvenience the user.</p><p>I think we&#8217;re more likely to see these solutions come from the open-source world than the commercial operating system world (i.e. Microsoft and Apple.)  The commercial OS world is very concerned about a.) ease of use for the user, and b.) backwards compatibility for applications, as these things sell software.  The open-source world is less concerned with these things, which inhibits their adoption in the marketplace but also results in software that is often much more under the user&#8217;s control than commercial software is.  The real trick will not be developing these security technologies (not that that will be easy); it will be adapting them so that they can be used every day by non-technical users.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2008/01/04/sears-kmarts-official-malware/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Checks: The Most Dangerous Transaction</title><link>http://perimetergrid.com/wp/2008/01/01/checks-the-most-dangerous-transaction/</link> <comments>http://perimetergrid.com/wp/2008/01/01/checks-the-most-dangerous-transaction/#comments</comments> <pubDate>Wed, 02 Jan 2008 01:23:24 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[attacks]]></category> <category><![CDATA[legal]]></category> <category><![CDATA[privacy]]></category> <category><![CDATA[risk]]></category> <category><![CDATA[statistics]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/2008/01/01/checks-the-most-dangerous-transaction/</guid> <description><![CDATA[During this year&#8217;s Christmas shopping season, I made some large in-person transactions at the same time as my wife made an online transaction, and my credit card was suspended by the issuing bank for potential fraudulent activity.  This happens relatively often, whenever someone&#8217;s spending patterns are flagged by the neural-network based automated fraud detection used [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>During this year&#8217;s Christmas shopping season, I made some large in-person transactions at the same time as my wife made an online transaction, and my credit card was suspended by the issuing bank for potential fraudulent activity.  This happens relatively often, whenever someone&#8217;s spending patterns are flagged by the neural-network based automated fraud detection used by all the major credit card issuers.  When calling the bank to have the card reactivated, I was told by the customer service representative, &#8220;since online transactions are, you know, more dangerous, we tend to notice those.&#8221;</p><p>This is not an uncommon perception.  Many people who think nothing of handing over their credit card or writing a check when at a store or restaurant hesitate to use the same card online, regardless of communication protections (e.g. SSL/HTTPS), third-party assurances like the preposterously-named <a
href="http://www.hackersafe.com/">HackerSafe</a>, or the size and stability of the vendor.  After all, it&#8217;s the <em>Internet, </em>there are bad people out there.</p><p>However, the perception just isn&#8217;t true.  There <em>are </em>two ways in which the Internet particularly helps thieves, though:</p><ol><li>Once they&#8217;ve stolen an identity or credit card number, thieves often <em>use </em>the card online, as they don&#8217;t have to present themselves (and thus show up to witnesses and potentially security cameras) to use the card.  This is actually probably what the credit card company in my experience meant &#8212; not that the transactions are more <em>dangerous</em>, but that fraudsters often use stolen cards online.</li><li>Hackers stealing credit card information online often steal entire databases.  They don&#8217;t steal <em>your </em>credit card while you&#8217;re buying something online &#8212; they break into the online store and steal <em>everybody&#8217;s </em>card.</li></ol><p>However, they could just as easily have broken into the servers of a brick-and-mortar store &#8212; it&#8217;s not the fact that you used the card online that makes it possible for them to steal it, it would have been just as at risk handing it to a cashier.</p><p>In many ways, it&#8217;s a lot <em>more </em>risky to make non-cash payments in person!  When you hand your credit card to a waiter or clerk or cashier, they could easily copy the number, expiration date, and CCv2 code (the three-digit code on the back than an online site often won&#8217;t even get.)  With a debit card, they have the opportunity to watch PINs being typed.  Whereas in an online store, only relatively few, well-paid professionals will have access to your data (system administrators, etc.), every $7 per hour sales clerk can see a hundred card numbers per day, and probably has significantly more financial motivation to steal them (although in my experience, the fact that someone doesn&#8217;t <em>need </em>money won&#8217;t stop them from stealing it if they&#8217;re the type to steal &#8212; just look at <a
href="http://en.wikipedia.org/wiki/Michael_Milken">Michael Milken</a>, who defrauded people out of hundreds of millions of dollars at the same time he was making hundreds of millions legitimately.)</p><p>Some people &#8212; usually those of us who remember the days before debit cards &#8212; eschew all these fancy online and electronic forms of payment and instead stick to good old fashioned <em>checks</em>.  After all, no one can possibly steal those!  They&#8217;re <em>paper</em>, and have your <em>signature </em>on them.  This is the ultimate in perception differing from reality &#8212; it&#8217;s hard to imagine a less secure way to make a payment than a paper check.</p><p>First of all, there&#8217;s the ease of committing fraud with checks.  A thief with a stolen check (or deposit slip) has all they need to take money from your account &#8212; the routing number and account number (found at the bottom of the check in <a
href="http://en.wikipedia.org/wiki/MICR">MICR letters</a>.)  Note that the thief doesn&#8217;t need any kind of ID&#8230; or a PIN&#8230; or a physical card&#8230; or a CCv2 code&#8230; or even to <em>know your name</em>.  No, the numbers will do.  What can they do with a stolen check?  There are three basic things:</p><ul><li>Order up a whole book of checks with your information and account numbers on them.  No ID is required to order checkbooks online.  They can then spend these checks anywhere, and the bank will process them &#8212; you probably won&#8217;t find out until your account is empty and you start getting NSF notices.</li><li>Remove the amount and recipient from the check and write it out to themselves instead.  This is a bigger problem for institutional checks, which are often printed on a laser printer.  It&#8217;s really easy to remove laser-printed text from an offset-printed check &#8212; just lay some Scotch tape over the laser text, rub it hard with your fingernail, and peel the text off.  Then you can print out a new amount and recipient with your own laser printer, and it looks just like the real thing.  Chemical agents (&#8220;check washing&#8221;) can do this with ball-point pen ink, too, though it&#8217;s not so easy.</li><li>Issue a demand draft (&#8220;paperless check.&#8221;)  This is what happens when you pay by phone with your checking account number, or use an automated bill pay service, or send money via PayPal.  Using your routing number and account number, money is simply removed from your account and put into someone else&#8217;s.  No authorization or authentication is used, your name is not even required.  Yes, really.  Anyone can do this from any account to any other account.  For a while, you used to be able to do this from a web site.</li></ul><p>Second, there&#8217;s the difficulty in getting your money back or even stopping the fraud!  With a credit card (and to a lesser extent, a debit card), it&#8217;s pretty simple &#8212; you call the bank, say you did not authorize a charge, and the credit card company removes the charge.  It is then up to them to prove you <em>did </em>make the charge, such as by getting a signed receipt from the merchant and matching your signature.  So long as you report the fraud within 30 days, you are not liable &#8212; the worst the card company can do to you is to cancel your card (but you still don&#8217;t have to pay for the charge you didn&#8217;t make.)  In theory, you&#8217;re liable for up to $50, but almost no card issuers really charge this since it&#8217;s terrible customer service (&#8220;Sorry you were stolen from!  Give us $50!&#8221;)</p><p>With checks, the money is <em>already gone</em>.  If you report a check as fraudulent, there is no federal law saying the bank is liable &#8212; it&#8217;s up to the bank&#8217;s own policies and in some cases a hodgepodge of state laws whether they have to help you at all.  The bank may get back to you in 60 to 90 days (during which you don&#8217;t have the money, even if it was the entire contents of your checking account.)  You have to report the fraud on a paper letter, with a notarized signature, usually by certified mail.  What&#8217;s more, you have to prove that the checks were <em>not </em>authorized &#8212; the burden of proof is on you, not the bank or merchant &#8212; and you have to do it to each party from which you&#8217;re trying to reclaim money.  If a thief wrote bad checks in 20 different jurisdictions, you may be dealing with this for <em>years</em>.</p><p>Worse yet, <em>you can&#8217;t stop the fraud from taking place</em>.  The thief can keep writing checks on your account even after you&#8217;ve started reporting them as fraud, and even after you&#8217;ve closed the account.  Every time the thief writes a bad check on a closed account (the classic practice known as &#8220;paperhanging&#8221;, a favorite of Frank Abagnale during his criminal youth), your bank will reopen the account and send you an NSF notice.  You have to dispute all of these, too.  And finally, your account (and possibly your name) will go into ChexSystems (the equivalent of the credit bureaus used to check people&#8217;s checking account history) as fraudulent, which will make it difficult or impossible to get new checking accounts for many years.  On the bright side, it will make it harder for the thief to open accounts in your name, but that&#8217;s little consolation since he can keep using the closed one he already has.</p><p>From a security perspective, checking accounts are horrid.  They come from a day when authentication and authorization were unheard-of, and security came mainly from the idea that no one would figure out how to subvert the system.</p><p>What can you do to protect yourself?</p><ul><li>Don&#8217;t use checks.  If any method of payment is offered aside from checks, use that.</li><li>Don&#8217;t use demand drafts, either &#8212; they&#8217;re checks.  Don&#8217;t pay by phone using a checking account number &#8212; use a credit/debit card.</li><li>If you must write paper checks, use them only to pay bills, dealing with relatively trusted merchants.  It doesn&#8217;t make you totally safe, of course, but it helps some.  Use gel ink to write checks (it&#8217;s harder to wash), or a dot-matrix printer to print them (the impact-printed ink is nigh-impossible to remove.)  According to Abagnale&#8217;s <a
href="http://www.amazon.com/Art-Steal-Yourself-Business-Americas/dp/0767906845/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1199236773&amp;sr=8-1"><em>The Art of the Steal</em></a>, this makes check-washing nearly impossible (though ordering up new checks in your name still works.)  Incidentally, <em>The Art of the Steal </em>is a fantastic (and very short) book, and I highly recommend it to anyone interested in security &#8212; it gives a great view into the security mindset, looking at all parts of a system and seeing how it can be subverted.</li><li>Don&#8217;t store any more money in your checking account than you have to.  You&#8217;ll still have to fight every fraudulent transaction to stop the bank trying to collect it from you, but at least you&#8217;ll still have your money while you&#8217;re doing it.</li></ul><p>The sooner we move on from this antiquated and unsafe payment system, the better.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2008/01/01/checks-the-most-dangerous-transaction/feed/</wfw:commentRss> <slash:comments>31</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>Secure P2P for Pirates</title><link>http://perimetergrid.com/wp/2007/11/06/secure-p2p-for-pirates/</link> <comments>http://perimetergrid.com/wp/2007/11/06/secure-p2p-for-pirates/#comments</comments> <pubDate>Wed, 07 Nov 2007 04:01:40 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[anonymity]]></category> <category><![CDATA[dmca]]></category> <category><![CDATA[legal]]></category> <category><![CDATA[piracy]]></category> <category><![CDATA[privacy]]></category> <category><![CDATA[trusted client]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/2007/11/06/secure-p2p-for-pirates/</guid> <description><![CDATA[According to a recent Reuters article, the unrepentant pirates of Sweden&#8217;s The Pirate Bay are working on developing their own peer-to-peer networking system.  It turns out that this is a relatively fascinating security problem, even though in this case it&#8217;s the criminals needing the security, vs. the law-abiding companies trying to break it &#8212; a [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>According to a recent <a
href="http://www.reuters.com/article/technologyNews/idUSN0640228720071106">Reuters article</a>, the unrepentant pirates of Sweden&#8217;s <a
href="http://thepiratebay.org">The Pirate Bay</a> are working on developing their own peer-to-peer networking system.  It turns out that this is a relatively fascinating security problem, even though in this case it&#8217;s the criminals needing the security, vs. the law-abiding companies trying to break it &#8212; a bit of a reversal, to say the least.</p><p>Currently, the Pirate Bay is probably the world&#8217;s most popular BitTorrent tracker for downloading pirated media, receiving 1.5 million unique visitors a day.  With a quick trip to the Pirate Bay, you can quickly acquire any piece of music, any episode of any recent television show (usually within a couple hours of its first airing), any movie (generally while it&#8217;s still in theaters), etc.  Membership is required to enforce ratios (i.e. ensure you upload as well as download), but is free and open to all.  However, they&#8217;re unsatisfied with the BitTorrent protocol for a variety of reasons &#8212; chiefly the legal risk that their &#8220;customers&#8221; take.  Downloading from the Pirate Bay via BitTorrent runs two risks &#8212; first, that a copyright holder will grab your IP address and send a cease-and-desist order to your ISP, or worse, a subpoena which under the DMCA in the United States could carry a fine of tens of thousands of dollars, and second, that your ISP itself will cancel your subscription for using too much upstream bandwidth.  Comcast, in particular, is notorious for doing this without being willing to admit how much &#8220;too much&#8221; is, even as they cut you off for using it.</p><p><a
href="http://en.wikipedia.org/wiki/Bittorrent">BitTorrent</a> is an ingenious protocol.  The idea is to prevent massive load on single servers for downloading popular files by ensuring that everyone who downloads the file also shares it with others, even as the download occurs.  You don&#8217;t need the entire file to start sharing it &#8212; you register with a BitTorrent &#8220;tracker&#8221; like (The Pirate Bay) as working on a file, and all the other peers who either have or want that file are notified of your existence.  Peers then communicate with each other, swapping whatever parts of the file they have for the parts they don&#8217;t.  Thus, everyone&#8217;s upload bandwidth is being used at the same time as the download, unlike some previous P2P protocols.  This is used for many legal purposes &#8212; for one, Blizzard&#8217;s World of Warcraft uses it to update the game, to get around the obvious difficulty of having about 4 million of its 6 million subscribers all trying to download a 450-meg content update on the same day.  Thanks to BitTorrent, these updates go smoothly every time.</p><p>The problem, however, comes when the files being shared are illegal.  In the United States, uploading copyrighted media can result in rather substantial fines and statutory damages, and the <a
href="http://www.riaa.org/">RIAA</a> and <a
href="http://www.mpaa.org/">MPAA</a> are actively suing people by the thousand to get them charged.  People want to download copyrighted media, so sites like the Pirate Bay exist.  But RIAA and MPAA agents can connect to these trackers, too &#8212; they&#8217;re open to all &#8212; and the tracker shares everyone&#8217;s IP address with them.  Since with BitTorrent, downloading and uploading go hand in hand, there&#8217;s no way to download copyrighted material without not only breaking the law but also advertising your IP to anyone who wants it.  There are blacklists of known RIAA/MPAA peers that will protect a pirate from the most ham-fisted detection, but it would be trivial for the copyright holders to evade this sort of blocking.  The Pirate Bay itself is largely immune to prosecution &#8212; they are located in Sweden, where copyright law subjects them to at worst a $300 fine every time they&#8217;re arrested (which has happened more than once.)  For the most part, <a
href="http://thepiratebay.org/legal">legal threats just amuse them</a>.  However, they&#8217;re concerned about their downloaders &#8212; as without people sharing files, they cannot exist.</p><p>In addition to the legal issues, there is the issue with ISPs.  &#8220;Unlimited&#8221; low-cost home broadband survives because people generally use only the tiniest fraction of their upstream bandwidth.  Comcast allocates me, and everyone else in my area, 384 kbit/sec.  If I used this bandwith to full utilization for an entire month, I&#8217;d have uploaded 118 gigabytes.  This is actually quite a lot &#8212; by way of comparison, playing World of Warcraft 24/7 for an entire month would use only 1.2 megabytes, or 1% as much.  This is fine by Comcast, because most of their users are only surfing the web, using only a few hundred kilobytes per month.  If everyone used their entire allotment of 118 gigabytes, Comcast would have to raise rates tremendously &#8212; from the current $50 or so per month to probably 5 times as much (or more.)  Compare business Internet rates (which assume you are hosting servers, and thus upload a lot) with residential ones (which assume you almost always download and upload very little) to see the difference. Instead, the many light users subsidize the few heavy users.  BitTorrent, in which everyone helps take load off servers by uploading everything they download, often many times over, threatens this model &#8212; if everyone uploads, Internet rates will have to go way up.</p><p>Thus, ISPs often try to stop BitTorrent and other peer-to-peer systems.  They use copyright as an excuse, but really, they don&#8217;t care about copyright &#8212; they care about cost.  Your downloading costs very little.  Your uploading to other customers on the same ISP costs very little.  Your uploading to the Internet costs them quite a lot by comparison.  The most primitive way they&#8217;ve tried this is simple port-blocking &#8212; they ban connections to the port TCP/6119 (BitTorrent&#8217;s default) on all their customers PCs.  This doesn&#8217;t work very well &#8212; for one, it&#8217;s obvious (BitTorrent simply fails to function), and for another, BitTorrent doesn&#8217;t need to use any port in particular.  Due to the tracker, other peers can find you no matter what port you choose, so simply changing the default in your BitTorrent client gets around this.  Slightly less primitive is &#8220;traffic shaping&#8221; &#8212; the ISP slows traffic to the default port, or it inspects all traffic for BitTorrent headers and slows any packets showing them.  (The latter approach is much more expensive for the ISP, since it requires a deep inspection firewall on all traffic.)  Once again, changing port is easy.  In addition, some BitTorrent clients have added a header encryption feature to evade traffic shaping &#8212; this limits which peers are usable (specifically, to only other peers that support the header encryption), but evades the traffic shaping.  Comcast has recently been using the <a
href="http://www.sandvine.com/">Sandvine</a> intelligent traffic management system, which has caused some controversy since it actually impersonates the user and sends forged traffic on their behalf, in a further attempt to limit BitTorrent and other P2P traffic.</p><p>The above problems are inherent to BitTorrent, and at first, they seem inherent to all peer-to-peer systems.  However, the buccaneers of the Pirate Bay have come up with a rather ambitious plan to improve on BitTorrent, developing their own protocol to better suit their needs.  They&#8217;re still working on the specification (<a
href="http://www.securep2p.com/index.php/Main_Page">there&#8217;s a wiki up</a> for suggestions), but I find it interesting the security and privacy issues they need to overcome.  At first glance, it seems the problems they must solve are the following:</p><ul><li>How can people upload pirated files without their IP addresses being detected by groups like the MPAA and RIAA?</li><li>How can people hide the use of a file-sharing application so their ISP does not detect it and cut them off?</li></ul><p>But that&#8217;s actually rather short-sighted, and the suggestions on the wiki seem to indicate that they&#8217;ve realized that, too.  Creating a new peer-to-peer protocol to replace BitTorrent for pirates requires not looking at the current attacks, but rather at the threats themselves.  The problem they <em>really</em> want to solve is simply to defend against these two threats:</p><ul><li>Legal prosecution for uploading pirated files</li><li>ISP retribution for uploading large amounts of data</li></ul><p>This is rather different!  What they want to avoid is not <em>detection per se</em>, but rather the current <em>consequences </em>of that detection.  In addition, they seek to address several technical/functional shortcomings of the BitTorrent protocol while they&#8217;re at it (such as that the tracker software does not scale to their traffic volume, and that upload bandwidth use in BitTorrent is suboptimal &#8212; many peers are not uploading anything.)</p><p>Right now, ISPs face no legal liability for transferring all this pirated media, since they are only content-indifferent carriers.  Thus, a system that allowed users to also be content-indifferent carriers (i.e. sharing data they <em>did not choose to download</em> as well as the files they acquire on purpose) might provide some legal protection.  The problem is that right now, users are from a legal standpoint <em>sharing media they have</em>, not simply transmitting media.  Thus, a system of &#8220;reflector nodes&#8221;, where the aforementioned suboptimal bandwidth use instead has the empty bandwidth filled by data relayed from other peers might work.  The ideal from an anonymity perspective would be <a
href="http://en.wikipedia.org/wiki/Onion_routing">onion routing</a>, as performed by the <a
href="http://www.torproject.org/">TOR Project</a>.  Unfortunately, this causes a serious growth in bandwidth requirements for all peers &#8212; basically defeating the purpose of BitTorrent.  Some balance must be found between true anonymity, as can be provided by a high-latency encrypted mix network with traffic-analysis resistance like TOR, and simple obfuscation, or even juggling around what is transmitted to be able to stick to the letter of the law while violating its spirit.  No one would believe that pirates don&#8217;t <em>mean </em>to transmit pirated software, the mix network just makes it look that way, but it doesn&#8217;t matter if anyone believes it so long as they can&#8217;t prove it beyond a reasonable doubt in a court of law.</p><p>Avoiding ISP retribution is a bit harder.  You can encrypt and use random ports, thus making detection impossible.  However, this causes a problem &#8212; if everyone does this, and everyone uses P2P, then everyone&#8217;s Internet rates go up!  This is hardly the desired outcome.  An ISP administrator has contributed some novel suggestions regarding changing the protocol to <em>help ISPs save costs</em>.  If the peer-to-peer system would deliberately prioritize other peers on the same ISP (ideally using WHOIS/ARIN data, though even simple CIDR subnets would help) for uploads, it could drastically reduce the ISP&#8217;s costs.  Napster provides a good example &#8212; during their heyday, when Napster pirated transfers were killing college networks, they worked with universities to institute just this type of solution.  The Napster client would look for other users at the same university to share with, only going to the Internet when this failed.  This type of solution &#8212; not fighting the <em>method </em>by which ISPs hurt P2P but rather fighting its <em>motivation</em> &#8212; is bound to work better.  It&#8217;s a good example of thinking about the threat, not about the particular vulnerability.  In addition, it&#8217;s probably the only way to fight things like Sandvine (which, due to the way it works, can&#8217;t be stopped by a BitTorrent client unless it went to full encryption with all the negative effects that has &#8212; lightweight ways to evade Sandvine require patching the TCP/IP stack and altering RFC-mandated behavior, which is doable by people willing to hack their OS but not something you can just bundle into your P2P software.)</p><p>Another issue that the Pirate Bay has is with fake files.  Sometimes, a user (either an RIAA/MPAA shill or just someone who likes being obnoxious) will upload a file of the approximate right size with a filename matching something new and popular (like a just-released movie or album) that contains no or bad data.  With nothing but the filename to go on, users download the fakes, causing the seed count to go up and making the fake appear even more &#8220;realistic&#8221; on the tracker &#8212; and hundreds of gigabytes of bandwidth are wasted.  Currently, the only thing to be done about this is to look at the uploader and ensure he is someone trusted, but identity is impossible to verify.  Some sort of digital signature/PKI system would be very helpful here.</p><p>Overall, it will be very interesting to see what they come up with.  Like all open-source projects, it may or may not actually get off the ground, and pirates are of course not well-known for their altruistic contributions.  However, it&#8217;s not likely the BitTorrent creators (who don&#8217;t get any money from pirates) will work on these problems, so it falls to people like the Pirate Bay to try.  Even if you don&#8217;t want pirated media, the resultant system could be useful for a host of purposes &#8212; the same technologies being used for fighting piracy and cutting ISP bills in the United States are used for hunting down dissidents and limiting free access to information in totalitarian nations.  In addition, a sufficiently large peering system with deep storage and forced reflectors (i.e. people sharing data they did not specifically choose to download or share) could result in a sort of distributed information well in which any human knowledge could be stored for easy access and rendered almost indestructible.  Criminals have been putting legitimate technologies to underhanded uses for centuries &#8212; an illegitimate technology can be put to beneficial uses as well.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2007/11/06/secure-p2p-for-pirates/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Do Not Track Lists: Good Luck With That</title><link>http://perimetergrid.com/wp/2007/11/02/do-not-track-lists-good-luck-with-that/</link> <comments>http://perimetergrid.com/wp/2007/11/02/do-not-track-lists-good-luck-with-that/#comments</comments> <pubDate>Fri, 02 Nov 2007 17:32:47 +0000</pubDate> <dc:creator>Grant Bugher</dc:creator> <category><![CDATA[anonymity]]></category> <category><![CDATA[legal]]></category> <category><![CDATA[privacy]]></category><guid
isPermaLink="false">http://perimetergrid.com/wp/2007/11/02/do-not-track-lists-good-luck-with-that/</guid> <description><![CDATA[The New York Times reports that people will be able to sign up for &#8220;do-not-track&#8221; lists to prevent online advertisers from monitoring their activities.&#160; It is not clear from the article if they&#8217;re expecting a government solution, along the lines of the National Do Not Call Registry for telemarketers, or merely solutions from ISPs and [...]<p></p> ]]></description> <content:encoded><![CDATA[<p>The <a
href="http://nytimes.com">New York Times</a> reports that <a
href="http://www.news.com/Do-not-track-lists-to-shield-Net-surfers/2100-1024_3-6216160.html">people will be able to sign up for &#8220;do-not-track&#8221; lists</a> to prevent online advertisers from monitoring their activities.&nbsp; It is not clear from the article if they&#8217;re expecting a government solution, along the lines of the <a
href="https://www.donotcall.gov/">National Do Not Call Registry</a> for telemarketers, or merely solutions from ISPs and advertisers themselves.</p><p>Unfortunately, there is a slight problem with either solution: it&#8217;s pretty much impossible.</p><p>First, a bit about how ad networks work.&nbsp; Whenever your browser loads a page with a banner or text ad on it, the page contains a link to the ad network&#8217;s web server telling it to load the ad.&nbsp; As it does with any site, your browser first checks to see if it has a cookie recorded for that site.&nbsp; If it&#8217;s the first time you&#8217;ve ever visited that ad network, then it does not; if you have visited before, then there is a unique ID number for you in the cookie.&nbsp; The browser then sends a request to the ad network, along with a cookie (if any) and a referrer header (saying what page the ad was loaded from.)</p><p>The ad network site then looks up the ID in the cookie.&nbsp; This ID is linked with a list of all the referrer headers it&#8217;s ever received from you &#8212; this is the &#8220;tracking&#8221; component.&nbsp; It adds the new referrer header to the list, and then uses the list to try to puzzle out what sort of things you like and pick the ad it thinks you&#8217;re most likely to click on.&nbsp; It then returns that ad.&nbsp; If no cookie was received from you, it also creates an ID for you and sends that so as to set the cookie for next time.</p><p>That&#8217;s pretty much all it does.&nbsp; There are variants, which also use script to inspect the pages you linked from and use that to make better predictions of what you want to see adds for, but the overall effect is the same.&nbsp; The ad network doesn&#8217;t know who you are, or any demographic info about you &#8212; all it knows is that some person with a random ID has visited a specific list of sites.&nbsp; In addition, there&#8217;s a simple way to dump all that tracking information &#8212; tell your browser to delete all the cookies (or just the ones for ad networks.)&nbsp; Whenever you do this, the ad networks will all think you&#8217;re a &#8220;new&#8221; person and provide you with a new ID number.</p><p>So, how do we stop the ad tracking (should you even really want to)?&nbsp; I can see a few possibilities, but all have some significant difficulties associated with them:</p><p>1.) Set a cookie that essentially sets your ID as &#8220;don&#8217;t track me, use random ads instead.&#8221;&nbsp; Whenever you visit an ad network, this &#8220;do-not-track&#8221; ID is sent, and the ad network sends you back a random ad without bothering to record your referrer.&nbsp; Issues: due to the same-site rule, this cookie must be set <em>by each ad network itself</em>.&nbsp; So there&#8217;s no common registry &#8212; you have to opt out with each ad network, and then trust each ad network to continue to obey the opt-out.</p><p>2.) Install an app or modify the browser to dump cookies.&nbsp; Works great; no more tracking.&nbsp; Issues: also breaks half of the Web.&nbsp; If you allow even per-session cookies, some limited tracking is possible, and if you don&#8217;t allow session cookies, you break pretty much all of the Web.</p><p>3.) Have your ISP scan all your web traffic, find cookies that are going to ad networks, and strip only those.&nbsp; This makes the web work normally while killing ad networks.&nbsp; Issues: requires all the ISPs offering this sort of technology to keep track of every ad network in the world so they know which cookies to block.&nbsp; What about single-site ad networks? (e.g. the New York Times tracking which articles on their site you read and targeting ads based on those.)&nbsp; There are probably tens of thousands of them.</p><p>Also, the above three examples are only pointing out issues when ad networks are <em>not malicious </em>&#8211; that is, they <em>want </em>to allow you to opt out if you so desire.&nbsp; If they <em>are </em>hostile, then they can work around any of the above options.&nbsp; They can simply disregard the do-not-track cookies and set a different ID, or track you via codes embedded in image tags.&nbsp; The latter method is inferior, since it does not persist across sessions (it forgets who you are whenever you close your browser) without the cooperation of the actual sites the ads are on, but it does still allow some tracking capability.&nbsp; Affiliate networks are constantly advertising and improving their &#8220;cookieless traffic&#8221; capabilities.</p><p>Of course, if the government cares to get involved, it can simply mandate that all ad networks offer an opt-out, and pursue legal action against any who don&#8217;t, or who evade their own opt-out systems.&nbsp; However, what it <em>can&#8217;t </em>do is offer a centralized list like the Do Not Call Registry.&nbsp; After all, the ad networks <em>do not know who you are </em>&#8211; they only know you are some random ID number who has visited various sites in the past.&nbsp; Thus, they have no way to check against a list and see if you&#8217;re on it.&nbsp; And since cookies can only be sent to the site they came from, the government site can&#8217;t set some kind of master &#8220;do-not-track&#8221; cookie &#8212; your browser would refuse to send the cookie to any ad networks!</p><p>However, before instituting a system like this at all, we should perhaps consider the unintended consequences.&nbsp; The reason that ad networks institute tracking is that targeted ads are more valuable to advertisers than random ones.&nbsp; A car company would rather show ads to car buffs than to people who don&#8217;t drive, and it will pay more for ads it knows are going to interested parties.&nbsp; Thus, if ad networks cannot target ads with tracking, they will have to charge less for ads.&nbsp; This means that sites will get paid less per ad for placing ad network links on their sites.&nbsp; Therefore, <em>eliminating ad network tracking means sites will have to carry more ads.&nbsp; </em>Is &#8220;more ads&#8221; really what we want here?&nbsp; Are we willing to accept more ads to ditch the tracking?&nbsp; How big a privacy threat <em>is </em>this, anyway?&nbsp; There are people I don&#8217;t want to track my web surfing, certainly, but DoubleClick and Aquantive are not the people I&#8217;m thinking of here.&nbsp; Perhaps what we need is not a way to opt out of ad tracking, but more limits on who can get that data?&nbsp; Were ad tracking data illegal to resell and not admissible in court, would we care about it at all?&nbsp; I&#8217;m not sure that I would.</p><p>Of course, much of this is moot if instead of opting out of the tracking systems, you just &#8220;opt out&#8221; of the ad networks altogether, either with a plugin like <a
href="https://addons.mozilla.org/en-US/firefox/addon/10">AdBlock</a> (which <a
href="http://www.whyfirefoxisblocked.com/">advertisers hate</a>) or a <a
href="http://everythingisnt.com/hosts.html">custom hosts file</a>.&nbsp; It doesn&#8217;t get 100% of the networks, of course, but it sure gets a lot of them.</p><p></p> ]]></content:encoded> <wfw:commentRss>http://perimetergrid.com/wp/2007/11/02/do-not-track-lists-good-luck-with-that/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 xcache
Page Caching using xcache (User agent is rejected)
Database Caching 8/18 queries in 0.037 seconds using disk: basic

Served from: perimetergrid.com @ 2012-02-04 07:30:41 -->
