<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8551901</id><updated>2011-07-08T11:37:47.836-07:00</updated><category term='security'/><title type='text'>Nicholas Weaver's Random Thoughts</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8551901.post-5601614782302232402</id><published>2009-07-29T08:06:00.001-07:00</published><updated>2009-07-29T08:24:21.899-07:00</updated><title type='text'>A Protocol for Visiting China (or DEFCON)</title><content type='html'>The following is my computer protocol for visiting a hostile environment.  I actually designed it under the threat model of "What if I needed to visit China", which requires facing two nation-state adversaries (the US and Chinese government) which may have legal access to the computer, but I use it for going to DEFCON.  &lt;br /&gt;&lt;br /&gt;It may actually be overkill for DEFCON, but as they say "There is kill, and there is no kill, there is no such thing as overkill".  I wanted something I knew could work.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The philosophy is twofold, the first is system hardening, while the second is constraining the damage a compromise could do.&lt;br /&gt;&lt;br /&gt;I begin with a clean OS install on a newly formatted hard drive.  The system is brough fully up-to-date and necessary tools are installed (Firefox, Bro, Click, ipsumdump, Tex, etc) that I will need during my trip.  Plastic MacBooks are especially nice, as the hard drive is trivial to change.&lt;br /&gt;&lt;br /&gt;I then segregate data.  I create a new account on a server I have access to.  This account has a new password, and is accessed through a new SSH private key.  I create a version control archive on this account which I can also access from my normal account(s), and use this to store the entire working set I will need during the trip, but no more.&lt;br /&gt;&lt;br /&gt;Finally, I set up my web browser.  I use NoScript, disable flash, disable Java, and tunnel all traffic through SSH.  (I use both browser hardening and a tunnel because its easy to screw up and have traffic escape a tunnel, eg, by forgetting to set Firefox to also tunnel DNS through SSH).&lt;br /&gt;&lt;br /&gt;This works not because what is present, but what is absent.  I do not have access to my mail accounts, normal public keys, or full working set.  Not only do I harden my system, but I explicitly limit the working set so that a compromise minimizes the damage.  If I need email access during the trip, I will set up a new Gmail account and forward my mail to the new account.&lt;br /&gt;&lt;br /&gt;And once I do that, no worries!  I may be on a hostile network, but I've taken steps to minimize my vulnerability surface.  But I know I'm not perfect, and who knows what zero-days are lurking in my computer.  Thus I've limited the potential damage from a compromise: you can't compromise data that doesn't exist.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-5601614782302232402?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/5601614782302232402/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=5601614782302232402' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/5601614782302232402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/5601614782302232402'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2009/07/protocol-for-visiting-china-or-defcon.html' title='A Protocol for Visiting China (or DEFCON)'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-2835294653512365400</id><published>2008-09-04T12:21:00.001-07:00</published><updated>2008-09-04T13:03:06.212-07:00</updated><title type='text'>On Lauren Weinstein...</title><content type='html'>I was, for a long time, a participant on Lauren Weinstein's "NNSquad" mailing list.  There are many important issues in traffic shaping, traffic management, and other related topics.  But I had to conclude, reluctantly, that you can't deal with him.  His views are those of a zealot, unwilling to compromise, and seems intent on forcing his view of "neutrality".&lt;br /&gt;&lt;br /&gt;The two last straws were his censorship policy and his belief that a high usage cap (250GB, what Comcast is doing) is somehow significantly anticompetitive.  &lt;br /&gt;&lt;br /&gt;His reaction to Comcast's cap mystifies me.  Its almost a total victory for his view: Its transparent, its neutral, its not anticompetitive (250GB/month is &gt;7 hours/day of 720p HDTV video delivered over the net.), and because the response is to first warn than terminate customers over the cap, it CAN'T be used in an anticompetitive manner.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And for a list which is supposed to be about "open exchange of ideas", he's an incredibly harsh censor.&lt;br /&gt;&lt;br /&gt;This was my "goodbye to the list" message, which he did not print, of course.  &lt;br /&gt;&lt;br /&gt;He notes that his part of the conversation was for "private consumption".  Yet nothing he said in the private discussion is anything different than what he has said publically on multiple occasions.&lt;br /&gt;&lt;br /&gt;It is his sandbox.  He can say what he wants, and ignore dissenting views.  But by the same token, everyone else should be aware that this is how he operates.&lt;br /&gt;&lt;br /&gt;To respect any copyright he might possibly claim, I've excluded his sections, replacing them with paraphrases.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Lauren, folks.&lt;br /&gt;&lt;br /&gt;I have to conclude the following:  This project will be a failure.&lt;br /&gt;Period.  Because even if you "succeed", success will lead to&lt;br /&gt;usage-based pricing.  You have proven that you will accept nothing&lt;br /&gt;else.&lt;br /&gt;&lt;br /&gt;And, Lauren, you really have practiced heavy censorship, not of&lt;br /&gt;personal attacks but of technical discussion.&lt;br /&gt;&lt;br /&gt;You have proven unwilling to acknowledge, respond, or publish the&lt;br /&gt;following, which was an on topic, technical discussion of the issues.&lt;br /&gt;&lt;br /&gt;How does the following not perfectly mesh with your stated moderation&lt;br /&gt;policies?  Yet it seems to have gotten dropped down the memory hole!&lt;br /&gt;You don't want cooperation.  You don't want open discussion.&lt;br /&gt;&lt;br /&gt;Thus this is "So long":  This project will fail, and the mailing list,&lt;br /&gt;due to Lauren's policy of squelching open discussion which doesn't&lt;br /&gt;agree with his preconceived notions, has already failed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On Tue, Sep 2, 2008 at 9:46 AM, Nick Weaver &lt;nweaver@gmail.com&gt; wrote:&lt;br /&gt;&gt; Replying on-list.&lt;br /&gt;&gt;&lt;br /&gt;&gt; On Sat, Aug 30, 2008 at 6:30 PM, Lauren Weinstein &lt;lauren@vortex.com&gt; wrote:&lt;br /&gt;&gt;&gt;&lt;br /&gt;&gt;&gt;&gt; Well, Google's low bandwidth, so it doesn't matter.&lt;br /&gt;&gt;&gt;&lt;br /&gt;&lt;br /&gt;{Here lauren insists that google is major bandwidth in the aggregate for both user queries and spidering}&lt;br /&gt;&lt;br /&gt;&gt; Google's bandwidth in the AGGREGATE is trivial from the end-customer&lt;br /&gt;&gt; perspective compared with the HD video services which you argue about.&lt;br /&gt;&gt;&lt;br /&gt;&gt; Even google apps is light:  Start up google docs, start up a new&lt;br /&gt;&gt; spreadsheet.  Thats less than 1 MB transfered (there is other activity&lt;br /&gt;&gt; in my mini-tracelet, so 1 MB is an upper bound).  And most of that&lt;br /&gt;&gt; should get cached the second time around.&lt;br /&gt;&gt;&lt;br /&gt;&gt; Or 20 seconds of 400 kbps video.  Thats IT.  Google (sans video) is&lt;br /&gt;&gt; NOT high bandwidth, even when dealing with a lot of customers,&lt;br /&gt;&gt; compared to video applications.&lt;br /&gt;&gt;&lt;br /&gt;&gt; And even from the webserver side, its not THAT bad.&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt;&gt;&gt; But cuil is a&lt;br /&gt;&gt;&gt;&gt; counterexample, where it is not only going up against the ISP behavior&lt;br /&gt;&gt;&gt;&gt; that is the threat, but also a huge existing competitor: google!&lt;br /&gt;&lt;br /&gt;{Lauren's comment:  Cuil is not proven to be viable.}&lt;br /&gt;&lt;br /&gt;&gt; Yet you seem to insist that the network uncertanty should prevent it&lt;br /&gt;&gt; from even being funded?!?&lt;br /&gt;&gt;&lt;br /&gt;&gt; "Would Google be successfully funded if it were trying to get off the&lt;br /&gt;&gt; ground in today's Internet environment?  A question to ponder."&lt;br /&gt;&gt;&lt;br /&gt;&gt; Answer:  YES, because Google competitors, and much higher bandwidth&lt;br /&gt;&gt; services, are both being funded!&lt;br /&gt;&gt;&lt;br /&gt;&gt;&gt;&gt; But lets look at high-bandwidth new ventures, which do directly&lt;br /&gt;&gt;&gt;&gt; compete with ISP offered services.  Like, oh, Youtube, Hulu, etc.&lt;br /&gt;&gt;&gt;&gt; Since Hulu wasn't even launched as a joint venture until 2007, well, I&lt;br /&gt;&gt;&gt;&gt; think this is another data point against your hypothesis.&lt;br /&gt;&lt;br /&gt;{Lauren calls youtube relatively low bandwidth}&lt;br /&gt;&lt;br /&gt;&gt; Hu?  You say that "Google is high bandwidth" but "youtube is not"?!?&lt;br /&gt;&gt;&lt;br /&gt;&gt; Yet your claims that 250 GB cap is somehow anticompetitive relies on&lt;br /&gt;&gt; video services which are an order-of-magnitude larger than YouTube in&lt;br /&gt;&gt; bps.&lt;br /&gt;&gt;&lt;br /&gt;&gt; You can't have it both ways.  Google, even google apps, are&lt;br /&gt;&gt; lightweights in comparison.&lt;br /&gt;&gt;&lt;br /&gt;&gt; And I use Hulu as a DATA RATE example, and an example of a company&lt;br /&gt;&gt; today which is really stressing the limits of Internet video delivery,&lt;br /&gt;&gt; complete with full Akamization.&lt;br /&gt;&gt;&lt;br /&gt;&gt;&gt;&gt; As for 250 GB, it was not an arbitrary choice, even if it seems so to&lt;br /&gt;&gt;&gt;&gt; you.  Rather, its a round number approximation of the 1% heavy-tail&lt;br /&gt;&gt;&gt;&gt; today.&lt;br /&gt;&lt;br /&gt;{Lauren asks me where I get this, and asks how I justify Time Warner's proposed 50GB cap}&lt;br /&gt;&lt;br /&gt;&gt; On comcast, speculation based on communication with multiple&lt;br /&gt;&gt; individuals in various ISPs, and actually believing comcast's&lt;br /&gt;&gt; statement that &lt;1% would be affected, based on experience with network&lt;br /&gt;&gt; operations.  250 GB is a lot of data.&lt;br /&gt;&gt;&lt;br /&gt;&gt; There is a reason why, even I, as a researcher with an underutilized&lt;br /&gt;&gt; 100 Mbps pipe to the Berkeley campus, with its &gt;1 Gbps pipe out to the&lt;br /&gt;&gt; rest of the Internet, if I had to transfer &gt;250 GB in a research&lt;br /&gt;&gt; project, I'd use Fedex.&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt; And have you been listening?&lt;br /&gt;&gt;&lt;br /&gt;&gt; I DON'T justify TW's 50GB cap.  That is exactly the cap level you want&lt;br /&gt;&gt; if you want to be anticompetitive:  it keeps all the websurfers and&lt;br /&gt;&gt; casuals happy, but it kills any attempt to do a lot of video over the&lt;br /&gt;&gt; net.&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt; That you treat the two the same is the heart of your problem:  If you&lt;br /&gt;&gt; and your ilk are going to claim that any cap that could be potentilly,&lt;br /&gt;&gt; possably, maby anticompetitive in the future is just as evil as one&lt;br /&gt;&gt; which is anticompetitive today, why should any ISP listen to you?!?&lt;br /&gt;&gt;&lt;br /&gt;&gt; The ISPs are your frenemies, not your enemies.  They are delivering an&lt;br /&gt;&gt; incredible service at incredibly low cost.  You should work with them.&lt;br /&gt;&gt;  Yes, you need to watch them like a hawk, but they are also rational&lt;br /&gt;&gt; actors and can be worked with.&lt;br /&gt;&gt;&lt;br /&gt;&gt; But your reaction to a reasonable cap, by being effectively the same&lt;br /&gt;&gt; as your reaction to unreasonable caps, has made it clear that there is&lt;br /&gt;&gt; no satisfying your position.&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt;&gt;&gt; Be thankful the model isn't "Over the limit?  Throttle all traffic to&lt;br /&gt;&gt;&gt;&gt; 100 Kbps" instead, because THAT model is far less cost for Comcast, so&lt;br /&gt;&gt;&gt;&gt; there would be an incentive to reduce the threhhold to affect more&lt;br /&gt;&gt;&gt;&gt; users.  But in the model of terminate if over limit, if ever more than&lt;br /&gt;&gt;&gt;&gt; a percent or so are affected, Comcast becomes the one with the serious&lt;br /&gt;&gt;&gt;&gt; problem, not Comcast's customers.&lt;br /&gt;&lt;br /&gt;{Lauren says he prefers throttling vs cutoff models}&lt;br /&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt; Riddle me this, then.  Which is more anticompetitive at preventing&lt;br /&gt;&gt; video over the net:&lt;br /&gt;&gt;&lt;br /&gt;&gt; a)  A 250 GB/month cap where, if you go over, the first time you get&lt;br /&gt;&gt; called and the second time you get cut off?&lt;br /&gt;&gt;&lt;br /&gt;&gt; b)  A 50 GB/month cap where, if you go over, you get throttled down to&lt;br /&gt;&gt; 400 Kbps?&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt; Lets see, the first is high cost to the customer if triggered, but&lt;br /&gt;&gt; also very high cost to the ISP, and only affects a trivial number of&lt;br /&gt;&gt; users today and even tomorrow, assuming 2.5 Mbps 720p video.&lt;br /&gt;&gt;&lt;br /&gt;&gt; The second is low cost to the ISP, mid cost to the customer, but&lt;br /&gt;&gt; pretty much guarentees that video-over-the-net can't be used as a&lt;br /&gt;&gt; significant form of entertainment.&lt;br /&gt;&gt;&lt;br /&gt;&gt; Cutting off users is an activity that a business can only take if they&lt;br /&gt;&gt; really are at levels that are abusive to the network.  You WANT the&lt;br /&gt;&gt; reaction to be fully-cutting-off-the user: it greatly increases the&lt;br /&gt;&gt; cost to the ISP.&lt;br /&gt;&gt;&lt;br /&gt;&gt; User-terminating caps are far more neutral than bandwidth-throttling&lt;br /&gt;&gt; caps, because of the cost to the ISP means that a user-terminating cap&lt;br /&gt;&gt; can only be deployed in really extreme cases, especially when one&lt;br /&gt;&gt; considers the multi-service aspects.&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt;&gt;&gt; If Comcast stated that "We will increase the threshhold as demand&lt;br /&gt;&gt;&gt;&gt; grows so less than 1% of customers would ever be affected", would THAT&lt;br /&gt;&gt;&gt;&gt; be satisfactory?&lt;br /&gt;&lt;br /&gt;{Lauren basically insists he won't believe it}&lt;br /&gt;&lt;br /&gt;&gt; What would it take?  Auditors?  If it was an audited statement, would&lt;br /&gt;&gt; you accept it then?&lt;br /&gt;&gt;&lt;br /&gt;&gt; Because I don't see how you can convince anyone that a cap affecting&lt;br /&gt;&gt; &lt;1% of the users would have a significant anticompetitive effect.  It&lt;br /&gt;&gt; EXACTLY meets your criteria below.&lt;br /&gt;&gt;&lt;br /&gt;&gt; Will you accept the following statement:&lt;br /&gt;&gt;&lt;br /&gt;&gt; IF a bandwidth cap affects fewer than 1% of the customers, it is not&lt;br /&gt;&gt; significantly anticompetitive.&lt;br /&gt;&gt;&lt;br /&gt;&gt; Yes or no.&lt;br /&gt;&gt;&lt;br /&gt;&gt;&gt;&gt; Can ANY cap be satisfactory to you?&lt;br /&gt;&lt;br /&gt;{Lauren requires that any cap be justified, and complains that we don't have visibility into the networks in question.}&lt;br /&gt;&lt;br /&gt;&gt; A lot of the capabilities are directly reversable from the technology.&lt;br /&gt;&gt;  Its all Gige with occasional 10 GigE from the DOCSIS hub, its all&lt;br /&gt;&gt; DOCSIS 2 with some 3 rolling out (but the DOCSIS 3 rollout only&lt;br /&gt;&gt; affects downstream, not upstream).&lt;br /&gt;&gt;&lt;br /&gt;&gt; The physics and all are well known, and if you wanted the details of&lt;br /&gt;&gt; just how many customers and how much frequency range is on a user's&lt;br /&gt;&gt; CMTS, look at the DEFCON work on sniffing cable modems.&lt;br /&gt;&gt;&lt;br /&gt;&gt; DOCSIS is a broadcast medium.   I suspect that even with encryption&lt;br /&gt;&gt; turned on, you should be able to get all the information you want on&lt;br /&gt;&gt; the actual internals of the cable company's residential networks.&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt; Given a user at the 250 GB/month, 8 hr/day duty cycle, that user is at&lt;br /&gt;&gt; 2 Mbps.  Since a DOCSIS channel is only ~40 Mbps, that user is tying&lt;br /&gt;&gt; up 5% of an entire cable channel for the whole neighborhood.  Thats a&lt;br /&gt;&gt; big cost right there.&lt;br /&gt;&gt;&lt;br /&gt;&gt; Likewise, price out COMMITTED data: price out a T1.  Thats a good $100+/Mbps.&lt;br /&gt;&gt;&lt;br /&gt;&gt; Lets assume Comcast's committed rate is 1/5th of that, say $20/Mbps.&lt;br /&gt;&gt; A user at 250 GB is going to use ~1 Mbps continuous, which means at&lt;br /&gt;&gt; MINIMUM, assuming they were at a continual low rate, the user costs&lt;br /&gt;&gt; $20/month.  Since in reality users are bursty, AND somewhat diurnally&lt;br /&gt;&gt; synchronized, a 250 GB/month user could easily cost the ISP $60, 80,&lt;br /&gt;&gt; 100+ in transit cost alone.&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt; You don't need to trust the ISP's statements to know that a 250&lt;br /&gt;&gt; GB/month user is a severe moneylosing proposition, you just need to do&lt;br /&gt;&gt; a little math.&lt;br /&gt;&gt;&lt;br /&gt;&gt;&gt;&gt; 1) No traffic shaping: best effort only and let the end-points fight it out.&lt;br /&gt;&lt;br /&gt;{Lauren says "Voluntary" traffic shaping, well defined, and doesn't skew costs.}&lt;br /&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt; There is no such thing as "voluntary" traffic shaping between users.&lt;br /&gt;&gt;&lt;br /&gt;&gt; And I suspect there really is no satisfying you on traffic shaping either.&lt;br /&gt;&gt;&lt;br /&gt;&gt; EG: a policy like this: "The network enforces fairness such that&lt;br /&gt;&gt; viewed over a time average of X minutes, all users have an equal share&lt;br /&gt;&gt; of bandwidth when congestion occurs".&lt;br /&gt;&gt;&lt;br /&gt;&gt; Now if you talk to Comcast's engineers, and watch their presentations&lt;br /&gt;&gt; at IETF meetings, you'll understand that what they are doing with&lt;br /&gt;&gt; their farness solution is trying to approximate that with simple&lt;br /&gt;&gt; measurement and two QOS bins, so they don't need to buy new equipment.&lt;br /&gt;&gt;&lt;br /&gt;&gt; Yet look at the reaction in this forum to it!&lt;br /&gt;&gt;&lt;br /&gt;&gt;&gt;&gt; 2) flat-rate billing,  [1]&lt;br /&gt;&lt;br /&gt;{Lauren says there may be cases where usage based pricing is OK}&lt;br /&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt; I am willing to bet that any usage-based pricing scheme that a company&lt;br /&gt;&gt; would deploy would kill your "HD over IP" dreams.&lt;br /&gt;&gt;&lt;br /&gt;&gt; Do you care to take that bet?&lt;br /&gt;&gt;&lt;br /&gt;&gt;&gt;&gt; 3) A significant committed information rate.&lt;br /&gt;&lt;br /&gt;{Lauren asks what do I mean by significant}&lt;br /&gt;&lt;br /&gt;&gt; You and others seem to subscribe to the "bandwidth is a scarcity"&lt;br /&gt;&gt; arguments, and the "I bought a 16 Mbps download line, I should get a&lt;br /&gt;&gt; good fraction of that", which implies a huge committed information&lt;br /&gt;&gt; rate.&lt;br /&gt;&gt;&lt;br /&gt;&gt; For "significant", you probably mean at least 1 Mbps.  Do you want&lt;br /&gt;&gt; your ISP service to cost $100/month more just to give you that?&lt;br /&gt;&gt;&lt;br /&gt;&gt;&gt;&gt; 4) All other services offered by the ISP should be treated as&lt;br /&gt;&gt;&gt;&gt; bandwidth-equivelent with the internet service for 1,2 and 3.&lt;br /&gt;&lt;br /&gt;{Lauren notes this is case-by-case}&lt;br /&gt;&lt;br /&gt;&gt; If you can't at least approximate these costs with a&lt;br /&gt;&gt; back-of-the-envelope however, you are doing something wrong.&lt;br /&gt;&gt;&lt;br /&gt;&gt;&gt;&gt; [1] And of these, #2 is the greatest threat. Because if you accept&lt;br /&gt;&gt;&gt;&gt; usage-based pricing, that will kill off your future "true HD is 10&lt;br /&gt;&gt;&gt;&gt; Mbps encoding" services faster than you can say "$.20/GB becomes $1/hr&lt;br /&gt;&gt;&gt;&gt; for transport.  Have you considered US Mail?"&lt;br /&gt;&lt;br /&gt;{Lauren claims UPS is an inappropriate example when comparing data-delivery business models}&lt;br /&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt; It is EXACTLY appropriate, because USPS is the competition for ANY&lt;br /&gt;&gt; "data overnight" video service.&lt;br /&gt;&gt;&lt;br /&gt;&gt; The USPS can get you an incredible amount of data overnight.  Lets&lt;br /&gt;&gt; see, a BluRay disk is 50 GB.  Thats 4.5 Mbps, and a cost/GB of roughly&lt;br /&gt;&gt; $.02/GB.&lt;br /&gt;&gt;&lt;br /&gt;&gt; If you want "data now", even at just $.20/GB, that is $1/hr for the&lt;br /&gt;&gt; movie, period, with transcoding.  Or $10 for a full BluRay disk.  Have&lt;br /&gt;&gt; a nice day.&lt;br /&gt;&gt;&lt;br /&gt;&gt; With charges more likely to be on the order of $1/GB, what do you&lt;br /&gt;&gt; think that would do?&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt; Remember Tanenbaum's famous maxim:  "Never underestimate the bandwidth&lt;br /&gt;&gt; of a station wagon full of mag-tape".&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt; This is also why I don't believe in P2P for video content delivery:&lt;br /&gt;&gt; For "data now", it adds bandwidth.&lt;br /&gt;&gt;&lt;br /&gt;&gt; For "data overnight", where it would be friendlier than TCP, then it&lt;br /&gt;&gt; competes with US Mail and US mail's incredibly low cost/bit.&lt;br /&gt;&gt;&lt;br /&gt;&gt;&gt;&gt; [2] And for all the talk about the ISP being an evil monopoly, its&lt;br /&gt;&gt;&gt;&gt; really an evil DUopoly, where the ISP service is often used as a&lt;br /&gt;&gt;&gt;&gt; competitive lever across all services.  If there was a huge profit to&lt;br /&gt;&gt;&gt;&gt; still be made in being an ISP, where are the metro-area WISPs?  The&lt;br /&gt;&gt;&gt;&gt; third party DSL-based ISPs?  They died in the marketplace due to&lt;br /&gt;&gt;&gt;&gt; competitive pressures: there is not much profit margin in being an&lt;br /&gt;&gt;&gt;&gt; ISP.&lt;br /&gt;&lt;br /&gt;{Lauren states that the third party ISPs largely died because of the regulatory environment.}&lt;br /&gt;&lt;br /&gt;&gt; Start your own.  Quit whining and start your own ISP.&lt;br /&gt;&gt;&lt;br /&gt;&gt; The legislative environment has almost no effect on point-to-point&lt;br /&gt;&gt; WISPs.  All you need is a tall antenna someplace.  A minor headache&lt;br /&gt;&gt; with the local zoning board.&lt;br /&gt;&gt;&lt;br /&gt;&gt; And you can still get DSL lines from the incumbent telco (I do for my&lt;br /&gt;&gt; home service) with layer 3 provided by a third party.   That system&lt;br /&gt;&gt; still seems to be working just fine.&lt;br /&gt;&gt;&lt;br /&gt;&gt; I suspect for all the complaints about regulation keeping that duopoly&lt;br /&gt;&gt; intact, the bigger problem is just that the cable/telcos view the ISP&lt;br /&gt;&gt; service as something of a loss-leader: voice and video (either through&lt;br /&gt;&gt; new line or sattelite if you are a telco) is far more profitable, but&lt;br /&gt;&gt; IP service can get people to switch.&lt;br /&gt;&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-2835294653512365400?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/2835294653512365400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=2835294653512365400' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/2835294653512365400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/2835294653512365400'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2008/09/on-lauren-weinstein-or-why-zealots-are.html' title='On Lauren Weinstein...'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-8614213081192572110</id><published>2008-05-19T14:01:00.002-07:00</published><updated>2008-05-20T08:40:35.912-07:00</updated><title type='text'>HTTP is Hazardous to Your Health</title><content type='html'>&lt;P&gt;The following is not original, but simply a summary of widely known information.&lt;br /&gt;&lt;P&gt;It has been known for decades that plaintext protocols, such as HyperText Transfer Protocol (http) are vulnerable to man-in-the-middle attacks.  Yet we are now at the point where there is simply too many ways to man-in-the-middle the web browser, and too much lovely mayhem that can be constructed, for this to be tolerable.  We MUST demand that web-sites shift to HTTPS for &lt;I&gt;&lt;B&gt;everything&lt;/B&gt;&lt;/I&gt;, and ship web browsers that disable http altogether.&lt;br /&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;How to Man in the Middle:&lt;/B&gt; There are simply far too many ways to act as a man in the middle to a web browser.  These include maskerading as any access point requested by a system (&lt;a HREF="http://www.theta44.org/karma/"&gt;Karma&lt;/A&gt;), ARP cache poisioning (&lt;a HREF="http://www.symantec.com/security_response/writeup.jsp?docid=2007-061222-0609-99&amp;tabid=2"&gt;arpiframe&lt;/A&gt;), DNS cache poisoning, WiFi packet injection ( &lt;a HREF="http://airpwn.sourceforge.net/Airpwn.html"&gt;airpwn&lt;/A&gt;), or simply an ISP attempting to monetize the network (&lt;a HREF="http://vancouver.cs.washington.edu"&gt;advertisement injection&lt;/A&gt;,&lt;A HREF="http://www.cl.cam.ac.uk/~rnc1/080404-phorm.pdf"&gt;Phorm&lt;/A&gt;).  If an adversary can eavesdrop on our HTTP sessions, they can act as a man-in-the-middle.&lt;br /&gt;&lt;br /&gt;&lt;P&gt;The problem arises from all the malicious fun that can be done by a man-in-the-middle.  This can include:&lt;br /&gt;&lt;br /&gt;&lt;UL&gt;&lt;LI&gt;&lt;A HREF="http://matthias.vallentin.cc/2008/05/the-doom-of-client-side-wireless-network-security"&gt;Cookie Pillaging:&lt;/A&gt; By having the web browser transparently redirect through a long list of sites, the browser will transmit EVERY non-secure (not-SSL-only) cookie to the eavesdropper.  Which means the eavesdropper can &lt;A HREF="http://blog.icir.org/2008/02/sidejacking-forced-sidejacking-and.html"&gt;read&lt;/A&gt;! &lt;A HREF="http://erratasec.blogspot.com/2008/01/more-sidejacking.html"&gt;your&lt;/A&gt;! &lt;A HREF="http://www.securityfocus.com/archive/1/475658"&gt;gmail&lt;/A&gt;!! and other such lovely mayhem, as many sites which &lt;i&gt;&lt;b&gt;allow&lt;/b&gt;&lt;/i&gt; SSL access don't actually set the cookies properly to &lt;i&gt;&lt;b&gt;mandate&lt;/B&gt;&lt;/I&gt; SSL access, which means from the viewpoint of an active attacker, SSL does &lt;I&gt;&lt;B&gt;no good&lt;/B&gt;&lt;/I&gt; at protecting the site!&lt;br /&gt;&lt;br /&gt;&lt;LI&gt;&lt;A HREF="http://matthias.vallentin.cc/2008/05/the-doom-of-client-side-wireless-network-security"&gt;Autocomplete Pillaging:&lt;/A&gt; Instead of just redirecting through a long list of sites, include hidden forms and javascript to capture all the autocomplete information present in the browser.  A technique developed by H.D. Moore.&lt;br /&gt;&lt;br /&gt;&lt;LI&gt;&lt;A HREF="http://perimetergrid.com/wp/2007/11/27/smb-reflection-made-way-too-easy/"&gt;SMB Reflection:&lt;/A&gt; IE will happily open an SMB share when given the proper URL, which can be the attacker's share on the local network.  The attacker can use this for the SMB reflection attack (at least on older systems), allowing the attacker on many systems to read and write the user's directory if file sharing is enabled, or to relay authorization credentials to a third party file server.  Its unclear how well this can still work, but its at least worth trying.&lt;br /&gt;&lt;br /&gt;&lt;LI&gt;&lt;A HREF="http://www.usenix.org/events/sec07/tech/full_papers/akritidis/akritidis_html/metrowifi.html"&gt;Worms:&lt;/A&gt; Take the IE 0-day exploit-du-jour and make a worm that uses packet injection/AP spoofing to spread to all other systems on the local wireless network.  For extra credit, release such a worm at JFK airport and include a phone-home visit to the CDC website giving the CDC a nice model for how an influenza-of-doom would spread. (Heathrow may be slightly better, but it is far cheaper to have your worm fly to heathrow in your place.   Also, the spread rates in the Usenix paper are probably conservative, because they don't model effects like an infected notebook carrier doing work in a taxi)&lt;br /&gt;&lt;br /&gt;&lt;LI&gt;&lt;A HREF="http://nweaver.blogspot.com"&gt;Drive traffic to your blog:&lt;/A&gt;.  Gotta have a proof of concept to get people's attention!  Note that it only took a couple of hours to hook up a fragile but nontheless working demo.  The attack would have been much more effective if I actually played games with wireless transmission power.&lt;/UL&gt;&lt;br /&gt;&lt;br /&gt;&lt;P&gt;So what is to be done?  Simple.  NO MORE HTTP!  Everything, and I mean &lt;I&gt;&lt;B&gt;EVERYTHING&lt;/B&gt;&lt;/I&gt; should be through HTTPS/SSL.  The security community managed to kill off Telnet.  We need to do the same to HTTP (oh, and non-secure DNS, too.)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-8614213081192572110?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/8614213081192572110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=8614213081192572110' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/8614213081192572110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/8614213081192572110'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2008/05/http-is-hazardous-to-your-health.html' title='HTTP is Hazardous to Your Health'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-2882094851621301192</id><published>2008-03-25T11:11:00.000-07:00</published><updated>2008-03-26T09:14:44.359-07:00</updated><title type='text'>Japanese are going to do "graph takedown"...</title><content type='html'>&lt;A href="http://blogs.zdnet.com/Ou/?p=1063"&gt;Geore Ou reports&lt;/A&gt; that the Japanese ISPs are going to start doing something similar to what I noted in january, albeit instead of just attacking the graphs of communication, simply warning and then disconnecting users.&lt;br /&gt;&lt;P&gt;(typo fixed, grr)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-2882094851621301192?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/2882094851621301192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=2882094851621301192' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/2882094851621301192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/2882094851621301192'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2008/03/japanese-are-going-to-do-graph-takedown.html' title='Japanese are going to do &quot;graph takedown&quot;...'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-2942304791312501983</id><published>2008-01-27T08:30:00.001-08:00</published><updated>2008-02-05T04:50:34.587-08:00</updated><title type='text'>A security thought: AT&amp;T Copyright Fighting</title><content type='html'>&lt;P&gt;The following is just my own opinion and speculation, to a hypothetical question: If I was AT&amp;T, why and how would I implement the &lt;A HREF="http://slashdot.org/article.pl?sid=08/01/17/1413221"&gt;AT&amp;T plan to enforce copyright on user traffic.&lt;/A&gt;  (Note, this post is an extension of my slashdot comment on that thread, and basically describes a "DMCA Takedown on the Network Layer" style of response.)&lt;br /&gt;&lt;P&gt;I also believe this would be a significant problem if implemented.  I'm a believer that general network neutrality is a mostly good thing.  But when a company seriously proposes filtering, I believe we should attempt to determine what shape such filtering would take, and how it could maximize the stated objectives while minimizing collateral damage.  This also gives those opposed to filtering a leg up on attempting to counter it.&lt;br /&gt;&lt;br /&gt;&lt;P&gt;&lt;P&gt;To begin with, AT&amp;T probably has a huge incentive to block pirated traffic. Time-Warner cable supposedly has 50% of the bandwidth used by 5% of the users. Who wants to bet that of this bandwidth, it is almost all pirated material and/or pornography?  As an ISP, wouldn't you want to remove 1/3rd of your traffic?  Especially if its customers that can't really complain about it?&lt;br /&gt;&lt;P&gt;The strength of piracy on the Internet is the ease of getting the pirated material,and the ease of distribution. Thus pirated material must be easy to find if it is to be a substantial portion of traffic and to have a significant economic impact. &lt;br /&gt;&lt;P&gt;So all the MPAA has to do is find the easy-to-find content, and do something about it. Currently, they've tried playing Whak-A-Mole on the Torrent tracking servers, but this has been a losing game, as these servers have already fled to "Countries of convenience", where they are difficult for the MPAA to sue off the network.&lt;br /&gt;&lt;P&gt;But rather than playing Whak-A-Mole on Torrent tracker servers (which are largely offshore), with ISP cooperation from AT&amp;T it becomes possible to play Whak-A-Mole on the torrents themselves.  Such a system would benefit both the content owners and the ISPs.&lt;br /&gt;&lt;P&gt;All that is necessary is that the MPAA or their contractor automatically spiders for torrents.  When it finds torrents, it connects to each torrent with manipulated clients.  The client would first transfer enough content to verify copyright, and then attempt to map the participants in the Torrent.&lt;br /&gt;&lt;P&gt;Now the MPAA has a "map" of the participants, a graph of all clients of a particular stream.  Simply send this as an &lt;I&gt;automated&lt;/I&gt; message to the ISP saying "This current graph is bad, block it".  All the ISP has to do is put in a set of short lived (10 minute) router ACLs which block all pairs that cross its network, killing all traffic for that torrent on the ISP's network.  By continuing to spider the Torrent, the MPAA can find new users as they are added and dropped, updating the map to the ISP in near-real-time.&lt;br /&gt;&lt;P&gt;This would be a powerful system, and the likely solution AT&amp;T will use if they carry through on their plans to enforce copyright:&lt;br /&gt;&lt;UL&gt;&lt;LI&gt;This requires &lt;I&gt;no&lt;/I&gt; wiretapping.  Instead, it relies solely on public information: the torrent servers and being able to contact participants in order to map those fetching an individual file.  BitTorrent encryption would have no impact on this scheme.&lt;br /&gt;&lt;LI&gt;It can be &lt;I&gt;completely&lt;/I&gt; automated, both for the MPAA and AT&amp;T&lt;br /&gt;&lt;LI&gt;It also minimizes collateral damage, since only participants in an individual torrent can't communicate with each other when a Torrent is blocked.  If the MPAA actually spiders the torrent (rather then trusting information from the trackers), there should be no false edges in the graph.  The only collateral damage is if a pair of systems is also performing legitimate communication at the same time they are participating in the Torrent, something the ISP probably considers acceptable.&lt;br /&gt;&lt;LI&gt;Any real collateral damage (incorrectly blocking content) AT&amp;T can say is the fault of the MPAA.&lt;br /&gt;&lt;LI&gt;It should be robust in the arms race: if the pirated material is open and distributed in a P2P manner, the MPAA's spiders should be able to track it.  (Remember, even if CAPTCHAs are used to protect trackers or aspects of the systems, solving a CAPTCHA only costs $.01).&lt;br /&gt;&lt;LI&gt;And its inexpensive.  All AT&amp;T has to do is deploy a small program to set and release a bunch of router ACLs, and thats it.  AT&amp;T can even keep the number of ACLs reasonably low, because they expire quickly and only need to be partially effective.  No new hardware is required and everything can be fully automated.  All the real costs (of spidering the Torrents, &lt;A HREF="http://vobileinc.com/"&gt;content identification&lt;/A&gt;, affirming that it is actually a copyright violation, and constructing the graphs) is placed on the MPAA or their contractor.&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;Likewise, (IANAL) AT&amp;T can possibly avoid most liability.  They aren't doing any wiretapping, nor even making a decision about which traffic to block.&lt;br /&gt;&lt;P&gt;Finally, AT&amp;T has a huge number of reasons to deploy such a system:&lt;br /&gt;&lt;UL&gt;&lt;LI&gt;It keeps the content providers happy for when they are negotiating their compete-with-iTunes/Netflix video on demand and cable TV services.&lt;br /&gt;&lt;LI&gt;It keeps the content providers from pushing through very draconian legislation, or at least draconian legislation you aren't happy with. (It can F-up your competitors, but thats just a bonus)&lt;br /&gt;&lt;LI&gt;And it drops their bandwidth bills by 30-50% by eliminating a large amount of deliberately-noncacheable (both politically and because of bittorrent encryption) traffic.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;This won't stop closed-world pirates, those with a significant entry and secrecy, but those are far less significant.  Closed-world pirates are much lower bandwidth for the ISP, because its far more difficult for pirates to get the content.  But it should be able to shut down Bittorrent for open-world piracy, without blocking legitimate BitTorrent.  It also won't stop child porn, although AT&amp;T would probably claim that it does.&lt;br /&gt;&lt;P&gt;This was speculation.  I have no evidence that this is what AT&amp;T is planning.  But given the huge expense (deep packet inspection), legal implications (wiretapping, false positives) and limitations (cryptography), I find it doubtful that AT&amp;T really wants to detect copyrighted material directly.  Performing deep packet inspection at line rates, especially to match a large database of copyrighted material, is hugely expensive, and would fail in the presence of encrypted Torrents and SSL-equipped Torrent search servers.&lt;br /&gt;&lt;P&gt;Thus I'm almost certain that if AT&amp;T truely wishes to carry forward with its copyright-enforcement plants, the system will be similar to the one I've described.&lt;br /&gt;&lt;br /&gt;&lt;P&gt;Detecting this if they do deploy copyright enforcement would be possible, by participating in torrents (to generate the block) and then checking how that affects connectivity.  If AT&amp;T blocks Torrents but other TCP connectivity in those port ranges remains between two hosts, they aren't using only the speculated system, instead they would have to be directly inspecting the traffic between the hosts to determine that an individual flow is participating, information which can only be obtained by directly monitoring communication between the two hosts.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;P&gt;EDIT/addition:  Richard Bennet has also discussed this technique at the Network Neutrality forum on 1/26/2008 (Slides at &lt;A HREF="http://bennett.com/blog/Presentations/img18.html"&gt;Richard Bennet's web site&lt;/A&gt;, on how easy it is to find pirated materials and participating peers to tell the ISP what to block).  &lt;br /&gt;&lt;P&gt;He also brings up the important question: "&lt;I&gt;Is there any reason that such an automated system should not be used, or does Net Neutrality now connote a license to steal?&lt;/I&gt;"  This is a tough argument to counter.&lt;br /&gt;&lt;P&gt;The ongoing discussion can be viewed at &lt;A HREF="http://www.nnsquad.org/archives/nnsquad/msg00439.html"&gt;The NNSquad Mailing List archive&lt;/A&gt;.&lt;br /&gt;&lt;P&gt;&lt;P&gt;EDIT/addition #2:  Delayed release of keys (distribute then release keys, as Richard Clayton pointed out) would slow down any spider, but also slows down users from getting content.  The spider could still block all users after the key is released, and as people couldn't tell what they are downloading BEFORE the key is released, the MPAA could produce a large number of poisoned (false data) torrents during this window.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-2942304791312501983?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/2942304791312501983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=2942304791312501983' title='29 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/2942304791312501983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/2942304791312501983'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2008/01/security-thought-at-copyright-fighting.html' title='A security thought: AT&amp;T Copyright Fighting'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>29</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-1166681453649738649</id><published>2007-12-01T14:58:00.005-08:00</published><updated>2007-12-10T12:31:16.534-08:00</updated><title type='text'>Comment spam is worth real money...</title><content type='html'>&lt;P&gt;(Note: Links are deliberately not clickable, we don't want to give the Spammers pagerank)&lt;br /&gt;&lt;br /&gt;&lt;P&gt;Blogger has a pretty significant amount of protection against comment spam.  They have to, because comment spam degrades the blog ecosystem.  On this personal blog, I've just gotten comment spam like this:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;I have to say that I love this article. I have searched for many weeks to find an article about this topic. This blog has been so simple and has a lot more features than other blog articles. The layout and design is great. I will continue to come back here for every articles. Thanks.........&lt;BR&gt;&lt;br /&gt;Eva Maryam (a link to kitchencabinets-online.SPAMblogspot.com)&lt;BR&gt;&lt;br /&gt;www.jetblue-airlines.SPAMblogspot.com (another clickable link)&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;P&gt;Both blogs are simply full of automated-feed content from www.SPAMgetmyarticles.com, a company which gives free articles for posting on websites, probably mostly spamblogs, to make them seem legitimate.  And the rest of the blog is a pile of Google adds.&lt;br /&gt;&lt;br /&gt;&lt;P&gt;It cost the spammer roughly $.01 to post that single bit of comment spam!  &lt;br /&gt;&lt;br /&gt;&lt;P&gt;I have "Word Verification", aka the comment CAPTCHA, turned on.  This means the spammer either had to invest a lot of effort in building or buying an automated tool, did it manually herself, or outsourced the CAPTCHA solving to a human, such as the Amazon Mechanical Turk, a porn-for-CAPTCHA service, or a Chinese Turing farm.  But in any case, all the alternatives effectively cost real money.  A CAPTCHA can protect something valued at less that &lt;$.01 or so, but anytime the value is &gt;$.01, CAPTCHAs are useless because you can always just hire people.&lt;br /&gt;&lt;br /&gt;&lt;P&gt;I should consider it a complement that the spammer would spend $.01 to post an advertisement on my inconsequential blog.  And thus I can see how the spam blogs make money: there are a lot of adds spewed out on that page and it costs nothing to set up.  Just a single click might make the spam-blogger $.10 or $1.00 or even more.&lt;br /&gt;&lt;br /&gt;&lt;P&gt;And they make &lt;I&gt;enough&lt;/I&gt; money to make solving CAPTCHAs worth it, which means blog spam is &lt;I&gt;far&lt;/I&gt; more valuable than email spam.  An interesting result, and not good for the viability of blogs when comment spam on a random, nearly unread blog is actually worth money to the spammers.&lt;br /&gt;&lt;br /&gt;&lt;P&gt;The best counter is probably to attack the add-blogs themselves.  All of the content in the spam blog itself doesn't cost the spammer, but by not paying for hosting the Spam blog, they are vulnerable.  If Google actually responds to my flagging of the spam blogs which post comment spam, this would disrupt the spam-blog ecology.  &lt;br /&gt;&lt;br /&gt;&lt;P&gt;But we will see in the future whether this happens, whether Google decides it benefits more from  add impressions through spam blogs or is hurt due to the disruption of the blog comments system.  I hope for the latter, as manually &lt;i&gt;removing&lt;/I&gt; such spam costs me more that $.01 in my time.&lt;br /&gt;&lt;br /&gt;&lt;P&gt;The interesting thing is Get My Article's business model.  Its free to use the content, but submitting the content requires paying $20/month, and requires actually creating semi-real content!  So why are people paying good money to have their legitimate text articles (albeit complete with links) on people's spam-blogs?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-1166681453649738649?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/1166681453649738649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=1166681453649738649' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/1166681453649738649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/1166681453649738649'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2007/12/comment-spam-is-worth-real-money_1124.html' title='Comment spam is worth real money...'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-4984820834859359782</id><published>2007-07-24T07:44:00.000-07:00</published><updated>2007-07-24T07:49:47.268-07:00</updated><title type='text'>Hofmann's Crash</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.icsi.berkeley.edu/~nweaver/hofmann/pics/HofmannCrash-06.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px;" src="http://www.icsi.berkeley.edu/~nweaver/hofmann/pics/HofmannCrash-06.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I was at MotoGP racing this weekend, having fun with my camera.  One of the photos I captured was Alex Hofmann's crash during free practice in MotoGP, when he was T-boned by Sylvain Guintoli on the enterance to the corkscrew.&lt;br /&gt;&lt;br /&gt;I was using a rental lense on my Canon XTi, with a deliberately long shutter speed (1/200) to increase the sensation of speed and depth of field.&lt;br /&gt;&lt;br /&gt;The full sequence is &lt;A HREF="http://www.icsi.berkeley.edu/~nweaver/hofmann/"&gt;here&lt;/A&gt;.&lt;br /&gt;&lt;br /&gt;I've released theses photos under a BSD-style (aka Creative Commons style) license.  Since I'm just an amateur having fun, it is better to just get my name out there, and to maximize the number of people who go "Hey, thats a cool photo".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-4984820834859359782?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/4984820834859359782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=4984820834859359782' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/4984820834859359782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/4984820834859359782'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2007/07/hofmanns-crash.html' title='Hofmann&apos;s Crash'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-6653084358726493962</id><published>2007-07-11T13:34:00.001-07:00</published><updated>2007-07-11T13:35:00.396-07:00</updated><title type='text'>How to (and how not to) run an airline</title><content type='html'>For those who have yet to experience the joy of East Coast air travel, there is one bane beyond all others: East Coast thunderstorms.  During the late afternoon and evening, masses of thunderstorms often form, blocking airports and flight paths from Boston to Washington.  These storms often create "creeping delays", where all Air Traffic Control can tell the pilots sitting on the ground is "ask again in half an hour", because it could be 15 minutes and it could be 4 hours before the planes can fly again.&lt;br /&gt;&lt;br /&gt;In two trips within three weeks, I got to experience this first hand.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The most recent, from Washington DC home, was on JetBlue.  With a tight travel budget and DC's outrageous hotel costs, an extra night and a morning flight was not in the cards.  So on the evening of June 28th, I arrived for the 9:20 PM flight from Dullis to Oakland, Jet Blue flight 321.  Sometime around 6pm, the airport basically was shut down: thunderstorms were blocking all routes east and north, and a storm was heading directly to the airport itself.&lt;br /&gt;&lt;br /&gt;During this time, other airlines still boarded people and shoved planes onto the tarmac.  JetBlue did not.  The counter personnel said "we don't want to board the planes until we know you can take off, its more comfortable sitting here".  An airline than learned its lesson the hard way.&lt;br /&gt;&lt;br /&gt;More important, they communicated with the passengers.  Every half hour or so, the counter staff would check in with a pilot on a plane and get an update from Air Traffic Control.  &lt;br /&gt;&lt;br /&gt;One pilot (the pilot for my flight) stayed at the counter and helped out: explaining to people the cause of the delay, looking up flight status on his smartphone, showing the weather radar to people, assuring us that he was &lt;B&gt;&lt;I&gt;NOT&lt;/I&gt;&lt;/B&gt; going to cancel the flight to Oakland, and even detailing the tricks he was going to pull to try to get us out as promptly as possible, a scheme which required shanghaing off-duty and over-houred flight attendants to board us 15 minutes before our scheduled cabin crew was due to arrive from a connecting flight.&lt;br /&gt;&lt;br /&gt;One of the counter staff even unloaded a few drink and snack carts from the plane, with a "I know this won't make you feel better, but it makes me feel better, so help yourself".  The good customer service even continued onboard, with the pilot unlocking the pay-per-view movies.&lt;br /&gt;&lt;br /&gt;So although the flight was almost three hours delayed leaving (but only slightly more than two hours arriving, the Pilot put the pedal to the metal), and other flights suffered even longer delays, the process went as smoothly as could be expected.  &lt;br /&gt;&lt;br /&gt;About the only thing which would have improved the situation would be a weather and/or weather + air traffic display in the lounge, so the customers could see for themselves the airborn mess.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This was in sharp contrast to United flight 19, on June 8th.  A similar evening flight, from JFK to San Francisco.  Weather was moving in, and any pilot worth his salt would have seen the impossibility of getting off the ground.  Nevertheless, we boarded the plane on time.&lt;br /&gt;&lt;br /&gt;It turned out June 8th was going to be a ClusterF*** of a flying day out of JFK.  Earlier in the day, Air Traffic Control on the east coast suffered a major computer crash.  One of the two taxiways at JFK was closed for construction.  The East Coast Thunderstorms made their appearance.  And an emergency landing on one of the other runways.&lt;br /&gt;&lt;br /&gt;But the United pilot told us nothing, simply moved the plane to the taxiway and parked it on the side.  No updates, no reports.  &lt;br /&gt;&lt;br /&gt;The only reason I knew about the weather issues (and resulting routing issues), the emergency landing on the other runway, and most of the other problems was because the pilot did not turn off the ATC channel on the entertainment system, so I listened away to 'xxx, switch to controller C, wait for him to contact you, it will be a while' and 'all emergency vehicles roll to runway Y'.  &lt;br /&gt;&lt;br /&gt;Even the cabin crew didn't know about what was going on, relying on me to relay information to them!  After an hour or so, they distributed cups of water but provided no other cabin service while we were sitting on a taxiway with the engines off.&lt;br /&gt;&lt;br /&gt;Four hours later, we were finally in the air.  Again, I knew about departure information long before the cabin crew was informed, let alone the passangers.  Even during the ascent, the frustrating lack of communication continued, with the pilot detailing to ATC the "moderate" turbulence we were passing through but saying almost nothing to us poor souls along for the rather bumpy ride.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So thus ends the simple lesson in how to, and how not to, run an airline.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-6653084358726493962?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/6653084358726493962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=6653084358726493962' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/6653084358726493962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/6653084358726493962'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2007/07/how-to-and-how-not-to-run-airline.html' title='How to (and how not to) run an airline'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-6947492299573973041</id><published>2007-07-05T11:50:00.000-07:00</published><updated>2007-07-05T11:53:52.765-07:00</updated><title type='text'>iPhone Redux and the Left Turning Porsche...</title><content type='html'>OK.  I still don't like the lockin policy.  I find it horribly objectionable.&lt;br /&gt;&lt;br /&gt;But I got a chance to play with an iPhone this weekend, a good 10 minutes of lustworthy exploration.&lt;br /&gt;&lt;br /&gt;Yeah, the edge network is sucky, but it is sufficient for a lot of work.&lt;br /&gt;&lt;br /&gt;Yeah, the lockin policy is repulsively crippling.&lt;br /&gt;&lt;br /&gt;But the thing is so well done, so well put together, so easy to use, with all the little touches, that if I didn't have 7 months to go on my cellphone contract, I'd go out and buy one today.&lt;br /&gt;&lt;br /&gt;I'll still probably wait (I don't want to spend an extra $150 bucks to get out of my cellphone contract), but the iPhone looks seriously worth it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-6947492299573973041?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/6947492299573973041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=6947492299573973041' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/6947492299573973041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/6947492299573973041'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2007/07/iphone-redux-and-left-turning-porsche.html' title='iPhone Redux and the Left Turning Porsche...'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-5915210037837494040</id><published>2007-06-21T14:05:00.000-07:00</published><updated>2007-06-27T07:14:50.312-07:00</updated><title type='text'>iPhone Lockdown and Intent-Based Pricing</title><content type='html'>There are several applications I'd want to run or port on an iPhone. This includes a full &lt;I&gt;ssh&lt;/I&gt; environment, subversion version control, and some custom scripts using ImageMagic which would allow me to process, manipulate, and upload photographs using my digital camera (assuming you could adapt the iPod port to a camera or compact flash card) : all tasks I perform on my Mac laptop but which would greatly benefit from the greater portability of an iPhone.&lt;BR/&gt;&lt;BR/&gt;Yet Apple and AT&amp;T's lockdown policy, &lt;I&gt;&lt;B&gt;only&lt;/B&gt;&lt;/I&gt; Apple authorized applications can run on the iPhone, means I will be unable to use the iPhone to its potential.  I understand the reasons why Apple and AT&amp;T want this property: they &lt;I&gt;&lt;B&gt;want&lt;/B&gt;&lt;/I&gt; to limit applications which can run because they wish to bill for service based on intent.&lt;BR/&gt;&lt;BR/&gt;At $10 for 1500 SMS message at 1 kB/message, SMS messages are worth roughly 1.2 Mb/$.  With voice (beyond the first 500 minutes) at roughly $.05/minute and approximately 8 kbps, vocie is roughly 10 Mb/$.  Finally, at "unlimited" data (with a reasonable limit of say 5 GB) for $20, the data traffic is 2000 Mb/$.  Thus the &lt;I&gt;&lt;B&gt;intent&lt;/B&gt;&lt;/I&gt; of the bits, whether it is an SMS message, voice, or best-effort data, effects how it is billed.  Thus AT&amp;T's interest is to ensure that the iPhone can't circumvent intent-based billing.&lt;BR/&gt;&lt;BR/&gt;Overall, there is a design philosophy which is creating a sealed box rather than an open box.  The sealed box offers some better security properties (as AT&amp;T theoretically does not have to worry as much about misbehaving iPhones), but the security properties are somewhat illusionary. Attackers will still be able to compromise the Safari implementation and gain control of iPhones.  It will be difficult for attackers, but doable and highly attractive.&lt;BR/&gt;&lt;BR/&gt;Additionally, the hole in the sealed box, the ability to run sanboxed Ajax-ish web applications, defeats AT&amp;T's intent based pricing, the stated and implied security goals, and Apple's stated goal of a pristine user experience.  An Ajax-ie webpage could easily interface with IM protocols, replacing high-value SMS traffic with lower value bulk-data.  It is vulnerabilities in the web browser which attackers will exploit.  And the interface will never be as good as a native interface running directly on the iPhone.&lt;BR/&gt;&lt;BR/&gt;In the end, the iPhone is a porsche which can only turn left.  &lt;BR/&gt;&lt;BR/&gt;If you only ever want to do what Apple has decided you should do (namely email, web surfing, music, and a phone), it is a beautiful platform, and probably worth every penny.&lt;BR/&gt;&lt;BR/&gt;If I could obtain development tools and install new applications, I would buy one in a hot second, even with the transition costs as a Verizon customer.&lt;BR/&gt;&lt;BR/&gt;But with the current model of a sealed box, I will not buy one and will urge my friends and family not to buy one, at least until it costs no more than a basic phone.  It may be beautiful, but it is crippled.&lt;BR/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-5915210037837494040?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/5915210037837494040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=5915210037837494040' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/5915210037837494040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/5915210037837494040'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2007/06/iphone-lockdown-and-intent-based.html' title='iPhone Lockdown and Intent-Based Pricing'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-3558105007233034270</id><published>2007-06-21T10:17:00.001-07:00</published><updated>2007-06-21T13:05:44.622-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>Personal Financial Security Protocols</title><content type='html'>&lt;I&gt;Note: The following is a work in progress.  Comments are greatly appreciated.&lt;/I&gt;&lt;br /&gt;&lt;br /&gt;There is an old saying, "The cobbler's children have no shoes", implying that experts in a field often neglect their own discipline in their daily lives.  For me, as a security "expert", this is not the case.  I have a rich and complex set of personal protocols for dealing with financial matters, including protecting my bank accounts, savings, and credit cards.  I deliberately designed these protocols to balance security and convenience.&lt;br /&gt;&lt;br /&gt;I began with a simple observation: I want to minimize &lt;I&gt;my&lt;/I&gt; costs in a security breach.  And costs to me can be reduced by either preventing security incidents or ensuring that some other party, not myself, is responsible for the lost.  Thus my attitude towards my credit cards, my bank account, and brokerage account are all substantially different.&lt;br /&gt;&lt;br /&gt;&lt;B&gt;Credit Cards&lt;/B&gt;&lt;br /&gt;&lt;br /&gt;I am generally rather cavalier about my credit card.  I happily use online shopping, and will even email my credit card number when making a reservation at a small hotel.  True, I'm not going to post the number on the Web, but I won't otherwise hesitate to use my credit card and don't take any extra care in safeguarding this information. &lt;br /&gt;&lt;br /&gt;Why?  Simply because it is not my money at stake!  &lt;br /&gt;&lt;br /&gt;Until I write the check to the credit card company, it is the credit card company's money.  In case of fraud, I am able to dispute the fraudulent transaction before I have to write the check, leaving the credit card company on the hook for all but $50 (in theory) or $0 (in practice).  I had this occur once, with a $5 fraudulent charge, and the process of disputing the charge was painless.  Rather, it is the merchants who need to take care in accepting credit cards as the merchant ultimately carries the cost of fraud.&lt;br /&gt;&lt;br /&gt;&lt;B&gt;Bank Account and ATM Cards&lt;/B&gt;&lt;br /&gt;&lt;br /&gt;My casual attitude towards my credit cards is sharply contrasted by my attitude towards my ATM card.  My ATM card is ATM-only, without a Visa or MasterCard logo.  With a "check" card, where the transaction goes through the credit card system, all an attacker needs are the numbers on the card.  In contrast, the ATM network requires the PIN number as well as the card's information.&lt;br /&gt;&lt;br /&gt;Additionally, I only use my ATM card at a bank branch's ATM (ideally my bank's branches).  And even at these ATMs, I physically examine the slot where the ATM card enters to see if someone has attached a card skimmer (a device to read the card as it is inserted into the machine).  I &lt;B&gt;&lt;I&gt;NEVER&lt;/I&gt;&lt;/B&gt; use my ATM card at grocery stores or other stores, as there have been several break-ins where attackers have managed to capture ATM cards as well as credit cards.&lt;br /&gt;&lt;br /&gt;Why should I care?  Although the fraud protections for ATM/check cards are as good as credit cards, until the dispute is resolved it is &lt;I&gt;my&lt;/I&gt; money that is missing, not the banks.  If someone fraudulently used my credit card, the worst case would be the card stops working (and I have two cards).  If someone fraudulently accessed my bank account my rent check might bounce before I found out.  Thus I need to minimize the chance of a breach.&lt;br /&gt;&lt;br /&gt;I also do &lt;I&gt;not&lt;/I&gt; use any automated or online bill pay or online banking, except for a couple which go to a credit card.  My banking and bill payments are all done  in person or through the mail.  There are too many bots and key logger in this world for me to trust online banking and there is significant comfort in having a real paper-trail for any potentially disputed transaction.&lt;br /&gt;&lt;br /&gt;Finally, when I do pay my bills by mail, I drop off the envelopes in a locked mailbox rather than leaving them for the postman to pick up.  It is far too easy for someone to steal some checks and modify them if they are out in the open.&lt;br /&gt;&lt;br /&gt;&lt;B&gt;Brokerage Account&lt;/B&gt;&lt;br /&gt;&lt;br /&gt;The one exception to the "No Online Banking" rule is my brokerage account, as the web site provides the only effective interface for managing the account.  Fortunately I only need to access it once every few months, as I follow the general economic advice of "Buy index funds and/or CDs and just let them sit" as I know I'm incapable of reliably beating the market.&lt;br /&gt;&lt;br /&gt;I use a bootable Linux "Live" CD (in my case, Knoppix, although I need to investigate alternatives as Konqueror doesn't render properly, forcing me to manually download Firefox).  I reboot my computer using the live CD so I know that my system is free from viruses, bots, and keyloggers.  I then access &lt;I&gt;just&lt;/I&gt; my brokerage account, do my necessary changes, and restart my computer.  Although significantly inconvenient, I view this as necessary.&lt;br /&gt;&lt;br /&gt;Unlike bank accounts, the laws concerning fraudulent brokerage account access are not well-enough settled for my taste.  Since I have no assurance that, in case of fraud, I would not lose money, I need to prevent fraud to as great a degree possible.  Thus I must be able to trust the computer I'm using, and given the perilous state of end-host security (even Mac security), the only way I can trust the computer is by booting using trusted, read-only media and only connecting to the brokerage account.&lt;br /&gt;&lt;br /&gt;&lt;B&gt;Conclusions&lt;/B&gt;&lt;br /&gt;&lt;br /&gt;Building these financial protocols took me considerable thought and effort.  I had to consider what were the possible attacks on my financial data and what the consequences were.  In the end, it was the consequences of possible attacks which dictates my policy: if it doesn't cost me much time and money, I don't care.  But if its my money on the line, I'll be very careful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-3558105007233034270?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/3558105007233034270/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=3558105007233034270' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/3558105007233034270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/3558105007233034270'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2007/06/personal-financial-security-protocols.html' title='Personal Financial Security Protocols'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-6144438838957273453</id><published>2007-06-20T09:53:00.001-07:00</published><updated>2007-06-20T09:53:53.709-07:00</updated><title type='text'>Intro (Redux)</title><content type='html'>A redux on my intro:&lt;br /&gt;&lt;br /&gt;I figure that I'm enough of an egomaniac that I finally should start up a blog.  After all, it is only academics with LARGE egos which should be blogging...  This is not really very active yet, but I expect to use it in the future to post original items.&lt;br /&gt;&lt;br /&gt;For background, my research area is computer security and computer architecture.  I received my Ph. D. from UC Berkeley in the fall of 2003, and since then I've been a researcher at the &lt;A HREF="http://www.icsi.berkeley.edu"&gt;International Computer Science Institute (ICSI)&lt;/A&gt;.&lt;br /&gt;&lt;br /&gt;This blog, however, will also include my thoughts on random topics of which I am completely unqualified as well as information on computer architecture and security topics.&lt;br /&gt;&lt;br /&gt;I tried to start blogging, let it lie fallow, and am going to try to start again.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-6144438838957273453?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/6144438838957273453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=6144438838957273453' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/6144438838957273453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/6144438838957273453'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2007/06/intro-redux.html' title='Intro (Redux)'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-112343844867170445</id><published>2005-08-07T11:11:00.000-07:00</published><updated>2005-08-07T11:14:08.676-07:00</updated><title type='text'>When should we start being really scared?</title><content type='html'>As an non-economist, when should we start being scared?&lt;br /&gt;&lt;br /&gt;1) We have a household savings rate of 0%.&lt;br /&gt;&lt;br /&gt;2) Huge deficits in both current account and government, to the tune of several hundred billion a year.&lt;br /&gt;&lt;br /&gt;3) A spookily-flat yield curve (my bank will loan me at &lt;6% for 30 years, but will borrow from me at ~3.8% for just 9 months!), which says that some huge amount of long term money is amazingly optimistic.&lt;br /&gt;&lt;br /&gt;4) A real-estate market in areas that is so horribly bubbled that tax-adjusted interest, property tax, and HOA/maintinence is vastly more (30%+) than rent.&lt;br /&gt;&lt;br /&gt;5) and a government in total denial.&lt;br /&gt;&lt;br /&gt;When should us normals start being really, REALLY scared?  As Kent Brockman asks on the Simpsons: "Is now the time to panic?"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-112343844867170445?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/112343844867170445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=112343844867170445' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/112343844867170445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/112343844867170445'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2005/08/when-should-we-start-being-really.html' title='When should we start being really scared?'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-112257988996561093</id><published>2005-07-28T12:35:00.000-07:00</published><updated>2005-07-28T12:44:49.973-07:00</updated><title type='text'>Simple Little Delay-Line Hack...</title><content type='html'>People have proposed requiring the client system to do work as a way of limiting/mitigating DOS attacks, and others have countered that it isn't fair to small devices (eg, phones) as there may be 1-3 orders of magnitude difference in computing power between clients.  Thus a followon proposal is many schemes which just force a client to WAIT when the server is under load.  I've heard of some rather complicated schemes to do so.&lt;br /&gt;&lt;br /&gt;There is a VERY easy way to do this, however:&lt;br /&gt;&lt;br /&gt;The server, on startup, creates a random key.&lt;br /&gt;&lt;br /&gt;When it gets a request from a client, and it wants the client to wait, it sends back a message saying "Wait x seconds + resend with this cookie".  The cookie being E(K, time its allowed, IP).  Now the client waits and resends the request with the cookie.&lt;br /&gt;&lt;br /&gt;Voila, the clients wait for the specificed time, without the server having to store any per-client state or worry about any delay queue being filled.  It requires only ONE encryption operation to create and one to verify, which on a modern CPU is only about a few hundred clock cycles.&lt;br /&gt;&lt;br /&gt;So if your DOS-mitigation technique involves having new clients wait, this is all you need.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-112257988996561093?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/112257988996561093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=112257988996561093' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/112257988996561093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/112257988996561093'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2005/07/simple-little-delay-line-hack.html' title='Simple Little Delay-Line Hack...'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-112131144846146542</id><published>2005-07-13T19:52:00.000-07:00</published><updated>2005-07-13T20:32:26.163-07:00</updated><title type='text'>Passive Resistance to Stupid Security</title><content type='html'>I have a great dislike for stupid security.  Airline security in particular ticks me off.  It's stupid.  ID checks, pointless inspections of shoes, a complete ban on such deadly items as a pair of pliers... &lt;br /&gt;&lt;br /&gt;At the same time, they &lt;A HREF="http://www.salon.com/tech/col/smith/2005/06/10/askthepilot140/index_np.html"&gt;don't screen the ground crews and maintenance staff&lt;/A&gt;, who can (and HAVE) &lt;A HREF="http://www.airdisaster.com/special/special-pa1771.shtml"&gt;smuggled a gun aboard the plane, shot the air crew, and caused a fatal crash killing everyone aboard&lt;/A&gt;.  And if you print your ticket at home, you can easily eliminate the "flag me" text if you got unlucky and it says 'screen this person'.  Or heck, change your name.&lt;br /&gt;&lt;br /&gt;So I've been engaging in a minor campaign of passive resistance.&lt;br /&gt;&lt;br /&gt;I have my driver's liscence or passport when I travel.  But I don't show that anymore.  Instead, I use my Lawrence Berkeley Lab ID card.  It even says "Guest" on it in my job function.  It IS official, issued by a US government lab.  It even says so on the back, "Property of the US Government" etc etc etc.  And it has a nice Department of Energy logo in the corner.&lt;br /&gt;&lt;br /&gt;But the key is that it &lt;I&gt;looks&lt;/I&gt; official.  Airline desks, airport security, etc.  I've used it at least a dozen times now, and I've only been challanged on it once.  I would have fought the challenge (it IS a government issued ID), but it was a tight connection so I didn't want to play my normal games.&lt;br /&gt;&lt;br /&gt;Now all I need to do is make up something that just LOOKS official.  It just needs to have my picture, a good logo, and be printed on thick plastic.  I'm thinking "Department of Bonehead Security", with an eagle bonking itself on the head to create the stars around it.  Anyone challanges it, yeah, I'd whip out the driver's liscence.  But until then, I'll have the nice plastic card.&lt;br /&gt;&lt;br /&gt;Likewise, I hate taking off my shoes.  I wear shoes with &lt;I&gt;&lt;B&gt;no&lt;/B&gt;&lt;/I&gt; metal.  If the TIA guy says "I recommend you take off the shoes", I ask if I HAVE to.  Sometimes the response is "if the metal detector goes off, you will get secondary screening".  Fair enough: far too many shoes have metal shanks, and getting those people to take their shoes off removes a huge host of pointless false-positives.  Sometimes its "We'll screen you, period".  If anything, saying my low-cut hiking shoes are "too chunky".  But the screeners have even objected to Tivas, so its obviously whatever the particular guy feels that day.&lt;br /&gt;&lt;br /&gt;The other half of the time, no buzz, but secondary screening anyway.  And you learn alot.  Both times, they did NOT X-ray my shoes.  Neither time did the TIA guy at the secondary screening know WHY I was screened. One time they wanded my wallet, the other time I simply held it out and it NEVER got wanded.  The walkthrough detectors aren't sensitive enough to detect my cardkeys, but the wands are.&lt;br /&gt;&lt;br /&gt;Both times, the TIA agent ordering the screening &lt;I&gt;&lt;B&gt;wasn't&lt;/B&gt;&lt;/I&gt; interested in security.  If they were, they would tell the other agent why I was being screened instead of just sending me over to wait in another spot for the dude with the want.  Rather, secondary screening is a punishment for questioning stupid rules.  But hey, if I'm not in a hurry, its wasting their time, not mine.&lt;br /&gt;&lt;br /&gt;All in all, airline security is a general exercise in silly security theater.  But at least you can have fun with it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-112131144846146542?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/112131144846146542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=112131144846146542' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/112131144846146542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/112131144846146542'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2005/07/passive-resistance-to-stupid-security.html' title='Passive Resistance to Stupid Security'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-111922817136995218</id><published>2005-06-19T17:34:00.000-07:00</published><updated>2005-06-21T07:50:30.263-07:00</updated><title type='text'>Coming Soon...</title><content type='html'>The disadvantage of doing a content-only blog, or attempting one, is that content CREATION is vastly harder than content referencing, especially when one has a day job.&lt;br /&gt;&lt;br /&gt;Nevertheless, there are some upcoming rants/topics that I plan on pursuing in the near term.  This is a preview.&lt;br /&gt;&lt;br /&gt;"Stupid VM Tricks", or why you should hold off on infrastructure upgrades.  How to leverage upcomming VM-friendly x86s and open-source software to build Windows networks with quick recovery, built in security primitives, ease of managemement, and easy patch rollout and rollback.&lt;br /&gt;&lt;br /&gt;"Stupid VLAN Tricks", or why you should make sure that your switches are VLAN capable.  The use of VLANs as sophisticated management and response tools for intrusion response and prevention.&lt;br /&gt;&lt;br /&gt;"Home Users and Worm Defense".  The one page of recommendations for home users to make their systems more secure.&lt;br /&gt;&lt;br /&gt;"Consumer-Grade High-Tech Weapons".  We have seen "consumer-grade" (cheap, plentiful) weapons (AK47, RPG) in the hands of our enemies.  Might there be high-tech consumer-grade weapons?  What might they look like?&lt;br /&gt;&lt;br /&gt;"Attacking Document Collaboration".  What changes should be made easy to use in Word/Word Perfect to prevent some pretty insidious attacks during contract creation/other collaboration with possibly hostile parties.&lt;br /&gt;&lt;br /&gt;"Passive Resistance to Stupid Security".  So much 'security' these days is ridiculous theater.  ID checks and a fair amount of the airport security screening process is one of them.  I'll describe some experiments in very simple, by the book passive resistance against these stupidities.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-111922817136995218?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/111922817136995218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=111922817136995218' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/111922817136995218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/111922817136995218'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2005/06/coming-soon.html' title='Coming Soon...'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-111807781102398977</id><published>2005-06-06T15:45:00.000-07:00</published><updated>2005-06-06T15:44:30.770-07:00</updated><title type='text'>Should We Close Reagan National Airport?</title><content type='html'>Matthew Dodd over at &lt;A HREF="http://www.sftt.org"&gt;SFTT&lt;/A&gt; comments that a proposed policy allowing "private" planes to fly into Reagan National Airport represents another instance of &lt;A HREF="http://www.sftt.org/main.cfm?actionId=globalShowStaticContent&amp;screenKey=cmpDefense&amp;htmlCategoryId=30&amp;htmlId=2815"&gt;Politics over Security&lt;/A&gt;.&lt;br /&gt;&lt;br /&gt;I actually take an even more extreme view: I don't believe Reagan National should be open for ANY nongovernmental/nonmilitary flights.&lt;br /&gt;&lt;br /&gt;The reopening of Reagan national to even commercial flights was a triumph of convenience over security: I guess senators didn't want to take a taxi from Dullis.  The addition of "private" flights (read this as King Airs, Gulfstream IVs and Boeing Business Jets belonging to political contributors, not random Cessnas) is just an additional example.&lt;br /&gt;&lt;br /&gt;My worry is not another hijacking to use a plane as a weapon, but an accidental (or ?faked?) deviation in flight which would cause the air defense systems around the White House and Pentagon to fire on a civilian airliner.  &lt;br /&gt;&lt;br /&gt;The landing aircraft pass so close to the White House that a quick-response air defense system must be in place to prevent a plane on final approach from being used against either the White House or the Pentagon.  A flight deviation at the wrong time and some poor soldier is either going to have to shoot immediately or explain how he allowed a 737 to crash into the West Wing.  Thus the air defense must be on a hair trigger during certain stages of a plane's approach.  Mistakes can happen. And there could always be &lt;A HREF="http://www.pcworld.com/news/article/0,aid,110035,00.asp"&gt;bug in the missile battery&lt;/A&gt;.&lt;br /&gt;&lt;br /&gt;Yet imagine the disaster if the US military mistakenly shot down a civilian plane over Washington.  Have the Iranians forgiven the US for the USS Vincennes shooting down Iran Air flight 655 back in 1988?  Have the South Koreans ever really forgiven the Russians for Korean Air flight 007?&lt;br /&gt;&lt;br /&gt;Lets say that an accident would be a One in a Million event for a given flight.  With 800 commercial flights a day, that would be a 25% chance every year (1 - (1 - 1/1000000) ^(800 * 365)).  Even if odds were 1 in a hundred million, thats still a .2% chance each year.  Not wonderful odds, simply due to the sheer number of flights.&lt;br /&gt;&lt;br /&gt;Combine both the non-negligible probability of such a disaster (there was at least one "near miss" with Kentucky Governor Ernie Fletcher's plane) with its impact, as well as the still existing possibility of a deliberate crash, and keeping Reagan National open becomes exhibit A in how security takes a back seat to the personal convenience of those running this country.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-111807781102398977?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/111807781102398977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=111807781102398977' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/111807781102398977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/111807781102398977'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2005/06/should-we-close-reagan-national.html' title='Should We Close Reagan National Airport?'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-111549043720398652</id><published>2005-05-09T10:00:00.000-07:00</published><updated>2005-05-13T13:20:09.440-07:00</updated><title type='text'>So What Will Happen To Real Estate?</title><content type='html'>So what is my prediction?  After all, I'm deliberately staying out of the real estate market, so why am I making this decision.  The first question is how are people able to buy at all, with prices so high?  With the example 2 bedroom condo requiring over $3000 a month in cash flow, and over $2200 a month in tax-neutral cashflow, how can anyone afford anything?&lt;br /&gt;&lt;br /&gt;Of course, people aren't paying quite this much.  The buyer of a house looks at the monthly cost more than the total value, and the monthly cost is greatly reduced through the use of adjustible rate mortages, especially ones with interest-only or negative amortization.  And the statistics are showing that these have become increasingly popular.  Yet even with those options its not a good deal to buy: at 3.5%, the tax neutral nonsavings is still no cheaper than renting.&lt;br /&gt;&lt;br /&gt;And these mortgage carry a price: uncertainty.  If interest rates on the ARM jump from 3.5% to 4.5%, thats an extra $200 in tax-neutral cost per month for my example.  And long-term interest rates are unnaturally, incredibly depressed: Roubini and Setzer argue that interest rates are artificially lowered by 200 basis points, 2%, &lt;A HREF="http://www.stern.nyu.edu/globalmacro/BW2-Unraveling-Roubini-Setser.pdf"&gt;because of asian central bank currency intervention&lt;/A&gt;.  So if George Bush gets his way and China floats its currency, say hello to a large interest rate jump.&lt;br /&gt;&lt;br /&gt;Assuming Roubini and Setzer (and numerous others) are correct, and that the currency situation can't last forever, or something else will cause interest rates to rise, why get an ARM?  If you are going to sell in 2-3 years an ARM is the way to go as the long term uncertanty isn't significant for a short-term loan.  But this is the classic bubble assumption: prices keep going up (and it has to go up at least 6% to cover transaction costs when selling).  Otherwise, to reduce payments for a longer time, its a huge gamble:  If interest rates go up to 6%, its tied, and beynd that, its a catastrophe.  Given long term interest rates so historically low, why take the risk?&lt;br /&gt;&lt;br /&gt;Whats worse is that people are using these alternate mortgages in order to afford a house &lt;I&gt;&lt;b&gt;at all&lt;/b&gt;&lt;/I&gt;.  If someone is squeeking by, leasing their car and with an ARM on their house, leveraged to the hilt, what happens if interest rates jump?  If the economy goes south?  There is now a huge number of people with no margin for error.&lt;br /&gt;&lt;br /&gt;So what is my prediction:  Well, interest rates are going to go up a little and the market will freeze: Buyers will stop buying as their monthly costs go up, but sellers won't lower their price.  Taking my example, to have the same tax-neutral cost/month, a rise in interest rates from 6% to 8% requires a drop from $450,000 to $395,000 in the sale price of the condo.  So a 2% rise in interest rates in my example requires a price drop of 12%, even with buyers willing to spend the same amount as they currently are.&lt;br /&gt;&lt;br /&gt;Now a flat market for a few years would be a nice, best-possible hypothesis.  But I worry that the soft scenario won't happen.  Rather, what I believe will happen is that after a year or two of freeze, with interest rates going up (and the economy shrinks as the refinanced-driven spending disappears), is that the crisis will hit: some small number of people will be &lt;I&gt;&lt;B&gt;forced&lt;/B&gt;&lt;/I&gt; to sell, yet buyers will be unwilling to pay more per month than they currently are.  With a drop of 10% or more, this might end the bubble-mentality.&lt;br /&gt;&lt;br /&gt;The worst case scenario, with a 200 basis point (2%) or more rise in interest rates, would thus be a huge collapse in price, as the bubble assumption is proved horribly false.  And the collapse may be severe:  Given 8% interest rates, the selling price to have rent-equivelent tax-neutral nonsavings cost for my example (observed over 4 years) would be $250,000, a nearly 45% drop in prices!&lt;br /&gt;&lt;br /&gt;Of course, I hope (even as a non-homeowner) a tokyo-level collapse will not happen, and would be very unlikely (I hope).  Yet a 15% drop seems certain, and a 30% drop would not be out of question.  If prices dropped 30%, even with higher interest rates, then I'll probably buy a house: it gives a huge hedge against inflation, the value will go up if interest rates go back down, and the price won't be so obscenely out of line when compared with renting.&lt;br /&gt;&lt;br /&gt;(note, minor edits for clarity)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-111549043720398652?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/111549043720398652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=111549043720398652' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/111549043720398652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/111549043720398652'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2005/05/so-what-will-happen-to-real-estate.html' title='So What Will Happen To Real Estate?'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-111542119179229546</id><published>2005-05-06T15:43:00.000-07:00</published><updated>2005-05-06T16:50:13.590-07:00</updated><title type='text'>Why I'm Not Buying A House..</title><content type='html'>As I've graduated, and now have a stable job and income, I'm supposed to think about buying a house, rather than continuing to pay rent.  But with Bay Area home prices at dizzying levels, I have to ask whether it makes sense to buy or keep renting.  Being logical, I decided to use everyone's favorite financial "what if" tool, a spreadsheet, to construct a model of the various costs.&lt;br /&gt;&lt;br /&gt;But before I get to the spreadsheet, what &lt;I&gt;are&lt;/I&gt; the costs?  There's the obvious mortage payment, but there are also property taxes, insurance, maintenance, and homeowners association dues.  There are also tax savings, both with and without AMT to consider.  Rather than just one cost for ownership, I consider 3 costs: the raw cash-flow, the tax-neutral cost, and the tax-neutral nonsavings cost.  The first is obvious: how big per month are the checks.  The second value is the first reduced by the tax savings from deducting interest and property tax.  The final, tax-neutral nonsavings, also excludes payments on principle.[1]  It is the last two which are the key values: what you pay (some of which you get back as principle when you sell the house), and what you pay and don't expect to ever get back.&lt;br /&gt;&lt;br /&gt;You would expect that the tax-neutral nonsavings cost to be &lt;I&gt;less&lt;/I&gt; then rent.  After all, you should be able to buy a dwelling, rent it out, and make at least some profit.  And, assuming you have the cash and cash flow, if tax-neutral nonsavings is less than rent, you need to buy.&lt;br /&gt;&lt;br /&gt;Unfortunatly, with the current prices, this is not the case.  Lets use the real numbers.  I live in the Richmond Marina Bay area (aka the Yuppie Prison Complexes).  My rent is $1325/month for a 2 bedroom apartment [2].  Recently, another, almost identical complex with the same floorplans and the same construction started being converted to condominiums, at $450,000 to $480,000 for the 2-bedroom units.  The only major difference is that the other complex has some fake lakes, which only serve to attract the migrating geese and the rotting fecal matter they produce.&lt;br /&gt;&lt;br /&gt;There are a few other assumptions needed: tax rates, loan terms, insurance HOA costs and inflation.  This spreadsheet assumes a very healthy income, with a 28% marginal federal tax rate, a 9.3% state tax rate, and a 1.2% property tax rate.  The loan I assume as 6% fixed, 30 years, with 10% down: a good loan for the long haul.  Insurance I assume as .2%, which is actually low: earthquake insurance in the area costs .3-.4% depending on coverage level.  I set the HOA fees/maintenance to $250/month.  Finally, I assume that both rent and HOA fees increase by 3% annually.  Toss the numbers into &lt;A HREF="http://www.icsi.berkeley.edu/~nweaver/house_econ.xls"&gt;the handy spreadsheet&lt;/A&gt; and out pop some terrifying numbers.&lt;br /&gt;&lt;br /&gt;&lt;IMG SRC="http://www.icsi.berkeley.edu/~nweaver/house_graph.gif"&gt;&lt;br /&gt;&lt;br /&gt;Buying instead of renting simply costs a fortune.  Beyond the $3200 a month of cash flow (hello Top Ramen dinners), the tax-neutral cost is still an outrageous $2200 a month.  The real shocker is the tax-neutral nonsavings cost: $1880 a month, or over $550 more than renting.  That's a real loss of $550 a month, for the privilidge of owning a glorified 2 bedroom apartment (err, "condominium home").  I can buy a nice car for $550 a month.  It takes 7 years of inflation (by which time I would save $34,000) before my monthly non-savings cost would be equal to rent.  It would take 18 years! until the net cost is the same.&lt;br /&gt;&lt;br /&gt;Note that I did not consider asset appreciation in this analysis.  Mostly because I feel that this is a dangerous bubble, and over the next 5-10 years, prices are going to be, emm, interesting (more details in a subsequent post).  But lets say I want to sell after 7 years.  Prices will have to have gone up by another 13% to even break even compared to renting, considering the 6% cost of transaction when selling a house.&lt;br /&gt;&lt;br /&gt;It simply does not make sense to buy in this housing market.  With shacks in the Richmond 'hood going for $300k, I'm going to stick with renting.  For others considering buying, in other markets, use the spreadsheet yourself.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[1] An important note: I do not consider asset appreciation in the model.  When there is such a feeling of speculative bubble, I don't want to include speculative gains in the calculation.  But I do assume, by considering the money paid to principle as savings, that the value won't drop below the down payment.&lt;br /&gt;&lt;br /&gt;[2] Two other factors I'm also excluding: the complexes considered are in Richmond California (a truely atrocious school district) and are built on bay fill.  In the event of a major earthquake, every dwelling in the area is going to be red tagged.  As a renter, that just means I need to move my stuff.  If I was an owner, even with insurance, its a catastrophe.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-111542119179229546?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/111542119179229546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=111542119179229546' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/111542119179229546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/111542119179229546'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2005/05/why-im-not-buying-house.html' title='Why I&apos;m Not Buying A House..'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-111541335223156990</id><published>2005-05-06T13:57:00.000-07:00</published><updated>2005-05-06T14:59:21.413-07:00</updated><title type='text'>Export License Required to Log In...</title><content type='html'>The Commerce Department, in the &lt;A HREF="http://www.regulations.gov/"&gt;Federal Register&lt;/A&gt;, has proposed some significant changes to the &lt;A HREF="http://www.regulations.gov/freddocs/05-06057.htm"&gt;Export Control Rules&lt;/A&gt;.  The changes seem subtle and arcane (a change of 'and' to 'or', changing country of citizenship to country of birth OR citizenship (whichever is more restrictive), and a couple of "clarifications").  But the implications appear huge, especially the 'and' to 'or' change.  Assuming I'm reading this correctly, it sounds like whoever allows a foreign citizen to &lt;B&gt;&lt;I&gt;use&lt;/I&gt;&lt;/B&gt; a supercomputer (or other export controlled device) has to get an export license and approval from the federal government.  And just about every remotely decent cluster qualifies.  Will universities be forced to deny access to Chinese graduate students?  What if someone had the misfortune to be born in Iran?  Or Cuba?  It's not too late to submit comments (mail to scook@bis.doc.gov, with "RIN 0694-AD29" in the subject line), as the comment period extends until May 27th.&lt;br /&gt;&lt;br /&gt;For export purposes, a "Supercomputer" is a system capable of 190,000 MTOPS (Million Theoretical Operations Per Second).  The definition generally includes clusters of systems, not just individual computers.  As the MTOPS is basically any instruction, at the maximum theoretical peak of every functional unit running as efficiently as possible, a normal computer actually scores very high.  AMD conveniently publishes theses values, so a &lt;A HREF="http://www.amd.com/us-en/Processors/ProductInformation/0,,30_118_8796_8800~72730,00.html"&gt;Dual Processor Opteron 248&lt;/A&gt; is 15,000 MTOPS.  Thus a cluster of only 13 &lt;A HREF="http://store.sun.com/CMTemplate/CEServlet?process=SunStore&amp;cmdViewProduct_CP&amp;catid=111394"&gt;$3000 Sun Fire v20z&lt;/A&gt; would be called a supercomputer and subject to US export controls. A computer lab where users can submit jobs to multiple systems simultaneously might also qualify.&lt;br /&gt;&lt;br /&gt;Note, I initally saw this elsewhere today (I don't remember where), but I decided to actually look at the proposed rule.  Yes, it is this scary.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-111541335223156990?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/111541335223156990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=111541335223156990' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/111541335223156990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/111541335223156990'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2005/05/export-license-required-to-log-in.html' title='Export License Required to Log In...'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8551901.post-109664714701030383</id><published>2005-05-01T09:04:00.000-07:00</published><updated>2005-05-06T14:10:38.323-07:00</updated><title type='text'>Introduction</title><content type='html'>I figure that I'm enough of an egomaniac that I finally should start up a blog.  After all, it is only academics with LARGE egos which should be blogging...  This is not really very active yet, but I expect to use it in the future to post original items.&lt;br /&gt;&lt;br /&gt;For background, my research area is computer security and computer architecture.  I received my Ph. D. from UC Berkeley in the fall of 2003, and since then I've been a researcher at the &lt;A HREF="http://www.icsi.berkeley.edu"&gt;International Computer Science Institute (ICSI)&lt;/A&gt;.&lt;br /&gt;&lt;br /&gt;This blog, however, will also include my thoughts on random topics of which I am completely unqualified as well as information on computer architecture and security topics.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8551901-109664714701030383?l=nweaver.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nweaver.blogspot.com/feeds/109664714701030383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8551901&amp;postID=109664714701030383' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/109664714701030383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8551901/posts/default/109664714701030383'/><link rel='alternate' type='text/html' href='http://nweaver.blogspot.com/2005/05/introduction.html' title='Introduction'/><author><name>Nicholas Weaver</name><uri>http://www.blogger.com/profile/17126451524439541478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
