<?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-37798047</id><updated>2012-02-03T19:56:33.037-05:00</updated><category term='ethics'/><category term='jokes'/><category term='NASCAR'/><category term='tools'/><category term='phones'/><category term='Profile Spy'/><category term='news'/><category term='movies'/><category term='bugs'/><category term='MacAfee'/><category term='Toorcon'/><category term='sellout'/><category term='malware'/><category term='PayPal'/><category term='Cisco'/><category term='McAfee'/><category term='Apple'/><category term='collateral murder'/><category term='RSA'/><category term='sprint'/><category term='events with wifi'/><category term='backtrack'/><category term='cracking'/><category term='supreme court'/><category term='Mac Pro'/><category term='TV show'/><category term='spam'/><category term='cyberterrorism'/><category term='Solaris'/><category term='Terminator'/><category term='CCC'/><category term='email'/><category term='conspiracy theories'/><category term='wget'/><category term='kerb'/><category term='pundits'/><category term='CanSecWest'/><category term='detained'/><category term='drama'/><category term='global warming'/><category term='wifi'/><category term='Christmas'/><category term='Metasploit'/><category term='legal'/><category term='freakonomics'/><category term='OSX'/><category term='Laws that are bad ideas'/><category term='bluehat'/><category term='NAISG'/><category term='Street View'/><category term='beta'/><category term='patents'/><category term='xmas'/><category term='Ironport'/><category term='bad bloggers'/><category term='port scan'/><category term='intresting'/><category term='iPhone'/><category term='tape'/><category term='anonymous sources'/><category term='Snort'/><category term='SANs'/><category term='Ferret'/><category term='chumby'/><category term='worm'/><category term='tradeoffs'/><category term='net neutrality'/><category term='twinkles'/><category term='pentest'/><category term='crypto'/><category term='SOPA'/><category term='open-source'/><category term='anti-virus'/><category term='Occupy Wall Street'/><category term='google'/><category term='iran'/><category term='virtualization'/><category term='fuzzing'/><category term='ATHF'/><category term='technology'/><category term='Microsoft'/><category term='0day'/><category term='IDS'/><category term='ida pro'/><category term='NAC'/><category term='groupthink'/><category term='Signature List'/><category term='#BSidesATL'/><category term='reverse engineering'/><category term='Anonymous'/><category term='hacking'/><category term='George Ou'/><category term='GNU'/><category term='Oracle'/><category term='fascism'/><category term='Blackberry'/><category term='survey'/><category term='FCC'/><category term='shodan'/><category term='Facebook'/><category term='#BSidesSF'/><category term='TSA'/><category term='cookies'/><category term='employment agreement'/><category term='shout hacking'/><category term='lulzsec'/><category term='dorks'/><category term='software patents'/><category term='Ranum'/><category term='ssh'/><category term='United Nations'/><category term='Oakley'/><category term='Summercon'/><category term='comodogate'/><category term='phishing'/><category term='Comcast'/><category term='Hacker Eye View'/><category term='Ruby'/><category term='dm1z'/><category term='Guns'/><category term='sniffer'/><category term='netbook'/><category term='sucks'/><category term='virus'/><category term='ftc'/><category term='Benzene'/><category term='mobile'/><category term='GPU'/><category term='ARGs'/><category term='LookingGlass'/><category term='redacted document'/><category term='funny'/><category term='cyberwar'/><category term='comedy'/><category term='rights'/><category term='minigubs'/><category term='robert khan'/><category term='evasion'/><category term='Rogue'/><category term='nerd'/><category term='SQL injection'/><category term='darkreading'/><category term='hamster'/><category term='firefox'/><category term='Oreilly'/><category term='encryption'/><category term='hacktivism'/><category term='Quicktime'/><category term='Safari'/><category term='DRM'/><category term='responsible disclosure'/><category term='performance'/><category term='aws'/><category term='sniffing'/><category term='humor'/><category term='Adobe'/><category term='wikileaks'/><category term='steganography'/><category term='SMS'/><category term='SecTor'/><category term='TV'/><category term='roundup'/><category term='TwiGUARD'/><category term='WabiSabiLabi'/><category term='DLL'/><category term='openssl'/><category term='invisibility cloaks'/><category term='comodo'/><category term='cloud'/><category term='rootkit'/><category term='software assurance'/><category term='down twinkles'/><category term='vint cerf'/><category term='red flags rule'/><category term='Breaking in'/><category term='atom'/><category term='ProtoDev'/><category term='certificate'/><category term='vapid populists'/><category term='testing'/><category term='Bratz'/><category term='musings'/><category term='exploit'/><category term='white-hat'/><category term='HEV'/><category term='vista'/><category term='The end of the cyber world'/><category term='Bitlocker'/><category term='AxBan'/><category term='Blackhat'/><category term='Windows Mobile'/><category term='shows'/><category term='Twitter'/><category term='Barbie'/><category term='bilski'/><category term='CISSP'/><category term='#breakingin'/><category term='Myspace'/><category term='fbi'/><category term='Kindle Fire'/><category term='crack'/><category term='sidejacking'/><category term='crazy'/><category term='cablegate'/><category term='spoofing'/><category term='analogies'/><category term='amazon'/><category term='telnet'/><category term='deep inspection'/><category term='invention'/><category term='Legacy negligence'/><category term='database'/><category term='Windows 7'/><category term='internships'/><category term='ASLR'/><category term='NSA'/><category term='#BSidesLV'/><category term='SDLC'/><category term='unsafe clib'/><category term='Internet'/><category term='vulnerability disclosure'/><category term='research'/><category term='social engineering'/><category term='Silicon Snake Oil'/><category term='law'/><category term='hurricane'/><category term='politics'/><category term='Vendor of the Week'/><category term='random'/><category term='guru'/><category term='Errata'/><category term='Radio'/><category term='USRP'/><category term='wizards'/><category term='games'/><category term='careers'/><category term='hacker tool'/><category term='blog'/><category term='Symbian'/><category term='kindle'/><category term='bluetooth'/><category term='certification'/><category term='economics'/><category term='captcha'/><category term='disarmament'/><category term='Orwell'/><category term='scada'/><category term='entertainment'/><category term='intellectual property'/><category term='MMORPG'/><category term='bizzaro world'/><category term='dictionary'/><category term='seattle'/><category term='PWN2OWN'/><category term='Communications Act of 1934'/><category term='mozilla'/><category term='iPad'/><category term='password'/><category term='identity theft'/><category term='Books'/><title type='text'>Errata Security</title><subtitle type='html'>Errata Security is a high-end cyber security consulting company.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default?start-index=101&amp;max-results=100'/><author><name>David Maynor</name><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>464</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-37798047.post-8384950017687819827</id><published>2012-02-02T17:37:00.000-05:00</published><updated>2012-02-02T17:37:48.285-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='encryption'/><title type='text'>Why we have jobs in cybersec</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;I just got an email from my accountant:&lt;br /&gt;&lt;blockquote&gt;Attached, please find your 2011 Tax Organizer, which has been password protected.  The Password is the FIRST FOUR digits of the taxpayer's social security number.&lt;/blockquote&gt;&lt;br /&gt;This seems reasonable. After all, your card for ATM machines has only a 4 digit PIN number. In addition, since the LAST 4 digits is so often used, many people know it, so they chose 4 digits that somebody else wouldn't know.&lt;br /&gt;&lt;br /&gt;But of course, the problems with this are obvious to any professional.&lt;br /&gt;&lt;br /&gt;There are three reasons why 4 digits work for ATM machines, and why they don't work here.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The ATM card itself the PRIMARY security, the PIN number is only SECONDARY. &lt;br /&gt;&lt;/li&gt;&lt;li&gt;Guessing the PIN number is "online" (you can only guess a few numbers before the ATM machine eats your card), but PDF guessing is "offline" (you can make as many failed guesses as you want).&lt;br /&gt;&lt;/li&gt;&lt;li&gt;The third reason things are different is that stealing money from an ATM is limited to only a few hundred dollars, whereas documents from your accountant can lead to loss of all your money.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;I can pay my neighbor's kid $20 to sit in front of a computer for a couple hours trying all 10,000 combinations until they guess the right password. The kid might get smart and google &lt;a href="https://www.google.com/search?q=social+security+number+prefixes"&gt;social security number prefixes&lt;/a&gt; and reduce the number of attempts by quite a lot. Indeed, if he could figure out where I was born, he might reduce his search to only a few hundred attempts, because the first three digits are assigned by which state you are born in. Which is why people ask you for your &lt;i&gt;last &lt;/i&gt;4 digits rather the &lt;i&gt;first &lt;/i&gt;4 digits, because they are so easily guessed.&lt;br /&gt;&lt;br /&gt;Or, I can download free software to do it for me. I downloaded &lt;a href="http://parallelrecovery.com/pdf-password.html"&gt;this program&lt;/a&gt; and after 2 seconds of crunching numbers, it came up with the right password:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-USDv5AnCjQU/TysMYf9uGYI/AAAAAAAAAiw/8zj0RMb0q88/s1600/crack-pdf.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-USDv5AnCjQU/TysMYf9uGYI/AAAAAAAAAiw/8zj0RMb0q88/s1600/crack-pdf.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;(This image is edited, of course, my SSN# does not actually start with "5967".)&lt;br /&gt;&lt;br /&gt;So, what's the right solution? You can't send an encrypted PDF and the password in the same e-mail (as some people do), because then hackers yet again and decrypt the PDF. Instead, you have to exchange passwords "out-of-band", such as on the phone or when you visit the office. The encryption is only as strong as the password, so you have to choose a long one (more than 12 characters that are hard to guess).&lt;br /&gt;&lt;br /&gt;The REAL correct solution is for vendors to better integration PGP or S/MIME into email systems. PDF encryption was chosen in this case because it's built-in. Likewise, generating public/private keys should be built into every e-mail system -- but it's not.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-8384950017687819827?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/8384950017687819827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=8384950017687819827' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/8384950017687819827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/8384950017687819827'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2012/02/why-we-have-jobs-in-cybersec.html' title='Why we have jobs in cybersec'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-USDv5AnCjQU/TysMYf9uGYI/AAAAAAAAAiw/8zj0RMb0q88/s72-c/crack-pdf.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-6428427514538845354</id><published>2012-01-11T18:42:00.012-05:00</published><updated>2012-01-13T19:29:20.630-05:00</updated><title type='text'>January 18: SOPA blackout day</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-sSYLDtQ2J_8/Tw47R4K67NI/AAAAAAAAAiU/x9G9mNBLjos/s1600/blackout.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="260" src="http://4.bp.blogspot.com/-sSYLDtQ2J_8/Tw47R4K67NI/AAAAAAAAAiU/x9G9mNBLjos/s320/blackout.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://www.huffingtonpost.com/2012/01/11/reddit-blackout-sopa-pipa-protest_n_1198740.html"&gt;Reddit&lt;/a&gt; has decided to &lt;a href="http://blog.reddit.com/2012/01/stopped-they-must-be-on-this-all.html"&gt;blackout &lt;/a&gt;their site on January 18 in protest against SOPA and PROTECT IP. This blog will, too.&lt;br /&gt;&lt;br /&gt;This blog is hosted on blogspot.com, so I can't pull the plug on it. What I can do instead is simply change the &lt;b&gt;template&lt;/b&gt; so that the the background is black and the foreground is also black. I've done this for the demonstration site&amp;nbsp;&lt;a href="http://sopa-protest.blogspot.com/"&gt;http://sopa-protest.blogspot.com&lt;/a&gt;. You can see that all the articles, such as &lt;a href="http://sopa-protest.blogspot.com/2012/01/why-sopa-is-wrong.html"&gt;this one&lt;/a&gt; and &lt;a href="http://sopa-protest.blogspot.com/2012/01/example-post.html"&gt;this one&lt;/a&gt;, have the same template, and thus have the same blackout effect, so I don't need to edit the articles individually to cause the blackout. After January 18th, I'll simply change the template back again.&lt;br /&gt;&lt;br /&gt;Thus, the steps are:&lt;br /&gt;&lt;ol&gt;&lt;li&gt; SAVE the original template first!!!&lt;br /&gt;&lt;/li&gt;&lt;li&gt; Change the template ("Edit HTML") so that the text is black-on-black, so nobody can read it.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; Add the protest message to the template, such after the &lt;tt&gt;&amp;lt;body&amp;gt;&lt;/tt&gt; tag.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; Save the new template at 8am on January 18, 2012.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; Restore your old, saved template at 8pm January 18, 2012.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; This November, send donations to the competitors of those politician who voted for SOPA.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;i&gt;(Of course, only a couple thousand people will notice the difference on our blog, most of whom oppose SOPA anyway, but the symbolic gesture is still important).&lt;/i&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;hr/&gt;&lt;b&gt;Update:&lt;/b&gt; Here is a list of other &lt;a href="http://nlb-creations.com/2012/01/13/websites-confirmed-for-the-jan-18-blackout-protesting-sopa/"&gt;websites blacking out on Jan 18&lt;/a&gt;.&lt;br /&gt;&lt;hr/&gt;&lt;b&gt;Update:&lt;/b&gt; You can easily change your Twitter picture to include a SOPA reference here: &lt;a href="http://www.blackoutsopa.org/"&gt;http://www.blackoutsopa.org/&lt;/a&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;Update:&lt;/b&gt; Here is a great link &lt;a href="http://www.techdirt.com/articles/20120111/09293817377/as-sopapipa-becomes-toxic-frantic-congress-test-runs-dropping-dns-blocking-provisions.shtml"&gt;http://www.techdirt.com/articles/20120111/09293817377/as-sopapipa-becomes-toxic-frantic-congress-test-runs-dropping-dns-blocking-provisions.shtml&lt;/a&gt; that discusses how the problems with SOPA aren't simply with the well-known "DNS blocking" issue. It's a wide range of issues that gives too much power to copyright holders, and forces websites to block content because of liability risk. &lt;br /&gt;&lt;hr /&gt;&lt;b&gt;Update:&lt;/b&gt; BTW, it's interesting how Reddit has become the new center of geekdom. Even though this blog has been Slashdotted a few times, far more traffic has come from Reddit. I wonder if Slashdot plans to similarly blackout their site in protest.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-6428427514538845354?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/6428427514538845354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=6428427514538845354' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/6428427514538845354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/6428427514538845354'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2012/01/january-18-sopa-blackout-day.html' title='January 18: SOPA blackout day'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-sSYLDtQ2J_8/Tw47R4K67NI/AAAAAAAAAiU/x9G9mNBLjos/s72-c/blackout.png' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-5235236781036062259</id><published>2012-01-10T22:27:00.008-05:00</published><updated>2012-01-11T17:01:14.522-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='movies'/><title type='text'>This message will self-destruct in five seconds.</title><content type='html'>(Warning: Spoiler Alert ahead... or maybe not. I mean, it's not like there's some big Shyamalanesque plot-twist at the end of these things...)&lt;br /&gt;&lt;br /&gt;The other day a friend said, "&lt;i&gt;You have to go see &lt;a href="http://www.imdb.com/title/tt1229238/"&gt;Mission: Impossible - Ghost Protocol&lt;/a&gt;! You will love it, ya know, because you're in security&lt;/i&gt;." I'm not really the type that goes and sees every action movie, but I was sufficiently intrigued by the promise that the fourth installment of the series might be a hacker flick. Those are always good for a sobering insight into what Hollywood thinks of our industry or for a laugh. So I went... and I loved it! It was the gadget filled awesomely insane tapestry of extreme action and suspense that we all have come to love and expect from Tom Cruise.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-lijYs90S-0Y/Tw4FZRfRYJI/AAAAAAAAAiA/QKoIjjzyBVo/s1600/Mission%252BImpossible%252BGhost%252BProtocol_10.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="213" src="http://2.bp.blogspot.com/-lijYs90S-0Y/Tw4FZRfRYJI/AAAAAAAAAiA/QKoIjjzyBVo/s320/Mission%252BImpossible%252BGhost%252BProtocol_10.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;But it didn't seem to me to be a hacker flick&lt;/b&gt;. So I messaged my friend and I said, "The gadgets were by far the best in this movie. The story was the most appealing. The actors all had great chemistry. But that isn't why you said I would like it, so please explain, why did you call that a movie about infosec?" He then began recounting all of the scenes where Old Man Cruise has to rappelle from something or dive off something and get something out of some ridiculously locked room. But what he of course noticed that I had been too dazzled to see was that the real heavy lifting in those scenes was done by the team's standard issue hacker character (Simon Pegg). Tom has to go into the vault to get the microfiche (really, still??) but Simon is the one that gets that door open.&lt;br /&gt;&lt;br /&gt;The most interesting part though is how the hacking is done. In a cruel twist of fate and conspiracy from the highest levels, the president initiates "Ghost Protocol" and the team becomes exiled with no access to the Carnivore-like CIA network that usually makes things like breaking the encryptions Hollywood-quick. So they're forced to kick it old-school and do a pretty nice variety of physical penetration hacks.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;MI:4&lt;/i&gt; has reminded me how effective the physical security attack really is. While today's military grade firewall may be Fort Knox at keeping people out of the tubes, there's really nothing that's going to stop a hacker if they're sitting right in front of the machine. Or if their increasingly disgruntled team leader is sitting in front of the machine with a pocket router after having scaled the sheer side of the tallest building in Dubai using only a suction cup and a fire hose. Or if the guy on the team who was never part of the plan that has to slide down an HVAC shaft into a subterranean server room that without the cooling system has become "an oven", and by the way the walkie-talkies aren't working and the bad guys just cut the satellite feed,  is sitting right in front of the machine. Or if the plucky new female agent with a grudge and something to prove floats a balloon holding a wireless connection device over a wall to get into the signal area.... Well, I guess they can't all be extreme, but it shows the excellent point that if your physical security strategy doesn't cover the 50 feet underground and the 15,000 feet of air space above it, you're doomed. (Don't worry the plucky female agent gets extreme redemption when she completes one of our other favorite old-school physical hacks, the 'beating someone with a &lt;a href="https://www.xkcd.com/538/"&gt;$5 hammer&lt;/a&gt;&amp;nbsp;[xkcd] until they tell you the password' technique.)&lt;br /&gt;&lt;br /&gt;Oh, and also everyone on the property should probably be assigned a dog because people are incredibly dumb.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-5235236781036062259?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/5235236781036062259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=5235236781036062259' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/5235236781036062259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/5235236781036062259'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2012/01/this-message-will-self-destruct-in-five.html' title='This message will self-destruct in five seconds.'/><author><name>Marisa Fagan</name><uri>http://www.blogger.com/profile/01185065599379609480</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://bp0.blogger.com/_96sSF15CVnM/SCipA24vSDI/AAAAAAAAAA0/QJN0KuMNt84/S220/marisa+in+the+car+mirror.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-lijYs90S-0Y/Tw4FZRfRYJI/AAAAAAAAAiA/QKoIjjzyBVo/s72-c/Mission%252BImpossible%252BGhost%252BProtocol_10.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-5462535185331878160</id><published>2012-01-09T17:22:00.012-05:00</published><updated>2012-01-09T22:49:21.722-05:00</updated><title type='text'>Multithreaded teaches the wrong lessons about multicore</title><content type='html'>This &lt;a href="http://packetchaser.org/index.php/opensource/achieving-10gbps-write-to-disk-performance-part-4#more-631"&gt;blog-post&lt;/a&gt; compares two open-source “packet logging” programs. These are simple programs that log network traffic directly to the disk. That blog-post finds that the multithreaded program is a lot faster than the single-threaded program, &lt;b&gt;confirming people’s prejudices that in the modern world with multicore systems, multithreaded is better&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;But the results are suspect. It finds that TWO-threaded program is SIX times faster. That doesn’t make sense. If the issue were truly just “multithreaded vs single-threaded”, then at most we’d expect at most a two-fold increase, not a six-fold increase.&lt;br /&gt;&lt;br /&gt;Instead, the real problem here is the way that the application has to “wait” on either the network or the disk. One way to solve this waiting is to put the network portion on one thread, and the disk portion on another thread. That’s what &lt;a href="http://staff.washington.edu/corey/gulp/"&gt;Gulp&lt;/a&gt; does. It’s many times faster than &lt;a href="http://www.snort.org/users/roesch/Site/Daemonlogger/Daemonlogger.html"&gt;Daemonlogger&lt;/a&gt; even on computers with only a single processing core.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;But multithreaded is only one way to solve this problem. Another way would be to use asynchronous APIs, and/or larger buffers. It’s the same way that single-threaded programs have long dealt with “waiting”. like “&lt;a href="http://www.kegel.com/c10k.html"&gt;C10K&lt;/a&gt;” web-servers that might be only single-threaded.&lt;br /&gt;&lt;br /&gt;The true reason Gulp is faster has nothing to do with its multithreaded nature, but the way it cleverly uses Linux APIs in order to get out of the way. Network adapters want to DMA packets directly into a buffer at full speed, bypassing the CPU and operating system kernel. Disk adapters want to DMA data directly from memory at full speed, likewise bypassing the CPU and kernel. Today’s hardware can easily do this at many times 10-gbps speeds. The problem is that today’s operating system kernels get in the way. The trick to making this work is to figure out just the right operating system APIs to trick the kernel into getting out of the way. The reason Gulp is faster is because it does a better job getting out of the way than Daemonlogger, not because it’s multithreaded.&lt;br /&gt;&lt;br /&gt;More the point, Gulp still fails at being “multicore”. Computers have been stuck at 3-GHz for the past decade, instead of getting faster, we now get multiple cores. Gulp scales to 2 cores, but not 12 cores. It’s no faster in a 12 core system than a 2 core system. (My laptop has 4 cores, my desktop has 12 cores).&lt;br /&gt;&lt;br /&gt;The problem we face today is that people think “multithreaded” means “multicore”. It doesn’t. Multithreaded means running DIFFERENT tasks on a SINGLE core, like how Gulp runs one thread for capture and one for logging to disk, making it faster than Daemonlogger even on a single core. In contrast, multicore programming means running the SAME tasks on MANY cores, so making something faster simply means adding cores. Gulp fails at this.&lt;br /&gt;&lt;br /&gt;Most software that people hail as being “multithreaded” fails at being truly “multicore”. A good example of this is the Linux kernel itself, which claims to scale to 64 core. It does, but only for selected applications and bencharmarks. Linux fails at being truly multicore for other tasks, such as packet-sniffing. A great many multithreaded applications fail to scale well on Linux.&lt;br /&gt;&lt;br /&gt;Another example is PF_RING. It uses custom drivers to bypass the inefficiencies of the Linux kernel for 10gbps speeds, but then it uses “spinlocks” instead of “atomics” for synchronization, so it fails at being multicore. After about 4 cores, adding additional cores makes PF_RING go slower, not faster.&lt;br /&gt;&lt;br /&gt;If you want a truly scalable system, instead of going “multithreaded”, you need to cheat. Today’s packet-sniffing adapters (PF_RING, Napatech) can split incoming traffic into separate streams by hashing TCP/IP socket info. So exploit that. Buy a cheap 8-core system, use one of these adapters to create 8 streams, and buy 8 high-speed disks (like SSDs). Simply run 8 separate instances of Gulp/Daemonlogger, each bound to a core, stream, and disk. When you want to analyze the traffic logged to the disks, you’ll have to recombine the streams back into a single one, but that’s not too difficult, especially when you are using a system costing $2000 that would otherwise cost you $50,000.&lt;br /&gt;&lt;br /&gt;Conclusion&lt;br /&gt;&lt;br /&gt;That original blog-post confirms your prejudices that multithreaded software is inherently better than single-threaded software, an important lesson for today’s multicore computers. But, when you look deeper at it, you find that the results are suspect and that it teaches entirely the wrong lessons about multithreaded software. Gulp fails at being multicore every much as Daemonlogger does.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;Historical note:&lt;/b&gt; &lt;b&gt;BlackICE&lt;/b&gt;, the first IPS written in 1998, was a two-threaded system, with one thread for packet-capturing (using a custom driver that looks a like like modern PF_RING) and another thread for analysis. It had the same "producer-consumer" relationship that Gulp has. While it was multithreaded, it wasn't truly multicore, and did not scale past two cores. I don't know for sure, but I'm told that IBM (which now sells BlackICE as "Proventia") has converted the software so that it's truly multicore.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;Update:&lt;/b&gt; One tweeter took exception to my &lt;b&gt;terminology&lt;/b&gt;, since nobody else makes the distinction/comparision between "multithreaded" and "multicore" the way I do. But that's entirely the point. Multithreaded programming techniques were developed for decades for either single core systems, or systems with a small number of cores. Those techniques your textbooks teach you fail when you get to 12 cores, like I have on my desktop. Just because a program (like Gulp) is multithreaded doesn't mean it's solved the problem of running on all 12 cores (which it doesn't). Thus, just because something is "multithreaded" doesn't mean that it's truly "multicore".&lt;br /&gt;&lt;br /&gt;I forget who, but somebody (&lt;a href="http://www.azulsystems.com/events/javaone_2007/2007_LockFreeHash.pdf"&gt;Azul Systems&lt;/a&gt;) has created a hashtable using atomic operations that scales to 1000 cores doing insertions and lookups simultaneously. Now THAT is true multicore.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;Update:&lt;/b&gt; The 'cheat' solution I mention above is how people run high-speed &lt;b&gt;Snort&lt;/b&gt;, a painfully single-threaded IDS. I think it's a bastard solution to the problem, but it turns out, customers are actually quite happy with it. (Which I guess is another lesson: what matters is how much customers like the pork sausage, not how it's made).&lt;br /&gt;&lt;br /&gt;So lets you test this by using something like 'tcpreplay' at 10gbps. You'll find that the solution doesn't &lt;i&gt;appear &lt;/i&gt;to work. That's because using tcpreplay, you take packets captured from slow networks and replay them at much higher speeds. On slow networks, like your home 10-mbps connection, a single TCP connection can use up the entire bandwidth. When you replay at 10-gbps, a single TCP connection captured at 10mbps is being replayed at 10gbps, which causes it to be sent to single virtualized adapter, which can't handle more than 1.25-gbps.&lt;br /&gt;&lt;br /&gt;Thus, when testing your cheated Snort solution, you now have two separate metrics: &lt;b&gt;maximum network speed&lt;/b&gt;, and &lt;b&gt;maximum TCP connection speed&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;But a truly multithreaded/multicore solution might not doing any better. Packets on a TCP connection must still be processed in-order, so you can't have one core process one packet on the TCP connection while another core processes another packet. Instead, to truly speed up the single-TCP-connection problem, you'll have to have multiple cores working together on a single packet. That's a hard problem, because chances are good that synchronization overhead (even using lightweight atomics) will cost more than you gain. Thus, a cheating solution may actually perform better on this metric than the proper solution.&lt;br /&gt;&lt;br /&gt;Either way, I hope IDS/IPS evaluators like &lt;a href="http://www.nsslabs.com/"&gt;NSS &lt;/a&gt;start measuring single-TCP-connection speed along with max-network-speed.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;Update:&lt;/b&gt; So how can you fix &lt;b&gt;PF_RING &lt;/b&gt;to be multicore? Well, a good lesson is how &lt;b&gt;PACKET_RX_RING &lt;/b&gt;does it. Both similarly-named solutions do roughly the same thing: create a memory mapped user-space ring-buffer for incoming packets. PF_RING does this with zero copy at 15-million packets/second bypassing the kernel, PACKET_RX_RING does this with making kernel copies at 1.5-million packets/second.&lt;br /&gt;&lt;br /&gt;Ring-buffers are easily synchronized in a producer/consumer fashion. If there is only one consumer, then no special synchronization is needed. If there is one producer and many consumers, then the consumers need to synchronize among themselves, but not with the producer.&lt;br /&gt;&lt;br /&gt;PACKET_RX_RING, while slow because of interference with the kernel, allows wait-free synchronization. The 12 threads trying read packets simply do a &lt;tt&gt;__atomic_compare_and_exchange()&lt;/tt&gt; on the "current packet" pointer (which in x86 will be a &lt;tt&gt;lock compxchg&lt;/tt&gt; instruction). If the operation succeeds, the current thread owns the packet, if it fails, the current thread tries again OR goes to sleep. (This synchronization also implies thread scheduling, so that threads can go to sleep, causing CPU cores to go to sleep, consuming less electricity).&lt;br /&gt;&lt;br /&gt;PF_RING, while otherwise fast, does numerous "&lt;tt&gt;spinlock()&lt;/tt&gt;s". When trying to read a packet, threads will furiously spin consuming vast amount of resources, causing the system to slow down as you add more threads.&lt;br /&gt;&lt;br /&gt;On Linux, the '&lt;tt&gt;spinlock()&lt;/tt&gt;' wait primitive is thought to be very fast, because it has the best "best-case" performance. If there is no conflict, it is just as fast as an &lt;tt&gt;atomic&lt;/tt&gt; primitive. However, when there is a lot of conflict, because you have a lot of threads, it has one of the worst "worst-case" performances, because they will be furiously spinning using up system resources.&lt;br /&gt;&lt;br /&gt;So the upshot is that PF_RING needs to get rid of all "spinlocks" and use "atomics" instead, so that 12 cores are faster than 11 cores, and so that it allows the application to schedule threads to go to sleep instead of furiously spinning. As with PACKET_RX_RING, you shouldn't need more than one atomic compare-and-swap per packet read from the interface.&lt;br /&gt;&lt;br /&gt;(Note: These comments are from playing with PF_RING last year. I used one 10gig transmit adapter and another receive adapter. I used the built-in sample apps off of '&lt;tt&gt;dna0&lt;/tt&gt;' that allow you to specify the number of threads. The more threads, the slower the packet receive, 1 thread did about 12-million packets/second, 12 threads did 1-million packets/second. Looking in the open-source part of the code, I saw evil spinlocks. I didn't disassemble the closed-source part of the code in order to see why the spinlocks were necessary).&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;&lt;b&gt;Update:&lt;/b&gt; Ten years ago, the x86 &lt;tt&gt;lock&lt;/tt&gt; prefix forces an uncached memory transaction, which took about 250 clock cycles on a 3-GHz Pentium 4. Today, with integrated memory controllers, it causes a L3 cache operation, which can be as low as 25 clock cycles on a 3-GHz Sandy Bridge processor.&lt;br /&gt;&lt;br /&gt;The upshot is that "atomic" operations were expensive in the era of "multithreaded" code, but have become ten times cheaper in the era of "multicore" code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-5462535185331878160?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/5462535185331878160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=5462535185331878160' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/5462535185331878160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/5462535185331878160'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2012/01/multithreaded-teaches-wrong-lessons.html' title='Multithreaded teaches the wrong lessons about multicore'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-2474483943318433497</id><published>2012-01-05T15:23:00.029-05:00</published><updated>2012-01-05T20:12:32.471-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rights'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet'/><title type='text'>Internet is indeed a human right</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-vkPIEB8e98o/TwYGWYsEgmI/AAAAAAAAAh4/1UeOXJu3fVY/s1600/200px-Vint_Cerf_-_2010.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://3.bp.blogspot.com/-vkPIEB8e98o/TwYGWYsEgmI/AAAAAAAAAh4/1UeOXJu3fVY/s200/200px-Vint_Cerf_-_2010.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;Vint Cerf (former Founding Father of the Internet, and current Google lobbyist) says that the &lt;a href="http://www.nytimes.com/2012/01/05/opinion/internet-access-is-not-a-human-right.html"&gt;Internet access is not a human right&lt;/a&gt;. He is profoundly wrong.&lt;br /&gt;&lt;br /&gt;The gist of his argument is that the Internet is just technology. It’s how we use this technology (for things like speech) that is the human right, not the technology itself. That’s the wrong way to look at it. New technology adds new complications that require clarification.&lt;br /&gt;&lt;br /&gt;That's what happened with the printing press. Our founding fathers chose to enshrine technology in our Bill of Rights, by saying that “&lt;i&gt;Congress shall pass no law abridging the freedom of the printing press&lt;/i&gt;”. The invention of the printing press revealed new rights, new concerns nobody cared about until the printing press appeared. It's difficult trying to list these new rights without reference to the technology that enabled them. Instead of "right to publish", it's just easier to simply say "right to printing-press".&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Vint Cerf says "&lt;i&gt;It is a mistake to place any particular technology in this exalted category [human rights], since over time we will end up valuing the wrong things&lt;/i&gt;". The printing press disproves this -- even though actual printing presses are certainly becoming obsolete, the values they revealed are not.&lt;br /&gt;&lt;br /&gt;You might be tempted to apply Cerf’s argument’s the printing press, and say that “freedom of speech” already covers “freedom of the printing press”, but you’d be wrong. As history has shown, it’s not always clear how to map one right onto the other. Reasons why governments restrict speech are different from the reasons why governments restrict presses. The type of restriction against speakers at crowded protests are very different than the restrictions against printed agitprop pamphlets. Governments can restrict the printing press without, technically, infringing speech.&lt;br /&gt;&lt;br /&gt;For example, government originally licensed printing presses. The reason was that the press introduced new economics. It cost a lot to setup the press for the first copy, but subsequent copies were very cheap. You could only pay back the original investment if you could sell a lot of copies. If two printers decided to print the same thing at the same time, then neither could recoup their initial investment, and both would go bankrupt. Therefore, some coordination by the government was “needed”. This was the situation before 1709 in England. The abuse of that system, such as government censorship, forced the laws to change (“&lt;a href="http://en.wikipedia.org/wiki/Statute_of_anne"&gt;Statute of Anne&lt;/a&gt;”).&lt;br /&gt;&lt;br /&gt;You might point out that the First Ammendment actually said only “press” and not “printing press” (correct) and argue that it therefore only referred to newspapers (wrong). By “press” it meant all actions of the printing press, including printing things like the Thomas Paine’s &lt;i&gt;Common Sense&lt;/i&gt; or the &lt;i&gt;Declaration of Independence&lt;/i&gt;. The First Ammendment very much refers to the situation 100 years earlier when the English government controlled the printing presses.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update:&lt;/b&gt; Eugene Volokh has a great discussion of this &lt;a href="http://www.pennumbra.com/issues/pdfs/160-2/Volokh.pdf"&gt;here&lt;/a&gt; (summarized &lt;a href="http://www.americanthinker.com/2011/12/who_is_the_press_in_the_first_amendment.html"&gt;here&lt;/a&gt;). Samuel Johnson's &lt;a href="http://johnsonsdictionaryonline.com/?page_id=7070&amp;i=1563"&gt;1755 dictionary&lt;/a&gt; makes no mention of the newspaper industry when defining "press". It wasn't until after the First Ammendment was written that "press" started to be used for "newspaper industry".&lt;br /&gt;&lt;br /&gt;We have the same situation today, where today’s copyright laws are used to stifle freedom of expression. For example, #Anonymous hackers created a “mashup" &lt;a href="http://www.youtube.com/watch?v=7jsIekN4ZsA"&gt;video&lt;/a&gt; of Tom Cruise effusively praising Scientology. Scientologists exploited copyright law in order to take the video off the Internet in order to suppress legitimate criticism.&lt;br /&gt;&lt;br /&gt;A simple statement of “rights” would do much to clarify things. Today, the SOPA law (designed to protect copyright) is not unconstitutional. Now consider a “right” that says “&lt;b&gt;Government shall not abridge access to the Internet&lt;/b&gt;”. Suddenly, this proposed SOPA law is obviously wrong, because “abridging access to the Internet” is precisely what it does. It's not just copyright abuse, but issues from cyberwar to cyberbullying to regulation of Terms of Service to privacy: a clarification of rights is important.&lt;br /&gt;&lt;br /&gt;Or consider phrasing it as "&lt;b&gt;Government shall not abridge access to information&lt;/b&gt;". It's a minor change, removing the reference to technology. It introduces a new right, "information", that we didn't know we needed until the Internet came along (much how the printing press introduced rights we didn't know we needed). Information is every much as important as speech. But referencing the technology is easier: it gives us this new right, as well as resolves the complications with existing rights. If Vint Cerf followers convinced me I'm wrong, and that Internet (or cyberspace) is not a right, I would still insist that unrestricted access to information is a fundamental right that needs to be enumerated.&lt;br /&gt;&lt;br /&gt;We can measure the importance of Internet-as-right in the inverse, in proportion to the efforts repressive governments take to restrict access to the Internet. Take China, for example. Their "Great Firewall of China" blocks large parts of the Internet. They force Google to remove items from its search results, such as any mention of the &lt;a href="http://en.wikipedia.org/wiki/Tiananmen_Square_protests_of_1989"&gt;Tienanmen Square uprising&lt;/a&gt;, or even references to the recent &lt;a href="http://en.wikipedia.org/wiki/Arab_spring"&gt;Arab Spring&lt;/a&gt; (in case it's citizens get any wrong ideas). It's not speech being repressed here so much as access to information. In both repressive and free countries, we now see more attacks on Internet access than we do on speech, religion, or newspapers.&lt;br /&gt;&lt;br /&gt;Vint Cerf is correct in saying that we need no clarification to know that the Egyptian Internet cutoff (to silence protests) was evil. Be he is incorrect in saying no clarification is needed. The First Amendment is not technology neutral, the 18th century version calls out the technology of the printing press, and the 21st century version should call out the technology of the Internet. Internet access is a human right, and even well-meaning governments are already infringing it, because of the lack of clarification.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-2474483943318433497?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/2474483943318433497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=2474483943318433497' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/2474483943318433497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/2474483943318433497'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2012/01/internet-is-indeed-right.html' title='Internet is indeed a human right'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-vkPIEB8e98o/TwYGWYsEgmI/AAAAAAAAAh4/1UeOXJu3fVY/s72-c/200px-Vint_Cerf_-_2010.jpg' height='72' width='72'/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-3872220574697222219</id><published>2012-01-04T13:32:00.007-05:00</published><updated>2012-01-05T20:12:53.236-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='password'/><title type='text'>Passwords: uniqueness, not complexity</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-zUNvy7SP_Cw/TwSa2AGIZZI/AAAAAAAAAhs/vu8yefyENZE/s1600/stratfor.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-zUNvy7SP_Cw/TwSa2AGIZZI/AAAAAAAAAhs/vu8yefyENZE/s1600/stratfor.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;Hacktivists recently broke into the &lt;a href="http://zone-h.org/mirror/id/16416728"&gt;StratFor &lt;/a&gt;website and dumped details of 800,000 accounts, including e-mail addresses and password-hashes. Since the password-hashes were simple MD5, it meant that almost all the passwords were easily cracked. People have looked at the passwords, and found that most people chose simple ones, such as "&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;password123"&lt;/span&gt;. This has led to articles like this one (&lt;a href="http://www.msnbc.msn.com/id/45871509/ns/technology_and_science-security/"&gt;&lt;i&gt;Breach shows that even experts chose bad passwords&lt;/i&gt;&lt;/a&gt;) that claims "&lt;i&gt;Security experts recommend building long, complex, case-sensitive passwords with multiple characters"&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;Nope. That's wrong advice. Your password for a free or cheap StratFor account doesn't need to be complex, because there is little to lose if hackers guess it.&lt;br /&gt;&lt;br /&gt;Instead, what's important is that the password be unique. Most sites are like StratFor and have poor cybersecurity. (StratFor wasn't even close to good cybersecurity, they were horrible on almost any measure). Any information you give them, such as your password, will eventually get stolen by hackers. If you use the same password for all websites, then eventually hackers will break into one of those sites, then gain access to all your other accounts.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;There are essentially three tiers of websites. At the first tier is your e-mail account. Since a hack of your e-mail account means hackers can reset passwords on all your other accounts, it would be terrible if that password were lost. This should both be very complex, as well as wholly unrelated to any other accounts.&lt;br /&gt;&lt;br /&gt;At the second tier are important e-commerce sites, like Amazon.com, NewEgg,com, Apple.com, and so on. The major sites are unlikely to be hacked. You could probably share the same password for all these accounts.&lt;br /&gt;&lt;br /&gt;At the third tier are the unimportant accounts, like StratFor, where it wouldn't be catastrophic if your password were lost. Again, you could choose a third, simple password, like "&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;passwd1234&lt;/span&gt;" for all these accounts. It'll probably get stolen within a year, but who really cares?&lt;br /&gt;&lt;br /&gt;Thus, you really only need three passwords for each tier, so it's not too much trouble. However, even then, you might consider adding uniqueness. For example, on the last tier, you might use the domain name as your password, like "&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;passwdStratfor1&lt;/span&gt;". When a hacker breaks in and runs an automated script to see if your password is unique, the script will fail to find a match on any other site. Sure, a hacker looking at the password individually will figure out your scheme, but in a huge hack like the 800,000 StratFor accounts, hackers are unlikely to manually check every password.&lt;br /&gt;&lt;br /&gt;In conclusion, your first password policy shouldn't be complexity, but uniqueness. When hackers break into a site like StratFor and discover your password is "&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;password1&lt;/span&gt;", you shouldn't be embarrassed. You should instead say you don't care about your free StratFor account, or that hackers break into it, and that knowing this password doesn't help break into any account you do care about.&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;Updates:&lt;br /&gt;&lt;br /&gt;Somebody also suggested Stiennon's article on Forbes &lt;a href="http://www.forbes.com/sites/richardstiennon/2011/12/28/fallout-from-the-christmas-hack-of-stratfor/"&gt;Fallout from the Christmas Hack of Stratfor&lt;/a&gt;. His analysis is wholly incorrect == unless Stiennon has also tested those passwords to see if they were reused.&lt;br /&gt;&lt;br /&gt;Rob Lemos criticizes password reuse at InfoWorld &lt;a href="http://www.infoworld.com/t/password-security/new-year-same-old-security-passwords-183161"&gt;New year, same old security passwords&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;XKCD has an evil plan at &lt;a href="https://www.xkcd.com/792/"&gt;https://www.xkcd.com/792/&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Nick Selby writes about &lt;a href="http://policeledintelligence.com/2012/01/03/with-that-revealing-shirt-he-was-just-begging-to-be-hacked-blaming-the-victim-in-the-stratfor-hack/"&gt;Blaming The Victim in the STRATFOR Hack&lt;/a&gt;, how we need to stop blaming the people whose passwords were revealed, and start blaming StratFor for it's incredibad cybersec.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-3872220574697222219?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/3872220574697222219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=3872220574697222219' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/3872220574697222219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/3872220574697222219'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2012/01/passwords-uniqueness-not-complexity.html' title='Passwords: uniqueness, not complexity'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-zUNvy7SP_Cw/TwSa2AGIZZI/AAAAAAAAAhs/vu8yefyENZE/s72-c/stratfor.jpg' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-5716058990099557172</id><published>2012-01-01T13:09:00.002-05:00</published><updated>2012-01-01T17:56:50.056-05:00</updated><title type='text'>Predictions for 2012</title><content type='html'>We predict there is a more than 80% chance the Mayan calender is wrong and the world will not end. Other predictions we have are:&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Cloud&lt;/h2&gt;Cloud cloud cloud cloud cloud. Whatever products/services people come out with in the next year, they will position them as being perfect (or even necessary) for the cloud.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;SCADA/ICS&lt;/h2&gt;How many cybersec experts does it take to change a lightbulb? Yes, SCADA/ICS systems are 15 years behind in terms of security, and yes, there is usually a path that can be found from the Internet to these systems, but no, there is no huge danger looming on the horizon. There will be no massive power blackout in 2012, and nobody will die from a probably malicious attack.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Cyber-war&lt;/h2&gt;The cyber-military industrial complex still needs more funding. Congress will pass more laws helping them.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Hacktivism&lt;/h2&gt;#Anonymous #LulzSec #AntiSec #OhMy&lt;br /&gt;&lt;br /&gt;We'll see more lulz, but no import hacks will happen, like exposing the cyber-military industrial complex that created Stuxnet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-5716058990099557172?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/5716058990099557172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=5716058990099557172' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/5716058990099557172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/5716058990099557172'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2012/01/predictions-for-2012.html' title='Predictions for 2012'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-7765195009136534955</id><published>2011-12-22T18:15:00.000-05:00</published><updated>2011-12-22T18:15:50.538-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SOPA'/><title type='text'>Easy instructions for boycotting GoDaddy over SOPA</title><content type='html'>SOPA is a horrible internet regulation law pushed by the copyright cartels that will destroy many of the freedoms on the Internet, such as the TOR project that anonymizes network traffic for activists in repressive countries.&lt;br /&gt;&lt;br /&gt;Go Daddy supports SOPA. Therefore, if you care about Internet freedoms, you should probably move your accounts to another registrar. This link&amp;nbsp;&lt;a href="http://blog.jeffepstein.me/post/14629857835/a-step-by-step-guide-to-transfer-domains-out-of-godaddy"&gt;http://blog.jeffepstein.me/post/14629857835/a-step-by-step-guide-to-transfer-domains-out-of-godaddy&lt;/a&gt;&amp;nbsp;describes how to do it in a painless manner. I'm moving my Go Daddy registrations to Network Solutions, where I already have an account.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-7765195009136534955?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/7765195009136534955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=7765195009136534955' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7765195009136534955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7765195009136534955'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/12/easy-instructions-for-boycotting.html' title='Easy instructions for boycotting GoDaddy over SOPA'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-8893091285298200297</id><published>2011-12-09T01:18:00.035-05:00</published><updated>2011-12-15T15:58:36.644-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='economics'/><category scheme='http://www.blogger.com/atom/ns#' term='freakonomics'/><title type='text'>Freakonomics vs Cybersecurity</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;I saw this go across my Twitter feed, so I thought I'd write up a quick response. The cybersecurity view of economics is not the same as the economists view of economics. Using freaky economics like &lt;a href="http://www.amazon.com/Freakonomics-Rev-Ed-Riddles-ebook/dp/B000MAH66Y"&gt;&lt;i&gt;Freaknomics &lt;/i&gt;&lt;/a&gt;is a good way of explaining normal economics.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-X4e7AG4_N7Q/TuGmOx6z9MI/AAAAAAAAAgs/uskiBBJCUKI/s1600/DSC_7722-2_normal.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-X4e7AG4_N7Q/TuGmOx6z9MI/AAAAAAAAAgs/uskiBBJCUKI/s1600/DSC_7722-2_normal.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="color: #444444; font-family: Arial, sans-serif; font-size: 8pt; line-height: 10px;"&gt;&lt;a href="https://twitter.com/#!/SpireSec" title="Pete Lindstrom"&gt;&lt;b&gt;&lt;span style="text-decoration: none;"&gt;SpireSec&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #999999; font-family: Arial, sans-serif; font-size: 6.5pt; line-height: 10px;"&gt;Pete Lindstrom&lt;/span&gt;&lt;span style="color: #444444; font-family: Arial, sans-serif; font-size: 8pt; line-height: 10px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 10.35pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;&lt;span style="color: #444444; font-family: Arial, sans-serif; font-size: 8pt;"&gt;Security freakonomics talk tomorrow... what should i say? ;-)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 8.2pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 8px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;The first misconception of economics cybersecurity people have is calculating where the money goes, or how much things cost. That's "business", not "economics". If you are thinking in terms of "Return on Investment" (ROI), then it's not "Economics".&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-bsUYAXGBmME/TuGsh1RLYkI/AAAAAAAAAhA/zdHz88xf9RU/s1600/neighborhood-fireworks.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="133" src="http://4.bp.blogspot.com/-bsUYAXGBmME/TuGsh1RLYkI/AAAAAAAAAhA/zdHz88xf9RU/s200/neighborhood-fireworks.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;The second, and more common use of economics (in the field of cybersecurity), is the &lt;i&gt;political &lt;/i&gt;attempt to prove that there is some sort of "externality" or "market failure" that means we get to punish Microsoft for its vulnerabilities. While the conclusion is faulty, this is a real economics concept. It describes the situation where I sell you fireworks, then you set them off, causing your neighbor's house to catch fire. The "failure" is that it's neither you (the buyer) or me (the seller) who paid the costs, but your neighbor. The cost of fire is an "&lt;a href="http://research.microsoft.com/en-us/um/people/cormac/papers/2009/SoLongAndNoThanks.pdf"&gt;externality&lt;/a&gt;", external to the original transaction.&lt;br /&gt;&lt;br /&gt;The cybersecurity version is that when buyers buy Microsoft software, which has vulnerabilities, it's third parties who suffer. For example, a hacker might exploit a vulnerability in Windows, take control of thousands of desktops, and flood a website with traffic. That website suffers, even though it might not own any Microsoft products.&lt;br /&gt;&lt;br /&gt;While this sounds plausibly "economic", it isn't. Consider the fireworks case. One solution to the problem is to fine the seller of fireworks, or regulate which fireworks they could sell. Another solution is to fine the customer who bought the fireworks and who lit them near their neighbors house.&lt;br /&gt;&lt;br /&gt;Or, the third solution is punish the neighbor for having a flammable house.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Economics isn't about fairness, it's about the efficiency of results.&lt;/b&gt; It's that guy with the flammable, thatched roof that imposes costs on all his neighbors. It means the neighbors can't have a cozy fire in their fireplace during winter, they can't have BBQs in the summer, and they can't set of fireworks for celebrations. That is why local government usually choose the third option. They regulate how houses are built, and outlaw flammable roofs, believing this is the most efficient solution.&lt;br /&gt;&lt;br /&gt;So which is the most efficient solution to Microsoft vulnerabilities? Blame Microsoft? Blame the user? Or blame the poor website victim? Or let the free market decide? I don't know the answer, but I know that I've never seen cybersecurity people make an "economic" answer based on efficiency, but instead, I've only seen arguments based on how Microsoft is big and evil, and how it's unfair to blame innocent users.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-8G0NCuX3nUM/TuGpqGVBUgI/AAAAAAAAAg4/lCUVup7-Ogo/s1600/mankiw10.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="300" src="http://1.bp.blogspot.com/-8G0NCuX3nUM/TuGpqGVBUgI/AAAAAAAAAg4/lCUVup7-Ogo/s400/mankiw10.jpg" width="300" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;But this is just a tiny portion of economics, there is so much more. I recommend getting a college textbook on beginning economics, such as Greg Mankiw's &lt;a href="http://www.amazon.com/Principles-Economics-6th-ebook/dp/B0051U0DBA"&gt;Principles of Economics&lt;/a&gt;. Follow the link to the Amazon site, and you can read the first chapter for free, which outlines his basic 10 principles of economics.&lt;br /&gt;&lt;br /&gt;Below, I take some of those basic principles and describe them in a cybersecurity context. Think of it as a useful way to learn economics if you already know cybersecurity, or as a way of learning cybersecurity if you already know economics.&lt;br /&gt;&lt;br /&gt;The first principle from Mankiw's textbook is that &lt;b&gt;cybersecurity is a tradeoff&lt;/b&gt;. In terms of logic, it's an XOR operator, not an AND. In terms of Heinlein (sci-fi author), it's TANSTAAFL - Their Ain't No Such Thing As A Free Lunch. Making the network more secure means making it worse in some other fashion, such as slower, less reliable, less user friendly. When cybersecurity experts say dumb things, there's usually a failure to acknowledge tradeoffs involved, that you must give up something in return for more security. The tradeoffs are not just between security and other things, but between two security choices. The funniest joke in cybersecurity are the two Wikipedia articles on &lt;a href="http://en.wikipedia.org/wiki/Defense_in_depth"&gt;Defense in Depth&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Defense_in_depth_(computing)"&gt;Defense in Depth (computing)&lt;/a&gt;. The original meaning was about trading off border security for better internal security, such as moving the troops from the border of a country to deeper inside. But no cybersecurity professional can admit to such tradeoffs, that it's ok to reduce security in some place in order to improve security somewhere else. So "defense in depth" has morphed into an argument that no matter how much security you have now, you need even more, both on the border AND in depth.&lt;br /&gt;&lt;br /&gt;The second Mankiw principle is opportunity cost, or that&lt;b&gt; the cost of something is what you give up to achieve it&lt;/b&gt;. The cost of cybersecurity isn't the money you spend, but what you gave up. Hiring another cybersecurity expert on your team means not hiring a saleperson who could sell more of your company's products/services. When you go to your boss and explain why your budget for cybersecurity needs to increase, you need to explain why the budget for marketing, sales, and RnD needs to decrease. During the dot-com era, companies that put up insecure websites first won the&amp;nbsp;dominant&amp;nbsp;market share, those that waited until their websites were secure lost. The opportunity costs of waiting until something is completely secure can mean your entire business.&lt;br /&gt;&lt;br /&gt;The third principle is that &lt;b&gt;rational people think&amp;nbsp;at the margin&lt;/b&gt;. Cybersecurity people talk in absolutes, as if something is insecure or secure. They should instead talk in relative terms of "more secure" or "less secure". Moreover, they need to compare the marginal benefits in security to the marginal costs. That fancy new expensive firewall still won't make you secure, the question instead is whether the marginal improvement in security is worth the price over a cheap firewall. Or, take the TSA screening requiring people to take off their shoes. Cybersecurity experts complain that this makes no difference. They are wrong; taking off the shoes at security makes people marginally safer. The only question is whether this tiny improvement in safety is worth the enormous additional cost (probably not). Part of this is realizing that security has&amp;nbsp;&lt;b&gt;decreasing margin returns&lt;/b&gt;. The reason that Microsoft can't fix all their bugs is that the more bugs they fix, the more it costs to fix more bugs. Spending a million dollars might fix a 1000 vulnerabilities, but spending another million might fix only an additional 100 vulnerabilities. Spending a third million might fix only an additional 10 vulnerabilities. Spending yet another million might find and fix only one additional vulnerability.&lt;br /&gt;&lt;br /&gt;The fourth principle is that &lt;b&gt;people respond to incentives&lt;/b&gt;, perversely. A straightforward example is that of complicated password policies, the more complicated they are, the more a person is likely to write down the password on a sticky note underneath their keyboard, thus making the system less secure, not more so. The consequence of this is that &lt;b&gt;people have a fixed risk tolerance&lt;/b&gt;. When you make things safer, people behave more recklessly. If you install anti-virus on their desktop, they are more likely to run e-mail attachments. Measured one way, such as on an obstacle course, talking on a mobile phone impairs a person's ability to drive. Measured with economics, we find that while people are on the phone, they slow down and otherwise drive more safely, to accommodate the distraction. Drivers slow down and pay attention when it rains to compensate for the additional danger, which means they speed up and drive more recklessly when the roads dry up to compensate for the increase safety.&lt;br /&gt;&lt;br /&gt;Another principle is that &lt;b&gt;the value of security isn't infinite&lt;/b&gt;. One of the fun things freaky economists like to do is calculate what a person's life is worth. For example, let's say that you put your kid in the car to drive to the store rather than paying the neighbor to babysit for an hour for $10. Dying in a car accident is the leading cause of death for children, and those deaths are overwhelmingly near the home. If the chance of death on that trip is 1-in-a-million, and you could've spent $10 to avoid it, this means you value your kid's life at $10-million. (Well, not, not exactly, I'm glossing over the fine bits to make a point). The same is true of cybersecurity, where people treat security as infinitely worth. That's why they can't deal with marginal benefits vs marginal costs: the marginal benefits of increased security are always infinite, according to cybersecurity experts. Given free reign, cybersecurity experts will make the costs infinite, too. The only way to satisfy them completely would be to turn off the Internet.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-kgKyOfYucZY/TuHiLlNV_UI/AAAAAAAAAhQ/yeMLwc9heuY/s1600/strateg.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://4.bp.blogspot.com/-kgKyOfYucZY/TuHiLlNV_UI/AAAAAAAAAhQ/yeMLwc9heuY/s200/strateg.png" width="176" /&gt;&lt;/a&gt;&lt;/div&gt;The sixth principle on Mankiw's list is that &lt;b&gt;free-markets are usually the best&lt;/b&gt;, tempered by the seventh principle that &lt;b&gt;sometimes government can improve on free-market outcomes&lt;/b&gt; (such as when there is a market failure and externalities). A &lt;b&gt;wrong &lt;/b&gt;application of this principle was President Bush's "&lt;a href="http://www.us-cert.gov/reading_room/cyberspace_strategy.pdf"&gt;&lt;i&gt;Strategy to Secure Cyberspace&lt;/i&gt;&lt;/a&gt;" that had the fatuous statement "&lt;i&gt;federal&amp;nbsp;regulation will not become a primary&amp;nbsp;means of securing cyberspace ...&amp;nbsp;the market itself is&amp;nbsp;expected to provide the major impetus to&amp;nbsp;improve cybersecurity&lt;/i&gt;".&amp;nbsp;This is wrong because the free-market will never "secure cyberspace". Instead, the free-market is what determines how valuable cybersecurity is in the first place, identifying the truth that people don't want the tradeoffs needed to make the Internet more secure. I once gave a talk where I asked "Raise your hand if cybersecurity is your highest priority" (everyone: yes), then "Raise your hand if you use wifi" (everyone: yes), then "Raise your hand if you think your wifi is secure" (everyone: no). In other words, people claimed to want security, but even though wifi wasn't secure, they used it anyway. That's because people lie; they claim security has infinite importance, but behave as if it's a tradeoff. The free-market captures this true value, government regulation doesn't. When government starts regulating cybersecurity, we'll start complaining about it in much the same way we complain about the TSA and the Patriot Act (which make what many consider unacceptable tradeoffs for small marginal improvements in security). In many cases, the cost of "compliancy", proving to the government that you are secure, is starting to outweigh the costs of the actual security.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I could spend days talking about the freakiness of economics, and cybersecurity, but this gives you a taste.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;I get more comments via twitter than the desired comments page. A particularly cogent one is:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="tweet-image" style="background-color: rgba(0, 132, 180, 0.0976563); color: #444444; float: left; font-family: 'Helvetica Neue', Arial, Helvetica, 'Liberation Sans', FreeSans, sans-serif; font-size: 15px; height: 48px; line-height: 22px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 3px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 48px;"&gt;&lt;img alt="Chris Wysopal" class="user-profile-link js-action-profile-avatar" data-user-id="14090906" height="48" src="https://twimg0-a.akamaihd.net/profile_images/1603516275/weld-panel_normal.jpg" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: rgb(0, 132, 180) !important; cursor: pointer; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" width="48" /&gt;&lt;/div&gt;&lt;div class="tweet-content" style="background-color: rgba(0, 132, 180, 0.0976563); color: #444444; font-family: 'Helvetica Neue', Arial, Helvetica, 'Liberation Sans', FreeSans, sans-serif; font-size: 15px; line-height: 22px; margin-bottom: 0px; margin-left: 58px; margin-right: 0px; margin-top: 0px; min-height: 48px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;"&gt;&lt;div class="tweet-row" style="line-height: 15px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: relative;"&gt;&lt;span class="tweet-user-name" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;a class="tweet-screen-name user-profile-link js-action-profile-name" data-user-id="14090906" href="https://twitter.com/#!/WeldPond" style="color: rgb(0, 132, 180) !important; cursor: pointer; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;" title="Chris Wysopal"&gt;WeldPond&lt;/a&gt;&amp;nbsp;&lt;span class="tweet-full-name" style="color: #999999; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Chris Wysopal&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;div class="tweet-corner" style="display: inline-block; margin-bottom: 0px; margin-left: 0px; margin-right: 10px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;div class="tweet-meta" style="color: #999999; font-size: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="icons" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="extra-icons" style="margin-bottom: 0px; margin-left: 2px; margin-right: 2px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: absolute; right: 5px; top: 0px;"&gt;&lt;span class="icons" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="reply-icon icon js-reply-notice" style="background-image: url(https://twimg0-a.akamaihd.net/a/1323449606/phoenix/img/sprite-icons.png); background-position: -32px -96px; background-repeat: no-repeat no-repeat; display: inline-block; height: 14px; margin-bottom: 0px; margin-left: 2px; margin-right: 2px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: medium; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-indent: -9999px; vertical-align: baseline; width: 14px;"&gt;@&lt;/span&gt;&amp;nbsp;&lt;span class="inlinemedia-icons js-icon-container" style="display: inline-block; margin-bottom: 0px; margin-left: 2px; margin-right: 2px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="tweet-row" style="line-height: 15px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: relative;"&gt;&lt;div class="tweet-text js-tweet-text" style="font-family: Arial, 'Helvetica Neue', sans-serif; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; word-wrap: break-word;"&gt;&lt;a class="  twitter-atreply pretty-link" data-screen-name="ErrataRob" href="https://twitter.com/#!/ErrataRob" rel="nofollow" style="color: #0084b4; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; white-space: nowrap;"&gt;&lt;s style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; opacity: 0.5; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;@&lt;/s&gt;&lt;b style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; white-space: normal;"&gt;ErrataRob&lt;/b&gt;&lt;/a&gt;&amp;nbsp;Al Qaeda was able to harm up the US economy w/excess security spending abroad and at home. Could anonymous do same for cyber?&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-8893091285298200297?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/8893091285298200297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=8893091285298200297' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/8893091285298200297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/8893091285298200297'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/12/freakonomics-vs-cybersecurity.html' title='Freakonomics vs Cybersecurity'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-X4e7AG4_N7Q/TuGmOx6z9MI/AAAAAAAAAgs/uskiBBJCUKI/s72-c/DSC_7722-2_normal.JPG' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-3196802453919740016</id><published>2011-11-15T21:01:00.009-05:00</published><updated>2011-11-15T21:59:55.407-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iPad'/><category scheme='http://www.blogger.com/atom/ns#' term='Kindle Fire'/><category scheme='http://www.blogger.com/atom/ns#' term='Christmas'/><title type='text'>Quick review of the Kindle Fire</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-yWd_NDApEnk/TsMYO5IUghI/AAAAAAAAAgY/k139lgeRSUg/s1600/photo+%25282%2529.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-yWd_NDApEnk/TsMYO5IUghI/AAAAAAAAAgY/k139lgeRSUg/s320/photo+%25282%2529.JPG" width="239" /&gt;&lt;/a&gt;&lt;/div&gt;The &lt;a href="http://www.amazon.com/Kindle-Color-Multi-touch-Display-Wi-Fi/dp/B0051VVOB2"&gt;Kindle Fire&lt;/a&gt; is a $200 device, compared to $80 for the cheap black-and-white Kindle, or compared to $500 for the iPad.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;The reason you want it more than the standard "eInk" based Kindle is that it can play videos, run apps, and show books in color (like comic books). The downside is that it weighs twice as much as the standard Kindle, lasts only 10 hours on battery (vs 30 days for the standard Kindle), and only works with WiFi (no mobile phone connection).&lt;br /&gt;&lt;br /&gt;It's a 7 inch screen (14.6 ounces0 compared to the iPad's 10 inch screen (21.3 ounces). This makes the Fire better for traveling than the iPad. But, since I travel with my iPhone and MacBook Air, I really don't need another device to watch video. What I need is something that won't run out of batteries. For that reason, I'm going to travel with the eInk Kindle Touch (7 ounces), not the Kindle Fire. (In addition, the Kindle Touch as a mobile phone connection that can be used in emergencies when no WiFi is available, unlike the Fire).&lt;br /&gt;&lt;br /&gt;There are plenty of annoyances with device. Some content ("&lt;a href="http://www.amazon.com/Watchmen-ebook/dp/B005CRQ2IU"&gt;The Watchman&lt;/a&gt;" and "&lt;a href="http://www.amazon.com/The-Economist-US-Edition/dp/B0027VSU9S"&gt;The Economist&lt;/a&gt;") is shrunk and can't easily be expanded (&lt;i&gt;The Watchman&lt;/i&gt; not at all, &lt;i&gt;The Economist&lt;/i&gt; with zoom-and-pan for every page). The same thing happens to web-pages: the iPad and standard Kindle have been around long enough for people to format content for them, but they treat the Kindle Fire as a full-sized desktop screen, and not the 7 inch screen that it really has.&lt;br /&gt;&lt;br /&gt;The web-browsing goes through Amazon's cloud for "acceleration". Instead of browsing the web directly, you go through Amazon's servers, which strip out all the stuff that slow down web browsing. In practice, I don't think this works so well. Yes, some web pages are "snappier", but at the same time, some things behave oddly. I'd have to spend more time at it, but I think my experience on the iPad is better.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;But for all such annoyances, it works much like the iPad.&lt;/b&gt; As his biography points out, Steve Jobs was really angry at how much Android (which runs the Kindle) copied most of what makes the iPhone/iPad cool. It even does a couple things better, such as cloud integration. Your books, magazines, music, videos, and apps have two selections, those in the Cloud, and those on the Device (demonstrated in the picture above), and downloading from one to the other is simply the touch of a button.&lt;br /&gt;&lt;br /&gt;Here's the verdict: it's not as polished as the iPad. Your 2-year-old or grandparent can't pick it up and immediately start using it, like she can with the iPad. But that probably doesn't matter, since 99% of the time is spent with the content (reading, watching, playing) rather than with the device software. You have to ask yourself if an extra $300 is worth the difference in usability/polish for the small amount of time between watching videos, reading books, or playing games. It probably is important for the very young or very old, or the very geeky, but probably not so important for everyone else.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Sure, the recipient is going to be disappointed you didn't pony up the extra bucks for an iPad, but otherwise, the Kindle Fire is going to make a great gift for Xmas.&lt;/b&gt; I think they will spend more time using it in the coming year than almost any other present you could give them.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;&lt;i&gt;I'm &lt;b&gt;not&lt;/b&gt; part of Amazon's affiliate program. Following the links on this page to Amazon's site gives no benefit to me (which you can verify with View Source and check out the links). I thought I'd point this out since Amazon's evil affiliate program leads to so much spam. These are my honest opinions.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;Here is a &lt;a href="http://www.thedaily.com/page/2011/11/15/111511-tech-gearreview-kindlefire-1-2/"&gt;Kindle Fire review from The Daily&lt;/a&gt;. It agrees with the points I made. But whereas it stresses "it doesn't do anything exceptional well", the real point to remember is that it does everything &lt;i&gt;adequately&lt;/i&gt; well. And, that's only during the 1% of the time you aren't watching a movie or reading a book, at which point, the experience is roughly the same.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-3196802453919740016?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/3196802453919740016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=3196802453919740016' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/3196802453919740016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/3196802453919740016'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/11/quick-review-of-kindle-fire.html' title='Quick review of the Kindle Fire'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-yWd_NDApEnk/TsMYO5IUghI/AAAAAAAAAgY/k139lgeRSUg/s72-c/photo+%25282%2529.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-4528949926062657651</id><published>2011-10-24T21:39:00.022-05:00</published><updated>2011-11-03T15:04:45.684-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cloud'/><title type='text'>Cloud Computing is a Commodity, not a Utility</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://upload.wikimedia.org/wikipedia/en/9/9f/Delta_pylon_near_Madrid.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="320" src="http://upload.wikimedia.org/wikipedia/en/9/9f/Delta_pylon_near_Madrid.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;A computing pioneer named &lt;a href="http://en.wikipedia.org/wiki/John_McCarthy_(computer_scientist)"&gt;John McCarthy&lt;/a&gt;&amp;nbsp;(creator of the LISP language) died recently. Some are giving him credit for coming up with the idea of &lt;a href="http://en.wikipedia.org/wiki/Cloud_computing"&gt;cloud computing&lt;/a&gt; in 1961, when he described "&lt;a href="http://en.wikipedia.org/wiki/Time-sharing"&gt;time-sharing&lt;/a&gt;" (the sharing of a mainframe computer) as becoming a "public utility" like electricity or water. Nothing can be further from the truth. Today's cloud computing is the opposite of the "&lt;a href="http://en.wikipedia.org/wiki/Utility_computing"&gt;utility computing&lt;/a&gt;" that he imagined. This is as absurd as saying the original Star Trek TV show, with a voice activated computer, somehow invented Siri, Apple's new voice response system for the iPhone.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;The archetype of cloud computing is &lt;a href="http://en.wikipedia.org/wiki/Amazon_ec2"&gt;Amazon EC2&lt;/a&gt;, a network of thousands of machines that can do anything from run supercomputer simulations to serve web pages. But cloud computing is more than EC2. It's a whole range of things, from Google apps, to Apple's iCloud storage of music, to the Amazon Kindle's storage of books. I have over 300 books on my Kindle – not actually on the device, but in my account with Amazon. When I broke my Kindle by dropping it two stories, I bought a new one, and all my books were still there. That is cloud.&lt;br /&gt;&lt;br /&gt;Sure, Amazon's EC2 sounds a lot like the time-share systems of the early 1960s, but there are important differences. The biggest difference is "how we got here". There wasn't a slow progression of huge "mainframe" computers, but a rapid change from mainframes to "personal computers" in our homes (following Moore's Law).&lt;br /&gt;&lt;br /&gt;If other utilities had progressed at the same speed as computing, then we'd all have a small fusion reactor in our homes supplying our electricity. Your iPhone can supply, through the cell network, all of the time-sharing needs of the 1960s.&lt;br /&gt;&lt;br /&gt;Yes, Amazon sells compute power, but the word you are looking for is not "utility" but "commodity". Here is the current Wikipedia definition of a &lt;a href="http://en.wikipedia.org/wiki/Public_utility"&gt;public utility&lt;/a&gt;:&lt;br /&gt;&lt;blockquote&gt;A public utility (usually just utility) is an organization that maintains the infrastructure for a public service (often also providing a service using that infrastructure). Public utilities are subject to forms of public control and regulation ranging from local community-based groups to state-wide government monopolies. Common arguments in favor of regulation include the desire to control market power, facilitate competition, promote investment or system expansion, or stabilize markets. … The term utilities can also refer to the set of services provided by these organizations consumed by the public: electricity, natural gas, waterand sewage.&lt;/blockquote&gt;None of the above applies to Amazon EC2. But, the following Wikipedia page on &lt;a href="http://en.wikipedia.org/wiki/Commodity"&gt;commodities&lt;/a&gt; sounds a lot like Amazon EC2:&lt;br /&gt;&lt;blockquote&gt;It is used to describe a class of goods for which there is demand, but which is supplied without qualitative differentiation across a market. A commodity has full or partial fungibility; that is, the market treats it as equivalent or nearly so no matter who produces it. Petroleum and copper are examples of such commodities.&lt;/blockquote&gt;In other words, cloud computing is &lt;a href="http://en.wikipedia.org/wiki/Fungible"&gt;fungible &lt;/a&gt;commodity like oil and copper, not a utility like electricity or sewage.&lt;br /&gt;&lt;br /&gt;From this perspective, recently deceased &lt;a href="http://en.wikipedia.org/wiki/Dennis_Ritchie"&gt;Dennis Ritchie&lt;/a&gt; (who developed C and co-developed Unix) deserves much more credit than John McCarthy. The reason Ritchie developed Unix was precisely to break the "utility" model of time-share computing up to that point, and to make computers into a "commodity". Today's cloud computers like Amazon EC2 run mostly Unix, and mostly code written in C. They run almost no code written in John McCarthy's LISP.&lt;br /&gt;&lt;br /&gt;The personal computing and Internet revolution is a genie that escaped the "utility" bottle. Many want to put that genie back again, and regulate the Internet and computers like utilities. Their arguments always sound good, but they are deceptive. It's the old phone utilities that lobby for regulations requiring new VoIP companies to provide 911/emergency services, making VoIP much more expensive. Likewise, it's law enforcement that lobbied for laws requiring mobile phones to have GPS location tracking features again for 911/emergency calls, but which law enforcement also uses to locate criminals.&lt;br /&gt;&lt;br /&gt;Another example is "reliability". We all get frustrated when computers fail (as BlackBerry users recently &lt;a href="http://articles.cnn.com/2011-10-12/tech/tech_mobile_blackberry-outage_1_blackberry-outage-blackberry-subscribers-blackberry-users?_s=PM:TECH"&gt;experienced&lt;/a&gt;). Regulators promise to improve reliability. But this comes at a cost. Reliability has decreasing marginal returns, costs quickly explode as government demands more reliability. Right now, bandwidth and cloud computing is free, but it means that sometimes when I try to sync my Kindle, it might fail for a few hours. Despite what the regulators promise, there is no such thing as a free lunch, and regulations will not &lt;i&gt;simultaneously &lt;/i&gt;keep costs down and reliability up.&lt;br /&gt;&lt;br /&gt;How we define the "cloud" means a lot for our future. We are putting more and more of our "stuff" in the cloud, which special interests want to regulate, control, and monitor. We will lose our freedom unless we fight to keep it. Unless we fight to keep the cloud a "commodity", it will indeed start to look like an Orwellian "utility".&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;The full quote from McCarthy speaking at the MIT Centennial in 1961:&lt;br /&gt;&lt;blockquote&gt;"If computers of the kind I have advocated become the computers of the future, then computing may someday be organized as a public utility just as the telephone system is a public utility... The computer utility could become the basis of a new and important industry."&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-4528949926062657651?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/4528949926062657651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=4528949926062657651' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/4528949926062657651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/4528949926062657651'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/10/cloud-computing-is-commodity-not.html' title='Cloud Computing is a Commodity, not a Utility'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-8587466564453078579</id><published>2011-10-18T19:20:00.011-05:00</published><updated>2011-10-20T15:45:18.965-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='iPhone'/><category scheme='http://www.blogger.com/atom/ns#' term='sprint'/><title type='text'>iPhone 4S for Sprint performance below par</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/-iQ7oofTKv_M/Tp4Y9DGIDII/AAAAAAAAAv4/1-Wt9xu4H9M/s1600/Sprint_Test.PNG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5664992818360749186" src="http://1.bp.blogspot.com/-iQ7oofTKv_M/Tp4Y9DGIDII/AAAAAAAAAv4/1-Wt9xu4H9M/s320/Sprint_Test.PNG" style="cursor: hand; cursor: pointer; float: right; height: 320px; margin: 0 0 10px 10px; width: 214px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-DixfkoTKce0/Tp4Y3YzDGmI/AAAAAAAAAvs/DFCFNwR_bZs/s1600/ATT_Test.PNG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5664992721107098210" src="http://1.bp.blogspot.com/-DixfkoTKce0/Tp4Y3YzDGmI/AAAAAAAAAvs/DFCFNwR_bZs/s320/ATT_Test.PNG" style="cursor: hand; cursor: pointer; float: left; height: 320px; margin: 0 10px 10px 0; width: 214px;" /&gt;&lt;/a&gt;I'm returning my Sprint version of the iPhone 4S. The performance is far below either AT&amp;amp;T or Verizon.&lt;br /&gt;&lt;br /&gt;Everyone loves to hate AT&amp;amp;T, but here's the thing: they've invested massively in building our their network to support devices like the iPhone and Kindle. Even in place where AT&amp;amp;T famously struggles (New York City and San Francisco), I can usually get a fair data connection. In my travels, AT&amp;amp;T 3G outperforms Verizon 3G in almost every case.&lt;br /&gt;&lt;br /&gt;Sprint hasn't made that investment. At least, not here in Atlanta.&lt;br /&gt;Traveling around the Atlanta area at various times in the day, I find&lt;br /&gt;that Sprint consistently lags AT&amp;amp;T for 3G speeds. Sprint struggles to&lt;br /&gt;reach 1-mbps, while AT&amp;amp;T rarely goes below 3-mbps. At times, Sprint&lt;br /&gt;goes down to dialup speeds. Here are example of back-to-back speed&lt;br /&gt;tests. I have a lot more samples, but these are representative of what&lt;br /&gt;I see.&lt;br /&gt;&lt;br /&gt;To be fair, Sprint has invested a lot in a 4G technology (based on &lt;a href="http://erratasec.blogspot.com/2009/08/cleartm-wimax.html"&gt;WiMax&lt;/a&gt;)&lt;br /&gt;that  works much better, where 7-mbps is common. But the iPhone&lt;br /&gt;doesn't support 4G technologies like WiMax. In addition, many people&lt;br /&gt;are finding that WiMax falls behind LTE (used by AT&amp;amp;T, Verizon, and&lt;br /&gt;T-Mobile).&lt;br /&gt;&lt;br /&gt;Sprint does have one advantage. Currently, it supports "unlimited"&lt;br /&gt;downloads, whereas Verizon offers a plan with up to 12-gigs of&lt;br /&gt;downloads, whereas AT&amp;amp;T offers at most 4-gigs of downloads.  In&lt;br /&gt;addition, it's one of the cheaper plans, with unlimited texting and&lt;br /&gt;data for only $80/month.&lt;br /&gt;&lt;br /&gt;But in practice, few people use more than 2-gigs per month. I rarely&lt;br /&gt;do. In those cases, AT&amp;amp;T can offer cheaper and faster plans.&lt;br /&gt;I don't know which will be best for you, but for myself, I'm choosing&lt;br /&gt;an AT&amp;amp;T iPhone 4S and returning my Sprint iPhone 4S.&lt;br /&gt;&lt;br /&gt;UPDATE:&lt;br /&gt;These are the last ones taken this morning, AT&amp;amp;T with 5.07mbps and Sprint with 0.21-mbps:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-UA-4KFeWpWQ/Tp8Ukw-brlI/AAAAAAAAAwc/1BZjm9D57ZQ/s1600/ATT_Test2.PNG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5665269478109982290" src="http://4.bp.blogspot.com/-UA-4KFeWpWQ/Tp8Ukw-brlI/AAAAAAAAAwc/1BZjm9D57ZQ/s320/ATT_Test2.PNG" style="cursor: hand; cursor: pointer; height: 320px; width: 214px;" /&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/-p5qRqGf0rRg/Tp8U3skJuhI/AAAAAAAAAwo/I3eW8IMqfPU/s1600/Sprint_Test2.PNG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5665269803343526418" src="http://1.bp.blogspot.com/-p5qRqGf0rRg/Tp8U3skJuhI/AAAAAAAAAwo/I3eW8IMqfPU/s320/Sprint_Test2.PNG" style="cursor: hand; cursor: pointer; height: 320px; width: 214px;" /&gt;&lt;/a&gt;&lt;br /&gt;Update 2:&lt;br /&gt;I returned The Sprint iPhone today and was told I was the 18th person to do so for the same reason. This makes me sad as I was a big fan of Sprint rolling out the first nextgen speed network.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-8587466564453078579?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/8587466564453078579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=8587466564453078579' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/8587466564453078579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/8587466564453078579'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/10/iphone-4s-for-sprint-performance-below.html' title='iPhone 4S for Sprint performance below par'/><author><name>David Maynor</name><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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-iQ7oofTKv_M/Tp4Y9DGIDII/AAAAAAAAAv4/1-Wt9xu4H9M/s72-c/Sprint_Test.PNG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-5076159208615877008</id><published>2011-10-14T18:42:00.004-05:00</published><updated>2011-10-29T20:51:52.981-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='twinkles'/><category scheme='http://www.blogger.com/atom/ns#' term='Occupy Wall Street'/><category scheme='http://www.blogger.com/atom/ns#' term='down twinkles'/><category scheme='http://www.blogger.com/atom/ns#' term='dictionary'/><title type='text'>DefCon speakers guide to #OccupyWallStreet hand signals</title><content type='html'>Next year, at DefCon (the world's largest hacking conference), speakers are going to be confronted by hand signals (like 'twinkles') that were developed during the &lt;a href="http://erratasec.blogspot.com/2011/10/independent-reporting-of.html"&gt;#OccupyWallStreet&lt;/a&gt; protests. That's because much of the audience will have attended one of the many "Occupy" protests.&lt;br /&gt;&lt;br /&gt;So that speakers don't get weirded out by this, I thought I'd write up a brief guide.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-YSe8-Hvbttc/TplLUGPVVfI/AAAAAAAAAdo/qPwuauenfT8/s1600/IMG_9357.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://3.bp.blogspot.com/-YSe8-Hvbttc/TplLUGPVVfI/AAAAAAAAAdo/qPwuauenfT8/s200/IMG_9357.JPG" width="152" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;TWINKLES&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This is the most common hand signal. The audience raises their arms and flutters or "twinkles" their fingers (also known as 'spirit fingers'). This means they like what you are saying. It is a silent form of clapping, so that they do not interrupt you.&lt;br /&gt;&lt;br /&gt;Down-twinkles (arms up, but fingers pointed down) indicates the reverse, displeasure at what you are saying. You'll get a lot of these when you talk about how good Windows security is, for example.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-rV2sOJKdems/TplLg8cwduI/AAAAAAAAAdw/wAWEhykF7Lo/s1600/IMG_9371.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://2.bp.blogspot.com/-rV2sOJKdems/TplLg8cwduI/AAAAAAAAAdw/wAWEhykF7Lo/s200/IMG_9371.JPG" width="147" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;CROSSED ARMS/BLOCK&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;When they hold their arms in front, crossed, it means they dislike what you are saying so much that they are about to get up and leave.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-TSVgs-XTezs/TplLmVN5GFI/AAAAAAAAAd4/_VHqFsCjdfg/s1600/IMG_9400.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://3.bp.blogspot.com/-TSVgs-XTezs/TplLmVN5GFI/AAAAAAAAAd4/_VHqFsCjdfg/s200/IMG_9400.JPG" width="160" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;WRAP IT UP / GET TO THE POINT&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;There are two forms of this. One is the rolling motion, holding the arms in front and rolling them around each other. The other is holding the finger up and making a circling halo motion around the head. &lt;br /&gt;&lt;br /&gt;It means the audience things you are rambling, and wants you to get to the point.&lt;br /&gt;&lt;br /&gt;When you go beyond your allotted time, these will break out in the audience, indicating your should wrap up your speech and leave the stage for the next guy.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-eX6LfCgnd7M/TplLtXJ54II/AAAAAAAAAeA/GOzjBaV4wM8/s1600/IMG_9426.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://3.bp.blogspot.com/-eX6LfCgnd7M/TplLtXJ54II/AAAAAAAAAeA/GOzjBaV4wM8/s200/IMG_9426.JPG" width="131" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;PLEASE CLARIFY&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;In this signal, the audience member holds up an index finger. There are some variations, such as holding up two bent fingers, or cupping the hand into a "C".&lt;br /&gt;&lt;br /&gt;This asks you to clarify the point you just made, such as providing more details.&lt;br /&gt;&lt;br /&gt;It's also done when they didn't hear you for some reason. For example, let's say there was a loud bang somewhere, the audience will hold their hands up like this, so just repeat what you just said. If it's an issue where they have problems hearing you general, they will do EARS.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-7rzNftkDxBY/TplLzi6rofI/AAAAAAAAAeI/cyA8qt2Ja3w/s1600/IMG_9432.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://3.bp.blogspot.com/-7rzNftkDxBY/TplLzi6rofI/AAAAAAAAAeI/cyA8qt2Ja3w/s200/IMG_9432.JPG" width="135" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;EARS&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Holds the palm or cupped hand to the ear. Means they can't hear you. Pretty obvious.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-jxqLII31oVk/TplL47M6bSI/AAAAAAAAAeQ/WAe_DZGyM_k/s1600/IMG_9451.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://3.bp.blogspot.com/-jxqLII31oVk/TplL47M6bSI/AAAAAAAAAeQ/WAe_DZGyM_k/s200/IMG_9451.JPG" width="165" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;DIRECT RESPONSE&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;In this signal, the audience uses index fingers (or full palms) going back and forth. Both hands are used, with each hand going the opposite direction from the other.&lt;br /&gt;&lt;br /&gt;This means the audience member has something to say, to correct something you've said, or to ask a clarifying question.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-_ueTr4bBAc8/TplL_ivn-LI/AAAAAAAAAeY/0sKIwcSlTZs/s1600/IMG_9465.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://2.bp.blogspot.com/-_ueTr4bBAc8/TplL_ivn-LI/AAAAAAAAAeY/0sKIwcSlTZs/s200/IMG_9465.JPG" width="180" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;PROCESS POINT/OFF-TOPIC&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This is where they make a tent above their head with their fingers. It means you are getting off-topic.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-UA_FTCwIA24/TplMHt5M6nI/AAAAAAAAAeg/s2dLHsegAzA/s1600/IMG_9488.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://1.bp.blogspot.com/-UA_FTCwIA24/TplMHt5M6nI/AAAAAAAAAeg/s2dLHsegAzA/s200/IMG_9488.JPG" width="165" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;THUMBS UP, DOWN, TO THE SIDE&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This is how the General Assembly at the Occupy movement votes on things, with the obvious result that thumbs-up means yes, thumbs-down means no, and thumbs-to-the-side means abstain. I'm not sure why you'd see these while speaking, but I thought I'd mention them.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;Here's a video that explains some of these:&lt;br /&gt;&lt;iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/X5oTHR5f8uw" width="420"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-5076159208615877008?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/5076159208615877008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=5076159208615877008' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/5076159208615877008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/5076159208615877008'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/10/defcon-speakers-guide-to.html' title='DefCon speakers guide to #OccupyWallStreet hand signals'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-YSe8-Hvbttc/TplLUGPVVfI/AAAAAAAAAdo/qPwuauenfT8/s72-c/IMG_9357.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-6214058710371021152</id><published>2011-10-11T15:33:00.005-05:00</published><updated>2011-10-11T21:56:57.815-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='port scan'/><category scheme='http://www.blogger.com/atom/ns#' term='shodan'/><title type='text'>Scanning the Internet</title><content type='html'>As part of a research project we are port scanning the entire internet. The scans will come from 216.75.60.94.&lt;br /&gt;&lt;br /&gt;EDIT: Per a comment I realized I left alot of stuff out. Here ya go:&lt;br /&gt;I am scanning everything from 1.0.0.1 to 223.255.255.255.&lt;br /&gt;I am collecting hostname, IP address, OS type, and service version.&lt;br /&gt;As far as how long I have no idea, I am guessing somewhere around 100 days.&lt;br /&gt;&lt;br /&gt;I am aware Shodan offers this information now, I need to collect my own data for this project however.&lt;br /&gt;&lt;br /&gt;EDIT: This isn't a big deal. Researchers like us frequently scan the IPv4 address space. At any point in time, there are a few "white-hat" researchers doing such scans (we know of one other group currently conducting a scan), and many more "black-hats" doing it. The reason for this post is simply to be on record about it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-6214058710371021152?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/6214058710371021152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=6214058710371021152' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/6214058710371021152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/6214058710371021152'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/10/scanning-internet.html' title='Scanning the Internet'/><author><name>David Maynor</name><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>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-4104945114867517222</id><published>2011-10-09T01:20:00.005-05:00</published><updated>2011-10-09T04:51:18.690-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nerd'/><title type='text'>How geeky am I</title><content type='html'>These days, we have both 1080p hidef television, and plotlines with hackers. That means "code" appears frequently on the screen. Of course, if you read the code, it has nothing to do with the plot. The producers just grabbed a fragment off the net and stuck it in there for dramatization.&lt;br /&gt;&lt;br /&gt;In the pilot episode of the remake of &lt;i&gt;&lt;a href="http://www.imdb.com/title/tt1760943/"&gt;Charlie's Angels&lt;/a&gt;&lt;/i&gt;, one of the gals cracks an electronic safe by typing in a fragment of code. Here is a picture from the video:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-oEsVwAKvmPs/TpEza_N15yI/AAAAAAAAAdk/2ks8T9yP2WQ/s1600/sudoku-code.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-oEsVwAKvmPs/TpEza_N15yI/AAAAAAAAAdk/2ks8T9yP2WQ/s1600/sudoku-code.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;To a geek like me, two things jump out. The first is that this code includes a hard-coded random number generator &lt;span class="Apple-style-span" style="font-family: monospace; white-space: pre-wrap;"&gt;(i=1103515245*i+12345&amp;amp;0x7fffffff)/2147483648.0)&lt;/span&gt;. That's odd, why code your own instead of using the built-in random number generator known as "rand()"? That leads to the second observation: the code is deliberately obfuscated, possibly because it was an entry to the (now defunct) &lt;a href="http://www.ioccc.org/"&gt;Obfuscated C contest&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Because of the obfuscation, it was difficult googling it, but I eventually found the source at&amp;nbsp;this PasteBin link&amp;nbsp;&lt;a href="http://pastebin.com/ETeBXXGh"&gt;http://pastebin.com/ETeBXXGh&lt;/a&gt;. I copied it and listed it below. It's the only version of the code I could find. From the additional code, it appears probable that it's a generator/solver for Sudoku. I tried to run it, and didn't get any good results, because I don't know the data it expects. I could figure it out, but ...&lt;br /&gt;&lt;br /&gt;...now I'm bored with it. I found the code, I know it's something to do with Sudoku, that it's obfuscated, but I no longer care to find out the rest.&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;&lt;b&gt;Update:&lt;/b&gt; Bah! A malware analyst "ocean" found it &lt;a href="https://twitter.com/#!/_ocean/status/122956436635529216"&gt;https://twitter.com/#!/_ocean/status/122956436635529216&lt;/a&gt; on the IOCCC website &lt;a href="http://www.ioccc.org/2005/aidan/"&gt;http://www.ioccc.org/2005/aidan/&lt;/a&gt;. It probably took him the extra 30 seconds I wasn't willing to spend, it's obvious.&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;&lt;b&gt;Update:&lt;/b&gt; Check out Ian Eiloart's comment at the bottom. As he points out, Hollywood is a stickler for copyright. The Obfuscated C contest explicitly states that all submissions must be in the public domain. This makes it perfect for Hollywood: you get code fragments that both extremely geeky &lt;i&gt;and&lt;/i&gt; for which you don't have to worry about a lawyer serving your papers. Note that there is a "fair use" clause that means they don't always have to worry anyway. For example, my use of the picture from the show above is covered under "fair use", so I can use it without having to ask for permission.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;&lt;pre&gt;#include &amp;lt;stdio.h&gt;&lt;br /&gt;#include &amp;lt;stdlib.h&gt;&lt;br /&gt;&lt;br /&gt;#define N(I,l) s l]=(I?1&amp;lt;&amp;lt;I|I&amp;lt;&amp;lt;10:01776)&lt;br /&gt;#define f(a,t) for(a=0;a&amp;lt;t;a++)&lt;br /&gt;#define Su(d,o,ku) O(l/9,d) O(l%9,o) O(l%9/3+l/27*3,ku)&lt;br /&gt;#define NO ;printf("%c %s",I?I|48:46,++l%3?"":l%9?"| ":l%27?"\n":l%'Q'?z:"\n");&lt;br /&gt;#define Ba(k,a) {O||printf("!!! " #a " %i\n",k+1);goto l;}&lt;br /&gt;#define O(o,k) f(l,9) c[l]= *#k?0x3fe:-1;\&lt;br /&gt;  f(l,81) if(*#k){\&lt;br /&gt;    if(!(s]&amp;amp;c[o])) Ba(o,k) c[o]&amp;amp;=~(1&amp;lt;&amp;lt;(s]&gt;&gt;10));\&lt;br /&gt;  } else if((s]&gt;&gt;l0)&amp;amp;1) c[o]=c[o]+1?-2:l;\&lt;br /&gt;  if(*#k) { f(l,81) if(s]&gt;&gt;10||(s]&amp;amp;=c[o]),!s]) Ba(o,k) }\&lt;br /&gt;  else f(l,9) l[c]&amp;lt;0||s[c]]&gt;&gt;10||(N(l0,[c]),C++);&lt;br /&gt;&lt;br /&gt;struct{ int s[81],I,l,O; } S[0123];&lt;br /&gt;int I, l, l0, o, C, O=0, w=0, c[10], L; long i;&lt;br /&gt;char z[] = "\007      &amp;amp;       &amp;amp;      \n";&lt;br /&gt;&lt;br /&gt;#define s S].s[l&lt;br /&gt;&lt;br /&gt;int main(int n,char**N) {&lt;br /&gt;    S-&gt;O=0; L=n&gt;1?*N[1]-85?1:6:0; i=L&amp;amp;1?atol(N[1]):123;&lt;br /&gt;#define i (int)(81.0*(i=1103515245*i+12345&amp;amp;0x7fffffff)/2147483648.0)&lt;br /&gt;    for(l=C=0;l&amp;lt;81;) {&lt;br /&gt; I=L&amp;amp;1?0:getchar()^48; i; I=I-30?I:0;&lt;br /&gt; if(I&amp;lt;10) {&lt;br /&gt;  #define S S[O&lt;br /&gt;  if(C&amp;lt;22) z[C++]^=13; N(I,)NO&lt;br /&gt; }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    for(;;) {&lt;br /&gt; l0:&lt;br /&gt;        Su(row,col,box) C=l0=0;&lt;br /&gt; f(l,81) if(!(s]&gt;&gt;10&amp;amp;&amp;amp;++l0)) {&lt;br /&gt;   o=s]&amp;amp;1022; for(I=0;~o&amp;amp;1&amp;amp;&amp;amp;(o/=2);I++); o-1||(s]|=I&amp;lt;&amp;lt;10,C++);&lt;br /&gt; } if(l0==l) {&lt;br /&gt;   if(O&amp;amp;&amp;amp;L&amp;amp;2) { O--; goto l0; } goto O; &lt;br /&gt; } for(l0=1;10&gt;l0;l0++) { Su(,,) }&lt;br /&gt;&lt;br /&gt; if(!C) {&lt;br /&gt;     l=(o=S].O)?S].I:0; I=o?S].l%9+1:(S].O=i%9+1);&lt;br /&gt;     for(;l&amp;lt;81;l++,I=S].O,o=0) if(!(s]&gt;&gt;10)) {&lt;br /&gt;  for(;;I=I%9+1,o=1) {&lt;br /&gt;      l0=0; if(o&amp;amp;&amp;amp;I==S].O) goto O;&lt;br /&gt;      if(s]&gt;&gt;I&amp;amp;1) {&lt;br /&gt;   S].l=I; S++].I=l; S]=S-1];&lt;br /&gt;   N(I,); O&gt;w&amp;amp;&amp;amp;(w=O); goto lO;&lt;br /&gt;      }&lt;br /&gt;  }&lt;br /&gt;     }&lt;br /&gt; }&lt;br /&gt; lO: S].O=0; goto l0; l: if(!(l0=O)) { L=0; goto O; } O--;&lt;br /&gt; s,S].I] &amp;amp;=~ (1&amp;lt;&amp;lt;S].l);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    O: switch(L) {&lt;br /&gt; case 2: if(l0) {&lt;br /&gt; case 3: O=82;&lt;br /&gt;     for(S].l=l=i%81;l0||S].l-l;l=(l+1)%81)&lt;br /&gt;           O1: if(l0=0,S].O=s]&gt;&gt;10,~s]&amp;amp;1) {&lt;br /&gt;  s]=1023; S].I=l; S&amp;amp;0]=S]; w=O=0; L=2; goto lO;&lt;br /&gt;     }&lt;br /&gt;     L=0; l0=1;&lt;br /&gt; } else {&lt;br /&gt;     l=S=82].I; N(S].O,)|1; goto O1;&lt;br /&gt; }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    printf("\n\n"); for(l=0;l&amp;lt;81;) {I=s]&gt;&gt;10 NO}&lt;br /&gt;    printf("\n%s (stk %i %i)\n",l0?"Done":"No way!",O,w);&lt;br /&gt;    L|=2; if(L-3||!l0) return!l0; S,82]=S]; goto O;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;If you run it, and pass the source as the input "a.out &amp;lt; foo.c", you get the following output:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;. . 1 | 1 . . | 1 7 7&lt;br /&gt;6 . 9 | 9 9 3 | 2 7 3&lt;br /&gt;4 8 4 | 6 3 9 | 2 7 1&lt;br /&gt;------+-------+------&lt;br /&gt;9 . 3 | 1 8 1 | 1 1 .&lt;br /&gt;. 1 1 | 2 8 1 | 1 . 9&lt;br /&gt;. 1 . | . 8 1 | . 1 2&lt;br /&gt;------+-------+------&lt;br /&gt;3 . . | . 1 . | . . 7&lt;br /&gt;. . 1 | 1 8 5 | 1 6 .&lt;br /&gt;1 1 1 | 2 3 8 | 1 . .&lt;br /&gt;!!! row 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;. . 1 | 1 . . | 1 7 7&lt;br /&gt;6 . 9 | 9 9 3 | 2 7 3&lt;br /&gt;4 8 4 | 6 3 9 | 2 7 1&lt;br /&gt;------+-------+------&lt;br /&gt;9 . 3 | 1 8 1 | 1 1 .&lt;br /&gt;. 1 1 | 2 8 1 | 1 . 9&lt;br /&gt;. 1 . | . 8 1 | . 1 2&lt;br /&gt;------+-------+------&lt;br /&gt;3 . . | . 1 . | . . 7&lt;br /&gt;. . 1 | 1 8 5 | 1 6 .&lt;br /&gt;1 1 1 | 2 3 8 | 1 . .&lt;br /&gt;&lt;br /&gt;No way! (stk 0 0)&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-4104945114867517222?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/4104945114867517222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=4104945114867517222' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/4104945114867517222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/4104945114867517222'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/10/how-geeky-am-i.html' title='How geeky am I'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-oEsVwAKvmPs/TpEza_N15yI/AAAAAAAAAdk/2ks8T9yP2WQ/s72-c/sudoku-code.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-7828745148824567961</id><published>2011-10-06T16:02:00.039-05:00</published><updated>2011-11-03T17:03:04.058-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='twinkles'/><category scheme='http://www.blogger.com/atom/ns#' term='Occupy Wall Street'/><title type='text'>Independent reporting of #OccupyWallStreet</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-b-JorYxXXlk/To4SgucYIsI/AAAAAAAAAcg/lbZLlcDRTPw/s1600/Wall-Street-1.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="100" src="http://1.bp.blogspot.com/-b-JorYxXXlk/To4SgucYIsI/AAAAAAAAAcg/lbZLlcDRTPw/s200/Wall-Street-1.jpg" width="60" /&gt;&lt;/a&gt;&lt;/div&gt;I was unhappy with the poor journalistic coverage of the &lt;a href="http://en.wikipedia.org/wiki/Occupy_Wall_Street"&gt;&lt;b&gt;#OccupyWallStreet&lt;/b&gt;&lt;/a&gt; protests, so I went to Wall Street myself to see what’s going on, and report on it.&lt;br /&gt;&lt;br /&gt;It’s the quality of the coverage, not the amount that's the problem. It’s been on the nightly news every night for the past week, but there has been little “serious” reporting. &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-SomgbCNwdcs/To4QZfFYa-I/AAAAAAAAAcQ/45PVChFaIqY/s1600/WTM_tony_0128.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="133" src="http://4.bp.blogspot.com/-SomgbCNwdcs/To4QZfFYa-I/AAAAAAAAAcQ/45PVChFaIqY/s200/WTM_tony_0128.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;By “serious” reporting, I mean such things as contacting the park’s owners asking for an official statement.  &lt;b&gt;The protesters are occupying &lt;a href="http://en.wikipedia.org/wiki/Zuccotti_Park"&gt;Zuccotti Park&lt;/a&gt;,&lt;/b&gt; owned by the same company (&lt;a href="http://en.wikipedia.org/wiki/Brookfield_Office_Properties"&gt;Brookfield Office Properties&lt;/a&gt; &lt;a href="http://www.nyse.com/about/listed/quickquote.html?ticker=bpo"&gt;NYSE:BPO&lt;/a&gt;) that owns the adjacent skyscraper. An obvious step would be to contact them asking for a statement, but I could find no journalists that had yet done so. Well, if “journalists” aren’t going to do this, I can do this myself. I sent an email to their VP of Communications. I got a response, which I &lt;a href="http://erratasec.blogspot.com/2011/10/brookfield-properties-responds-re.html"&gt;posted to my blog&lt;/a&gt;. When I posted it, I also Googled the sentences from the official statement, and found no results. I was indeed the first one “reporting” on this. Since then, others have mentioned the official statement, probably by picking it up from the &lt;a href="https://twitter.com/#!/search/%23occupywallstreet"&gt;#OccupyWallStreet&lt;/a&gt; Twitter hashtag that links to my blog. &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-JoLWqrhVfNU/To4PRr8IAqI/AAAAAAAAAcM/SNDhKxymKgs/s1600/trash+piled+up.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://3.bp.blogspot.com/-JoLWqrhVfNU/To4PRr8IAqI/AAAAAAAAAcM/SNDhKxymKgs/s200/trash+piled+up.png" width="151" /&gt;&lt;/a&gt;&lt;/div&gt;Brookfield's official statement expressed their frustration with how the protesters were breaking the rules of the park (my blog post shows a picture I took of the posted rules). In particular, they haven’t been able to do their daily maintenance and cleaning of the park for the past three weeks. For a reporter, that leads to the obvious question: is the park staying clean? and if so, how? The answer reporters would find is this: the protesters themselves are taking care of this. They are exhorting people to not litter, they are making sure the trash cans have fresh bags and patrol the park picking up litter. They make sure the &lt;b&gt;trash bags are set out in the right place&lt;/b&gt; to be picked up  by the city’s garbage service&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-otVc6oTRfpM/To4C28ZHnWI/AAAAAAAAAb4/Gupuxtcjvog/s1600/LibertyPlaza500.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="87" src="http://2.bp.blogspot.com/-otVc6oTRfpM/To4C28ZHnWI/AAAAAAAAAb4/Gupuxtcjvog/s200/LibertyPlaza500.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;If I were a reporter, I would then follow this thread:  The protest started as a chaotic event put together haphazardly via Twitter and the Internet, with no actual leader. How, then, were they able to organize a garbage detail? The answer is self-organization. Protestors have developed a General Assembly of all the people that gives authority to the “Central Committee,” made up from the hard-core protesters who are sleeping in the park night after night. The Central Committee has many subcommittees, like the “Media Team” responsible for recording the proceedings or the “Arts and Culture Committee”, responsible for making signs and running the drum circle, and the "Sanitation Committee" team keeping the park clean. &lt;b&gt;They have organized the park into specific areas&lt;/b&gt;, dedicated to different tasks.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://youtu.be/jVygqjyS4CA" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="193" src="http://3.bp.blogspot.com/-dV9K-85M6NU/To4hr1BYaNI/AAAAAAAAAc8/Iy0WW9e0kio/s200/life-of-brian.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;Let’s follow this thread even further. The protesters aren’t allowed to have a bullhorn or loudspeaker. How, then, can a person address the General Assembly, in the middle of a bustling city, reaching the hundreds of protesters spread throughout the park? The answer is the “People’s Microphone”. A speaker speaks in short phrases. Those nearby then repeat the phrases, shouting so that those in back can hear. The People’s Mic  is powerfully emotional, driving home the point of solidarity. Although, it’s occasionally ironic when a speaker says things like &lt;b&gt;“&lt;a href="http://youtu.be/jVygqjyS4CA"&gt;we are all individuals&lt;/a&gt;”&lt;/b&gt; or “we must think for ourselves”.&lt;br /&gt;&lt;br /&gt;More than just the amplifying the voice, there is a system for selecting speakers. There is a "Stack" of speakers expressing desire to speak, with their position on the stack dynamically adjusted so that all points of view get equal time, or so that shy women get pushed ahead in the stack to counterbalance loud males. The audience gives feedback, from up/down thumbs, to raised hands with wiggling fingers ("&lt;a href="http://erratasec.blogspot.com/2011/10/defcon-speakers-guide-to.html"&gt;twinkles&lt;/a&gt;") to express enthusiastic support, like clapping, but without drowning out the speaker with noise. (Apparently, this structure was inspired by the Spain "&lt;a href="http://en.wikipedia.org/wiki/Indignados"&gt;Indignados&lt;/a&gt;" protests from back in May.)&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-8xuIyv6oVsQ/To46KIUP1gI/AAAAAAAAAdA/ZrYi5JTJKhU/s1600/livestream+general+assembly.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="180" src="http://4.bp.blogspot.com/-8xuIyv6oVsQ/To46KIUP1gI/AAAAAAAAAdA/ZrYi5JTJKhU/s320/livestream+general+assembly.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;This organization is visible on the&lt;a href="http://www.livestream.com/globalrevolution"&gt; live streaming video&lt;/a&gt; &lt;/b&gt;and other efforts the Media Team has used to exploit social media to their cause. Inspired by the New York occupation, other groups in most major cities have already started their own occupations, or plan to do so soon. In my own Atlanta, they plan for this coming Friday. These new occupations share the same organization, e.g. the General Assembly, the People’s Microphone. When somebody writes the definitive book on this, I’m sure this organization model will become a blueprint for protests years from now.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-nTPRBbuSPzw/To4RtaUanCI/AAAAAAAAAcY/N8Brt570jNQ/s1600/6202490104_56b0fae700_o.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="132" src="http://2.bp.blogspot.com/-nTPRBbuSPzw/To4RtaUanCI/AAAAAAAAAcY/N8Brt570jNQ/s200/6202490104_56b0fae700_o.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;As time has gone on, established liberal/progressive organizations have lent their support to the occupiers. &lt;b&gt;The crude hand-made signs from the first couple weeks are giving way to slick printed placards.&lt;/b&gt; The question is, as time goes on, will the movement be lead by the hard-core who slept night after night on the cold hard ground and who have worked to create their own organization, or will it cede control to established political operatives? As we saw with the Tea Party, a grass roots effort was quickly hijacked by skilled politicos.&lt;br /&gt;&lt;br /&gt;The point I’ve been trying to make with the last few paragraphs is that there is a “story” here. I started with the obvious task of asking the owner of the park for an official statement about the occupiers of the last three weeks, and following those threads, I saw a story emerge that is different than the standard narrative of “just-another-protest”.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-qyHyUh2buHc/To4MhDXamsI/AAAAAAAAAcE/mgyM8By4QIM/s1600/alg_occupy-wall-street-police-plaza.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="133" src="http://1.bp.blogspot.com/-qyHyUh2buHc/To4MhDXamsI/AAAAAAAAAcE/mgyM8By4QIM/s200/alg_occupy-wall-street-police-plaza.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;There are many other aspects of this that go unreported. One I find especially important is the loving nature of the protest. If you look at &lt;b&gt;photographs in the news, you see the typical angry protester&lt;/b&gt;. This is the sort of action shot newsrooms prefer, i.e., showing the emotion of the scene.&lt;br /&gt;&lt;br /&gt;But the protest isn’t angry. Quite the opposite, it is loving and accepting. If you go up to protesters with the opposite political view and debate them, they will express their undying love for you and ask for you to join them to increase the diversity of viewpoints. I did this myself, and watched this happen to others, including cops. This attitude pervades everything they do, and is frequently reinforced by the hard-core occupiers.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-ebeCuH9rbmY/To46o8xxKdI/AAAAAAAAAdE/LD6wVErQqD4/s1600/BurningMan-picture.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="133" src="http://2.bp.blogspot.com/-ebeCuH9rbmY/To46o8xxKdI/AAAAAAAAAdE/LD6wVErQqD4/s200/BurningMan-picture.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;This is the opposite of what happened during the protests against the Iraq war, the protests against the last Republican convention in New York or the violent protests during every G8 summit. Not only is this different than most other protests, it is the similar to the &lt;b&gt;hyper-tolerant “&lt;a href="http://en.wikipedia.org/wiki/Burning_man"&gt;Burning Man&lt;/a&gt;” festival&lt;/b&gt; that takes place in the Nevada desert every summer. Whether it’s Burning Man or Occupy Wall Street, there is a cultural shift somewhere here. Now I feel compelled to go to Burning Man next year, just to track this thread down.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-GeOnNmLQCUk/To5ADWx9zGI/AAAAAAAAAdY/F5XTE1GXyNc/s1600/hitlers+banker+wall+st.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://2.bp.blogspot.com/-GeOnNmLQCUk/To5ADWx9zGI/AAAAAAAAAdY/F5XTE1GXyNc/s200/hitlers+banker+wall+st.png" width="171" /&gt;&lt;/a&gt;&lt;/div&gt;In many ways, the press treats this protest the way they treated the Tea Party, completely distorting the story. Journalists ignored the mainstream of the Tea Party and instead focused on the &lt;b&gt;fringe&lt;/b&gt;. Instead of showing the hundreds of signs calling for smaller government, reporters instead focused on the one sign showing Obama as Hitler. In the end, this reporting became self-fulfilling. The Republican fringe disaffected with the establishment were convinced by this reporting, believing that they, too, should join the Tea Party, thus derailing it.&lt;br /&gt;&lt;br /&gt;This is a particular danger to the Occupation movement. They still haven’t defined themselves, and risk letting the press define the movement for them&lt;b&gt;.&lt;/b&gt; They started out with the idea that occupying Wall Street for weeks would be a good way to get their message out, but they are still trying to come to consensus on what, precisely, their message is. The press (and critics) claim they need a message and that they need a concrete list of demands, but I’m not sure that’s true. This is something else, something new, something that doesn’t need to be defined by the old.&lt;br /&gt;&lt;br /&gt;In that way, it’s like the Internet. When the Internet appeared on the scene 20 years ago, it wasn’t like anything that predated it. Yes, you could define it in terms of the old, as a digital library, as an electronic form of mail, or as a communications network, but none of these descriptions captures the essence of what the Internet really is.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-j_LZhsDuyTs/To47qFb7VgI/AAAAAAAAAdQ/_joqOztfncA/s1600/filter-bubble.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="158" src="http://4.bp.blogspot.com/-j_LZhsDuyTs/To47qFb7VgI/AAAAAAAAAdQ/_joqOztfncA/s200/filter-bubble.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;In particular, there is the problem with the “&lt;a href="http://www.thefilterbubble.com/ted-talk"&gt;&lt;b&gt;filter bubble&lt;/b&gt;&lt;/a&gt;”. While the Internet can expand a person’s universe, it gives people the power to shrink it. People create a “filter bubble” around themselves, using tools of the Internet to pass only those things they agree with. For example, Google watches what people search for, profiling them, and sorts the results for that individual. They see their own small universe reflected back, rather than the big universe.&lt;br /&gt;&lt;br /&gt;That’s why, despite appearing nightly in the news, the occupiers feel the press is ignoring them. This protest has become the most important thing in the world -- among the people in their filter bubble and those in their social network. It becomes difficult for them to imagine that this isn’t the most interesting thing to everyone else as well. They apparently don’t comprehend that the  “news” just reflects what the organizations think their audience wants to hear. If the public doesn’t seem to care, neither does the press.&lt;br /&gt;&lt;br /&gt;There is much more to this filter bubble. An obvious problem is that people filter out opposing political views. But they also filter out intellectual arguments that otherwise agree with them. They’ve filtered their view of the world so that political arguments are black-and-white, rather than grey. In their filtered view, politics is about propaganda and rhetoric, rather than debate. &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-fLbodCxccbY/To4OWtjON2I/AAAAAAAAAcI/QRYIrR_SD7M/s1600/review-economics-krugman.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://2.bp.blogspot.com/-fLbodCxccbY/To4OWtjON2I/AAAAAAAAAcI/QRYIrR_SD7M/s200/review-economics-krugman.JPG" width="151" /&gt;&lt;/a&gt;&lt;/div&gt;I interviewed the hard-core protesters, those sleeping in the park overnight. I found only propaganda. They could repeat word-perfect the propaganda about the &lt;a href="http://en.wikipedia.org/wiki/Troy_davis"&gt;execution of Troy Davis case&lt;/a&gt;, but none of the details from the Wikipedia entry on the case. They could repeat the propaganda of &lt;a href="http://www.algore.com/"&gt;Al Gore&lt;/a&gt; on Global Warming, but none of the science from the &lt;a href="http://www.ipcc.ch/"&gt;UN IPCC&lt;/a&gt; that declares the scientific consensus on the issue. They could repeat the economics of &lt;a href="http://en.wikipedia.org/wiki/Michael_moore"&gt;Michael Moore&lt;/a&gt;, but not that of Paul Krugman, Nobel laureate, writer of the popular liberal/progressive blog “&lt;a href="http://krugman.blogs.nytimes.com/"&gt;Conscience of a Liberal&lt;/a&gt;” at the &lt;i&gt;New York Times&lt;/i&gt; and author of a&lt;b&gt; &lt;a href="http://www.amazon.com/Economics-Paul-Krugman/dp/0716771586"&gt;college textbook&lt;/a&gt; giving an introduction to economics&lt;/b&gt;. For example, the protesters say “the rich get richer but the poor get poorer,” whereas Krugman says “&lt;a href="http://krugman.blogs.nytimes.com/2007/09/11/the-rich-get-richer-and-the-poor-go-nowhere/"&gt;the rich get richer but the poor go nowhere&lt;/a&gt;”. This is due to a profound disagreement about a basic economic concept and the economic data.&lt;br /&gt;&lt;br /&gt;As the protesters try to define themselves in order to come up with a coherent political platform, they are hindered by this filter bubble. The forces will drive them to come up with something that excites their small group, but which will prove unacceptable to the larger world. I think they have to learn to reach outside their bubble if they want to actually influence things and  to become to the Democrat Party what the Tea Party is to the Republican Party.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-9i1eckj1UwI/To4JvEB71yI/AAAAAAAAAcA/kgaAgXdGkm4/s1600/Webcomic_xkcd_-_Wikipedian_protester.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="173" src="http://2.bp.blogspot.com/-9i1eckj1UwI/To4JvEB71yI/AAAAAAAAAcA/kgaAgXdGkm4/s320/Webcomic_xkcd_-_Wikipedian_protester.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;I get the impression that the &lt;b&gt;entire Occupy Wall Street movement needs a “&lt;a href="http://en.wikipedia.org/wiki/Wikipedia:Citation_needed"&gt;[citation needed]&lt;/a&gt;” footnote&lt;/b&gt;.  Wikipedia uses this technique to allow anybody to challenge an unsupported assertion. Anybody can insert this footnote, expressing to the reader that (as yet) the assertion isn’t supported. Anybody else can find supporting evidence, and replace the [citation needed] to a footnote pointing to a reliable source. If no citation can be found, the assertion is eventually deleted.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-IQDTB3HE6j8/To4SyW3pAiI/AAAAAAAAAck/JhLxz9DL-pg/s1600/220px-Muammar_al-Gaddafi_at_the_AU_summit.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://4.bp.blogspot.com/-IQDTB3HE6j8/To4SyW3pAiI/AAAAAAAAAck/JhLxz9DL-pg/s200/220px-Muammar_al-Gaddafi_at_the_AU_summit.jpg" width="132" /&gt;&lt;/a&gt;&lt;/div&gt;I’m concerned by the lack of scholarship because of the history of populism. The occupiers were inspired by the Arab Spring, where the people took their countries back from powerful dictators. But they forget that those dictators similarly took power at the head of populist movements that removed their predecessors and that they ruled “in the name of people”. Colonel Gaddafi didn't promote himself to General because that was&amp;nbsp;presumptuous, &lt;b&gt;he was just a man of the people&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;I found the occupiers had the same totalitarian attitude, though they don’t see it as totalitarian. Yes, their loving acceptance of those who disagree with them is astonishing, but it’s totalitarian. It asks that people give up their individuality to the state the occupiers are creating. Rather than free speech, the protest has a sort of "managed speech" to make sure everyone has equal time. There is also the flip side, that not to join the movement or to disagree with the protesters means that you are working against the interest of the people.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-rnczn0cHJc4/To48YevNzEI/AAAAAAAAAdU/rHf1PlPaTmQ/s1600/Robespierre.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://3.bp.blogspot.com/-rnczn0cHJc4/To48YevNzEI/AAAAAAAAAdU/rHf1PlPaTmQ/s200/Robespierre.jpg" width="157" /&gt;&lt;/a&gt;&lt;/div&gt;We have seen this before in history, such as during the French Revolution and the &lt;a href="http://en.wikipedia.org/wiki/Reign_of_Terror"&gt;Reign of Terror&lt;/a&gt;. After they ran out of nobles, the &lt;b&gt;Committee for Public Safety&lt;/b&gt; started beheading political rivals -- even those of their own party who helped overthrow the royalty. Their implicit thinking was this: I support the people. Therefore, if you disagree with me, you are acting against the people and must be beheaded. Or to paraphrase in the modern idiom, “you are either with us or against the people”.&lt;br /&gt;&lt;br /&gt;The protesters have been settling on the idea that the conflict is the 99% against the 1%. But since the country is evenly divided between Democrat and Republican, they represent, at best, the interests of 50% against the 1%. No matter how poor, Republicans don’t see socialism as being in their own interests. Instead of chanting "We are the 99%" they should be chanting "We are the 50%", but they seem immune to seeing things from this perspective.&lt;br /&gt;&lt;br /&gt;I &lt;a href="http://erratasec.blogspot.com/2011/09/i-was-just-threatened-by.html"&gt;personally experienced this&lt;/a&gt; duality between populism and totalitarianism. I had chosen a table in an empty area away from the crowd to type up my notes. I didn’t realize it, but it was near the General Assembly area that would soon become crowded. Members of the Media Team came up to me and insisted I move, so that they could set up a tripod and camera on the table to take pictures of the General Assembly. I refused. I tried to do this as nicely as possible, with a pleasant demeanor, but of course, I was being a jerk. I didn't like they way they insisted, but also I wanted to test them, to see what would happen when somebody didn't go along with their demands.&lt;br /&gt;&lt;br /&gt;Of the three people, one was nice. He smiled, shook my hand, and said “peace”. I’ll bet he’s been to Burning Man. But the other two were nasty. The second guy, visibly twitching in anger, made unspecified threats that I had better move. The third person, tried to argue. She claimed that the protest had prior right to this spot, since they had been occupying the park for weeks (a fallacious argument, since the owners declare the park open to everyone equally). She then argued that this was for the entire group, to get the word out about the protest, to which I answered that I’m not part of the protest, that I don’t share their views. Her final argument was the totalitarian argument: this is for the people. She then proceeded to say that she was going to setup the tripod anyway, and that if I didn’t move, she would accidentally step on my laptop computer, because her attention would be on taking pictures and not where she was stepping.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-BghW85K4Akw/To4TX-t5sLI/AAAAAAAAAco/v7ODYAXLY-8/s1600/275px-Nolan-chart.svg.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://4.bp.blogspot.com/-BghW85K4Akw/To4TX-t5sLI/AAAAAAAAAco/v7ODYAXLY-8/s200/275px-Nolan-chart.svg.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;Again, I admit to being a jerk here. But I’m a &lt;a href="http://en.wikipedia.org/wiki/Nolan_chart"&gt;libertarian&lt;/a&gt;, which means I’m interested in the connection between &lt;b&gt;populism and totalitarianism, which we libertarians see as the same thing&lt;/b&gt;. I wanted to experiment with it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Back to reporting. I see it as a struggle between the “story” and some sort of “narrative”. Take, for instance, the most reported event of the protest, the arrest of 700 protesters as they tried to cross the Brooklyn Bridge. However you treat the story, you have to struggle with the “narrative” that “police oppress protesters”. Here’s what happened. The occupation is of the park in Wall Street. Last Saturday they marched from there intending to go to the park right on the other side of the Brooklyn Bridge, then back again. The march was planned ahead of time. The protest leaders talked to the police about it. The police told them to stay off the roadway to avoid blocking traffic, and instead use the pedestrian walkway one level above the roadway. The protest leaders widely communicated this to other protesters.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-T8VZM-Y6MAo/To4UKfvS7-I/AAAAAAAAAcs/0Q27k362xZQ/s1600/yfrog.com-b8ifh.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://1.bp.blogspot.com/-T8VZM-Y6MAo/To4UKfvS7-I/AAAAAAAAAcs/0Q27k362xZQ/s200/yfrog.com-b8ifh.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;But at the same time, some protesters were hoping for a confrontation with the police, because mass arrests would get them on the news (I overheard two protesters discussing this). Others were passing out pamphlets on what to do when arrested and &lt;b&gt;urging people to write the phone number of the National Lawyers  Guild on their arm&lt;/b&gt;. Some of those arrested were among the Central Committee, who would have been the most likely to have known they should not have been on the roadway.&lt;br /&gt;&lt;br /&gt;When the protest happened, many protesters followed the correct path above the roadway, but many others incorrectly chose the roadway. After about 700 had taken to the roadway, the police closed off both ends of the bridge, preventing them from escaping and arrested them all. Eventually the errant protesters were given summons for causing a public disturbance.&amp;nbsp;Protesters accuse the police of causing the problem by letting protesters out onto the roadway in the first place rather than informing them to take the pedestrian way. They also point out that shutting down the bridge for hours caused much more of a public disturbance than letting the protesters pass for 15 minutes. Regardless of any &lt;i&gt;agents provocateurs&lt;/i&gt; on both sides, though, it’s a good bet that the bulk of the 700 who got arrested were just sheep, going along with the crowd.&lt;br /&gt;&lt;br /&gt;For me, that’s the “narrative”: stupidity and ignorance on both sides cause things like this, rather than malicious intent -  barring a few on both sides who want to see the problem escalate.&lt;br /&gt;&lt;br /&gt;The arrests themselves were interesting. The protesters above, on the pedestrian level, were not arrested, but shouted/chanted encouragement to those below. There was confusion about how to act during the arrests. Should they do so in the nice, polite, accepting manner that defines the niceness of the movement? Or should they act like traditional protesters, lock arms, and passively resist? They seemed to be split half and half. Again, I blame the media: protesters watch the news, and try to copy how they see protesters act, making the news retroactively correct.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-NQMUy4glRRY/To4VwOYN_6I/AAAAAAAAAcw/VnNqdrwggCM/s1600/standoff+with+cameras.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="213" src="http://2.bp.blogspot.com/-NQMUy4glRRY/To4VwOYN_6I/AAAAAAAAAcw/VnNqdrwggCM/s320/standoff+with+cameras.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;That “the revolution will not be televised” is a famous political song describing the 1960s political movement. The 2011 alternative is a revolution on Flickr, Tumblr, and streamed live. Look at the photographs from the bridge arrests. Almost everyone, both among the protesters and the police, has  either traditional cameras or smart phones. &lt;b&gt;You see a standoff between the police and the protesters, with each side pointing cameras at the others.&lt;/b&gt; Pictures taken facing into the crowd show a sea of cameras facing right back. Every one of these cameras is connected to cyberspace. Some of them even use applications to send the pictures and videos live to the Internet, so they are preserved even if the police confiscate the cameras and delete the pictures.&lt;br /&gt;The Internet is a force multiplier. There are actually only a couple hundred protesters sleeping night after night in the park. But their hard-core determination inspires a couple thousand during the day, 10,000 watching the live stream, and a 100,000 participating via social media.&lt;br /&gt;&lt;br /&gt;In one &lt;a href="http://www.observer.com/2011/10/exclusive-occupy-wall-street-activist-slams-fox-news-anchor-in-un-aired-interview-video/"&gt;incident&lt;/a&gt;, there was a traditional news team from Fox News, trying to do an interview. The interviewee went on a tirade against Fox News. Those within the filter bubble of the protest loved it, but of course, it’s perfectly useless to a news station reporting on the protest.What I found interesting about this incident was the claim by the Fox News reporter that the protesters can’t get their message out without the mainstream media. But that's false. The protesters are getting the message out via the Internet just fine. Indeed, neglect is preferable to the distortions as the media tries to pigeonhole the protest into their preferred narratives.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-LSwVSSAw11Q/To5qbG1kXkI/AAAAAAAAAdc/0XNvsCcT1AA/s1600/what+have+the+romans+done+for+us.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://4.bp.blogspot.com/-LSwVSSAw11Q/To5qbG1kXkI/AAAAAAAAAdc/0XNvsCcT1AA/s200/what+have+the+romans+done+for+us.jpg" width="133" /&gt;&lt;/a&gt;&lt;/div&gt;By the way, while Wall Street may be responsible for bad things, it is Wall Street who financed putting a million miles of fiber optic cables crisscrossing continents and under oceans. It is Wall Street that financed the thousands of cell towers. It is Wall Street from which venture capital comes to finance startups like Twitter. Thus, tweeting “&lt;b&gt;Down with capitalism&lt;/b&gt;” from your iPhone for those around the word to read seems to be the most ironic thing a person can do. The live stream from the protest site, shared with 12,000 (at this moment) people across the Internet is a testament to Wall Street's allocation of capital that these protesters fight against. [&lt;a href="http://youtu.be/ExWfh6sGyso"&gt;Obligatory Monty Python reference&lt;/a&gt;]&lt;br /&gt;&lt;br /&gt;That the protest is dominated by Internet savvy youths exploiting social media is frequently mentioned. But what is not mentioned is the fact that the protesters are overwhelmingly college students, or recent graduates who still haven’t found jobs. They aren’t just any college students, but the stereotypical sort that you might expect to be involved in campus activism, such as graduate students in “Gender Studies.” I found nobody with engineering or science degrees, but many from arts and acting colleges. After talking with one guy for a while about unemployment and his difficult in finding a job after college, I found out that he was a “poet.” I’m not sure he understood that employers aren’t looking to hire poets. The only person I met that had a political science degree was one of the police officers “keeping the peace.”&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-RoSu9OTpN0k/To4WlLoqo6I/AAAAAAAAAc0/Rzf7ERFD2z0/s1600/dQqP3l.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="133" src="http://2.bp.blogspot.com/-RoSu9OTpN0k/To4WlLoqo6I/AAAAAAAAAc0/Rzf7ERFD2z0/s200/dQqP3l.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;The protesters are also predominantly white with blacks underrepresented. On the flip side, blacks are over-represented in the police force. The protesters often compare themselves to the Civil Rights Movement, but the &lt;b&gt;photographs of the recent arrests often show black policemen arresting white protesters&lt;/b&gt;. I don’t know if this is a vindication of the Civil Rights Movement or if there is still more work to go, to get the blacks better ensconced in middle-class American to send their kids off to college with that combination of privilege and entitlement that turns them into protesters.&lt;br /&gt;&lt;br /&gt;The makeup of the protesters also led to amusement among the cops, stationed in pairs on all four sides of the park. For some, their normal beat is in the poor areas of New York City. The police, who daily see the struggle of the real poor, had little use for protesters complaining about jobs while they carried around expensive MacBook computers paid for by their parents.&lt;br /&gt;&lt;br /&gt;I mention the racial makeup for a specific reason. The Tea Party was also predominantly white, which was frequently reported in the news, despite the fact that guidelines tell reporters to avoid mentioning race when it’s not relevant. They nonetheless reported it because it fit the narrative they wanted to tell about the Tea Party (that it has a racist component). In much the same way, they don’t mention the racial makeup of the Occupation because it doesn’t fit their narrative.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-JYO0bykwOzQ/To4Wx4w7p-I/AAAAAAAAAc4/FV9BMj9drdY/s1600/i.imgur.com-aqbdk.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="213" src="http://2.bp.blogspot.com/-JYO0bykwOzQ/To4Wx4w7p-I/AAAAAAAAAc4/FV9BMj9drdY/s320/i.imgur.com-aqbdk.jpg" width="320" /&gt;&lt;/a&gt;Every night is like a blowout bash you organized in college. After everyone has gone home or passed out, you sit on the top of the dorm with close friends, too excited to sleep, but too tired to do anything else but sit around in small groups and chat. That’s the vibe from the park at 2 a.m.: Quiet hours started at 10 p.m., most everyone has left, many are now asleep over there in the sleeping areas, but many are still too excited to go to sleep themselves. &lt;b&gt;They huddle together in intimate groups around the park, discussing things&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;I think it’s the &lt;b&gt;intimacy &lt;/b&gt;and restrained excitement at night that is part of the real story here, not the hubbub during the day that the press tries to mold into their narrative of just-another-protest. What makes this different are those protestors staying night after night in the park. Yet, news reporters flock the scene at 2 p.m., but are absent at 2 a.m. I can’t understand why somebody like the &lt;i&gt;New York Times&lt;/i&gt; isn’t sending a reporter down there to embed themselves in the occupation, sleeping there for a week and perhaps writing a Pulitzer prize-winning story. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Conclusion&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here's my point: the press and pundits have already decided on the "narrative" that's independent of what's really going on. For example, many Republicans and Fox News commentators insist that this is "planned" by the left for some nefarious purpose. It isn't (although that might change if politicos seize control of the occupation). Conversely, the Left has a narrative about police oppression that isn't quite right, either.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;I see a different narrative.&lt;/b&gt; The love and acceptance of dissenting views is huge. The intimacy of the occupation over night is amazing. The excitement from the live stream and Twitter feed is&amp;nbsp;infectious. The populism hinting at totalitarianism is frightening. The occasional irony is amusing. More citations are needed.&lt;br /&gt;&lt;br /&gt;I think there is something interesting going on here. It’s not just another protest. I think it’s a more enduring addition to our culture. A decade from now, when the U.S. invades France over a cheese dispute, protesters will “occupy” the streets using the same principles being developed now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-7828745148824567961?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/7828745148824567961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=7828745148824567961' title='64 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7828745148824567961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7828745148824567961'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/10/independent-reporting-of.html' title='Independent reporting of #OccupyWallStreet'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-b-JorYxXXlk/To4SgucYIsI/AAAAAAAAAcg/lbZLlcDRTPw/s72-c/Wall-Street-1.jpg' height='72' width='72'/><thr:total>64</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-808504753160655848</id><published>2011-10-05T16:36:00.006-05:00</published><updated>2011-10-10T18:48:33.533-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Anonymous'/><title type='text'>@Anonymous's war against the New York Stock Exchange</title><content type='html'>The hacker collective known as "Anonymous" (sic) has declared war on the New York Stock Exchange (NYSE), promising to "erase" it from the Internet this October 10th (in support of &lt;a href="http://erratasec.blogspot.com/2011/10/independent-reporting-of.html"&gt;#OccupyWallStreet&lt;/a&gt;). Should we be afraid of this threat?&lt;br /&gt;&lt;br /&gt;No. Hackers who can, do. Those who can't, make threats.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;The most likely threat would be a massive DDoS attack, like that Anonymous did against PayPal. In that attack, they posted a program called LOIC on various forums. Activists downloaded it, ran it on their computers, which then flooded PayPal with traffic. That attack affected PayPal briefly, but at the same time, it left fingerprints behind identifying people running LOIC. The FBI followed up and arrested many of these activists. It's not something activists would be willing to do again on a large scale.&lt;br /&gt;&lt;br /&gt;Unlike PayPal, the NYSE website is not the real NYSE. You can blow it up with explosives and you won't affect trading. Such a flood could "erase" it temporarily from the Internet, but everyone would yawn.&lt;br /&gt;&lt;br /&gt;There are more practical things that could be done, but here's the thing. If you could do it, you could make billions of dollars.&lt;br /&gt;&lt;br /&gt;For example, there are a lot of trader terminals connected more deeply with actual trading network, which is completely disconnected from the NYSE website and the Internet. Such a system could be subverted and cause minor disruptions with trades. Even major disruptions can quickly be fixed: simply shut down the exchange, fix the problem, and bring it back up again. 9/11 disabled NYSE, and it came back a few days later. I doubt there is a way to permanently "erase" it.&lt;br /&gt;&lt;br /&gt;But if you could do that, you could do something better. If you weren't interested in making money, the thing to do wouldn't be to DoS the stock exchange, but let them DoS themselves. Corrupt trades in a way that's undetected for as long as possible. The various counterparties would then be locked up in lawsuits for the next decade.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;So technically, how could a hacker get inside the network?&lt;br /&gt;&lt;br /&gt;The NYSE runs a completely separate network. Well, lots of people say this, like the operators of the power grid, and it's rarely true. But it's true in the case of the NYSE: I doubt hackers will find a way from the Internet into the NYSE private network.&lt;br /&gt;&lt;br /&gt;But, there are lots of things on the NYSE private network, such as terminals on the desks of traders among the members of the NYSE. If a hacker could get physical access to one of those terminals, he could do a lot of damage.&lt;br /&gt;&lt;br /&gt;The backend computers aren't the sorts hackers have experience with. Instead, they are things like AS/400 from IBM or "nonstop himalaya servers" from HP. These are actually FULL of vulnerabilities. It's astonishing how weak they are. But nobody knows, because the vendors assure customers they are secure, no hackers have challenged this impression (because they can't afford $100,000 for a system to test with), and nobody really cares, because they think the network is secure from outsiders.&lt;br /&gt;&lt;br /&gt;Thus, a good hacker, one who can reverse engineer and write custom shellcode, will find that the network is actually fairly open. But the casual script kiddies like Anonymous aren't likely to find success.&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;&lt;b&gt;Update:&lt;/b&gt; It was a non-event, reported on here:&lt;br /&gt;&lt;br/&gt; &lt;a href="http://www.chicagotribune.com/business/breaking/chi-anonymous-takes-down-nysecom-for-1-minute-20111010,0,1627656.story"&gt;http://www.chicagotribune.com/business/breaking/chi-anonymous-takes-down-nysecom-for-1-minute-20111010,0,1627656.story&lt;/a&gt;&lt;br /&gt;&lt;br/&gt; &lt;a href="http://www.forbes.com/sites/chrisbarth/2011/10/10/blink-and-you-missed-it-anonymous-attacks-nyse/"&gt;http://www.forbes.com/sites/chrisbarth/2011/10/10/blink-and-you-missed-it-anonymous-attacks-nyse/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-808504753160655848?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/808504753160655848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=808504753160655848' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/808504753160655848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/808504753160655848'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/10/anonymouss-war-against-new-york-stock.html' title='@Anonymous&apos;s war against the New York Stock Exchange'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-6566857002154810029</id><published>2011-10-04T15:17:00.015-05:00</published><updated>2011-11-16T19:25:41.783-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Occupy Wall Street'/><title type='text'>Brookfield Properties responds re: #OccupyWallStreet</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-JeS8TqXA8R4/Tot7x1BlsQI/AAAAAAAAAb0/sgB5MpFkygQ/s1600/zuccotti-park-rules.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="297" src="http://1.bp.blogspot.com/-JeS8TqXA8R4/Tot7x1BlsQI/AAAAAAAAAb0/sgB5MpFkygQ/s320/zuccotti-park-rules.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;i&gt;(For my complete report on the protest, click &lt;a href="http://erratasec.blogspot.com/2011/10/independent-reporting-of.html"&gt;here&lt;/a&gt;.)&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;The &lt;a href="http://en.wikipedia.org/wiki/Occupy_Wall_Street"&gt;#OccupyWallStreet&lt;/a&gt; protest is in fact occupying &lt;a href="http://en.wikipedia.org/wiki/Zuccotti_Park"&gt;Zuccotti Park&lt;/a&gt;, a private park owned by Brookfield Office Properties. I couldn't find an official statement from them on the protest, so I sent an e-mail to their Communications department. This is the e-mail I got in response:&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;blockquote&gt;Robert,&lt;br /&gt;Thanks for your note. Here is our statement:&lt;br /&gt;&lt;br /&gt;As the owner of Zuccotti Park, Brookfield Office Properties is committed to maintaining a clean and safe environment for the public to enjoy.&lt;br /&gt;&lt;br /&gt;For more than two weeks, protestors have been squatting in the park.  Brookfield recognizes people's right to peaceful protest; however, we also have an obligation to ensure that the park remains safe, clean, and accessible to everyone.&lt;br /&gt;&lt;br /&gt;Basic rules intended to keep the park safe, open, clean, and welcoming to all visitors are clearly posted.  These rules include bans on the erection of tents or other structures, as well as the placement of tarps, sleeping bags or other coverings on the property. Lying down on benches, sitting areas or walkways is likewise prohibited. Unfortunately, many of the individuals currently occupying the grounds are ignoring these basic yet necessary requirements, which interferes with the use of the park by others, including local residents, office workers, and visitors.&lt;br /&gt;&lt;br /&gt;Sanitation is a growing concern.  Normally, the park is cleaned and inspected every weeknight.  This process includes power washing, litter removal, landscaping and other maintenance as required.  Because many of the protestors refuse to cooperate by adhering to the rules, the park has not been cleaned since Friday, September 16, and as a result, sanitary conditions have reached unacceptable levels.&lt;br /&gt;&lt;br /&gt;We continue to work with the City of New York to address these conditions and restore the park to its intended purpose.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Melissa&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Melissa Coley&lt;br /&gt;Vice President, Investor Relations &amp;amp; Communications&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Brookfield Global Real Estate&lt;br /&gt;Brookfield Office Properties&lt;br /&gt;Three World Financial Center&lt;br /&gt;200 Vesey Street, New York, NY 10281-1021&lt;br /&gt;T 212.417.7215, F 212.417.7272&lt;br /&gt;melissa.coley@brookfield.com&lt;br /&gt;www.brookfieldofficeproperties.com&lt;br /&gt;&lt;br /&gt;The undersigned is an associated person of a registered investment adviser.  View important disclosures and information about our e-mail policies http://www.brookfield.com/supervisedemaildisclaimer.&lt;/blockquote&gt;&lt;br /&gt;In my experience, sanitation isn't necessarily an issue. Unlike 'angry' protests that trash their venues, this one is (barring a few &lt;a href="http://erratasec.blogspot.com/2011/09/i-was-just-threatened-by.html"&gt;exceptions&lt;/a&gt;) very 'nice'. The protesters themselves are keeping the park clean. There is a strong ethos to not litter or otherwise degrade the park, and I watched as members of the protest went around the park with trash bags cleaning up litter. This doesn't solve the problem of hosing down the pavement every once and a while, but generally, the protesters are doing their own maintenance.&lt;br /&gt;&lt;br /&gt;In this, and many other ways, the protest reminds me of the Burning Man festival held in the Nevada desert every summer. That, too, has an enormous social norm of keeping the desert clean, to leave the area as if the massive event didn't happen.&lt;br /&gt;&lt;br /&gt;While complying with all the rules is difficult, since the purpose is to 'occupy' the park, I'm sure the protesters would accommodate Brookfield on other maintenance issues. &lt;i&gt;&lt;b&gt;Udate:&lt;/b&gt; As it turns out, the protesters refused all attempts to work with Brookfield to do things like hose down the park.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Above is a picture of the rules of the park. I took this picture at night, which is why it's colored yellow from the sodium vapor street lamps. In case you have trouble reading it:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;center&gt;ZUCCOTTI PARK IS A PRIVATELY-OWNED SPACE THAT IS DESIGNED AND INTENDED FOR USE AND ENJOYMENT BY THE GENERAL PUBLIC FOR PASSIVE RECREATION.&lt;br /&gt;&lt;br /&gt;FOR THE SAFETY AND ENJOYMENT OF EVERYONE THE FOLLOWING TYPES OF BEHAVIOR ARE PROHIBITED IN ZUCCOTTI PARK.&lt;br /&gt;&lt;br /&gt;CAMPING AND/OR THE ERECTION OF TENTS OR OTHER STRUCTURES.&lt;br /&gt;&lt;br /&gt;LYING DOWN ON THE GROUND, OR LYING DOWN ON BENCHES, SITTING AREAS OR WALKWAYS WHICH UNREASONABLY INTERFERES WITH THE USE OF BENCHES, SITTING AREAS OR WALKWAYS BY OTHERS.&lt;br /&gt;&lt;br /&gt;THE PLACEMENT OF TARPS OR SLEEPING BAGS OR ANY OTHER COVERING ON THE PROPERTY.&lt;br /&gt;&lt;br /&gt;STORAGE OR PLACEMENT OF PERSONAL PROPERTY ON THE GROUND, BENCHES, SITTING AREAS OR WALKWAYS WHICH UNREASONABLY INTERFERES WITH THE USE OF SUCH AREAS BY OTHERS.&lt;br /&gt;&lt;br /&gt;THE USE OF BICYCLES, SKATEBOARDS AND ROLLER BLADES.&lt;br /&gt;&lt;br /&gt;REMOVAL OF OBJECTS FROM TRASH RECEPTACLES.&lt;/center&gt;&lt;/blockquote&gt;&lt;br /&gt;The last line is ironic: the protesters are keeping the park clean precisely by breaking the rule about removal of objects from trash receptacles. The protesters are removing all trash when they get full, and replacing the full trash bag with an empty one, and placing the bag on the curb so that it can be picked up by the city.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;This was in response to my e-mail request:&lt;br /&gt;&lt;blockquote&gt;Hi! I was hoping you would be nice enough to have one of your people answer a quick question?&lt;br /&gt;&lt;br /&gt;Why do you guys have a park? I would assume you have to pay taxes on it, but receive no financial benefit. Is there a rule that you have to set aside a certain amount of space for other buildings you own nearby?&lt;br /&gt;&lt;br /&gt;Also, do you have an official statement on the protest? It seems you've been very nice, but on the other hand, it's hard to imagine that you'd be pleased with the protest if it lasts for months.&lt;br /&gt;&lt;br /&gt;Thanks you for any response.&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-6566857002154810029?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/6566857002154810029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=6566857002154810029' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/6566857002154810029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/6566857002154810029'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/10/brookfield-properties-responds-re.html' title='Brookfield Properties responds re: #OccupyWallStreet'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-JeS8TqXA8R4/Tot7x1BlsQI/AAAAAAAAAb0/sgB5MpFkygQ/s72-c/zuccotti-park-rules.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-3166600231684520988</id><published>2011-10-03T12:05:00.006-05:00</published><updated>2011-10-03T19:51:51.485-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tradeoffs'/><title type='text'>October is Cybersecurity Awareness Month -- or is it?</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://en.wikipedia.org/wiki/Breast_cancer" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/-tCpz02A4A5k/TonsDg4XJrI/AAAAAAAAAbk/gxn5W6ZKEdI/s320/breast-cancer-ribbon.jpg" width="231" /&gt;&lt;/a&gt;&lt;/div&gt;Last year, the president &lt;a href="http://www.defense.gov/news/newsarticle.aspx?id=61115"&gt;declared October to be "Cybersecurity Awareness Month"&lt;/a&gt;. But, October has already been &lt;a href="http://www.nbcam.org/"&gt;Breast Cancer Awareness Month&lt;/a&gt; for the pat 25 years.&lt;br /&gt;&lt;br /&gt;So which is it? Cybersecurity or Breast Cancer?&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;The easy answer would be "both", but that's silly. Why not, then, make it "&lt;a href="http://en.wikipedia.org/wiki/October#Month-long_observances"&gt;everything&lt;/a&gt; awareness month"? Indeed, why don't we make every month Everything Awareness Month.&lt;br /&gt;&lt;br /&gt;Choosing both would teach a bad lesson. Everything we do to make cyberspace more secure comes with tradeoffs making cyberspace less useful. If we measured cybersecurity only by what is most secure, then we'd turn of the computer, cut the wires, and bury it. That'll keep the hackers out.&lt;br /&gt;&lt;br /&gt;Thus, cybersecurity is about choosing between tradeoffs. It recognizes that we can't endless ask for our budget to increase, but must work within the budget we are given. If that means forgoing anti-virus because we spent this year's money on a firewall, then so be it.&lt;br /&gt;&lt;br /&gt;That means with an "awareness month", we only have a fixed "awareness" budget. Every dollar spent promoting Cybersecurity awareness means one dollar taken away from Breast Cancer awareness.&lt;br /&gt;&lt;br /&gt;It's not just dollars, but attention span budget. Let's say you disregard my advice and increase your budget to promote both. People still have only a limited attention span, and thus, will pay half the attention to both campaigns.&lt;br /&gt;&lt;br /&gt;1 in 8 women will get &lt;a href="http://en.wikipedia.org/wiki/Breast_cancer"&gt;breast cancer&lt;/a&gt; in their lifetimes. I'm not aware of anybody dying to a cybersecurity fail. That makes me think breast cancer is a bit more important than cybersecurity.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-3166600231684520988?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/3166600231684520988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=3166600231684520988' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/3166600231684520988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/3166600231684520988'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/10/october-is-cybersecurity-awareness.html' title='October is Cybersecurity Awareness Month -- or is it?'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-tCpz02A4A5k/TonsDg4XJrI/AAAAAAAAAbk/gxn5W6ZKEdI/s72-c/breast-cancer-ribbon.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-3867666731410897930</id><published>2011-10-01T19:47:00.008-05:00</published><updated>2011-10-06T23:15:53.696-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Occupy Wall Street'/><title type='text'>Protesters wanted to get arrested on Brooklyn Bridge</title><content type='html'>&lt;i&gt;(For my complete report on the protest, click&amp;nbsp;&lt;a href="http://erratasec.blogspot.com/2011/10/independent-reporting-of.html"&gt;here&lt;/a&gt;.)&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;In the #OccupyWallStreet protests, there are claims that the police deliberately led protesters onto the roadway, and then arrested them for being on the road blocking traffic.&lt;br /&gt;&lt;br /&gt;I don't know, I wasn't there.&lt;br /&gt;&lt;br /&gt;But I was at a Starbucks near Zuccoti park listening to two protesters (young white mails with facial hair and pony tails) about an hour before the march. They were talking about how they were going to march to the Brooklyn bridge, and how it was going to disrupt traffic, and how that was going to lead to arrests. They laughed at this, hoping it would happen, because "that'll finally get us on the news".&lt;br /&gt;&lt;br /&gt;I didn't get the impression that they were planning to go out on the roadway and disrupt traffic. My impression, though, was they knew it was going to happen, probably because that's what happens when you march a few thousand protesters up to the bridge. Indeed, as the protesters later marched by the Starbucks on the way to the Brooklyn bridge, I noticed occasional people get out onto the roadway, and cops telling them to get back onto the sidewalk.&lt;br /&gt;&lt;br /&gt;This is my impression of the protesters. They aren't necessarily lawless or violent, but they do seem interested in pushing the police to their limits. Even though they mostly follow police directions, not a single one (that I talked to) thinks of the police as being equally on their side. Whereas I see the police being tolerant of minor infractions, the protesters complained how the police was constantly harassing them over miner infractions. Their view is that if you aren't with them toting a placard, then you must out to oppress them.&lt;br /&gt;&lt;br /&gt;As you can see in &lt;a href="http://www.youtube.com/watch?v=WRYJqFPVcXA"&gt;this video&lt;/a&gt;, the crowd is happy that they are getting arrested.&lt;br /&gt;&lt;br /&gt;My point is: the accusation that "it's the police's fault" that protesters were out on the road way is pretty hard to believe.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;Update:&lt;/b&gt; This &lt;a href="http://cityroom.blogs.nytimes.com/2011/10/01/police-arresting-protesters-on-brooklyn-bridge/?hp"&gt;NYTimes article&lt;/a&gt; describes the incident. It doesn't claim that the police deliberately guided them onto the roadway, but that protesters were confused about where to go.&lt;br /&gt;&lt;br /&gt;But, as I indicate above, at least some protesters knew that going onto the roadway would get them arrested.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;Update:&lt;/b&gt; This link is a &lt;a href="http://www.theawl.com/2011/10/saturday-on-the-brooklyn-bridge-and-then-on-a-police-bus"&gt;first hand account&lt;/a&gt; of somebody that happened to go for a walk with the protesters and got arrested. Before the march:&lt;br /&gt;&lt;blockquote&gt;As we loitered a young woman handed me a flier that described my legal rights and urged me to write down the number of the National Lawyers Guild on my arm.&lt;br /&gt;&lt;br /&gt;“You planning on getting arrested today?” I said.&lt;br /&gt;&lt;br /&gt;“You never know,” she said.&lt;/blockquote&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;Update:&lt;/b&gt; Another &lt;a href="http://www.addictinginfo.org/2011/10/01/eyewitness-account-to-the-brooklyn-bridge-arrests/"&gt;eyewitness account&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;Looking at photographs, I find core occupiers from the Central Committee among those arrested for being on the roadway. These are the people who should've know what would happen, even if most other protesters didn't.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-3867666731410897930?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/3867666731410897930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=3867666731410897930' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/3867666731410897930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/3867666731410897930'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/10/protesters-wanted-to-get-arrested-on.html' title='Protesters wanted to get arrested on Brooklyn Bridge'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-8737478540064734936</id><published>2011-09-30T16:00:00.008-05:00</published><updated>2011-10-06T23:16:21.607-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fascism'/><category scheme='http://www.blogger.com/atom/ns#' term='Occupy Wall Street'/><title type='text'>I was just threatened by #OccupyWallStreet protesters</title><content type='html'>&lt;i&gt;(For my complete report on the protest, click&amp;nbsp;&lt;a href="http://erratasec.blogspot.com/2011/10/independent-reporting-of.html"&gt;here&lt;/a&gt;.)&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;I was just threatened by &lt;a href="http://en.wikipedia.org/wiki/Occupy_Wall_Street"&gt;#OccupyWallStreet&lt;/a&gt; protesters. They told me that if I didn’t give up my seat, there were going to break this computer I’m typing on.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-yrlIWNjgScQ/ToZKjZa0_RI/AAAAAAAAAbg/9JidlQSvwYs/s1600/photo.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/-yrlIWNjgScQ/ToZKjZa0_RI/AAAAAAAAAbg/9JidlQSvwYs/s320/photo.jpg" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;I chose a seat in the park that was far from the center of action, but apparently, the center of action moves around. The “media team” wanted to comandeer the table I was sitting out in order to setup a tripod to take pictures of an upcoming speech. Some chick carrying camera (pictured on the right) &amp;nbsp;came up to me and demanded that I leave. When I refused, she told me that they were going to setup a tripod on the table and take pictures there anyway, and that since her focus was going to be on taking pictures, she was almost certainly going to “accidentally” step on my computer.&lt;br /&gt;&lt;br /&gt;It wasn’t just her making threats. This fascist chick was accompanied by a thug whose face was visibly twitching in anger, saying in a threatening manner “you had better leave”.&lt;br /&gt;&lt;br /&gt;The irony of populism is that it’s really the first step of facism. Occupy Wall Street is modeled after the &lt;a href="http://en.wikipedia.org/wiki/Arab_Spring"&gt;Arab Spring&lt;/a&gt; protests that occupied central squares in cities, eventually deposing authoritarian regimes. But those regimes themselves got power by “taking back” their country for the people from the previous despots. Everything these dictators did was justified as being in the name of “the people".&lt;br /&gt;&lt;br /&gt;The fascist chick’s comments reflected this. Even after I made it clear that I didn’t support the protest, she insist that I help them anyway because they were serving “everyone’s interest”. It’s not true, most “everyone” has made it clear they aren’t interested in the protester’s brand of socialism.&lt;br /&gt;&lt;br /&gt;Likewise, she expressed the fact that since they'd been occupying the park for two weeks, it were in control of who could sit where. This is exactly how populists become fascists: principles of freedom important when out of power are lost once they gain power. It's how Castro and Che Guevara visciously suppressed dissent once they gained power in Cuba (the famous picture of Che isn't as a revolutionary in the jungle fighting the man, but was taken short after Che's show trials of political opponents). Now that the #OccupyWallStreet protesters control the park, the won't tolerate those who don't obey their commands.&lt;br /&gt;&lt;br /&gt;The reason I didn’t give up my seat is because in general, I respond stubbornly to intimidation. For example, last year the &lt;a href="http://erratasec.blogspot.com/2010/11/i-was-just-detained-by-tsa.html"&gt;TSA detained me&lt;/a&gt; for taking pictures in airport security, something that is perfectly legal, allowed the the TSA’s own rules,  and from a larger point of view, necessary for keeping authority accountable to the public.&lt;br /&gt;&lt;br /&gt;By the way, there was a third guy. When I said “no” to giving up my seat, he smiled, shook my hand, and said “peace”. He was the model of how the protesters should be, with the ability to think privately "I think you are a dick, but I'm going to rise above it, shake your hand, and move on". Just become some of the protesters are fascists doesn’t mean they all are. Also, the others didn't carry through on their threat, they simply set up elsewhere. Finally, most protesters were quite happy to debate their point of view with those who disagreed with them, albeit they are painfully condescending.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;Update:&lt;/b&gt; comments over at Reddit take exception to my use of the word "fascist". Of course, I'm using that term in the casual sense, such as the way you might describe a copy beating up a protester as a "fascist". Likewise, I might casually use "anarchist" to describe a punk throwing stones at a cop, even though I know that "anarchist" has a much richer sense; indeed, as a Libertarian, I might describe myself as an "anarchist" in the sense that I oppose government control, but not in the sense that I would throw rocks at cops.&lt;br /&gt;&lt;br /&gt;But since you bring it up, there is a lot of overlap between Occupy Wall Street and fascism, such as "hostile to &lt;a href="http://en.wikipedia.org/wiki/Financial_services"&gt;finance capital&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Plutocracy"&gt;plutocracy&lt;/a&gt;, the 'power of money', and internationalist economics" (to quote the Wikipedia page on &lt;a href="http://en.wikipedia.org/wiki/Facism"&gt;Fascism&lt;/a&gt;). It would be wrong to claim that Occupy Wall Street as actually fascist, but where they overlap, it isn't unjust to point this out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-8737478540064734936?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/8737478540064734936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=8737478540064734936' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/8737478540064734936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/8737478540064734936'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/09/i-was-just-threatened-by.html' title='I was just threatened by #OccupyWallStreet protesters'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-yrlIWNjgScQ/ToZKjZa0_RI/AAAAAAAAAbg/9JidlQSvwYs/s72-c/photo.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-5049387257140513778</id><published>2011-09-21T14:11:00.000-05:00</published><updated>2011-09-21T14:11:06.069-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='economics'/><title type='text'>Thinking on the margin (Economics)</title><content type='html'>&lt;b&gt;By any rational measure, the Internet is secure enough.&lt;/b&gt; It's obviously true. The value of the Internet, with the hackers, is far greater than not having the Internet. Credit card companies, despite all the credit card losses, make a net profit on the Internet.&lt;br /&gt;&lt;br /&gt;The problem with the security industry, especially so-called "experts", is that they don't know how to measure "enough security". So they fall back to a default position that no matter how much security you have, it's not enough, you need more. Becoming a security expert is insanely easy: just tell people they don't have enough security. Blame security weakenesses on moral weaknesses, such as laziness, greed, corruption, stupidity, and so on.&lt;br /&gt;&lt;br /&gt;But while nobody knows how to measure "enough", it turns out that it's easy. The trick is thinking on the edge, on the margin. You calculate it by whether a marginal increase in security is worth the marginal cost.&lt;br /&gt;&lt;br /&gt;Take SSL, for example. Is it secure enough? Well, if you ask the question that way, as an absolute, then you've already lost the battle. But if you instead ask about marginal improvements, it starts to look different. For example, let's say that browser vendors were to announce a new policy such that any CA that gives out a bad certificate for major site (Google, Microsoft, etc.) will be permanently removed from the browser. The question is: is the marginal benefits of this policy worth the marginal costs? We can now have a lively debate about this, with each side bringing up benefits/costs that the other side did not consider. But it's a rational way of debating the problem, rather than debating "is SSL secure enough?".&lt;br /&gt;&lt;br /&gt;Or take DNSsec. I love it, it should've been done 10 years ago (from one perspective), but on the other hand, I think it's marginal costs exceeds its marginal benefits. It doesn't solve any of the most common attacks that happen today. I suppose the debate is about what happens in the future. Does it end up being a common point of failure (the way CAs are today), or does it enable new innovation in secure technologies for the future? I suspect a little of both.&lt;br /&gt;&lt;br /&gt;Consider the TSA. The most common wrong thing said about them is that they, or one of their techniques, don't stop terrorists. For example, people heavily criticize the taking off the shoes. The correct way to analyze this is on the margin. Is the marginal benefit of forcing passengers to take off their shoes worth the marginal cost?&lt;br /&gt;&lt;br /&gt;Here is the thing about terrorism: it's oddly elastic. You'd think that a serious suicide bomber would surgically implant a bomb making it 100% undetectable, and thus, all TSA security is meaningless. In fact, few suicide bombers are that rational. Most are stupid, incompetent, or crazy. Most find it too difficult to ignite a shoe or underwear bomb. Nothing the TSA does can stop the next 9/11 attack by competent suicide bombers, but for everything they do, there is probably some incompetent suicide bomber that is stopped by that procedure. So the question isn't whether these procedures work, they do. The question is whether whether every procedure is worth the cost; I would agree with the assessment that most aren't.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-5049387257140513778?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/5049387257140513778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=5049387257140513778' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/5049387257140513778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/5049387257140513778'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/09/thinking-on-margin-economics.html' title='Thinking on the margin (Economics)'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-3623815270751442802</id><published>2011-09-20T16:09:00.000-05:00</published><updated>2011-09-20T16:09:03.370-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='captcha'/><title type='text'>CAPTCHA hell</title><content type='html'>The better spammers get at solving CAPTCHAs, the harder it becomes for humans to prove that they are, in fact, humans. RECAPTCHA, in particular, has become annoying lately. I often fail the first attempt (or 100% of the attempts if going through TOR, for some reason). Here is a list of CAPTCHAs, see if you can solve them:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-RN-UKzpPofw/Tnj_n5wpECI/AAAAAAAAAa8/vBa1RZb-v70/s1600/recaptcha-01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-RN-UKzpPofw/Tnj_n5wpECI/AAAAAAAAAa8/vBa1RZb-v70/s1600/recaptcha-01.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;That's "pœna", not "poena".&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-edaupj1nJlk/Tnj_oDT51GI/AAAAAAAAAbA/Wwe6Nwbcrxc/s1600/recaptcha-02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-edaupj1nJlk/Tnj_oDT51GI/AAAAAAAAAbA/Wwe6Nwbcrxc/s1600/recaptcha-02.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;It would be a mistake to think it was "Miftake"&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-CU07LKGlp5Q/Tnj_oYjjQaI/AAAAAAAAAbE/ewBLeJf93DU/s1600/recaptcha-03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-CU07LKGlp5Q/Tnj_oYjjQaI/AAAAAAAAAbE/ewBLeJf93DU/s1600/recaptcha-03.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"&gt;Is it "1300.8", or "1300.&lt;sup&gt;8&lt;/sup&gt; or "1300.&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: #f9f9f9; font-family: 'Arial Unicode MS', 'Microsoft Sans Serif', 'Free Sans', 'Gentium Plus', 'Gentium Basic', Gentium, GentiumAlt, 'DejaVu Sans', 'DejaVu Serif', 'Free Serif', 'TITUS Cyberbit Basic', 'Bitstream Cyberbit', 'Bitstream CyberBase', 'Doulos SIL', Code2000, Code2001; font-size: 13px; line-height: 19px;"&gt;⁸&lt;/span&gt;&lt;span class="Apple-style-span"&gt;"?&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-solDLRMSOsI/Tnj_ok6JX2I/AAAAAAAAAbI/CVz_fyicHko/s1600/recaptcha-04.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-solDLRMSOsI/Tnj_ok6JX2I/AAAAAAAAAbI/CVz_fyicHko/s1600/recaptcha-04.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-DWUNZHEOzl0/Tnj_o1Bpj8I/AAAAAAAAAbM/D4uHNgdU2cU/s1600/recaptcha-05.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-DWUNZHEOzl0/Tnj_o1Bpj8I/AAAAAAAAAbM/D4uHNgdU2cU/s1600/recaptcha-05.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-eDTJfWSWv_k/Tnj_oy0zuyI/AAAAAAAAAbQ/wNThDsnYC-Y/s1600/recaptcha-06.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-eDTJfWSWv_k/Tnj_oy0zuyI/AAAAAAAAAbQ/wNThDsnYC-Y/s1600/recaptcha-06.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-6W9oBWTUYIQ/Tnj_pLfnOaI/AAAAAAAAAbU/5KD6RXXND_g/s1600/recaptcha-07.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-6W9oBWTUYIQ/Tnj_pLfnOaI/AAAAAAAAAbU/5KD6RXXND_g/s1600/recaptcha-07.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-CKffBDsUIxY/Tnj_pAql5oI/AAAAAAAAAbY/aTehrFH5Avk/s1600/recaptcha-08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-CKffBDsUIxY/Tnj_pAql5oI/AAAAAAAAAbY/aTehrFH5Avk/s1600/recaptcha-08.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-LlIxGBVN8fg/Tnj_pt4X0FI/AAAAAAAAAbc/v0FZ68QpQH4/s1600/recaptcha-09.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-LlIxGBVN8fg/Tnj_pt4X0FI/AAAAAAAAAbc/v0FZ68QpQH4/s1600/recaptcha-09.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-3623815270751442802?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/3623815270751442802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=3623815270751442802' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/3623815270751442802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/3623815270751442802'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/09/captcha-hell.html' title='CAPTCHA hell'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-RN-UKzpPofw/Tnj_n5wpECI/AAAAAAAAAa8/vBa1RZb-v70/s72-c/recaptcha-01.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-4489807982520510886</id><published>2011-09-08T13:57:00.000-05:00</published><updated>2011-09-08T13:57:55.250-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='responsible disclosure'/><title type='text'>Finally, a Responsible Disclosure policy</title><content type='html'>Digital Bond, who researches SCADA/ICS vulns, has published one of the most responsible vulnerability policies: &lt;a href="http://www.digitalbond.com/about-us/vulnerability-disclosure-policy/"&gt;http://www.digitalbond.com/about-us/vulnerability-disclosure-policy/&lt;/a&gt;. To summarize, it says:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;We honor client commitments.&lt;br /&gt;&lt;li&gt;Otherwise, we do the heck what we want with discovered vulns&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;Over the years, vulnerability researchers (or non-researchers who want researchers to listen to them) have tried to come up with ways to lessen the harm of vuln research while maximizing the good. They've failed. Instead, they've come up with rules that only serve the vendors of vulnerable products, who exploit "responsible disclosure" to spin, cover-up, or delay vuln disclosure. After having the FBI show up at our door threatening us in an attempt to prevent vuln disclosure, we've stopped being nice with vendors.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-4489807982520510886?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/4489807982520510886/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=4489807982520510886' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/4489807982520510886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/4489807982520510886'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/09/finally-responsible-disclosure-policy.html' title='Finally, a Responsible Disclosure policy'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-5021783555595384121</id><published>2011-08-23T15:27:00.004-05:00</published><updated>2011-08-24T00:15:05.188-05:00</updated><title type='text'>What the heck is ISO-TSAP?</title><content type='html'>This &lt;a href="http://www.langner.com/en/2011/08/20/ics-cert-on-beresford-vulns-flawed-analysis-misleading-advice/"&gt;great blog post&lt;/a&gt; criticizes this grossly incompetent &lt;a href="http://www.us-cert.gov/control_systems/pdf/ICSA-11-223-01.pdf"&gt;advisory&lt;/a&gt; by the &lt;a href="http://www.us-cert.gov/control_systems/ics-cert/"&gt;US DHS CERT&lt;/a&gt;. Both mention “ISO-TSAP”? What is “ISO-TSAP"?&lt;br /&gt;&lt;br /&gt;Just &lt;a href="http://www.ietf.org/rfc/rfc793.txt"&gt;TCP&lt;/a&gt;, the same protocol that carries Internet traffic.&lt;br /&gt;&lt;br /&gt;That’s what makes the &lt;a href="http://www.dhs.gov/"&gt;DHS&lt;/a&gt; advisory incompetent, because it blames TCP’s lack of encryption for the problems in the Siemens industrial controllers. But a protocol like TCP isn’t supposed to encrypt data, it’s just supposed to carry traffic between two end-points. If you want encryption (like &lt;a href="http://en.wikipedia.org/wiki/Transport_Layer_Security"&gt;SSL&lt;/a&gt;), you are supposed to layer that on top of TCP.&lt;br /&gt;&lt;br /&gt;So if ISO-TSAP is just TCP, why is it called by a different name?&lt;br /&gt;&lt;br /&gt;That answer is a bit more political. The Internet as we know it wasn’t the Internet the government designed. Instead, they designed a competing Internet known as either “&lt;a href="http://en.wikipedia.org/wiki/Open_Systems_Interconnection"&gt;OSI&lt;/a&gt;” or “ISO”.&lt;br /&gt;&lt;br /&gt;The government first created a blueprint, called the “&lt;a href="http://en.wikipedia.org/wiki/Osi_model"&gt;OSI Model&lt;/a&gt;”. That model defines seven layers, where each layer is responsible for a specific task. Layer 1 defines how bits are sent onto the nearest wire. Layer 2 defines how packets are sent only as far as the next hop (to the other end of the wire). Layer 3 defines how packets go hop to hop across the world wide network to the destination computer. &lt;a href="http://en.wikipedia.org/wiki/Osi_model#Layer_4:_Transport_Layer"&gt;Layer 4&lt;/a&gt; defines how the packets reach the destination application on that target computer, whether it be the web browser, iTunes, Skype, etc.&lt;br /&gt;&lt;br /&gt;TCP fits in layer 4, but not precisely as OSI defines it. Mostly, it’s a terminology difference. For example, the OSI/ISO standard might say “disconnect” the connection, but TCP/IP might say “close” the connection. The ISO-TSAP standard is mostly just a translation between this terminology, showing how if somebody writes code that conforms with the OSI/ISO Layer 4 standard, how it will work when run over the TCP/IP standard.&lt;br /&gt;&lt;br /&gt;There is one important difference. TCP/IP sends data as a “stream”. Yes, even though the underlying IP sends packets, the TCP on top reassembles this back into a stream of bytes, so that applications see no boundaries between packets.&lt;br /&gt;&lt;br /&gt;But the OSI/ISO Layer 4 standard defines a boundary between packets. Therefore, the ISO-TSAP standard adds 4 bytes to each TCP packet to include a “length” field, so that applications can discover the original packet boundaries that are hidden by TCP. Therefore, if you were to ask about the precise protocol differences between ISO-TSAP and TCP, it would be the addition of the following header to each packet:&lt;br /&gt;&lt;pre&gt;        0                   1                   2                   3&lt;br /&gt;        0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1&lt;br /&gt;       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+&lt;br /&gt;       |      vrsn     |    reserved   |          packet length        |&lt;br /&gt;       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;So this OSI stuff has been obsolete for over 20 years, why the heck is the Siemens controller still using it?&lt;br /&gt;&lt;br /&gt;Well, that’s the problem with industrial-control/SCADA systems: they are 20 years out of date. It’s the way that industry works. They expect to install a piece of equipment and have it run unchanged for decades.&lt;br /&gt;&lt;br /&gt;And that, not “lack of encryption in ISO-TSAP”, is the cause of the Siemens vulnerabilities. The system was created using cybersecurity concepts that are 20 years old, that haven’t caught up with the radical change in cybersecurity that we’ve seen in the last 10 years.&lt;br /&gt;&lt;br /&gt;Indeed, the reported Siemens vulnerabilities are just the tip of the iceberg. If a system is using ISO-TSAP instead of raw TCP, it’s probably using all the other dumb stuff from ISO/OSI. The most egregious is something called &lt;a href="http://en.wikipedia.org/wiki/Asn.1"&gt;ASN.1&lt;/a&gt;, which is a way of abstractly defining fields in packet. When you “concretely” define fields in packet, the lengths tend to be fixed. For example, you might have a username field that is precisely 16 bytes long. When you “abstractly” define fields, they can be any length. A programmer might make a “safe” assumption that a username couldn’t possibly longer than 1000 character, and might reserve a buffer in memory of that length. But, of course, a malicious hacker can exceed that, and provide a username 2000 bytes long, overflow that buffer, overwrite other parts of memory in such a way that allows the hacker to break into the system. Such “buffer-overflows” are significantly less common on today’s networks -- except in those places that are still behind the times using things like ASN.1.&lt;br /&gt;&lt;br /&gt;I know of at least one vendor’s implementation of &lt;a href="http://en.wikipedia.org/wiki/Inter-Control_Center_Communications_Protocol"&gt;ICCP&lt;/a&gt; (Inter Control Center Communications Protocol) that also runs on ISO-TSAP and uses ASN.1 that if full of such buffer overflows.&lt;br /&gt;&lt;br /&gt;It is this problem of being 20 years behind the times that it likely the cause of the grossly incompetent DHS advisory. It was probably written with input from the Siemens engineers who explained the problems, and the Siemens engineers are working with 20 year old concepts. The DHS employees probably did little of their own analysis, and certainly, they never talked to the guy who discovered the problems.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Conclusion&lt;/h2&gt;&lt;br /&gt;The grossly incompetent DHS advisory is just a reflection of the fact that the industrial-control/SCADA systems are grossly out of date. This is demonstrated by the fact that I have to roll back the clock to a time before many readers of this post were born (&lt;a href="http://www.faqs.org/rfcs/rfc1006.html"&gt;RFC 1006&lt;/a&gt;) in order to explain what the heck is going on.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-5021783555595384121?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/5021783555595384121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=5021783555595384121' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/5021783555595384121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/5021783555595384121'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/08/what-heck-is-iso-tsap.html' title='What the heck is ISO-TSAP?'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-1900496585812273087</id><published>2011-08-19T16:15:00.012-05:00</published><updated>2011-08-19T20:47:48.113-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='certification'/><title type='text'>Catastrophic failure for certifications of the APD</title><content type='html'>&lt;p class="p1"&gt;&lt;br /&gt;&lt;/p&gt; &lt;img src="http://1.bp.blogspot.com/-EMeDobLZFEI/Tk7WX2t1qqI/AAAAAAAAAQU/algyzp5v3DQ/s200/atlanta-police.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5642683088454920866" style="float: right; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 10px; cursor: pointer; width: 169px; height: 200px; " /&gt;&lt;p class="p3"&gt;There was an interesting news story about the&lt;a href="http://www.cbsatlanta.com/story/15271201/atlanta-police-powers-revoked-convictions-could-be-overturned?clienttype=printable"&gt; City of Atlanta police officer certification scandal&lt;/a&gt; that's happening now in Atlanta. About 200 police officers have lapsed or incorrect certifications, affecting cases that go as far back as 20 years. A police officer cannot make lawful arrests or collect evidence without this certification. The "seven deadly" convictions such as murder, rape, and arson are particularly likely to be thrown out now because of the especially high importance the arrest warrant has in those cases. &lt;/p&gt;&lt;p class="p3"&gt;This is a brittle and inflexible system where if one part of the process breaks down it becomes a catastrophic failure. We need our legal system to be absolute and unmalleable so that there is justice and equality, but that doesn't lend itself to having a backup plan. Here the symptom of the brittle system is that they rely entirely on the certification to validate the system. If the certification process is broken then the system fails and deadly criminals go free. The article says "There is no excuse to have officers who are not trained. That is a danger to the citizens and it is a danger to police officers," meaning that uncertified cops are dangerous. But the reality is that a substantial amount of the 200 officers that made arrests while not certified did the right thing and took deadly criminals off the street. We want those criminals to stay behind bars. In order to keep these criminals behind bars the city must acknowledge that the certification does not create the good cop, and a cop can practice good law and order without taking a test. Therefore the test is not absolutely necessary. This is in direct conflict with the nature of law to be absolute and without exceptions. So, in order to protect justice, the arrests will be rendered invalid, deadly criminals will go free, and the system will suffer a catastrophic failure.&lt;/p&gt; &lt;p class="p3"&gt;Does Information Security have a similar vulnerability to failure based on its similar relationship to certifications? Certifications such as CISSP are not required by law, but many companies won't hire without one. By supporting certifications, a customer is saying they believe the certification is the difference between a "good" security professional and a "bad" or even "dangerous" security professional.  So the question is, just like in the case of the Atlanta Police turning over their arrests,  if the Security Professional loses their certification, would the customer then suddenly render all of the future work invalid? If they found out the Sec Pro didn't have a certification afterall, would they throw out the test and have it done over? &lt;/p&gt;&lt;p class="p3"&gt;The lapse in certification provides an opportunity for the customer to dispute the validity of the work if they don't like how it makes them look. On the Errata &lt;a href="http://erratasec.blogspot.com/2011/06/take-bow-everybody-security-industry.html"&gt;blog&lt;/a&gt;, we've talked before about how the deliverables of a pentest can be more like a negotiation than a fact-finding mission. Companies spend just as much energy explaining why the test is wrong as they do remediating the findings. Having a certification to call into question is another opportunity to do this, because in a security assessment, the customer is both "the convicted criminal looking for a loophole" and "the victim." &lt;/p&gt;&lt;p class="p3"&gt;If the certification is good at accurately distinguishing a competent security professional, then the Industry should do as the City of Atlanta is doing, and protect it by throwing out the work of security professionals who's status has lapsed. But, as Robert Graham wrote in an Errata &lt;a href="http://erratasec.blogspot.com/2011/07/ethical-problems-of-cissp-and-isc2.html"&gt;blog post&lt;/a&gt;, certifications like the CISSP are actually ethically dubious and certify unqualified people, so it would be better if no company supported them in the first place and security professionals were judged on the merits of their work/portfolio instead. This would help to minimize one path of failure in Information Security.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-1900496585812273087?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/1900496585812273087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=1900496585812273087' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1900496585812273087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1900496585812273087'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/08/catastrophic-failure-for-certifications.html' title='Catastrophic failure for certifications of the APD'/><author><name>Marisa Fagan</name><uri>http://www.blogger.com/profile/01185065599379609480</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://bp0.blogger.com/_96sSF15CVnM/SCipA24vSDI/AAAAAAAAAA0/QJN0KuMNt84/S220/marisa+in+the+car+mirror.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-EMeDobLZFEI/Tk7WX2t1qqI/AAAAAAAAAQU/algyzp5v3DQ/s72-c/atlanta-police.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-2543958892761965694</id><published>2011-08-17T17:01:00.002-05:00</published><updated>2011-08-17T17:04:30.850-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='crack'/><category scheme='http://www.blogger.com/atom/ns#' term='password'/><title type='text'>Validity of most-common-password lists</title><content type='html'>As this tweet asks: what's the validity of the various lists of the most common passwords people choose, such as this one &lt;a href="http://www.whatsmypass.com/the-top-500-worst-passwords-of-all-time"&gt;http://www.whatsmypass.com/the-top-500-worst-passwords-of-all-time&lt;/a&gt;.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-q-6plcKJCGk/Tkw6LIrzpJI/AAAAAAAAAao/J-BFBa6D-W8/s1600/tweet-most-common-passwd.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-q-6plcKJCGk/Tkw6LIrzpJI/AAAAAAAAAao/J-BFBa6D-W8/s1600/tweet-most-common-passwd.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The answer is: it depends. If you dump the passwords at the average website, you'll see these as common passwords.&lt;br /&gt;&lt;br /&gt;But they may not reflect passwords chosen for important sites, like corporations or banking. The less important a site, the poorer the passwords. People will choose poor passwords for something like Sony Playstation gaming than they would for their corporate account. This is especially true when your corporate account enforces rules for password complexity and reset.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Thus, just because the password "123456" is incredibly common doesn't mean that fact is useful to hackers trying to get valuable information.&lt;br /&gt;&lt;br /&gt;Or, look at it another way. When we pen-testers break in, we usually want to get an "administrator" account rather than a "user" account, so that we can control the system. Administrators choose tougher passwords than users. Thus, just because users choose bad passwords doesn't mean we can crack administrator passwords.&lt;br /&gt;&lt;br /&gt;There is another flaw in the statistics. Yes, "123456" might be the most common passwords on the Internet, but what percentage of passwords match that? Do 10% of users choose that password? 1%? 0.1%? Depending on the importance of a website, that number is going to be closer to 0.001% than 1%. In other words, just because you know the most common passwords doesn't mean you'll be likely to guess a persons password before the system locks you out.&lt;br /&gt;&lt;br /&gt;What these lists do tell is the psychology behind what people choose as passwords. People choose easy patterns on the keyboard, like "123456" or "qazwsx". People choose their children's names or birthdates. People choose a swearwords. People choose sports teams. People choose words like "dragon" and "monkey". I have no idea why "monkey" is so popular, I just know that it is.&lt;br /&gt;&lt;br /&gt;This information can be used in password crackers. Unlikely guessing a person's password on a website, which is one attempt every few seconds, cracking passwords can try billions of combinations per second. But even doing a billion tries per second, a hacker still can't guess an 8 character password in 100 years. Therefore, a hacker has to be smart. Knowing that "monkey" is popular, the hacker will try variations, like "m0nkey" or "monkey1234". Thus, if a hacker gets a database of encrypted passwords (aka. hashes), he or she will be able to guess 20% of those passwords, either by trying the most common passwords, or simple variations of those passwords.&lt;br /&gt;&lt;br /&gt;This is also useful to people wanting to know how to choose passwords. Even if your password isn't in the list, it shows you how people choose passwords, and what not to do. For example, maybe your sports team isn't in the list, but when you see the many sports teams that are, you learn that maybe basing your password on a sports team isn't a good idea.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-2543958892761965694?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/2543958892761965694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=2543958892761965694' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/2543958892761965694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/2543958892761965694'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/08/validity-of-most-common-password-lists_17.html' title='Validity of most-common-password lists'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-q-6plcKJCGk/Tkw6LIrzpJI/AAAAAAAAAao/J-BFBa6D-W8/s72-c/tweet-most-common-passwd.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-7817312823315568160</id><published>2011-08-10T15:03:00.002-05:00</published><updated>2011-08-10T22:29:24.397-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bluehat'/><title type='text'>Comments about the $200,000 BlueHat prize</title><content type='html'>Microsoft is now offering a reward for certain cybersecurity technologies, as described &lt;a href="http://www.microsoft.com/security/bluehatprize/default.aspx"&gt;here&lt;/a&gt;. It’s offering a reward of $200,000 (and a second place reward of $50,000) for the best solution to memory corruption bugs.&lt;br /&gt;&lt;br /&gt;As expected, there are &lt;a href="http://www.subreption.com/blog/2011/08/the-blue-hat-prize-a-late-april-fools-joke.html"&gt;ravings from Linux geeks&lt;/a&gt; in response to anything Microsoft does. Those ravings are so egregious I thought I’d clarify them.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;RUN-TIME NOT COMPILE-TIME&lt;br /&gt;&lt;br /&gt;Many have made the assumption that this is way to protect against exploitation of bugs in Microsoft’s own software. In fact, Microsoft has suggested just the opposite: they are looking for a technology that can protect against bugs in other people’s software.&lt;br /&gt;&lt;br /&gt;Right now, the leading cause of Chinese hackers breaking into the DoD is by exploiting Flash, an add-on from Adobe that lives inside browsers, including Chrome, Firefox, and Safari. Microsoft wants to stop this.&lt;br /&gt;&lt;br /&gt;The distinction is important. They aren’t looking for “compiler" technologies that can be added to Microsoft’s software when they create it, but “run-time" technologies that can be applied to Adobe’s software when they run it.&lt;br /&gt;&lt;br /&gt;Specifically, I think they are looking for technologies that can easily be applied, like their &lt;a href="http://blogs.technet.com/b/srd/archive/2010/09/02/enhanced-mitigation-experience-toolkit-emet-v2-0-0.aspx"&gt;"Enhanced Mitigation Experience Toolkit&lt;/a&gt;, which turns on DEP, ASLR, and SEH protection for those applications that otherwise don’t have it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ROP+JITspray&lt;br /&gt;&lt;br /&gt;The above &lt;a href="http://www.subreption.com/blog/2011/08/the-blue-hat-prize-a-late-april-fools-joke.html"&gt;ravings&lt;/a&gt; call “return oriented progamming" the same as “return-to-libc". It’s not, they are very different.&lt;br /&gt;&lt;br /&gt;In the past, the “C runtime" (libc) functions were called by pushing parameters on the stack and jumping to the function. Thus, you could fill up the stack with parameters and function “return" address that entered those functions.&lt;br /&gt;&lt;br /&gt;But then 64-bit happened, where parameters are passed via registers instead of the stack, and that model stopped working. But there’s another way. Instead of “returning" to the function entry point, you could “return" to any fragment of code, even into the middle of an instruction. The sequence of bytes simply had to end in something like 0xC3, the x86 RET instruction. This got sophisticated so they could do LOOPS for gosh’s sake (ROP programming is really really cool).&lt;br /&gt;&lt;br /&gt;But, with the appropriate use of ASLR, you could in theory randomize the location of code, to protect against this. But then came along JavaScript JIT in things like Adobe Flash. You could write JavaScript to write more JavaScript, that would predictably be “just-in-time" compiled into x86 code, and fill memory with this JITted code. That way, you could reliably “return" and find the code you are looking for at that address.&lt;br /&gt;&lt;br /&gt;When you return to JITted code, you aren’t going anywhere near libc. Of course, ROP is a lot more complicated than just JITspray, too: the point is simply that there's more to it than just return-to-libc.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;YOU AREN’T THAT SMART&lt;br /&gt;&lt;br /&gt;The above &lt;a href="http://www.subreption.com/blog/2011/08/the-blue-hat-prize-a-late-april-fools-joke.html"&gt;ravings&lt;/a&gt; point to all the ways Microsoft can screw you, and take all your ideas. It points to these sections of the rules:&lt;br /&gt;&lt;blockquote&gt;...understand and acknowledge that the Sponsor(s) may have developed or commissioned materials similar or identical to your submission and you waive any claims you may have resulting from any similarities to your entry...&lt;br /&gt;&lt;br /&gt;...By entering this Contest, you agree that use of information in our representatives' unaided memories in the development or deployment of our products or services does not create liability for us under this agreement or copyright or trade secret law...&lt;br /&gt;&lt;br /&gt;...are agreeing to license IP and patent rights in your submission to Microsoft...&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;The ravings interpret this as: “means in non-attorney-speak that Microsoft may forget about your submission and by means of cryptomnesia implement it sometime in the foreseeable future as the new DEP-in-shining-armor."&lt;br /&gt;&lt;br /&gt;What it means in non-attorney speech is this: If you submit an idea to them, you can’t charge Microsoft money for it. That’s the ONLY right you lose. You still retain full rights to charge other people money for it, retain credit for inventing it, and so. You can still put it into the Linux kernel or Firefox, for example.&lt;br /&gt;&lt;br /&gt;The reality is that Microsoft employs some of the smartest engineers in the industry. Most of the submissions will overlap ideas Microsoft engineers have already thought of, either completely or partially. These ideas are either stuck because the prototypes don’t work quite as well as your submission, or more likely, because it’s mired inside the politics at Microsoft and the poor communication skills of engineers. All this legaleze is trying to say is this: just because somebody submits an idea doesn’t mean we (Microsoft) lose rights over a similar idea we already came up with.&lt;br /&gt;&lt;br /&gt;Whatever idea you have isn’t going to be all that unique. It’s going to look a lot like sandboxing, a lot like randomization, a lot like patching running code, and so on. Indeed, once you walk away with your $200,000, you might discover a paper written in Russian written two years ago that describes exactly what you sold to Microsoft.&lt;br /&gt;&lt;br /&gt;BTW, I mention the EMET tool above because it’s a copy (although a better one) of stuff that we did at ErrataSec. Maybe they copied our idea, maybe they independently created it. It doesn’t matter, the idea is obvious. Also, we didn’t lose anything: we could never have sold it for money, or sold it to Microsoft: while useful, it’s just not that smart of an idea.&lt;br /&gt;&lt;br /&gt;CONCLUSION&lt;br /&gt;&lt;br /&gt;I wrote this mostly because of the amusing phrase “ Return-to-libc, as most of us know it" in the &lt;a href="http://www.subreption.com/blog/2011/08/the-blue-hat-prize-a-late-april-fools-joke.html"&gt;ravings&lt;/a&gt; from Linux geeks I mentioned above. It’s just not just because they are technically behind the times not understanding JITspray, but their willful misunderstanding of the purpose of the contest and the legalese of the contest rules.&lt;br /&gt;&lt;br /&gt;If you’ve got an idea that you think you can charge Microsoft for, or charge its users, then don’t submit it. But you don’t. No matter how useful an idea, it’s almost certain that the $200,000 is the most you can hope to earn for it.&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-7817312823315568160?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/7817312823315568160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=7817312823315568160' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7817312823315568160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7817312823315568160'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/08/comments-about-200000-bluehat-prize.html' title='Comments about the $200,000 BlueHat prize'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-3457433310616598654</id><published>2011-08-04T16:17:00.009-05:00</published><updated>2011-08-31T16:30:18.995-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sellout'/><title type='text'>We already know you are a sellout, we are just negotiating price</title><content type='html'>The &lt;a href="http://en.wikipedia.org/wiki/Nsa"&gt;NSA&lt;/a&gt; (the real spies) are going to &lt;a href="http://en.wikipedia.org/wiki/DEF_CON"&gt;DefCon&lt;/a&gt; (the world's largest hacking convention) to &lt;a href="http://www.deathandtaxesmag.com/127506/an-open-letter-to-defcon-hackers-dont-sell-out-to-the-nsa/"&gt;recruit hackers&lt;/a&gt;. This &lt;a href="http://www.deathandtaxesmag.com/127506/an-open-letter-to-defcon-hackers-dont-sell-out-to-the-nsa/"&gt;post urges you hackers not to sell out&lt;/a&gt;:&lt;br /&gt;&lt;blockquote&gt;Training oneself to become a hacker and then working for the NSA is like graduating law school with an emphasis in environmental law and then working for BP.&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Except you hackers are already sellouts&lt;/b&gt;. Hackers complain that the United States does bad things in order to ensure a smooth oil supply, but then they fly or drive to Las Vegas for DefCon. In the hacker's mind, they are not to blame for burning oil, companies like BP are to blame for selling them the oil. While at DefCon, hackers consume vast amounts of electricity and water -- in the middle of a barren desert. Even the cheapest Vegas hotels are more luxurious than "nice" hotels in the third world. Hackers enjoy all the benefits of a peaceful, prosperous society created by our government and corporations, while complaining about how those benefits are obtained.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;It's like that famous joke: A guy goes up to a beautiful woman in a bar. He asks her "Would you sleep with me for a million dollars?". She says yes, she would. He then asks "Will you sleep with me for $50?". She slaps his face, saying "What do you think I am?". He says "We already know what you are, we are just negotiating price".&lt;br /&gt;&lt;br /&gt;We already know hackers are sellouts, it's just a matter of negotiating price, finding out what hackers are willing to sacrifice their principles for.&lt;br /&gt;&lt;br /&gt;While selling out your principles on the small things, your don't understand the big things. The typical DefCon punk has a distorted view of the world that is one large conspiracy theory. But the world is not so black and white, but shades of gray. You'd see that with a few classes in economics or political science, or by reading books.&lt;br /&gt;&lt;br /&gt;There are many good books. The latest one I read is &lt;i&gt;&lt;a href="http://www.amazon.com/Interrogator-Education-Glenn-L-Carle/dp/1568586736/ref=sr_1_1?ie=UTF8&amp;amp;qid=1312492948&amp;amp;sr=8-1"&gt;The Interrogator&lt;/a&gt;&lt;/i&gt;, written by a CIA interrogator of "&lt;a href="http://en.wikipedia.org/wiki/Pacha_Wazir"&gt;high value targets&lt;/a&gt;" that were subjects of "&lt;a href="http://en.wikipedia.org/wiki/Extraordinary_rendition"&gt;extraordinary rendition&lt;/a&gt;" to "&lt;a href="http://en.wikipedia.org/wiki/Black_site"&gt;black sites&lt;/a&gt;". The author, &lt;a href="http://glenncarle.com/"&gt;Glenn Carle&lt;/a&gt;, sharply criticizes the Bush administration and its abuse and torture of such prisoners. This sounds exactly like your little conspiracy theories, but it isn't. Instead, Carle is respectful of the CIA and clearly for the "Global War on Terror". The situation is not black and white, but shades of gray.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-FiZMd7ReH9M/TjsW2gWLGhI/AAAAAAAAAak/28diRxO8ECM/s1600/51w6SWju8rL._SL500_AA300_.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://3.bp.blogspot.com/-FiZMd7ReH9M/TjsW2gWLGhI/AAAAAAAAAak/28diRxO8ECM/s200/51w6SWju8rL._SL500_AA300_.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;Likewise, the NSA is not the rogue agency depicted in &lt;i&gt;&lt;a href="http://www.amazon.com/Enemy-State-Blu-ray-Will-Smith/dp/B000J6I0UC/ref=sr_1_2?ie=UTF8&amp;amp;qid=1312495162&amp;amp;sr=8-2"&gt;The Enemy of the State&lt;/a&gt;&lt;/i&gt;. The NSA (mostly) doesn't spy on Americans. It operates under strict control of the executive branch. Certainly, President Bush relaxed those controls a bit, allowing the NSA spying to leak over into our borders, which is probably unconstitutional, but it's not the evil conspiracy you imagine.&lt;br /&gt;&lt;br /&gt;The fact of the matter is that you'll compromise your principles less biking to work at the NSA than you will driving to work (gasoline or electric) at any other job.&lt;br /&gt;&lt;br /&gt;The biggest downside working for the NSA isn't being a sellout, but working for a bureaucracy. Yes, you'll get to work on exciting projects, but most of your efforts will be the mind numbingly dull tasks, such as filling out paperwork. Ironically, much of that paperwork will be dealing with the checks and balances to prevent you from hacking Americans.&lt;br /&gt;&lt;br /&gt;More to the point, if you ever see something where the NSA truly is doing something unconstitutional, then you have the chance to do something about it. Quit your job and become a whistleblower. It would be sad indeed if the only people who worked for the NSA were those who were willing to sacrifice their principles and go along with any activity, no matter how illegal.&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;Reddit comments: &lt;a href="http://www.reddit.com/r/netsec/comments/jyoia/hackers_working_for_the_government/"&gt;http://www.reddit.com/r/netsec/comments/jyoia/hackers_working_for_the_government/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-3457433310616598654?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/3457433310616598654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=3457433310616598654' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/3457433310616598654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/3457433310616598654'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/08/we-already-know-you-are-sellout-we-are.html' title='We already know you are a sellout, we are just negotiating price'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-FiZMd7ReH9M/TjsW2gWLGhI/AAAAAAAAAak/28diRxO8ECM/s72-c/51w6SWju8rL._SL500_AA300_.jpg' height='72' width='72'/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-7667960088749352042</id><published>2011-08-03T14:21:00.002-05:00</published><updated>2011-08-04T14:48:59.979-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='white-hat'/><category scheme='http://www.blogger.com/atom/ns#' term='ethics'/><title type='text'>White-hats are on the side of law, but not order</title><content type='html'>This &lt;a href="http://seclists.org/dailydave/2011/q3/22"&gt;post&lt;/a&gt; to a "white-hat hacker" mailing lists asks for &lt;a href="http://nickselby.com/articles/technology/index.htm?a=1819"&gt;volunteers&lt;/a&gt; in training law enforcement officers. The author of the post is under the misapprehension that just because white-hats are on the side of law that they are on the side of law enforcement. That's not true.&lt;br /&gt;&lt;br /&gt;The issue is not "law" but "order". Police believe their job is not just to enforce the law but also to maintain order. White-hats are disruptive. While they are on the same side of the "law", they are on opposite sides of "order".&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;During the J. Edgar Hoover era, the FBI investigated and wiretapped anybody deemed a troublemaker, from Einstein to Martin Luther King. White-hats aren't as noble as MLK, but neither are white-hats anarchists who cause disruption for disruption's sake. White-hats believe that cybersecurity research is like speech: short term disruption for long term benefits to society.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have personal experience with this. In 2007, I gave a speech at the biggest white-hat conference. It was nothing special, about reverse engineering to find problems in a security product. Two days before the speech, FBI agents showed up at my office and threatened me in order to get me to stop the talk, on (false) grounds of national security. Specifically, the agents threatened to taint my FBI file so that I could never pass a background check, and thus never work for the government again. I respond poorly to threats, so I gave the talk anyway.&lt;br /&gt;&lt;br /&gt;I point this out because it so aptly proves my point. I am not on the side of law enforcement, because law enforcement has put me on the other side. One of the requirements (from the above post) to volunteer is to pass a background check -- a check that I can no longer pass (in theory). I cannot volunteer to train law enforcement because they perceive me as the enemy.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Other examples are the way law enforcement goes after "grey-hat" hackers who may technically violate the law, but who are not involved in cybercrime. They are prosecuted because they cause trouble, not because they cause financial losses.&lt;br /&gt;&lt;br /&gt;A prime example of this is "weev", who was arrested for hacking into AT&amp;T and stealing identity information for early iPad owners. Except he didn't hack AT&amp;T. The problem was that AT&amp;T made the information public on their website. Weev just downloaded it. Okay, it was a bit more complicated than that. He had to write a custom script to download the information. But while it was more complicated than simply clicking on a link, it was a far cry from breaking into the machine. It's a grey area, open to interpretation about what, precisely, constitutes hacking. Since weev so greatly embarrassed AT&amp;T, that grey area was shifted against him. But that embarrassment served a purpose. It closers an obvious hole that could've been exploited by black-hat hackers, and it created a way of teaching about a common problem to prevent others from making that mistake in the future.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Not all "grey-hats" are useful. The hacktivists like Anonymous and LulzSec are more like terrorists than activists, who use intimidation to pursue their political goals. Law enforcement cannot appreciate the difference between "embarrassment" that serves a purpose, and "intimidation" that does not.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I've spent 15 years working with law enforcement. I know that the fascists that tried to intimidate me were a rare exception and not the rule. But that doesn't matter -- even the good guys are passive when their fellow law enforcement officers abuse their positions. The FBI is one big group-think; nobody is willing to harm their career by not appearing to be a team player. When one "bad apple" goes after a white-hat, none of the vast majority of "good apples" are going to stand up and oppose him. It's often portrayed in television and movies that officers band together in order to oppose "internal affairs" who investigate abuse by officers -- that effect is real, and wrong.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thus, despite upholding the law, we white-hats still oppose law enforcement, who often see us as the enemy. The person we train today in digital forensics might be the person tomorrow who serves us with a warrant to confiscate our hard drives.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;Nick has a great response here &lt;a href="http://nickselby.com/articles/technology/index.htm?a=1820"&gt;http://nickselby.com/articles/technology/index.htm?a=1820&lt;/a&gt;. I think his best point is that it works both ways: cops fear what they don't understand, which sometimes leads them to act like thugs toward white-hats. I can confirm this: even though I tried to use the simplest, non-jargon terms when talking to those FBI agents who were trying to intimidate, clearly I intimidated them with superior knowledge. At one point, they mentioned "we don't have a Ph.D. in security like you guys".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-7667960088749352042?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/7667960088749352042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=7667960088749352042' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7667960088749352042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7667960088749352042'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/08/white-hats-are-not-on-same-of-law-but.html' title='White-hats are on the side of law, but not order'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-7472333152520681899</id><published>2011-07-27T15:50:00.005-05:00</published><updated>2011-07-29T01:39:45.946-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dm1z'/><category scheme='http://www.blogger.com/atom/ns#' term='Apple'/><title type='text'>dm1z and MacBook Air: a quick pre-review</title><content type='html'>Since this came up on Twitter, I thought I'd mention two recent purchases: the HP dm1z $400 netbook and the Apple MacBook Air $1000 thing.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;In particular, how well do they work with BackTrack Linux?&lt;br /&gt;&lt;br /&gt;Both had the same problem common with BackTrack: the boot process didn't work, because the video drivers aren't ready. The MacBook Air goes black, the dm1z goes white (well, not white, but displays random data, which is bright grey).&lt;br /&gt;&lt;br /&gt;The solution to this problem is the same. When the grub scene appears that allows you to select a boot option, you press the &amp;lt;TAB&amp;gt; key in order to edit the line. You then add "i915.modeset=0" for the MacBook Air or "radeon.modeset=0" for the dm1z.&lt;br /&gt;&lt;br /&gt;This makes the default graphics work, but without acceleration, so some video operations are slow. To fix this, you need to install the correct drivers. I haven't done this for the MacBook yet, but it works easy on the dm1z. You'll want to do it anyway on the dm1z, because you'll want to use the GPU for password cracking.&lt;br /&gt;&lt;br /&gt;The only thing that didn't appear to work on the MacBook Air was the built-in BlueTooth drivers. That's to be expected: it's the new BlueTooth 4.0 low power stuff.&lt;br /&gt;&lt;br /&gt;The dm1z is more problematic. The WiFi drivers don't work yet, and moreover, it won't allow you to change the built-in WiFi card (boot process stops and complains about unapproved WiFi card). It should work soon though.&lt;br /&gt;&lt;br /&gt;The most annoying thing on the dm1z is that the trackpad drivers don't work right. Proper drivers (or maybe configuration) exist somewhere, I just haven't found them yet. It means either bring a mouse with you, or something to press the pad for mouse clicks without causing the capacitance to move the mouse.&lt;br /&gt;&lt;br /&gt;The CPU in the dm1z is slow, slightly slower/faster than the Atom depending on the task. But the Radeon graphics on the dm1z are fast -- faster than anything short of a full gaming notebook.&lt;br /&gt;&lt;br /&gt;The CPU on the MacBook air is fast (1.6 GHz Sandy Bridge), but it comes with built-in Intel graphics. That should be fine for basic gaming, but it's not a programmable GPU, so useless for password cracking. Graphics performance under Backtrack is slow because I haven't installed the drivers yet, but under Mac OS X, it's really fast. Though, that could be the SSD.&lt;br /&gt;&lt;br /&gt;But the 11-inch MacBook Air is impossibly sexy, so I don't know if any review of it matters.&lt;br /&gt;&lt;br /&gt;I'll get around to writing a more complete review on these things soon, and exactly how to get them working with BackTrack and doing typical tasks.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-7472333152520681899?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/7472333152520681899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=7472333152520681899' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7472333152520681899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7472333152520681899'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/07/dm1z-and-macbook-air-quick-pre-review.html' title='dm1z and MacBook Air: a quick pre-review'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-774957140353185654</id><published>2011-07-27T14:16:00.027-05:00</published><updated>2011-07-29T03:01:10.420-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='certification'/><category scheme='http://www.blogger.com/atom/ns#' term='CISSP'/><title type='text'>The ethical problems of the CISSP and (ISC)2</title><content type='html'>This &lt;a href="https://infosecisland.com/blogview/15450-My-Canons-on-ISC-Ethics-Such-as-They-Are.html"&gt;article from Attrition.org and InfoSecIsland.com&lt;/a&gt; is a good discussion about the ethical problems of CISSP/(ISC)². I thought I'd add my own 2 cents, since the ethics problem with the CISSP certification are pretty grave.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;The article above only briefly mentions the more common complaint about the (ISC)², that they are technically incompetent, and thus not qualified to certify people. I would suggest that the two are intertwined: the cause of (ISC)²'s poor ethics is the need to cover up their lack of technical competence.&lt;br /&gt;&lt;br /&gt;Other certifications, such as passing the bar to become a lawyer, publish past tests, or otherwise provide ways to judge their competence. In that way, those in the profession can judge for themselves whether passing the bar is an adequate measure of competence in the legal profession. If the bar itself proves incompetent, this will quickly become apparent in the published test questions.&lt;br /&gt;&lt;br /&gt;No such accountability exists for (ISC)².There is no transparency in their tests. They keep the questions secret, which prevents outsiders from judging the quality of their tests. Moreover, their tests contain trial questions, which are not graded, but are being evaluated for official inclusion in future tests. When test takers point out obviously bogus questions, those are just dismissed as being trial questions.&lt;br /&gt;&lt;br /&gt;This issue is doubly troublesome because of the roll "transparency" plays in cybersecurity. &lt;b&gt;We would never trust an encryption algorithm that was not completely transparent. Yet, we are expected to trust a certification program shrouded in obscurity.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Like other professions, one of the chief concerns of professional ethics is protecting the profession. Whether you are a doctor, clergyman, lawyer, or journalist, you are expected to keep confidential information secret. This protects the profession: your patients won't confide their medical secrets with you if you blab about them, preventing you from being able to treat the patient. Your flock won't confess to you if you blab about it on your next sermon. Your  client won't confide their legal secrets to you if you then confess them in court. Anonymous sources won't give you juicy stories if you reveal your source.&lt;br /&gt;&lt;br /&gt;Curiously, though, that item isn't among the CISSP &lt;a href="https://www.isc2.org/uploadedFiles/(ISC)2_Public_Content/Code_of_Ethics/ISC2-Code-of-Ethics.pdf"&gt;ethics&lt;/a&gt;. I guess it's implied ("respect their trust"), but there is nothing as explicit as in these other professions that says "you will not divulge the secrets your client confides in you".&lt;br /&gt;&lt;br /&gt;But, there is a lot of things in the CISSP ethics that aren't in those other professions. For example, according to the (ISC)², you should not professionally associate with or recognize criminals, amateurs, or the non-certified. This changes cybersecurity into a corrupt cartel, who shuns those who do not pay into the cartel. It's a lot like the licensing boards in states, where professionals have lobbied the government to enact barriers to competition, all in the name of "certification".&lt;br /&gt;&lt;br /&gt;The model for certification in our industry shouldn't be the closed, obscure processes of the corrupt and incompetent, but the open processes we see in academia. The competency of physicists is judged by the papers they write. Of course, if you are new to cyberscurity, you aren't going to have a track record of published papers, but you will have blog posts, or at least posts to sites like &lt;a href="http://security.stackexchange.com"&gt;http://security.stackexchange.com&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;An example of this is the SANS GIAC certification. I know little about it, maybe it has even worse problems than (ISC)²'s CISSP. But, I can judge it in an open source way. Take the board of directors. The &lt;a href="https://www.isc2.org/board-of-directors.aspx"&gt;(ISC)² board&lt;/a&gt; is a bunch of people I've never heard of before, but I know everyone on the &lt;a href="http://www.sans.edu/about/governance/board-of-directors"&gt;SANS board&lt;/a&gt;, not personally, but through the work they've published. Likewise, as part of certification, people publish papers on a narrow topic. My search results of cybersecurity topics is littered with GIAC papers. Finally, and most important, the professionals who carry GIAC are usuall competent, whereas CISSP certified professionals rarely are. I can't find a record of past exams, but their sample test questions display competence, whereas the sample CISSP test questions do not.&lt;br /&gt;&lt;br /&gt;To be fair, the academics on the SANS board are different than industry professionals. But here's the thing: being a corporate executive only validates your leadership (or political) skills, not your technical skills. Like law and medicine, our field has a heavy academic component. &lt;b&gt;You wouldn't put hospital administrators in charge of evaluating the skills of doctors, nor should you put managers in charge of certifying cybersec professionals.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://www.sans.org/security-resources/ethics.php"&gt;SANS ethics&lt;/a&gt; contain a lot less nonsense than the &lt;a href="https://www.isc2.org/uploadedFiles/(ISC)2_Public_Content/Code_of_Ethics/ISC2-Code-of-Ethics.pdf"&gt;CISSP ethics&lt;/a&gt;. They are clearly about protecting the reputation of professionals, such as explicitly saying "don't divulge secrets", and there's none of the corrupt cartel-supporting ethics of the CISSP like "valuing the certificate". The SANS list provides guidance for the ethical questions cybersec professionals actually face, whereas the CISSP ethics appears to be written by somebody who has never experienced real world ethical questions.&lt;br /&gt;&lt;br /&gt;Of particular interest is this one case where they disagree on ethics:&lt;br /&gt;CISSP ethics: &lt;i&gt;"Discourage unsafe practice"&lt;/i&gt; (translation: be more a security advocate)&lt;br /&gt;SANS ethics: &lt;i&gt;"I distinguish between advocacy and engineering"&lt;/i&gt; (translation: be less a security advocate)&lt;br /&gt;&lt;br /&gt;The CISSP ethic is wrong. You should never discourage unsafe practice. That is advocacy, is wrong, and damages our reputation. Outsiders distrust cybersec professionals because of our tireless advocacy against everything that is deemed unsafe. The reality is that cybersecurity is a tradeoff between costs and benefits. Our job is to accurately and dispassionately communicate the risks, but recognize that customers may choose unsafe practices because of costs, or or any other reason they want to undertake the risk.&lt;br /&gt;&lt;br /&gt;Now, I don't like all the items on the SANS ethics list. The last item forbidding "discrimination" is pointless. Yes, I suppose it's a good thing, but you could also include "be nice to children" and "don't kick puppies". The don't relate to cybersec. However, this nonsense just reflects the general stupidity of political correctness rather than calling into question their technical competency.&lt;br /&gt;&lt;br /&gt;I could endlessly dump on the nonsense that is CISSP, but I leave you with one last ethical problem. Their ethics discourages "Professional recognition of or association with amateurs". The (ISC)² is clearly a bunch of amateurs. Therefore, by definition, you should neither recognize the CISSP certificate nor associate with (ISC)² people. I know this is a snide comment, but it reflects the real ethical quandary of whether it's ethical to recognize a certification that we know certifies the unqualified.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-774957140353185654?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/774957140353185654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=774957140353185654' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/774957140353185654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/774957140353185654'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/07/ethical-problems-of-cissp-and-isc2.html' title='The ethical problems of the CISSP and (ISC)2'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-1372678022851657249</id><published>2011-07-22T17:15:00.005-05:00</published><updated>2011-07-29T01:40:02.111-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='analogies'/><title type='text'>It’s just an analogy, get over it</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-ugwD6p_5jSs/Tinz_KK5yuI/AAAAAAAAAZ8/5lN_C5jS7o4/s1600/220px-William_Merritt_Chase_Keying_up.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/-ugwD6p_5jSs/Tinz_KK5yuI/AAAAAAAAAZ8/5lN_C5jS7o4/s320/220px-William_Merritt_Chase_Keying_up.jpg" width="193" /&gt;&lt;/a&gt;&lt;/div&gt;We in the cybersec business explain technically difficult concepts by using analogies with things people are familiar with. For example, we say “cyber security” to convey the notion that what we do is similar to physical security (armed guards, bank vaults, keys to you front door) but in cyberspace.&lt;br /&gt;&lt;br /&gt;But these are &lt;b&gt;just&lt;/b&gt; analogies. You really can’t take them to far without looking the fool.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A great example is this article claiming that &lt;a href="http://www.itworld.com/data-centerservers/185719/us-lacks-cohesive-plan-malware-control-can-cdc-model-work"&gt;since computer viruses are a disease, the government should treat them that way with something like the CDC&lt;/a&gt;. The CDC, the “Centers for Disease Control”, is the government agency that decides what’s in the yearly flu vaccine, or prevents the next ebola oubreak.&lt;br /&gt;&lt;br /&gt;But viruses are not really diseases. Extending the simple analogy doesn’t work.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-IQ7zepiBA5I/Tin0ZxFtuuI/AAAAAAAAAaA/Q_onePoktu0/s1600/ADN_animation.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-IQ7zepiBA5I/Tin0ZxFtuuI/AAAAAAAAAaA/Q_onePoktu0/s1600/ADN_animation.gif" /&gt;&lt;/a&gt;&lt;/div&gt;The analogy was first made because cyber viruses shared a few traits with real-world viruses. Real-world viruses aren’t “alive” like biological cells, but are instead just a strand of DNA, or a strand of “code” as it were. Viruses replicate by infecting cells, incorporating that DNA into the cell’s DNA, then hijacking the cell to produce more strands of the virus DNA. This kills the cell, releasing billions of strands of virus DNA that go onto infect other cells.&lt;br /&gt;&lt;br /&gt;Cyber viruses likewise are just code that hijacks the computer to produce more copies of itself, which it sends to other computers.&lt;br /&gt;&lt;br /&gt;Or at least, they did in the past. The most dangerous modern “viruses” (aka. “malware”) no longer replicate themselves. Modern networks have gotten good at detecting something that is replicating and stopping it.&lt;br /&gt;&lt;br /&gt;Instead, modern computer viruses are targeted. A hacker picks a victim, scopes the defenses (such as which anti-virus product they use), then designs a virus to evade those defenses. The hacker then sends a “phishing” e-mail to everyone in the company, such as pretending to be from the IT department telling people to download and run that software. The hacker gets in, steals the information he wants, and gets out, sometimes removing the computer virus as he leaves.&lt;br /&gt;&lt;br /&gt;According to Verizon’s latest data breach analysis, 97% of serious virus infections are of this targeted type. This is what happened in the “Aurora” attacks. Chinese hackers (or so Google claims) broke into Google’s network using a custom, targeted virus, and stole a lot of Google’s secrets.&lt;br /&gt;&lt;br /&gt;The failure of the “free market” anti-virus companies is not a failure of the “free market” (as the left-leaning author of the above article suggests), but a failure of the analogy. When viruses mindlessly replicate, it’s easy for the CDC (or anti-virus companies) to get a sample and create a vaccine. When they don’t, when they are targeted, the CDC (or anti-virus companies) will never get a sample, and won’t be able to create a defense or “wipe it out”.&lt;br /&gt;&lt;br /&gt;There are ways of solving the virus problem, but it means treating the technical problem, not the metaphor.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-34R0me6_YRI/Tin075JXiTI/AAAAAAAAAaE/e6auOnfnlOM/s1600/Apple-Lion.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://1.bp.blogspot.com/-34R0me6_YRI/Tin075JXiTI/AAAAAAAAAaE/e6auOnfnlOM/s200/Apple-Lion.jpg" width="180" /&gt;&lt;/a&gt;A good example is what Apple does with the iPhone and what it’s trying to do with their latest operating system, Mac OS X (Lion). You can’t download any arbitrary software on your iPhone. Instead, you can only install those applications that Apple allows you to. Apple’s competitor, Android phones, behaves differently, allowing users to install any software they want.  The consequence is that Apple’s iPhones are largely free of hostile “viruses”, but “viruses” plague Android phones.&lt;br /&gt;&lt;br /&gt;Apple hopes to do the same with their desktop computers. Their “Lion” release of Mac OS X has an app store feature similar to the phone. You can still download arbitrary software from other sources, but you can be more assured that software downloaded from their app store isn’t a virus.&lt;br /&gt;&lt;br /&gt;But there are some people who don’t like Apple’s 1984 Orwellian future, where Apple controls everything you do. One cyber activist claims that he &lt;a href="http://dangillmor.com/2011/07/21/why-my-current-mac-is-probably-my-last/"&gt;won’t make the switch to Lion&lt;/a&gt;, and will instead switch to Linux.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-3jnUxNkHNt0/Tin1c358shI/AAAAAAAAAaI/SOMX-YNgmLA/s1600/E2_WealthOfNations.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-3jnUxNkHNt0/Tin1c358shI/AAAAAAAAAaI/SOMX-YNgmLA/s320/E2_WealthOfNations.jpg" width="209" /&gt;&lt;/a&gt;&lt;/div&gt;That reflects the true reason why viruses are hard to eradicate: security is a tradeoff. A police state can solve the crime problem for you -- at the expense of forcing you to live in a police state. We can solve cyber crime -- at the expense of enormous tradeoffs like Lion’s. That’s what Tom Henderson (the left-leaning author of the article I linked at the top) fail to understand about the free-market. The free-market isn’t about the choices anti-virus companies make, but the choices individuals make. It’s about the sacrifices individuals are willing to tolerate in the name of cyber security. Computer viruses exist because individuals want the ability to download arbitrary software for their computer. They would rather get infected with the occasional virus than give up that ability to install new software. The state of cyber security today is exactly the balance between costs and benefits that customers want. If you don’t believe me, then configure your Windows machine so that no new software can be installed on it. This will protect you from viruses far better than any anti-virus product.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It’s not just fools outside the computer industry that take analogies too far, but also people who should know better.  &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-FwOMNs_UKu8/Tin2Gjku0eI/AAAAAAAAAaM/WfSroHvPGtg/s1600/220px-Keith_B._Alexander_official_portrait.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-FwOMNs_UKu8/Tin2Gjku0eI/AAAAAAAAAaM/WfSroHvPGtg/s1600/220px-Keith_B._Alexander_official_portrait.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;General Keith Alexander, the head of our Cyber Command (the part of the U.S. military dedicated to “cyber”), thinks that we should have a &lt;a href="http://erratasec.blogspot.com/2010/06/cyberwar-is-fiction.html"&gt;cyber weapons arms control treaty&lt;/a&gt;. Again, a “cyber weapon” is just an analogy, one worse than a “cyber virus”. The true threat in a “cyber war” isn’t from nation-states like China, but from their people. China promotes an intense nationalism among their people, who see the United States as their primary adversary (although not necessarily enemy). This causes millions of Chinese teenagers to try hacking into American computers. They do so without any particular weapon, but by typing things like SQL injection into the browser.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Hacking isn’t about the “weapons” or tools that hackers use. It’s what goes on in their heads. It’s like how a single unarmed Navy SEAL is more dangerous than 10 armed soldiers of most of the world’s armies.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-yDGtvrR0LzI/TinzsurIOEI/AAAAAAAAAZ4/mIGHQ7BYgUw/s1600/Zuluattackgutt.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="199" src="http://2.bp.blogspot.com/-yDGtvrR0LzI/TinzsurIOEI/AAAAAAAAAZ4/mIGHQ7BYgUw/s320/Zuluattackgutt.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;The best cyber analogy is the Anglo-Zulu wars, where a small British Army with guns tried to fight huge Zulu armies armed with nothing more than leather shields and wooden spears. The British often lost battles as the Zulu overwhelmed them when they stopped to reload.&amp;nbsp;A cyber weapon treaty today would be as stupid as an arms control treaty between the British and the Zulu. It’s the United States that stands the most to lose from such treaty. We don’t have nationalism -- our hackers oppose the American government and big business as much as hackers everywhere else in the world. All we have are technical measures, like “Stuxnet”, a virus type thing created by the American government to attack Iran’s nuclear program, and the so far the only real example of a cyber weapon to date.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-ZimFHOE3LP0/Tin2VDl962I/AAAAAAAAAaQ/W14qoKd3oUM/s1600/240px-Chevrolet_Bel_Air_1957_4door_Sedan_head.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-ZimFHOE3LP0/Tin2VDl962I/AAAAAAAAAaQ/W14qoKd3oUM/s1600/240px-Chevrolet_Bel_Air_1957_4door_Sedan_head.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;Yet another analogy is automobile safety. Government has laws ensuring the safety of automobiles, with such things as mandatory recalls if there is a safety problem. Shouldn’t the government do the same with software?&lt;br /&gt;&lt;br /&gt;The answer is “no”, the analogy doesn’t work. The safety threat to cars are those things that happen by accident. The security threat for computers are those things that happen on purpose, caused by sentient beings.&lt;br /&gt;&lt;br /&gt;The better analogy is the government telling manufacturers to recall cars because people can slash tires, cut brake lines, or smash windows by throwing rocks from the overpass onto the freeway. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Conclusion&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-S73gP_mkWv0/Tin2gyoy-HI/AAAAAAAAAaU/mJ8u3wqsMV4/s1600/200px-MerryOldSanta.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://2.bp.blogspot.com/-S73gP_mkWv0/Tin2gyoy-HI/AAAAAAAAAaU/mJ8u3wqsMV4/s200/200px-MerryOldSanta.jpg" width="142" /&gt;&lt;/a&gt;&lt;/div&gt;I’m frequently frustrate the way that analogies take a life of their own. The non-technical believe strongly in them, as children believe in Santa Claus. Rational thought is powerless: their eyes glaze over when I try to explain the technical details, in much the same way kids don’t want to hear about the impracticalities of Santa visiting a billion children in one night.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-eyVuvYDDoug/TioARd_7hvI/AAAAAAAAAac/mD3QHoQKvkk/s1600/comment1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-eyVuvYDDoug/TioARd_7hvI/AAAAAAAAAac/mD3QHoQKvkk/s1600/comment1.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/-eyVuvYDDoug/TioARd_7hvI/AAAAAAAAAac/mD3QHoQKvkk/s1600/comment1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/-eyVuvYDDoug/TioARd_7hvI/AAAAAAAAAac/mD3QHoQKvkk/s1600/comment1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/-eyVuvYDDoug/TioARd_7hvI/AAAAAAAAAac/mD3QHoQKvkk/s1600/comment1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/-eyVuvYDDoug/TioARd_7hvI/AAAAAAAAAac/mD3QHoQKvkk/s1600/comment1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/-eyVuvYDDoug/TioARd_7hvI/AAAAAAAAAac/mD3QHoQKvkk/s1600/comment1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You phrase it better than me "use analogies to make points not policy".&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-Pm6KV98Hijs/TioEO1UreZI/AAAAAAAAAag/3Z0g3uy1_ts/s1600/comment2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-Pm6KV98Hijs/TioEO1UreZI/AAAAAAAAAag/3Z0g3uy1_ts/s1600/comment2.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Calling them "computer STDs" is a more apt analogy than "computer viruses". It better reflects what's really happening. In much the same way men won't wear a condom "just this once" because "she looks clean" is the same decision making when running software from a phishing e-mail.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-1372678022851657249?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/1372678022851657249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=1372678022851657249' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1372678022851657249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1372678022851657249'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/07/its-just-analogy-get-over-it.html' title='It’s just an analogy, get over it'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-ugwD6p_5jSs/Tinz_KK5yuI/AAAAAAAAAZ8/5lN_C5jS7o4/s72-c/220px-William_Merritt_Chase_Keying_up.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-8696094597380906820</id><published>2011-07-22T13:43:00.007-05:00</published><updated>2011-07-29T01:40:24.360-05:00</updated><title type='text'>Those who don't know the state-of-the-art are doomed to repeat it</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-p0vnhMxmt7I/Tin_oV406tI/AAAAAAAAAaY/MTSY7IJ9X1U/s1600/466px-The_Historian.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="320" src="http://4.bp.blogspot.com/-p0vnhMxmt7I/Tin_oV406tI/AAAAAAAAAaY/MTSY7IJ9X1U/s320/466px-The_Historian.jpg" width="248" /&gt;&lt;/a&gt;&lt;/div&gt;I was reading &lt;a href="https://www.infosecisland.com/blogview/15029-Threat-Blocking-With-Network-Inspection-System-NIS.html"&gt;this article&lt;/a&gt; about Microsoft's "Network Inspection Engine" or "NIS". It attempts to solve the problem of false-positives in IPS by using more application level protocol analysis that keeps track of protocol state, message structure, and message context.&lt;br /&gt;&lt;br /&gt;Welcome to state-of-the-art, 1999, when I released the first IPS, BlackICE Guard (now sold as IBM Proventia). McAfee's and Palo Alto Networks' IPS products also do a lot of protocol analysis. A lot of bad products give a bad reputation to the industry, but that doesn’t mean there aren't good products.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Even something like Snort does a good job with protocol analysis these days. I say "even" because Snort has one of the worst reputation for false-positives. But that's not really the fault of the internal technology so much as the open-source nature of Snort, that contains a lot of user-contributed signatures of dubious quality, and which must serve multiple interests. Most people who download free Snort want a system tuned to be "chatty" so that they can get instant visibility to what's going on across their network. [*** see &lt;a href="http://www.blogger.com/post-edit.g?blogID=37798047&amp;amp;postID=8696094597380906820&amp;amp;from=pencil#chatty"&gt;below&lt;/a&gt;]&lt;br /&gt;&lt;br /&gt;In contrast, if you take a look at SourceFire's ".so signatures" for Snort (which are written in C code to do more advanced protocol analysis), you see a technology that looks exactly what I did with BlackICE/Proventia. The ones I've looked at (those dealing with MS-RPC threats) look really good. Indeed, if you don't have an MS-RPC parser and something like .so signatures(e.g. TippingPoint), then you have no adequate defense against MS-RPC attacks. There's no way to tune a signature written with a regular expression that can both block the attack without evasions as well as not have false-positives.&lt;br /&gt;&lt;br /&gt;If you think this new "Network Inspection Engine" technology is great, then buy a box from IBM or McAfee or Palo Alto Networks or SourceFire – people who have been running that technology for much longer.&lt;br /&gt;&lt;br /&gt;Note that I'm not recommending a specific product here, just a class of products. Except for IBM Proventia, I've never seen them in action, and I haven't seen my own product in action for the last 5 years (I quit right before IBM acquired the company). Regardless of whether you have the right technology, the products still depend upon the team writing the signatures. You can write surprisingly bad signatures with great technology.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;By the way, every year multiple masters/doctor thesis's are written describing a new way of detecting hacker activity without signatures. They are invariably identical to some 30 year old failed solution to the problem. This is the inverse problem: those who are unaware of the failures of the past tend to repeat them.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;&lt;a href="" name="chatty"&gt;Chatty&lt;/a&gt;:&lt;/b&gt; Few really understand what a "false-positive" is. Many define it as a "false-result", but the way people really use it is to mean "something I didn't want".&lt;br /&gt;&lt;br /&gt;For example, Proventia has a signature for "SNMP_Public" that triggers whenever it sees an SNMP packet with the password "public". You should never see such packets on a well run network. the problem is that no network is strictly "well run", and such packets appear regularly.&lt;br /&gt;&lt;br /&gt;So is "SNMP_Public" a false-positive? A better description is "chatty": it's true, but unwanted.&lt;br /&gt;&lt;br /&gt;The way we solve that is to turn it off by default when we ship the product. Some IDS/IPS products ship that way, to be silent when you connect them to a well run network. A lot of customers don't like that, feeling that there ought to be more, so they turn on everything, then disable the chatty signatures one by one. Other products ship in chatty mode since they expect customers to go through this tuning step anyway.&lt;br /&gt;&lt;br /&gt;The point about "chatty" is that while everyone complains about IDS false-positives, they actually don't know the cause of them. Often, it's their own decisions rather than the vendor's.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-8696094597380906820?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/8696094597380906820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=8696094597380906820' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/8696094597380906820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/8696094597380906820'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/07/those-who-dont-know-state-of-art-are.html' title='Those who don&apos;t know the state-of-the-art are doomed to repeat it'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-p0vnhMxmt7I/Tin_oV406tI/AAAAAAAAAaY/MTSY7IJ9X1U/s72-c/466px-The_Historian.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-2326434570797308087</id><published>2011-07-17T13:30:00.004-05:00</published><updated>2011-07-17T13:35:22.445-05:00</updated><title type='text'>Undersea Cable Map</title><content type='html'>Here is an awesome site for viewing the map of undersea cables: &lt;a href="http://www.cablemap.info/"&gt;http://www.cablemap.info/&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-c3PvLB_5biY/TiMPrZdlBII/AAAAAAAAAZs/TFLpEIH7RPk/s1600/cable-map-example.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="141" src="http://3.bp.blogspot.com/-c3PvLB_5biY/TiMPrZdlBII/AAAAAAAAAZs/TFLpEIH7RPk/s400/cable-map-example.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Undersea cables are interesting. In Richard Clarke's cyberthriller &lt;a href="http://www.amazon.com/Breakpoint-Richard-Clarke/dp/B001G7R7G6/ref=sr_1_4?ie=UTF8&amp;amp;qid=1310927202&amp;amp;sr=8-4"&gt;Breakpoint&lt;/a&gt;, hackers start their attacks by taking out undersea cables. Whether by bombing the landing sites, cutting the cables, or cyberattacking their routers, attacking these cables is near the top of everyone's list of cyberggedon scenarios.&lt;br /&gt;&lt;br /&gt;A couple years ago, there was a series of cuts in the Middle East. Many suspected foul play, but as it turns out, such cuts are common, such as when ships drag their anchors along the bottom. That's why landing sites avoid shipping lanes. There is a cable cut somewhere in the world roughly every 3 days, and there are fleets of ships whose sole job it is to fix these cuts.&lt;br /&gt;&lt;br /&gt;Even though they were accidental, they had a major effect on the Internet. Some countries in the Middle East were largely cut off from the Internet for a few weeks, and Britains found their VoIP to outsourced support centers in India to have enormous lag/latency, as packets had to be routed West through the United States, rather than East through the Suez Canal.&lt;br /&gt;&lt;br /&gt;The NSA has their own nuclear powered submarine. Among the uses for such a thing is to sit off the coast of Russia and eavesdrop on radio waves. But of course, the other use could be to secretly tap these cables. But these cables are getting faster at an enormous rate. They continue to lay new cable, and they upgrade the equipment on the ends to increase they data rates they send through the cables. Older cables (i.e. 10 years old) would carry 200-gbps. New cables carry 6-tbps. A computer costing $2000 is able to monitor 10-gbps (assuming the right software), so the NSA would need just 20 computers to eavesdrop on &amp;nbsp;one of the old cables, but 600 of them for one of the newer cables.&lt;br /&gt;&lt;br /&gt;I grew up in Oregon, a quiet state on the West Coast between Washington (home of Microsoft and Adobe) and California (home of Silicon Valley). Curiously, though, it's a major landing site for cables going to Asia. There are several reasons for this. One reason is that it's 700 miles shorter (calculating the distance NRT-PDX vs. NRT-LAX). Another is that Intel's main site is located in Hillsborough, Oregon, which has a created a small hi-tech mecca (Linus Torvalds lives in Oregon).&lt;br /&gt;&lt;br /&gt;The biggest reason, though, is cheap power because of all the &lt;a href="http://en.wikipedia.org/wiki/List_of_dams_in_the_Columbia_River_watershed"&gt;dams on the Columbia Riva&lt;/a&gt;. Whereas &lt;a href="http://www.eia.gov/cneaf/electricity/epm/table5_6_a.html"&gt;residential&lt;/a&gt; power rates are 12-cents per kilowatt/hour average in the U.S., Columbia River power is around 4-cents per kilowatt/hour -- possibly cheaper for the data centers built right next to the damns. In order to exploit this cheap power, the states of Oregon and Washington strung fiber optic cables up the river for data centers. Google, Amazon, and &lt;a href="http://www.centraloregonian.com/archives/story.aspx/12393/helping-feed-the-grid"&gt;Facebook&lt;/a&gt; have built data centers there to capitalize on the cheap power and fast connection. (Google won't say what it pays for electrical power, but they displace aluminum smelters that became unprofitable when power went above 3-cents per kilowatt/hour).&lt;br /&gt;&lt;br /&gt;I've create a picture of Oregon in the map below. I've marked Intel (Hillsboro), Google (The Dalles), Facebook (Prineville), and Amazon (Boardman). You can see the landing sites for cables on the left. Click on the image to enlarge.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-kCddN25N9Ps/TiMp32SJgSI/AAAAAAAAAZw/8zB2VMOQOMw/s1600/cable-map-oregon.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="489" src="http://3.bp.blogspot.com/-kCddN25N9Ps/TiMp32SJgSI/AAAAAAAAAZw/8zB2VMOQOMw/s640/cable-map-oregon.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Note that the landing sites are not near ports. That's because ship anchors are the leading cause of cable cuts, so they want to locate the landing sites as far from ships as possible.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-2326434570797308087?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/2326434570797308087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=2326434570797308087' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/2326434570797308087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/2326434570797308087'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/07/undersea-cable-map.html' title='Undersea Cable Map'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-c3PvLB_5biY/TiMPrZdlBII/AAAAAAAAAZs/TFLpEIH7RPk/s72-c/cable-map-example.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-3690254145639202743</id><published>2011-07-13T13:02:00.003-05:00</published><updated>2011-07-29T01:40:54.695-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='conspiracy theories'/><title type='text'>Don’t get sucked into conspiracies</title><content type='html'>&lt;a href="http://www.hackerfactor.com/"&gt;Dr. Neal Krawetz&lt;/a&gt; is the best source for image analysis (that I know of). His work is awesome. Recently, when I visited his blog, I noticed that he got sucked into two conspiracy theories.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-1EOhqiLAxYg/Th3ehW5RsnI/AAAAAAAAAZo/U2_lCn37b3U/s1600/behindthescenes.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-1EOhqiLAxYg/Th3ehW5RsnI/AAAAAAAAAZo/U2_lCn37b3U/s1600/behindthescenes.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;The first is a &lt;a href="http://www.hackerfactor.com/blog/index.php?/archives/430-Coming-To-You-Live.html"&gt;post on March 9&lt;/a&gt; where he mocks the “conspiracy nuts” that criticized President Obama for &lt;a href="http://www.poynter.org/latest-news/als-morning-meeting/130913/reuters-ap-photojournalists-describe-staging-of-obama-photo-staged-after-announcement-of-bin-ladens-death/"&gt;staging a photo-op&lt;/a&gt; after his speech announcing Bin Laden’s death. Journalists were banned from the room during the actual speech, to avoid noise from cameras going off, so Obama re-enacted his walk down the hallway and first 30 seconds of his speech. Many of the photographs you see in newspapers of this event were actually of the later re-enactment.&lt;br /&gt;&lt;br /&gt;Staging pictures like this is wrong. This is not a criticism of Obama, but of the press. This is against journalistic ethics. Journalists are supposed to deliver the truth, not some facsimile of the truth. It’s the equivalent to a scientist who adjusts measurements to the ones he knows are correct, or a lawyer who coaches a witness on what to say in the courtroom.&lt;br /&gt;&lt;br /&gt;The news organizations tried to get around this by correctly captioning their photographs. For example, the Associated Press captioned theirs as “President Barack Obama reads his statement to photographers after making a televised statement ...”. Technically, this absolves them of guilt, but in practice, newspapers that eventually print the photographs remove or change these captions. Even when correctly printed, and read, most people will not immediately understand that this was staged photography after the event, rather than the event itself.&lt;br /&gt;&lt;br /&gt;Thus, Krawetz is guilty of the partisan bickering he accused others of. Those articles made no criticism of Obama, just (correct) criticism of the press.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Krawetz made a &lt;a href="http://www.hackerfactor.com/blog/index.php?/archives/433-We-Have-A-Weiner.html"&gt;post on June 3&lt;/a&gt; that got sucked into the Anthony Wiener conspiracy theories. When the scandal broke, but before Weiner admitted guilt, extremist left-wing blogs had conspiracy theories claiming Wiener was framed. One conspiracy theory noted how the image tags (JPEG EXIF info) didn’t match other images Wiener had uploaded. &lt;a href="http://cannonfire.blogspot.com/2011/06/weiner-affair-close-to-solution-but-i.html"&gt;Another conspiracy theory&lt;/a&gt; noted that a link that normally appears on Yfrog was missing in the Wiener photo -- which would likewise be missing if hackers exploited a known security hole (since fixed) in Yfrog.&lt;br /&gt;&lt;br /&gt;Both these problems have obvious explanations.&lt;br /&gt;&lt;br /&gt;The missing EXIF image tags are caused by the fact the phone resized the image before sending it. When you send an image on virtually any smartphone, you are given the choice to make it smaller, to reduce the time and bandwidth needed to send it. When you do that, the phone strips out some of the EXIF information. I think all modern smartphones (iPhone, Android, Blackberry) used the same &lt;a href="http://www.ijg.org/"&gt;IJG&lt;/a&gt; that causes this behavior. Try this for yourself: take a photo, then send the original to yourself, then send an 800x600 smaller version. Now compared the EXIF tags. As well as reproducing this effect with my phone, I found many other images on the Internet with Google that have the same EXIF information as Wiener’s photo.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-27fwhdMAUJs/TeZR7KX5LzI/AAAAAAAAC1g/zQG-Q-xtDjw/s1600/comparison-weiner-dowson-final.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-27fwhdMAUJs/TeZR7KX5LzI/AAAAAAAAC1g/zQG-Q-xtDjw/s320/comparison-weiner-dowson-final.jpg" width="248" /&gt;&lt;/a&gt;&lt;/div&gt;I don’t know what causes the “&lt;a href="http://2.bp.blogspot.com/-27fwhdMAUJs/TeZR7KX5LzI/AAAAAAAAC1g/zQG-Q-xtDjw/s1600/comparison-weiner-dowson-final.jpg"&gt;missing URL&lt;/a&gt;” problem, but there are tons of posts to Yfrog that have the same artifact. It took me all of 10 seconds to find numerous examples of this behavior, such as this one &lt;a href="http://yfrog.com/gz1qunsj"&gt;http://yfrog.com/gz1qunsj&lt;/a&gt;. It’s so common, it’s unreasonable to believe that only hackers could cause the effect. [***]&lt;br /&gt;&lt;br /&gt;By the way, there is also this &lt;a href="http://www.dailykos.com/story/2011/05/29/980400/-Breitbarts-#TwitterHoaxHow-It-Went-Down-%28updated-wsmoking-gun%29?detail=hide"&gt;error level analysis conspiracy theory&lt;/a&gt; that is &lt;a href="http://www.dailykos.com/story/2011/05/29/980463/-Breitbart-Image-Analysis-DOES-NOT-show-evidence-of-Fraud-re:-Rep-Weiner?via=tag"&gt;thoroughly debunked&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This is the hallmark of a conspiracy theory. Whenever you see a phrase like “this cannot be explained, unless there is a conspiracy”, then you know you have a conspiracy theory. Another reason things cannot be explained is that they simply don’t have the experience, expertise, or interest in explaining it. It took me all of 5 minutes to find other explanations of their evidence.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Krawetz discusses the fact that he is in the business of finding conspiracies, by using his awesome expertise in finding image manipulation, so that he might be biased toward conspiracy theories. It’s the same thing in the cybersecurity industry, where we are prone to blame hackers for everything. We should strive more to doublecheck our biases. When something looks too much like a conspiracy theory, we should look harder for alternate explanations of the “evidence”.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;[***] Update: When I tested this page after I posted it, the YFrog link I used suddenly had the expected contents. The reason I didn't see it is because it's delivered via JavaScript, which updates the tweet information associated with the image, which sometimes doesn't happen. Furthermore, it appears YFrog gets the tweet information directly from Twitter's servers -- so if somebody deletes the associated Tweet, the caption disappears. Thus, my original attempt to debunk the conspiracy theory doesn't work -- but leads to what is almost certainly the real explanation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-3690254145639202743?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/3690254145639202743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=3690254145639202743' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/3690254145639202743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/3690254145639202743'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/07/dont-get-sucked-into-conspiracies.html' title='Don’t get sucked into conspiracies'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-1EOhqiLAxYg/Th3ehW5RsnI/AAAAAAAAAZo/U2_lCn37b3U/s72-c/behindthescenes.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-1927522380385407800</id><published>2011-07-08T16:23:00.001-05:00</published><updated>2011-07-29T01:41:15.363-05:00</updated><title type='text'>Space Shuttle: good riddance</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-K5--GnvprtE/Thd1QLr2QrI/AAAAAAAAAZg/hKMljE6Xiy0/s1600/270px-STS120LaunchHiRes.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-K5--GnvprtE/Thd1QLr2QrI/AAAAAAAAAZg/hKMljE6Xiy0/s320/270px-STS120LaunchHiRes.jpg" width="208" /&gt;&lt;/a&gt;&lt;/div&gt;Today was the 135th and final launch of the space shuttle. Many are crying over the end of an era. But the project has been a boondoggle from the start, sucking the life out of space exploration. At $1-billion per launch, it costs 10 times as much to launch something with the Shuttle than with another spacecraft, which is why we buy so many launches from the Russians these days. Over its 40 year life, NASA has spent $211-billion (inflation adjusted) in the program that has no notable accomplishments.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;The problem with the Shuttle has always been that it’s a &lt;i&gt;moral&lt;/i&gt; argument. Everyone knows that “reusable” is morally superior to “disposable”. Therefore, a reusable spacecraft has to be better than a disposable one. The moral superiority of this argument has blinded people for 40 years to the fact that it just doesn't work.&lt;br /&gt;&lt;br /&gt;The flaw in the program can be seen in the two Shuttle disasters, when the Challenger exploded after liftoff, and the Columbia burned up on re-entry. &lt;b&gt;The cause of both disasters was the complexity of the Shuttle.&lt;/b&gt; Disposable spacecraft are simple, and harder to mess up. A reusable space plane is horribly complex, and impossible to get right. If we’d ever achieved the thousands of launches (rather than the mere 135), we would have had many more disasters.&lt;br /&gt;&lt;br /&gt;As a risk expert, I was horrified by the finger pointing after the Columbia tragedy. What everyone points to as the “cause” was foam falling off the tank and hitting the heat resistant tiles. The enormous heat during re-entry burned through the broken tiles, and destroyed the space craft. But the real “cause” was the complexity of the tiles themselves. There were over 20,000 tiles, no two alike, that had to be individually inspected, removed, repaired/replaced, and glued back on after every flight.&lt;br /&gt;&lt;br /&gt;The tiles alone made the Shuttle too expensive, and too risky to operate, but it's just a small part of Shuttle complexity.&lt;br /&gt;&lt;br /&gt;But worse than the tiles themselves was the blame game following the Columbia disaster. As the news reports, there were people within NASA who has warned management of the risk, but management covered up the problem. Of course this was the case. By any rational risk analysis, the Shuttle was too risky to fly, but NASA was told by Congress and the American people to make it fly. Therefore, NASA management had to decide which risks they were willing to live with. If the Shuttle were to keep flying after today, there would be another disaster soon, and its cause would be one of the many other risks management knows about but “ignores”.&lt;br /&gt;&lt;br /&gt;This is a useful lesson for cybersecurity. Today’s networks are too complex to secure. Getting hacked is as inevitable as a Shuttle blowing up. Despite this, corporations are convinces that they can solve the complexity. They believe their firewalls will not have holes hackers can get through. They believe that they can control their website code to prevent all SQL injection and cross-site-scripting. They believe enough anti-virus will prevent users from infecting themselves with viruses. They believe they can keep all patches up-to-date all the time. They believe they can isolate critical bits from the Internet so that hackers can’t reach them. When they get hacked, they can always point backwards at the path they failed to apply, or the Web 2.0 code they failed to inspect, or the virus their AV failed to catch. They believe that was the only problem that allowed the hack, and once fixed, they will be secure from now on. They believe if they “just take security seriously enough”, then such problems won’t happen. But they are wrong, as wrong as Shuttle engineers who thought “if we just take safety serious enough, disasters won’t happen”.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-1927522380385407800?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/1927522380385407800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=1927522380385407800' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1927522380385407800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1927522380385407800'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/07/space-shuttle-good-riddance.html' title='Space Shuttle: good riddance'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-K5--GnvprtE/Thd1QLr2QrI/AAAAAAAAAZg/hKMljE6Xiy0/s72-c/270px-STS120LaunchHiRes.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-7772921650345881688</id><published>2011-07-06T13:49:00.005-05:00</published><updated>2011-07-06T17:05:28.753-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL injection'/><title type='text'>Chronic Threats: SQL injection</title><content type='html'>What is the reason for the recent rash of hacking? Why was LulzSec able to take on high-profile victims like Sony, the FBI, and the CIA?&lt;br /&gt;&lt;br /&gt;The answer is this: hackers aren't necessarily smart; the problem is that the victims are stupid. Hackers like LulzSec exploited "obvious" problems in the victim websites. But for all their obviousness, we (as an industry) still don't know how to fix them.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For example, take the most common problem, called "SQL injection". This problem is caused by the fact that websites treat input as "code" rather than "data". This is demonstrated by his recent &lt;a href="http://www.wooyun.org/bugs/wooyun-2010-02397"&gt;vulnerability at CNN&lt;/a&gt;&amp;nbsp;(which I got from a Tweet by Dave Aitel, it's still working last I checked). CNN set up a website that allows people to query information about colleges. A typical page looks like the following:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-HsWOOSMIrjM/ThSik5Z-E7I/AAAAAAAAAZY/sRF95iHBIG0/s1600/cnnmoney1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="241" src="http://2.bp.blogspot.com/-HsWOOSMIrjM/ThSik5Z-E7I/AAAAAAAAAZY/sRF95iHBIG0/s400/cnnmoney1.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;What we see in this picture is the webpage that is accessed with the URL &lt;a href="http://cgi.money.cnn.com/tools/collegecost/collegecost.jsp?college_id=7966"&gt;http://cgi.money.cnn.com/tools/collegecost/collegecost.jsp?college_id=7966&lt;/a&gt;. Data for all the colleges are stored in a database. Each college is given a unique numeric identifier. In this case, the college_id of 7966 represents Oklahoma State University in CNN's database. The web-application takes this number from the URL and uses it to query the database, then formats the results in a web page.&lt;br /&gt;&lt;br /&gt;The problem with CNN's website is that it doesn't treat 7966 as just data, but also as code. Hackers can replace that number with code, and CNN's database will run it. The easiest way to test this is to enter in faulty code, which generates an error message. The way that most of us do that is simply put a quote ' character at the end of the field. This allows us to test that this flaw exists, that the website will run our code, without actually running code on the database. An example is below:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-B2roIfdnMCY/ThSiqGOYRTI/AAAAAAAAAZc/4i3clpQZ1yk/s1600/cnnmoney2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="241" src="http://3.bp.blogspot.com/-B2roIfdnMCY/ThSiqGOYRTI/AAAAAAAAAZc/4i3clpQZ1yk/s400/cnnmoney2.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;As you see, simply putting a quote ' character at the end causes the website to produce an error message as it tries to run the code. The website of the Chinese hacker who discovered this &lt;a href="http://www.wooyun.org/bugs/wooyun-2010-02397"&gt;vulnerability&lt;/a&gt;&amp;nbsp;has an even better example that runs harmless code that grabs the version number. It's URL containing code looks like:&lt;br /&gt;&lt;blockquote&gt;http://cgi.money.cnn.com/tools/collegecost/collegecost.jsp?college_id=7966+||+utl_inaddr.get_host_name((select+banner+from+v$version+where+rownum=1))--&lt;/blockquote&gt;&lt;br /&gt;The thing about this vulnerability is that any teenager can exploit it. You would think that a guy with 10 years experience creating websites would know more about this problem than a teenage hacker, but the reverse is true. Most people who create websites don't really understand how they truly work, nor do they care. They care about the end result, about what the user sees, about pretty pictures. They rarely care about the boring technical details. Website designers are shockingly ignorant about the cybersecurity implications of their work. Conversely, teenagers are shockingly ignorant about how to create websites -- they only know how to break them.&lt;br /&gt;&lt;br /&gt;The problem with this threat is that it's &lt;b&gt;chronic&lt;/b&gt;. Everybody in the cybersecurity community understands this problem, but nobody knows how to fix it. Sure, we know how to fix this specific bug -- just change one line of code, and the problem goes away. The thing we don't understand is how to prevent a similar bug from appearing yet again. We have tools, like scanners that look for such bugs on websites, code analyzers to point out such bugs in the web-app code, and web-app firewalls to block some attacks, but none of these tools are wholly effective.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-7772921650345881688?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/7772921650345881688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=7772921650345881688' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7772921650345881688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7772921650345881688'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/07/chronic-threats-sql-injection.html' title='Chronic Threats: SQL injection'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-HsWOOSMIrjM/ThSik5Z-E7I/AAAAAAAAAZY/sRF95iHBIG0/s72-c/cnnmoney1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-7457144210232806279</id><published>2011-06-27T12:10:00.007-05:00</published><updated>2011-07-29T01:41:53.015-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lulzsec'/><category scheme='http://www.blogger.com/atom/ns#' term='pentest'/><category scheme='http://www.blogger.com/atom/ns#' term='musings'/><title type='text'>Take a bow everybody, the security industry really failed this time</title><content type='html'>&lt;style&gt; &lt;!--  /* Font Definitions */ @font-face  {font-family:"ＭＳ 明朝";  panose-1:0 0 0 0 0 0 0 0 0 0;  mso-font-charset:128;  mso-generic-font-family:roman;  mso-font-format:other;  mso-font-pitch:fixed;  mso-font-signature:1 134676480 16 0 131072 0;} @font-face  {font-family:"Cambria Math";  panose-1:2 4 5 3 5 4 6 3 2 4;  mso-font-charset:0;  mso-generic-font-family:auto;  mso-font-pitch:variable;  mso-font-signature:3 0 0 0 1 0;} @font-face  {font-family:Cambria;  panose-1:2 4 5 3 5 4 6 3 2 4;  mso-font-charset:0;  mso-generic-font-family:auto;  mso-font-pitch:variable;  mso-font-signature:3 0 0 0 1 0;}  /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal  {mso-style-unhide:no;  mso-style-qformat:yes;  mso-style-parent:"";  margin:0in;  margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:12.0pt;  font-family:Cambria;  mso-ascii-font-family:Cambria;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:"ＭＳ 明朝";  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Cambria;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:"Times New Roman";  mso-bidi-theme-font:minor-bidi;} .MsoChpDefault  {mso-style-type:export-only;  mso-default-props:yes;  font-family:Cambria;  mso-ascii-font-family:Cambria;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:"ＭＳ 明朝";  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Cambria;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:"Times New Roman";  mso-bidi-theme-font:minor-bidi;} @page WordSection1  {size:8.5in 11.0in;  margin:1.0in 1.25in 1.0in 1.25in;  mso-header-margin:.5in;  mso-footer-margin:.5in;  mso-paper-source:0;} div.WordSection1  {page:WordSection1;} --&gt;&lt;/style&gt;             &lt;style&gt; &lt;!--  /* Font Definitions */ @font-face  {font-family:"ＭＳ 明朝";  panose-1:0 0 0 0 0 0 0 0 0 0;  mso-font-charset:128;  mso-generic-font-family:roman;  mso-font-format:other;  mso-font-pitch:fixed;  mso-font-signature:1 134676480 16 0 131072 0;} @font-face  {font-family:"Cambria Math";  panose-1:2 4 5 3 5 4 6 3 2 4;  mso-font-charset:0;  mso-generic-font-family:auto;  mso-font-pitch:variable;  mso-font-signature:3 0 0 0 1 0;} @font-face  {font-family:Cambria;  panose-1:2 4 5 3 5 4 6 3 2 4;  mso-font-charset:0;  mso-generic-font-family:auto;  mso-font-pitch:variable;  mso-font-signature:3 0 0 0 1 0;}  /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal  {mso-style-unhide:no;  mso-style-qformat:yes;  mso-style-parent:"";  margin:0in;  margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:12.0pt;  font-family:Cambria;  mso-ascii-font-family:Cambria;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:"ＭＳ 明朝";  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Cambria;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:"Times New Roman";  mso-bidi-theme-font:minor-bidi;} .MsoChpDefault  {mso-style-type:export-only;  mso-default-props:yes;  font-family:Cambria;  mso-ascii-font-family:Cambria;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:"ＭＳ 明朝";  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Cambria;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:"Times New Roman";  mso-bidi-theme-font:minor-bidi;} @page WordSection1  {size:8.5in 11.0in;  margin:1.0in 1.25in 1.0in 1.25in;  mso-header-margin:.5in;  mso-footer-margin:.5in;  mso-paper-source:0;} div.WordSection1  {page:WordSection1;} --&gt; &lt;/style&gt;     &lt;p class="MsoNormal"&gt;I haven’t said anything about Lulzsec publicly yet and I don’t really have a good reason for the lack of comment. I have been watching their activities with great amusement. On Saturday I saw they released a large list of routers IP addresses and the username and passwords. The passwords looked like they were set to default values. This actually made me laugh out loud and I had two thoughts. First and foremost how was this allowed to happen if you are doing regular security checks? The second thought is who will take the blame for this from the offending company?&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;First off I've heard a lot of people say that Lulzsec did security a favor by really showing the need for security. I disagree completely. I think Lulzsec has show how ineffective the security community and marketplace really is. These were not mom and pop targets that got hit but instead were several mega corporations that spend more money on security than most people will make in a lifetime. The spending did not stop the compromise and posting of their sensitive data so what good is it? &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;p style="font-weight: bold;" class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="font-weight: bold;" class="MsoNormal"&gt;Putting your security in the hands of tools will fail you every time.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;A tool is a device that helps you accomplish a goal not a magic device that will accomplish the goal by itself. A hammer does not build a house for a carpenter nor will a vuln scanner make a network secure.&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;How did all those routers go with easy to guess user names and passwords and nobody in the company noticed? I have no inside knowledge but I can take an educated guess: the belief that security tools will work and that security policies will be followed.  I am sure somebody somewhere is explaining to their boss that the security policy was followed to the letter and vulnerability scans were completed regularly and these were not detected. As a pentester I run into tests all the time that are suppose to be a “gloves off no limits test” and the first thing I am handed is a list of systems off limits, So although the networks may have been scanned maybe the routers were excluded because they were considered “mission critical” with no attack surface so they were excluded from vulnerability testing.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;Tools like vuln scanners, IPSes, and WAFs will fail you when you need them most. I spend most of my time looking at how to get attacks by security tools and it is pretty easy. I try to explain that to clients but often times tools are easier to find than good people so they go with tools.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p style="font-weight: bold;" class="MsoNormal"&gt;If you exclude anything from vulnerability testing you will fail.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;I know that there are some systems that really are important and it will be an operating problem if they go down. Ask your self this: if that is true why aren’t these systems the targets of more testing so you can find the cause of your faults and not a hacker group. Anybody that thinks that Lulzsec or any other hacker will respect your no scan list you are crazy. &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;As a former network admin I know that complex networks are actually a hodgepodge of cross fingers and jerry rigging to get to work. Once these Frankenstein networks are working nobody wants to touch them in fear of breaking something that make take into the wee hours of the night to fix. This is no excuse for keeping some systems off limits for testing. &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;The second thought is who to blame. In reality I think everyone in security is to blame. I include myself in this. We don’t really prepare customers for real world risks and often focus of things that sell like compliancy. Having worked for and with a lot of security product companies I have observed the compromise of a security products ability to protect in the name of customer requests more times than I can count. We in security cater more to check writers than we do actual security. Normally the check writers don’t want security, they want a check box filled that will have the minimal impact on operations.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p style="font-weight: bold;" class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="font-weight: bold;" class="MsoNormal"&gt;Security is the first business I have seen where the customer is not always right.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;I will admit I have changed testing strategies to appease customers. The wide eyed “you are gonna do what?!?!” response to a testing planned has made me worried about losing a client so although I will ruffle my feathers and puff out my chest on the importance of the testing but in most cases I will acquiesce to please the clients. This is my fault and I should not do it. &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p style="font-weight: bold;" class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="font-weight: bold;" class="MsoNormal"&gt;Setting client expectations…for real.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;I have not seen a company that is actually secure. It doesn’t matter if the threat if simple password guessing or holding a Glock 21 to the head of your network admin I can get access. Often times security testing is used to verify security to a certain point, a point of tradeoffs for the company between cost security and feasibility of attack. While the Glock approach may not be as feasible as other attacks it will work every time. At this point you should not be judging the feasibility of the attack but instead the determination of the attacker. As a company as if you really have something work stealing and if so what lengths would somebody go to steal it?&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;This might not be the best example but it is the first anecdote I thought of while writing this post:&lt;/p&gt;&lt;p class="MsoNormal"&gt;I once did a pentest for a company that had a WEP encrypted wifi network. They network manager wanted to spend his budget on other things than security so it was never upgraded. The reason: we have guys with guns at the gates so no one can really get within range of out network to attack it. In my plan to executives I mentioned two possibilities to carry out the “no holds barred” testing. One idea was skydiving into the facility with my computer; the other was just having a helicopter circle close by. The executives immediately said no for various reasons. They were later forced to admit that either idea would work. Now if I had been a real attacker I would not have cleared my plans with the first and been able to compromise their network and do dirty deeds ranging from theft of IP to maintaining access for a cohort off site. I failed my client because I let their fear of success take over testing.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;I am not alone in this failure. If you show me a person that says they have never dialed back testing to please a client I can show you a person reading a prepared statement from their marketing department. Make no mistake that often the hurdles thrown up in front of security are people worrying you will succeed or at least make their life more difficult. And the fear of success or just being annoyed will often motivate clients to veto an attack vector they know will work. If this were to cause a fix I would be happy but often if there is nothing in the report the client won’t fix anything.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;Because of failures like these the security community does not prepare clients for real attacks by determined attackers like Lulzsec. The clients of the security industry are systematically compromised and exposed for all to see like a cadaver during an autopsy.&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;In the end while I see some sales guys rubbing their hands together in glee over the thought that Lulsec will drive security spending up I am absolutely convinced that the last thing this problem needs is more money.&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;Until there is a mindset change by executives of these companies no amount of security spending will keep them safe…&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;and that’s our failure as an industry. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;style&gt;&lt;!--  /* Font Definitions */ @font-face  {font-family:"ＭＳ 明朝";  panose-1:0 0 0 0 0 0 0 0 0 0;  mso-font-charset:128;  mso-generic-font-family:roman;  mso-font-format:other;  mso-font-pitch:fixed;  mso-font-signature:1 134676480 16 0 131072 0;} @font-face  {font-family:"ＭＳ 明朝";  panose-1:0 0 0 0 0 0 0 0 0 0;  mso-font-charset:128;  mso-generic-font-family:roman;  mso-font-format:other;  mso-font-pitch:fixed;  mso-font-signature:1 134676480 16 0 131072 0;} @font-face  {font-family:Cambria;  panose-1:2 4 5 3 5 4 6 3 2 4;  mso-font-charset:0;  mso-generic-font-family:auto;  mso-font-pitch:variable;  mso-font-signature:3 0 0 0 1 0;}  /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal  {mso-style-unhide:no;  mso-style-qformat:yes;  mso-style-parent:"";  margin:0in;  margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:12.0pt;  font-family:Cambria;  mso-ascii-font-family:Cambria;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:"ＭＳ 明朝";  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Cambria;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:"Times New Roman";  mso-bidi-theme-font:minor-bidi;} .MsoChpDefault  {mso-style-type:export-only;  mso-default-props:yes;  font-family:Cambria;  mso-ascii-font-family:Cambria;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:"ＭＳ 明朝";  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Cambria;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:"Times New Roman";  mso-bidi-theme-font:minor-bidi;} @page WordSection1  {size:8.5in 11.0in;  margin:1.0in 1.25in 1.0in 1.25in;  mso-header-margin:.5in;  mso-footer-margin:.5in;  mso-paper-source:0;} div.WordSection1  {page:WordSection1;} --&gt;&lt;/style&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-7457144210232806279?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/7457144210232806279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=7457144210232806279' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7457144210232806279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7457144210232806279'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/06/take-bow-everybody-security-industry.html' title='Take a bow everybody, the security industry really failed this time'/><author><name>David Maynor</name><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>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-1031244157702320073</id><published>2011-06-24T05:10:00.006-05:00</published><updated>2011-07-22T17:53:01.903-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='crazy'/><category scheme='http://www.blogger.com/atom/ns#' term='cloud'/><category scheme='http://www.blogger.com/atom/ns#' term='musings'/><title type='text'>My own Grandpa Simpon moment: The Cloud</title><content type='html'>As the sun begins to wiggle&lt;a href="http://2.bp.blogspot.com/-OPuZ2uCcYB4/TgRjepc1iFI/AAAAAAAAAtA/MMFMAbuQwTQ/s1600/texas-storm-cloud-by-natioanal-weather-service-photographer-chris-broyles-wallpaper.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5621727613039249490" src="http://2.bp.blogspot.com/-OPuZ2uCcYB4/TgRjepc1iFI/AAAAAAAAAtA/MMFMAbuQwTQ/s320/texas-storm-cloud-by-natioanal-weather-service-photographer-chris-broyles-wallpaper.jpg" style="cursor: hand; cursor: pointer; float: left; height: 240px; margin: 0 10px 10px 0; width: 320px;" /&gt;&lt;/a&gt; its way over the horizon and the sleepy town of Atlanta begins to wake I find myself watching a movie called The Eagle. Since the movie is only semi interesting I drift to catching up on news of the last day and come across this story:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://wapo.st/muTOtJ"&gt;http://wapo.st/muTOtJ&lt;/a&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Beware:&lt;/span&gt; What follows are random Dave musings and I haven’t had my Adderall today.&lt;br /&gt;&lt;br /&gt;Am I wrong thinking this is a cloud failure? I have to admit I am not much of a cloud expert but shared hardware for virtual instances always seemed like a bad idea because you do not know who your neighbors are. Your innocent widget business could be next to child porn, websites selling drugs or even a Democrat&lt;a href="http://2.bp.blogspot.com/-P-3-jk5enys/TgRj2WnyLZI/AAAAAAAAAtI/hiVpN163clw/s1600/swat.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5621728020301753746" src="http://2.bp.blogspot.com/-P-3-jk5enys/TgRj2WnyLZI/AAAAAAAAAtI/hiVpN163clw/s320/swat.jpg" style="cursor: hand; cursor: pointer; float: left; height: 235px; margin: 0 10px 10px 0; width: 320px;" /&gt;&lt;/a&gt; politician’s website.  If anybody watches cop shows like Cops or SWAT then you know one day the residences will put enough pressure on their elected leaders to crackdown on the crime in there area and that will kick off a neighborhood sweep. The same holds true for the virtual residents of the Internet. I am sure you don’t want your business in the same virtual neighborhood as child porn, drugs, or Democrats.&lt;br /&gt;&lt;br /&gt;I think the same is true for some services in this case. How can you rely on something that could be seized at any moment for participating in criminal actions even though it may have been a single user and not the service its self? Or worse a service gets taken now not because of what it is doing virtually but where it is in the real world. Imagine a FBI agent with a warrant showing up to take two or three servers and is met with racks upon racks of servers. He might decide to be through and take everything in the same rack as the offending server without realizing it could contains thousands of other company’s and unrelated data. I say without realizing but what I really mean is without caring, when data collection and analysis is your business though it does not pay to err on the side of caution.&lt;br /&gt;&lt;br /&gt;Unless I am mistaken the FBI is still in the grab everything with a power cord mode instead of respecting virtual boundaries. The thoughts that keep me up are things like what will happen when the US bans Bitcoins and Rob’s development machines are seized for mining. Then because Rob’s machines were backed up using Dropbox is seized as well. When that happens the Dropbox machines are in close proximity to Thinkgeek machines are they are taken as well. Now I am out of our development effort, having to deal with lawyers, and cannot order any ironic t-shirts to show my displeasure. T-shirts with slogans like the following:&lt;br /&gt;&lt;br /&gt;“The government banned Bitcoin, seized a lot cloud service’s computers and all I got is the shaft because I can no longer afford t-shirts ” –proposed Thinkgeek t-shirt for 2012&lt;br /&gt;&lt;br /&gt;Keep in mind I don’t even know if the above scenario is possible I am just using it as a hypothetical scenario.&lt;br /&gt;&lt;br /&gt;If this happened to Instapaper how long till it happens to Pastebin or Dropbox or even a large scale Amazon EC2 implementation like Netflix.&lt;br /&gt;&lt;br /&gt;I am starting to feel like an old main yelling about loud music when it comes to the cloud. Every time I see something new like the Apple iCloud I cringe. I don’t want to but I know I will end up using it.&lt;br /&gt;&lt;br /&gt;It will get hacked. Information will be leaked. People will forget. It will get hacked. Information will be leaked. People will forget. It will get h…and will repeat until a new technology replaces cloud. And then it will start all over again…&lt;br /&gt;&lt;br /&gt;Take my musings with&lt;a href="http://1.bp.blogspot.com/-cHppdPBvtzM/TgRlNNz2NnI/AAAAAAAAAtQ/8DaccnQGZww/s1600/dave_cloud.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5621729512585049714" src="http://1.bp.blogspot.com/-cHppdPBvtzM/TgRlNNz2NnI/AAAAAAAAAtQ/8DaccnQGZww/s320/dave_cloud.jpg" style="cursor: hand; cursor: pointer; float: left; height: 240px; margin: 0 10px 10px 0; width: 320px;" /&gt;&lt;/a&gt;a grain of salt as I am no cloud expert. I am just a person that has become addicted to these services like everyone else and am now worried about security after adoption. It’s horrible that “security people” have the same “security problems” as everyone else.  I also hate how many times I used the word cloud in this post. And I really hate loud music and those darn kids on my lawn.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-1031244157702320073?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/1031244157702320073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=1031244157702320073' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1031244157702320073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1031244157702320073'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/06/my-own-grandpa-simpon-moment-cloud.html' title='My own Grandpa Simpon moment: The Cloud'/><author><name>David Maynor</name><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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-OPuZ2uCcYB4/TgRjepc1iFI/AAAAAAAAAtA/MMFMAbuQwTQ/s72-c/texas-storm-cloud-by-natioanal-weather-service-photographer-chris-broyles-wallpaper.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-2295797687853234436</id><published>2011-06-23T11:43:00.004-05:00</published><updated>2011-06-23T11:45:54.550-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cyberwar'/><title type='text'>What does cyberwar look like?</title><content type='html'>&lt;style&gt; &lt;!--  /* Font Definitions */ @font-face  {font-family:"ＭＳ 明朝";  panose-1:0 0 0 0 0 0 0 0 0 0;  mso-font-charset:128;  mso-generic-font-family:roman;  mso-font-format:other;  mso-font-pitch:fixed;  mso-font-signature:1 134676480 16 0 131072 0;} @font-face  {font-family:"ＭＳ 明朝";  panose-1:0 0 0 0 0 0 0 0 0 0;  mso-font-charset:128;  mso-generic-font-family:roman;  mso-font-format:other;  mso-font-pitch:fixed;  mso-font-signature:1 134676480 16 0 131072 0;} @font-face  {font-family:Cambria;  panose-1:2 4 5 3 5 4 6 3 2 4;  mso-font-charset:0;  mso-generic-font-family:auto;  mso-font-pitch:variable;  mso-font-signature:3 0 0 0 1 0;}  /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal  {mso-style-unhide:no;  mso-style-qformat:yes;  mso-style-parent:"";  margin:0in;  margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:12.0pt;  font-family:Cambria;  mso-ascii-font-family:Cambria;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:"ＭＳ 明朝";  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Cambria;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:"Times New Roman";  mso-bidi-theme-font:minor-bidi;} .MsoChpDefault  {mso-style-type:export-only;  mso-default-props:yes;  font-family:Cambria;  mso-ascii-font-family:Cambria;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:"ＭＳ 明朝";  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Cambria;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:"Times New Roman";  mso-bidi-theme-font:minor-bidi;} @page WordSection1  {size:8.5in 11.0in;  margin:1.0in 1.25in 1.0in 1.25in;  mso-header-margin:.5in;  mso-footer-margin:.5in;  mso-paper-source:0;} div.WordSection1  {page:WordSection1;} --&gt; &lt;/style&gt;     &lt;p class="MsoNormal"&gt;What do pundits think cyberwar will look like? In preparation for the new Transformers movie just watched the first and the second one again. There are several scenes were air strikes on artillery are called in on an area and the scene switches to inside an AWACS with officers uttering phrases like “Deploy strike package bravo.” &lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;I fear that this is what many pundits will think of when they think of cyberwarfare. A group of crew cut soldiers somewhere waiting for a red phone to ring and being given the order “Deploy stike package ping of death!”&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-mZnFjXpNvpE/TgNtS4tCbTI/AAAAAAAAAs4/OMZ-zfFoQAQ/s1600/E-3-Sentry-AWACS-59.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 195px;" src="http://3.bp.blogspot.com/-mZnFjXpNvpE/TgNtS4tCbTI/AAAAAAAAAs4/OMZ-zfFoQAQ/s320/E-3-Sentry-AWACS-59.jpg" alt="" id="BLOGGER_PHOTO_ID_5621456931114872114" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;"Don't worry fellas, the MS03-026 hurt is on the way!"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-2295797687853234436?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/2295797687853234436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=2295797687853234436' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/2295797687853234436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/2295797687853234436'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/06/what-does-cyberwar-look-like.html' title='What does cyberwar look like?'/><author><name>David Maynor</name><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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-mZnFjXpNvpE/TgNtS4tCbTI/AAAAAAAAAs4/OMZ-zfFoQAQ/s72-c/E-3-Sentry-AWACS-59.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-571614309948988606</id><published>2011-06-22T15:55:00.016-05:00</published><updated>2011-07-29T02:40:37.712-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='password'/><category scheme='http://www.blogger.com/atom/ns#' term='cracking'/><category scheme='http://www.blogger.com/atom/ns#' term='GPU'/><title type='text'>Password cracking, mining, and GPUs</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-I-YGgVZW5YY/TgJKEaGWFFI/AAAAAAAAAXM/7DPYa6zeurE/s1600/radeon+hd+6950.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="234" src="http://3.bp.blogspot.com/-I-YGgVZW5YY/TgJKEaGWFFI/AAAAAAAAAXM/7DPYa6zeurE/s320/radeon+hd+6950.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;People imagine that sophisticated hacking requires sophisticated computers. The truth is that almost everything a hacker does can be done with a cheap notebook computer, or even a mobile phone.&lt;br /&gt;&lt;br /&gt;The major exception is &lt;i&gt;password cracking&lt;/i&gt;, and related crypto tasks like &lt;i&gt;bitcoin mining&lt;/i&gt; and &lt;i&gt;certificate forgery&lt;/i&gt;. In these cases, a minor investment in hardware can be warranted.&lt;br /&gt;&lt;br /&gt;In particular, those who need to crack passwords (pen-testers, sysadmins, hackers) should buy a gaming graphics card in order to speed up cracking. Or, when buying notebooks for pen-testing, they should choose those with graphics processors.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;What’s a GPU&lt;/h2&gt;&lt;br /&gt;Computers, as we know them, used to contain a single processor, called the &lt;i&gt;central processing unit&lt;/i&gt; or &lt;i&gt;CPU&lt;/i&gt;".&lt;br /&gt;&lt;br /&gt;Now they contain a second processor, called the &lt;i&gt;graphics processing unit&lt;/i&gt; or &lt;i&gt;GPU&lt;/i&gt;. As the name implies, GPUs are intended for graphics, which means games and video.&lt;br /&gt;&lt;br /&gt;But GPUs aren’t just for graphics; they are good for any highly &lt;i&gt;repetitive&lt;/i&gt; task. Typical GPU applications include video transcoding, statistical modeling, physics simulations, medical imaging, financial modeling, and &lt;i&gt;cryptography&lt;/i&gt;. Password cracking is just one form of cryptography.&lt;br /&gt;&lt;br /&gt;It’s important to keep in mind that graphics processors are no more powerful than central processors. Trying to run non-repetitive tasks on the graphics processor results in a speed &lt;i&gt;decrease&lt;/i&gt;. Foolish hackers regularly attempt this, and are regularly disappointed. Instead, graphics processors are optimized for calculations that are highly repetitive, whereas normal processors are optimized for the major of code that isn’t very repetitive.&lt;br /&gt;&lt;br /&gt;These days, most computers come with a GPU. The iPhone has an ARM CPU and a PowerVR GPU. The latest Intel "Sandy Bridge" CPUs come with a custom Intel GPU built into the chip. AMD processors (formerly called "Athlon") have a version of the Radeon GPU on the chip. Except for AMD’s built-in GPUs, these aren’t programmable by the user, and therefore, can’t be used for anything other than graphics (although Intel keeps promising to make their GPU more programmable). Even AMD’s built-in GPU is slow relative to add-on GPUs.&lt;br /&gt;&lt;br /&gt;Instead, when this paper mentions GPUs, it refers to the gaming cards with the fastest GPUs. Such cards can easily accelerate password cracking by 20 times. Using such cards, people are putting 8 GPUs in a system, accelerating password cracking by 160 times. That means a password that would otherwise take 6 months to crack can now be cracked in a day -- assuming you are willing to spend $3000 on graphics cards.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Radeons are better than GeForce&lt;/h2&gt;&lt;br /&gt;There are only two manufacturers of high-end gaming cards: nVidia with their GeForce cards, and AMD with with their Radeon cards. Both sell a wide range of cards, from the very cheap (but slow) to the very expensive (but fast). Prices typically range from around $100 for the cheaper ones, to $800 for the most expensive, with the best price-performance ratio around the $250 mark (two $250 cards will likely be faster than a single $700 card).&lt;br /&gt;&lt;br /&gt;For gaming, Radeons and GeForces have roughly the same performance, with the fastest GeForce cards being the slight favorite. For super computer applications, like weather modeling or physics simulations, the GeForce cards are the clear favorite. However, for crypto, it’s the Radeon cards that come out on top. &lt;b&gt;For equivalently priced cards, a Radeon card will be over twice as fast as a GeForce card when cracking passwords.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;There are a few reasons for this. Radeons have more theoretical power, but suffer from a "VLIW" instruction set that makes it hard to realize that power in practice. Password cracking is VLIW friendly, though, and can tap into that power. In addition, Radeons have specific integer instructions like "bitalign" (aka. "rotate") and "BFI_INT" ("bitselect") that speed up popular crypto operations.&lt;br /&gt;&lt;br /&gt;Thus, a cheap model of the Radeon like the &lt;a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16814121363&amp;amp;cm_re=5770-_-14-121-363-_-Product"&gt;HD 5770&lt;/a&gt; costing $109 will outperform an expensive GeForce model like the &lt;a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16814121436&amp;amp;cm_re=GTX590-_-14-121-436-_-Product"&gt;GTX 590&lt;/a&gt; costing $749. The most expensive Radeon model, the &lt;a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16814125370&amp;amp;cm_re=hd_6990-_-14-125-370-_-Product"&gt;HD 6990&lt;/a&gt; costing $739, will be over three times as fast at cracking passwords.&lt;br /&gt;&lt;br /&gt;Thus, the consequence is that if you want to crack WiFi WPA2 passwords, Windows NTLM password, Unix salted MD5 hashes, or Bitcoin hashes, then you should probably invested in one of these GPUs. Even a cheap $100 card can increase speed over your desktop processor by 20 times. Ideally, you should buy a Radeon card for this rather than a GeForce card.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Moore’s Law&lt;/h2&gt;&lt;br /&gt;&lt;a href="http://upload.wikimedia.org/wikipedia/commons/0/00/Transistor_Count_and_Moore's_Law_-_2011.svg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="179" src="http://upload.wikimedia.org/wikipedia/commons/0/00/Transistor_Count_and_Moore's_Law_-_2011.svg" width="200" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://upload.wikimedia.org/wikipedia/commons/0/00/Transistor_Count_and_Moore's_Law_-_2011.svg" imageanchor="1" style="clear: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;/a&gt;The above discussion applies to June 2011. Next year, CPUs and GPUs will be twice as fast.&lt;br /&gt;&lt;br /&gt;But it’s the &lt;i&gt;relative&lt;/i&gt; performance that matters. Next year’s $250 graphics card will likely outperform next year’s CPU by 20 times. Unless AMD or nVidia makes radical changes to their chip architectures, the next generation of the Radeon will still likely outperform the next generation of GeForce cards.&lt;br /&gt;&lt;br /&gt;Therefore, when you finally get around to buying that graphics card for password cracking, you’ll have to look on the web for password cracking benchmarks to see which card is currently giving the best price/performance ratio.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Notebook GPUs&lt;/h2&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-7Y14gKT9uyQ/TgJK2OcsLMI/AAAAAAAAAXQ/Nuf_RTVfxkg/s1600/Dell-Alienware-M18x-18.4-Inch-Gaming-Laptop.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="290" src="http://4.bp.blogspot.com/-7Y14gKT9uyQ/TgJK2OcsLMI/AAAAAAAAAXQ/Nuf_RTVfxkg/s320/Dell-Alienware-M18x-18.4-Inch-Gaming-Laptop.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;The above discussion have been for desktop computers that consume a lot of electricity. Pen-testers often don’t have that luxury -- they often only have a notebook (running something like BackTrack Linux). In that case, they want to buy a "mobile" version of the Radeon or GeForce chips. They can’t buy such chips as addons, but instead, have to choose a noteboook that has their desired chip.&lt;br /&gt;&lt;br /&gt;According to recent benchmarks, mobile Radeons are still faster than GeForces, but it’s highly variable. Notebook GPUs have an enormous range, as batttery life is traded for gaming speed. Thus, one notebook with a powerhungry GeForce may be a better choice than another notebook with a battery conserving Radeon. You’ll have to look at benchmarks, or theoretical numbers (based on clock speeds and core counts) to figure out which is best for your needs.&lt;br /&gt;&lt;br /&gt;Also note that there are three classes of laptops: the normal laptops, the low end netbooks, and the high-end gaming laptops. Historically, only the high-end gaming laptops contained graphics processors, but now graphics processors are appearing throughout a wider range.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;High-end gaming laptops are the best choice for password cracking power. The biggest ones have graphics processors that rival desktop cards. You can buy an Alienware M18x with a Radeon mobile GPU that is faster than all but the fastest desktop GPU. It’s also 18-inches across, weighs 8 pounds, lasts only a few minutes on battery, and costs $2400.&lt;br /&gt;&lt;br /&gt;GPUs are becoming more popular in average notebook computers. Asus makes some nice, average sized laptops with GeForce GPUs for a good price. Of particular note are the current MacBook Pros (15 inch or 17 inch) which come with a good Radeon GPU. The GPU is far slower than desktop GPUs, but of course, they don’t drain the battery, and don’t jack up the price. My MacBook Air has a GeForce GT320M that triples password cracking speed over the built-in processor (benchmarks below).&lt;br /&gt;&lt;br /&gt;Curiously, GPUs are becoming popular for cheap "netbook" computers. That’s because the low-power central processors do not handle video well. Therefore, manufacturers are including low-power GPUs for video. Some Intel netbooks have Intel graphics, which can’t (yet) be programmed for password cracking. Some contain nVidia’s ION graphics, which is hardly faster at cracking passwords than the Atom CPU. The best choice these days are the new AMD netbooks with the C-30, C-50, and E-350 processors that are a combination of x86 CPU with a Radeon GPU on the same lower-power chip. A &lt;a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16834230014"&gt;$280 Asus EEE PC 1015B&lt;/a&gt; or an &lt;a href="http://www.shopping.hp.com/webapp/series/category/notebooks/dm1z_series/3/computer_store"&gt;$430 HP dm1z&lt;/a&gt; are the best netbooks for pen-testers at the moment.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;What about FirePro, Quadro, and Tesla?&lt;/h2&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-6LIyncsawAg/TgJMWegvJxI/AAAAAAAAAXU/ymZgdmbQlTA/s1600/Tesla_M2050_M2070_3qtr_low.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="243" src="http://2.bp.blogspot.com/-6LIyncsawAg/TgJMWegvJxI/AAAAAAAAAXU/ymZgdmbQlTA/s320/Tesla_M2050_M2070_3qtr_low.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;Both AMD and nVideo make more expensive cards for high-end customers. These are actually the &lt;i&gt;identical&lt;/i&gt; chips in the gaming cards, but sold for 10 times the price. They would be a foolish choice for password cracking.&lt;br /&gt;&lt;br /&gt;There is a reason for the higher price. The companies put features into the chips for high-end customers, then disable those features for gamers. Thus, if you are a graphics artist using software to draw the next 3D movie, the version with the high-end features enabled are probably worth the price. But these features mean nothing to password cracking. Indeed, the high-end chips are slightly worse at password cracking: because high-end customers care about reliability, they run the chips at speeds slight slower (and cooler) than for gamers.&lt;br /&gt;&lt;br /&gt;The more expensive version of the Radeon card is called "FirePro". The more expensive version of the GeForce card is called "Quadro".&lt;br /&gt;&lt;br /&gt;But, there is a third high-end version of the GeForce card called "Tesla". This is just like the "Quadro" card (all high-end features) enabled -- but it’s missing a the &lt;i&gt;output&lt;/i&gt; port. You can’t connect a monitor to it. It’s purpose is just for GPU processing, like geological simulations to help find oil, or financial models to figure out the best stock price. Because they are missing the "display" portion, they use slightly less electrical power. People building supercomputers out of GPUs tend to choose the Tesla cards. If you rent "cloud computing" time using GPUs, they will probably be Tesla cards. I find this all a bit foolish -- GeForce or Radeon cards would be far more cost effective.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;GPUs vs. FPGA vs. ASIC&lt;/h2&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-gtp3JAduvUk/TgJMv42q2WI/AAAAAAAAAXY/CC7m32cqDuw/s1600/SC4_sm.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-gtp3JAduvUk/TgJMv42q2WI/AAAAAAAAAXY/CC7m32cqDuw/s1600/SC4_sm.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;Rather than doing password cracking in software, it should be possible to do it faster, cheaper, and with less electrical power using &lt;i&gt;hardware&lt;/i&gt; like FPGAs or ASICs.&lt;br /&gt;&lt;br /&gt;While this works in theory, it doesn’t work so well in practice. CPUs and GPUs are so cheap because their manufacturers sell them in enormous quantity. You could design your own chip that is 100 times faster than a cheap GPU, but it would cost you 200 times as much, per chip.&lt;br /&gt;&lt;br /&gt;Some people do great things with hardware, such as &lt;a href="http://www.picocomputing.com/"&gt;Pico Computing&lt;/a&gt;, but most of the time, it’s just easier writing software for a mainstream chip, then let Moore’s Law make the chips go faster every year.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Building the ideal password cracking rig&lt;/h2&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-IEWl9KCMnQ0/TgJTJVdstRI/AAAAAAAAAXc/cGOR1nTYegs/s1600/bitcoin-mining-rig1.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="213" src="http://2.bp.blogspot.com/-IEWl9KCMnQ0/TgJTJVdstRI/AAAAAAAAAXc/cGOR1nTYegs/s320/bitcoin-mining-rig1.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;Let’s say that you want to build the fastest computer (for cracking) for the cheapest price. Such a system will be driven by the cost of the graphics cards.&lt;br /&gt;&lt;br /&gt;A relatively cheap, and simple, solution would be to buy three or four Radeon HD 6990 (as of June 2011) cards and stick them into a homebuilt computer. You’ll need a bigger power supply, a motherboard that supports four PCIe slots (spaced correctly for cards that are two-slots wide), and a slightly bigger case, but all of these are relatively common. Other than that, you only need a standard CPU, memory, and boot drive -- the cheaper the better (the less you spend on these, the more you can spend on more graphics cards).&lt;br /&gt;&lt;br /&gt;This solution is probably best for pen-testers. Our time costs money. It doesn’t take long to assemble.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-80dE3jpLim8/TgJUUh9HCqI/AAAAAAAAAXg/j6kBoeHKOQs/s1600/bitcoin-rig-234x300.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-80dE3jpLim8/TgJUUh9HCqI/AAAAAAAAAXg/j6kBoeHKOQs/s1600/bitcoin-rig-234x300.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;But for hobbiests who enjoy messing around with hardware, the economics are a bit different. They might want to get fancy, for example, building a custom case using &lt;a href="http://cablesaurus.com/"&gt;PCIe extender cables&lt;/a&gt; or even a &lt;a href="http://www.amfeltec.com/products/x4pcie-splitter4.php"&gt;PCIe splitter&lt;/a&gt; to fit 32 cards in a system. You only need PCIe 1x speed for password cracking, not the full PCIe 16x speed that’s used for gaming.&lt;br /&gt;&lt;br /&gt;Regardless of the system you build, you probably need to worry about cooling. Such systems are going to produce a lot of heat. Moreover, you need to worry about where your cool air comes from, and where the hot air is going. It’s going to be an annoyance whether you are in a data center, in a lab, or installing it at home.&lt;br /&gt;&lt;br /&gt;All this cooling will cause of a lot noise (unless you are in a data center). Hobbiests buy expensive components that cut down on the noise, like water cooling systems. I stick my computer in a closet that happens to have an air conditioning duct. In labs or at home, you may find yourself playing with ducts to get the cooling right and the noise reduced.&lt;br /&gt;&lt;br /&gt;Windows, using commercial software like that from Elcomsoft, takes the least effort to setup and run, but Linux using free software gives you more control over what’s going on. For example, some people (such as Bitcoin miners) have reported that Windows can’t recognize more than 4 cards, whereas Linux has no problem. There is also the issue of systems only being able to use cards connected to monitors -- which requires either a monitor be plugged into each card, or a "&lt;a href="http://forums.bit-tech.net/showthread.php?t=167450"&gt;dummy plug&lt;/a&gt;" be used to make the card think there is a monitor installed.&lt;br /&gt;&lt;br /&gt;But, the thing to keep in mind is &lt;i&gt;decreasing marginal returns&lt;/i&gt;. Buying a $250 Radeon card will increase cracking speeds by 20 times. Buying a second $250 Radeon card will only double the previous card’s speed. A single desktop with four Radeon HD 6990s for $3000 will increase cracking speed by 160 times. Buy a second such system, for another $3000, will only double your cracking speed after that.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Overclocking&lt;/h2&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-p6RGpMr2CgU/TgJU0gBMUnI/AAAAAAAAAXo/BMoNyIjO2Us/s1600/ati-overdrive.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="307" src="http://4.bp.blogspot.com/-p6RGpMr2CgU/TgJU0gBMUnI/AAAAAAAAAXo/BMoNyIjO2Us/s320/ati-overdrive.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;Hobbiests spend a lot of time trying to overclock their systems. If they work hard enough at it, they can get an extra 20% performance increase.&lt;br /&gt;&lt;br /&gt;The trick for password cracking is to increase the speed of the GPU, but at the same time, &lt;i&gt;decrease&lt;/i&gt; the speed of memory. Unlike graphics, GPU cracking doesn’t use the memory. By lowering the memory speed, you lower power consumption, and lower the amount of heat generated. That power/heat can then be used to increase the speed of the GPU calculations.&lt;br /&gt;&lt;br /&gt;Radeons come with an overclocking application on Windows, but it doesn’t allow you to change much. This utility will only let you overclock by 10%, but won’t let you underclock the memory.&lt;br /&gt;&lt;br /&gt;A graphics card vendor named MSI has its own Radeon overclocking utility "Afterburner" that you can use for all Radeon cards, not just those sold by MSI: &lt;a href="http://event.msi.com/vga/afterburner/download.htm"&gt;http://event.msi.com/vga/afterburner/download.htm&lt;/a&gt;. This will allow you do overclock the chip more, as well as underclock the memory.&lt;br /&gt;&lt;br /&gt;If you are overclocking the card, it may cause your system to crash. If that happens, you may need to increase the voltage sent to the card.&lt;br /&gt;&lt;br /&gt;If overclocking, and if you have increased voltage, your card will produce a lot more heat. You’ll probably have to adjust the fan speed to compensate, to lower temperatures back down to reasonable levels. You probably do not want to run your card above 80 degrees Celsius. On the other hand, fans aren’t designed to run at high speed for extended periods -- the more you jack up fan speed, the more likely it is for the fan to fail. If your card is running below 68 degrees Celsius, you might want to consider lowering the fan speed.&lt;br /&gt;&lt;br /&gt;Overclocking, higher voltage, and higher temperatures will decrease the lifetime of the graphic chip before it fails. You probably don’t care: two years from now, when your overclocking madness causes the chip to fail, you’ll be upgrading to the latest GPU anyway.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;The economics of cracking&lt;/h2&gt;&lt;br /&gt;Putting a single $250 Radeon card in your desktop for password cracking makes sense. Building multiple cracking rigs for massive number crunching probably doesn’t. The reason is that password cracking is an exponential effort.&lt;br /&gt;&lt;br /&gt;Consider passwords chosen from an alphabet of UPPER and lower case, numbers, and $ymbols. That’s roughly 100 different characters. That means every letter we add to a password increases the difficulty of cracking by 100 times.&lt;br /&gt;&lt;br /&gt;Let’s say you can crack all 8 character passwords within a day. It would then take you 100 days to crack a 9 character password and 27 years to crack a 10 character password. We can graph this effort on the following picture:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-7MwMdlW5nc8/TgKUqjs3ipI/AAAAAAAAAX8/80Fr4_RI85A/s1600/chart_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-7MwMdlW5nc8/TgKUqjs3ipI/AAAAAAAAAX8/80Fr4_RI85A/s1600/chart_1.png" /&gt;&lt;/a&gt;&lt;/div&gt;As you can see, it's a bit nonsensical. Below 9 characters, it's nearly zero effort to crack passwords. Above 9 characters, the line shoots almost straight upwards. Only around 9 characters do we see a line that isn't nearly-zero or nearly-infinite.&lt;br /&gt;&lt;br /&gt;That means there are three classes of passwords: those we can crack easily with a desktop computer (8 characters or fewer), those we cannot crack at all (10 characters or more), and those we can crack more of if we purchase more expensive computers (9 character passwords).&lt;br /&gt;&lt;br /&gt;There is &lt;i&gt;decreasing marginal returns&lt;/i&gt; to buying GPUs. Buying a single card increases cracking speed by 20 times. Buying a second GPU willy only &lt;i&gt;additionally&lt;/i&gt; increase speed by 2 times.&lt;br /&gt;&lt;br /&gt;Buying a $3000 rig can increase cracking speed by 160 times. Buying a second $3000 rig will only increase cracking speed by an additional 2 times. All people have to do is add another character to the length of their password, increasing it’s complexity by 100 times, and defeating your investment.&lt;br /&gt;&lt;br /&gt;On the other hand, there is the fact that your competitors have the same idea in mind. Let’s say that you go in and pen-test a company that hired a different pentesting firm last year. That other firm found passwords and cracked all the weak ones. You find the same password list. If you crack fewer passwords, you look like a poorer pentester than the previous firm. If you can crack a few more, you look like a better pentester.&lt;br /&gt;&lt;br /&gt;The same is true of hackers. You can assume the target company has already fixed all it’s weak passwords -- but where "weakness" is defined as "crackable by one GPU". If you come in with two GPUs, you’ll find a few more passwords.&lt;br /&gt;&lt;br /&gt;This is of particular interest to Bitcoin miners, where it’s essentially a race against other miners to find the latest hash. Whereas twice the computing power does not equal twice the number of passwords cracked, twice the power does mean twice the earning power for Bitcoins.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Bitcoin mining benchmarks&lt;/h2&gt;&lt;br /&gt;Password cracking and Bitcoin mining are essentially the same thing. You can therefore leverage their work in figuring out what hardware you want for cracking.&lt;br /&gt;&lt;br /&gt;A good reference is the list of hardware at &lt;a href="https://en.bitcoin.it/wiki/Mining_hardware_comparison"&gt;https://en.bitcoin.it/wiki/Mining_hardware_comparison&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I’ve selected a few of the numbers from the link above, as well as benchmarked my own computers.&lt;br /&gt;&lt;br /&gt;&lt;table border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;MH/s&lt;/th&gt;&lt;th&gt;Hardware&lt;/th&gt;&lt;th&gt;Notes&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;0.2&lt;/td&gt;&lt;td&gt;ARM Cortex-A8&lt;/td&gt;&lt;td&gt;CPU in my iPhone&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;0.6&lt;/td&gt;&lt;td&gt;ARM Cortex-A9 dual&lt;/td&gt;&lt;td&gt;CPU in my iPad&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;1.1&lt;/td&gt;&lt;td&gt;Intel Atom N270&lt;/td&gt;&lt;td&gt;My pen-testing netbook CPU&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;1.8&lt;/td&gt;&lt;td&gt;nVidia ION&lt;/td&gt;&lt;td&gt;A common netbook GPU for Atom CPUs&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;2.5&lt;/td&gt;&lt;td&gt;Core 2 Duo 2.13 GHz&lt;/td&gt;&lt;td&gt;My MacBook Air CPU&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;6.1&lt;/td&gt;&lt;td&gt;nVidia GT 320M&lt;/td&gt;&lt;td&gt;My MacBook Air GPU&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;6.2&lt;/td&gt;&lt;td&gt;AMD C-30&lt;/td&gt;&lt;td&gt;Asus &lt;a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16834230014"&gt;$280&lt;/a&gt; netbook with GPU/CPU combo&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;11.0&lt;/td&gt;&lt;td&gt;AMD E-350&lt;/td&gt;&lt;td&gt;HP dm1z &lt;a href="http://www.shopping.hp.com/webapp/series/category/notebooks/dm1z_series/3/computer_store"&gt;$450&lt;/a&gt; netbook with GPU/CPU combo&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;17.0&lt;/td&gt;&lt;td&gt;Radeon HD 6490M&lt;/td&gt;&lt;td&gt;2011 MacBook Pro&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;19.2&lt;/td&gt;&lt;td&gt;Core i7 980x&lt;/td&gt;&lt;td&gt;My desktop, 6-core 3.3 GHz, hyperthreaded, top-of-the-line CPU&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;21.0&lt;/td&gt;&lt;td&gt;PS3&lt;/td&gt;&lt;td&gt;Playstation 3 using the Cell GPU&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;100.0&lt;/td&gt;&lt;td&gt;Tesla M2050&lt;/td&gt;&lt;td&gt;Amazon EC2 cloud computer w/ Tesla card&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;300.0&lt;/td&gt;&lt;td&gt;Radeon HD 5830&lt;/td&gt;&lt;td&gt;$109 card popular with miners -- if you can find one&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;314.0&lt;/td&gt;&lt;td&gt;Radeon HD 6950&lt;/td&gt;&lt;td&gt;&lt;a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16814102921&amp;amp;cm_re=6950-_-14-102-921-_-Product"&gt;$240 @Newegg&lt;/a&gt; and probably what you should buy&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;358.0&lt;/td&gt;&lt;td&gt;Radeon HD 6970&lt;/td&gt;&lt;td&gt;My desktop's graphics card, cost $330&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;800.0&lt;/td&gt;&lt;td&gt;Radeon HD 6990&lt;/td&gt;&lt;td&gt;Fastest single card, overclocked, roughly $740, with two GPUs&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-TqzfIpkbkN0/TgKWiujIXLI/AAAAAAAAAYA/GsMp7Xkc3EI/s1600/chart_1+%25281%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-TqzfIpkbkN0/TgKWiujIXLI/AAAAAAAAAYA/GsMp7Xkc3EI/s1600/chart_1+%25281%2529.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;SSE&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;SSE is the name for GPU-like instructions that are part of the CPU. They operate on 4 numbers at a time, and therefore, are 4 times faster than normal instructions for repetitive tasks.&lt;br /&gt;&lt;br /&gt;Modern processors, like the Intel Atom, Core2, and Core i3/i5/i7, as well as AMD Athlon/Phenom/etc. processors, all can execute two SSE integer instructions per clock cycle. That means pretty much that you just need to look at MHz in order to figure out which processor will crack passwords faster.&lt;br /&gt;&lt;br /&gt;This also applies to Intel’s energy efficient Atom processor. While the Atom is notorious for being slower on most tasks, it’s just as fast, per-core and per-MHz, as the other processors. Thus, a 1.6 GHz Atom will perform the same as a 1.6 GHz Core2 or 1.6 GHz AMD processor at password cracking -- but at about half the power. In addition, the GeForce-based ION graphics chip designed to go with the Atom hardly accelerates password cracking.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;MacBook Air&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-v3Z1d_STUeI/TgJVo99G1uI/AAAAAAAAAXs/D-gfRSVIN2c/s1600/131583-mbair_large.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="82" src="http://3.bp.blogspot.com/-v3Z1d_STUeI/TgJVo99G1uI/AAAAAAAAAXs/D-gfRSVIN2c/s200/131583-mbair_large.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;Whereas I use netbooks for pen-testing, I use a MacBook Air for everything else (programming, writing blogposts). I’m not a fan of Apple’s operating system, I usually run Windows or Linux on it.&lt;br /&gt;&lt;br /&gt;My MacBook is faster at password cracking than the older netbooks, but is quite a bit behind the latest Radeon-based netbooks. My next pen-testing netbook is likely going to be the HP dm1z. &lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;HP dm1z&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-N4Tg_tDtLz8/TgJV3ZsnrkI/AAAAAAAAAXw/T9CIKfO7c-Q/s1600/hp_paviliondm1_sm.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="153" src="http://1.bp.blogspot.com/-N4Tg_tDtLz8/TgJV3ZsnrkI/AAAAAAAAAXw/T9CIKfO7c-Q/s200/hp_paviliondm1_sm.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;At $429, this is expensive for a "netbook", but it has 4 features that make it stand out.&lt;br /&gt;&lt;br /&gt;1. It has the GPU/CPU combo from AMD. Not only is its CPU faster (dual core), but its GPU is a lot faster.&lt;br /&gt;2. It comes with 3-gigs of RAM, expandable to 8-gigs. Most "netbooks" come with 1-gig, expandable to 2-gigs.&lt;br /&gt;3. It comes with Gigabit Ethernet, whereas other "netbooks" come with only 100-mbps Ethernet.&lt;br /&gt;4. HP claims 9.5 hour battery life, which is at the top end of the range for "netbooks".&lt;br /&gt;&lt;br /&gt;Thus, while I’m tempted by its cheaper cousin the $279 Asus, I’ve ordered the dm1z to take to DefCon. I’ll be blogging successes/failures with it in a few days.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;MacBook Pro&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-iO-KMxryEI0/TgJWKV2rKJI/AAAAAAAAAX0/R31Z7rpg54U/s1600/macbook_pro_2011_13_ports.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://2.bp.blogspot.com/-iO-KMxryEI0/TgJWKV2rKJI/AAAAAAAAAX0/R31Z7rpg54U/s200/macbook_pro_2011_13_ports.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;The 15-inch MacBook Pro is probably going to be the notebook of choice for a lot of hackers, and probably has the best password cracking speed of anything short of a specialized gaming notebook.&lt;br /&gt;&lt;br /&gt;Currently, there are some quirks with Mac OS X bitcoin mining software, compared to Windows or Linux. It should be getting as much as twice the benchmarks posted above.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Radeon HD 6950&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;If you do password cracking, you should get one, maybe two, of these cards and stick them in your existing desktop computer. They give the greatest bang-for-the-buck right now. An older Radeon HD 5830 are probably better bang-for-the-buck at half the price, but all the Bitcoin miners have snapped them up, so you can’t find any.&lt;br /&gt;&lt;br /&gt;The 6950 is slight slower than the 6970, but at 66% of the price. The fastest single card, the 6990, combines two 6950 GPU chips on a single card but at three times the price. &lt;br /&gt;&lt;br /&gt;Six months from now (Juned 2011) the situation will have changed, but in all probability, a $250 will still provide the best bang for the buck.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Tesla&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-6LIyncsawAg/TgJMWegvJxI/AAAAAAAAAXU/ymZgdmbQlTA/s1600/Tesla_M2050_M2070_3qtr_low.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="151" src="http://2.bp.blogspot.com/-6LIyncsawAg/TgJMWegvJxI/AAAAAAAAAXU/ymZgdmbQlTA/s200/Tesla_M2050_M2070_3qtr_low.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;As the benchmarks show, the Tesla card is 10 times the price, but 1/3 the performance, of a Radeon HD 6950 card. That’s 30x price-performance difference.&lt;br /&gt;&lt;br /&gt;The economics don’t get any better using a Tesla in Amazon’s EC2 instances. You can currently make money mining bitcoins using Radeon cards, but you’d lose a lot of money trying to mine bitcoins on Amazon.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2&gt;Password cracking vs. power consumption&lt;/h2&gt;The section above focused on capital costs, comparing graphics cards by their price performance. If you only run them occasionally to crack passwords, this is the most meaningful comparison. However, if you run them 24-hours a day, 365 days a year, then you’ll me more concerned by how much electricity they use. &lt;br /&gt;&lt;br /&gt;A high performance graphics cards uses around 200-watts, but itself (not counting the rest of the computer). The average price for electricity in the United States is 11-cents per kilowatt-hour. Therefore, running that card for a year will cost &lt;b&gt;$192.72&lt;/b&gt;.  Of course, you need a system to stick that into. You might consider something like a computer based on an Intel Atom processor that only consumes 10-watts by itself. Modern processors, like a low-powered Nehalem, is also good at running at lower power. But, most desktops run at around 100-watts of power while doing password cracking.&lt;br /&gt;&lt;br /&gt;Usually, the card that wins on price/performance also wins at electrical power usage. The Radeon HD 6950 mentioned above turns out to be at the top in terms of passwords cracked per watt.  &lt;br /&gt;&lt;br /&gt;But there are other things to consider. Some states, notably California, punish people who use too much electricity. In some cities, using more than 400 kilowatt-hours per month kicks you up to the next bracket, where electricity could cost 20-cents, 30-cents, or even more per kilowatt-hour. You may find it cheaper buying a generator than buying electricity from the grid.&lt;br /&gt;&lt;br /&gt;Or, being that it’s California, you can get a heavily subsidized solar power generating unit for pretty cheap. You can hook it up to power your computer while the sun shines, and either turn off your computer at night or run it from the grid.  Some places are now have “smart grids” that monitor electricity on a minute-by-minute basis rather than a monthly basis, and will charge you different amounts depending on the time of day. The price for electricity can be half during the night than during the peak hours during the day. You might configure your computer to run cracking software only at night, and to go to sleep during the day.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;Industrial electricity costs less than residential. A lot of cities have “hacker collectives” where people get together and rent industrial space, for typical non-criminal hacker activities like building robots or taking apart iPhones. They can supply the cheaper industrial rates for electricity for your password cracking or bitcoin mining needs.&lt;br /&gt;&lt;br /&gt;Or your can move to a cheaper state. Here is a good reference for &lt;a href="http://www.eia.gov/cneaf/electricity/epm/table5_6_a.html"&gt;electricity prices&lt;/a&gt; by state.   &lt;br /&gt;&lt;h2&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2&gt;What you crack&lt;/h2&gt;I thought I’d list the common things that hackers find themselves needing to crack. It’s not really relevant to GPUs, but I thought I’d mention it for completeness.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Bitcoin mining:&lt;/b&gt;  A fixed number of new bitcoins are generated per day, and it’s a race to find the matching hash before anybody else does. The winner gets the bitcoins. It uses SHA256, which is exactly like SHA256 passwords.  There is a lot of free bitmining software on the Bitcoin forums.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-zyEeflBiqvg/TgJWiBIkGvI/AAAAAAAAAX4/vyLlHtKRR8k/s1600/ewsa.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="188" src="http://2.bp.blogspot.com/-zyEeflBiqvg/TgJWiBIkGvI/AAAAAAAAAX4/vyLlHtKRR8k/s320/ewsa.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;WPA passwords:&amp;nbsp;&lt;/b&gt;Home users, and many businesses, use WPA, which is protected by only a simple password. In order to make it more difficult, the WPA standard requires a minimum of 8 characters, and rather than protect it by hashing the password once, it re-hashes it 4000 times -- making the computational difficulty to be around a 10-character password.  Ten letters in a password is probably beyond the ability for "brute-force" cracking, which tries all combinations, unless you make certain assumptions, such as assuming the person used only lower-case and numbers (which is a valid assumption for most passwords). Most cracking is therefore done using a dictionary of known passwords, followed by "mutations" (such as adding a 4-digit number onto the end).  Because the password is "salted" with the SSID, you can’t use rainbow tables to get the hash.  There is lot of good software for doing this. I’ve used the free software "pyrit" and the commercial package from "Elcomsoft" in the past. The graph above of relative WPA cracking speeds is for the Elcomsoft package using last year's cards.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;NTLM challenge-response:&lt;/b&gt;  Windows passwords aren’t "salted", which means it’s easier to Rainbow crack them than to crack them.  However, you often see "challenge-response" exchanges on the wire. This requires cracking in order to break. You see these with Windows-specific protocols like SMB and MS-RPC. In addition, you’ll see these as an optional authentication on other protocols, such as LEAP authentication for WiFi, or NTLMv2 inside e-mail and HTTP headers.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Salted passwords on a hacked server:&lt;/b&gt;  When a hackers (or pen-tester) breaks into a server, they will grab the password file or database.  Stupid sysadmins either have the passwords in cleartext (no cracking needed) or in simple MD5 hashes (cracked with Raindbow tables). Smart sysadmins "salt" the passwords, which requires cracking.  Software: &lt;a href="http://hashcat.net/oclhashcat/"&gt;oclHashcat&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Documents:&lt;/b&gt;  PDF, ZIP, RAR, and Word/Excel files are often encrypted. Such files might contain secrets useful for a hacker. Reportedly, Wikileaks had to decrypt an encrypted ZIP file containing the famous "Collateral Murder" video from Iraq.  Cracking password-protected documents is the most common feature of commercial software, since home users and businesses need it when they forget their password. There are lots of companies that sell GPU accelerated software for this, such as Elcomsoft.  &lt;br /&gt;&lt;h2&gt;Conclusion&lt;/h2&gt;&lt;br /&gt;Buying a $250 GPU that increases password cracking speed 20 times is a no-brainer. Buying a notebook computer based on GPU is probably a wise idea for pen-testers.&lt;br /&gt;&lt;br /&gt;But passwords are a little strange. They grow exponentially in complexity, which means you get decreasing marginal returns from buying more hardware. Thus, while buy a graphics card (or maybe two) is cost effective, massive investments in hardware are unlikely to crack that many additional passwords. &lt;br /&gt;&lt;br /&gt;Of course, if you are Bitcoin mining, then the more GPUs the better. Even after recent wild fluxuations in bitcoin prices, it’s still profitable at the moment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-571614309948988606?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/571614309948988606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=571614309948988606' title='21 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/571614309948988606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/571614309948988606'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/06/password-cracking-mining-and-gpus.html' title='Password cracking, mining, and GPUs'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-I-YGgVZW5YY/TgJKEaGWFFI/AAAAAAAAAXM/7DPYa6zeurE/s72-c/radeon+hd+6950.jpg' height='72' width='72'/><thr:total>21</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-7838275608279350554</id><published>2011-06-01T14:10:00.030-05:00</published><updated>2011-06-02T13:24:35.823-05:00</updated><title type='text'>A Weiner Schnitzel</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-3G0ImOuybTw/TeaNXi-UELI/AAAAAAAAAW0/GZkgpkSCFNk/s1600/Anthonyweiner.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://4.bp.blogspot.com/-3G0ImOuybTw/TeaNXi-UELI/AAAAAAAAAW0/GZkgpkSCFNk/s200/Anthonyweiner.jpg" width="163" /&gt;&lt;/a&gt;&lt;/div&gt;Congressional member and famous &lt;a href="http://www.thedailybeast.com/blogs-and-stories/2011-05-31/anthony-weiner-twitter-hack-and-his-playboy-past?cid=bsa:relatedstories2:3"&gt;womanizer&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Anthony_Weiner"&gt;Anthony Weiner&lt;/a&gt; was caught sexting a picture of his penis to a coed via Twitter. He claims it was a prankster who did it, by hacking his account. Indeed, the guy who broke the story, @PatriotUSA76, has also been Twitter-stalking the congressman for the last month.  What’s the likely truth?&lt;br /&gt;&lt;br /&gt;It’s impossible to say. Celebrities famous for their womanizing are frequently caught &lt;a href="http://www.nydailynews.com/sports/football/2010/10/09/2010-10-09_sunday_morning_qb_nfl_needs_to_suspend_brett_favre_if_they_can_prove_inappropria.html?r=sports"&gt;sexting&lt;/a&gt; pictures. At the same time, hackers frequently break into celebrity accounts and cause mischief. The back-story (the womanizing, the stalking) supports either conclusion equally.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The people who know are Twitter&lt;/b&gt; (and the FBI, if they can convince Twitter to divulge the data). If the sexted tweets had the same IP address and application ID, then it’s likely the congressman is guilty. If they are different, then the congressman is likely the victim of a prank.&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://biggovernment.com/publius/2011/05/28/weinergate-congressman-claims-facebook-hacked-as-lewd-photo-hits-twitter/"&gt;website that broke the story&lt;/a&gt; stressed the fact that congressman’s account is “verified”, implying that this verify all tweets come from him and not a hacker. This is an incorrect interpretation. What Twitter “verifies” is that it was congressman Weiner who created the account. Anybody can lie, and pretend to be a celebrity -- the verification process verifies that the account actually belongs to the celebrity in question. But it says nothing about whether a hacker has broken into the account and spoofed tweets.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If it was a hack, how would that work? Well, that depends upon exactly what was hacked. It could have been his “password”, his “account”, his “connection”, his “computer”, or Twitter’s “servers”. I describe how each might be hacked below:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Hacking the password&lt;/h2&gt;&lt;br /&gt;The most common hack is simply stealing a person’s password. The hacker does something, like send a convincing e-mail to the person, and asks for the password. Those who are unskilled with computers, or simply unwary, can easily be tricked into divulging their password.&lt;br /&gt;&lt;br /&gt;With the password, the hacker can then log on just like the victim, at the same time, from another computer. Twitter can easily detect this in their logs, because the offending tweet will come from a different Internet address.&lt;br /&gt;&lt;br /&gt;On the other hand, when hackers do this, they typically change the old password, locking out the owner from his own account. In order to get the account back, the owner has to call Twitter and prove to them that he owns the account, and to reset the password.&lt;br /&gt;&lt;br /&gt;In the Weiner case, the password wasn’t reset, suggesting the hacker didn’t have the password.&lt;br /&gt;&lt;br /&gt;If this was the problem, Weiner can fix it by simply changing his password.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Hacking the account&lt;/h2&gt;&lt;br /&gt;Twitter allows other applications to access your Twitter account. It uses a technique whereby the application gets access, but does not use your password. When this happens, the account holder is given a prompt like the one pictured below:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-ieBUPNjJg2E/TZnCGU8DAWI/AAAAAAAAAV4/Nagd4a3NmjE/s1600/profilespy2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="292" src="http://3.bp.blogspot.com/-ieBUPNjJg2E/TZnCGU8DAWI/AAAAAAAAAV4/Nagd4a3NmjE/s320/profilespy2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Hackers trick people to give access to their account using the same tricks as disclosing passwords, in order to trick the wary who would otherwise not disclose their password.&lt;br /&gt;&lt;br /&gt;If this happened, Twitter would see that offending tweet would have a different Internet address, and that it had authenticated through this mechanism.&lt;br /&gt;&lt;br /&gt;Weiner can fix this by going into his “profile” and list everything that he has “authorized” to have access to his account, and “deuathorize” everything.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Hacking the connection&lt;/h2&gt;&lt;br /&gt;A common WiFi hacking trick these days is hijacking somebody’s Twitter connection.  A hacker can sit next to their victim at Starbucks, or the airport. When they log onto Twitter, the hacker invisibly shares that session.&lt;br /&gt;&lt;br /&gt;The hacker doesn’t discover the password, nor can the hacker change the password. But, the hacker can post tweets.&lt;br /&gt;&lt;br /&gt;Several celebrities have fallen victim to this technique recently.&lt;br /&gt;&lt;br /&gt;When this happens, Twitter will see that that the offending tweet comes from the same Internet address (that of the WiFi hotspot) as the normal tweets. However, they will probably appear to come from a different application, such as a different browser version.&lt;br /&gt;&lt;br /&gt;A truly malicious hacker could attempt to replicate entirely the connection, and make the evidence (in Twitter’s logs) identical, but that would take extra effort a hacker is unlikely to bother with.&lt;br /&gt;&lt;br /&gt;But, if the hacker and the victim both used MacBooks, which tend to have small variation among laptops, there is a greater likelihood that the application versions are the same by accident.&lt;br /&gt;&lt;br /&gt;Weiner can prevent this from happening again by going into his Twitter profile and turning on “SSL” encryption. He would also have to pay attention, and not proceed with a login if there were any SSL errors (most people proceed anyway, allow hackers to hijack their connections).&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Hacking the computer&lt;/h2&gt;&lt;br /&gt;Hackers spend a lot of time breaking into desktops and laptops, usually by “drive by exploits”. The either trick you into running a “virus” program, or they take advantage of a bug in the software (the browser, or Adobe Flash and Acrobate) to plant a virus on your machine. They can then remotely control that virus.&lt;br /&gt;&lt;br /&gt;The problem with “drive by exploits” is that the hacker doesn’t know who he’s broken into. What hackers usually do is just including the computer in a “botnet” that remotely controls thousands of machines to send spam. They don’t care who owns the computer, nor do they (typically) do things like send tweets.&lt;br /&gt;&lt;br /&gt;However, hackers frequently install “keyloggers” as part of their viruses. Keyloggers can capture the password as a user types it in, which could then be used as described above.&lt;br /&gt;&lt;br /&gt;A hacker who controls a computer can do anything that the owner can do, include move the mouse, click on web browser, and type in a tweet. To Twitter, it would appear identical to the real user, because as far as anybody can tell, it is the real user in control of his machine. However, in this case, the offending tweet happened at roughly the same time as other tweets from the congressman: it is likely he would have noticed the mouse moving and things happening at that time.&lt;br /&gt;&lt;br /&gt;The solution to this threat is to make sure the browser and Adobe Flash and Acrobat Reader applications automatically update to the latest versions. In addition, if using Windows, I would recommend upgrading to the latest version (Windows 7) and use any browser other than Internet Explorer.&lt;br /&gt;&lt;br /&gt;By the way, something that also happens is simply that people leave their computers unattended. Somebody else in the office could have walked up to the computer, noticed an open Twitter connection, and pranked the congressman. At my old office, we would call this "baggy pantsing" somebody. You should always set your computer to go to screensaver/login after a few minutes, and when you get up from your computer, hit &lt;command-l&gt;, which pops the up the login screen to resume the session.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/command-l&gt;&lt;br /&gt;&lt;h2&gt;&lt;a href="http://4.bp.blogspot.com/-brQwWM-nQM8/TecfCUxe_nI/AAAAAAAAAW4/r885yM1plLM/s1600/5m3lu.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;Hacking the server&lt;/h2&gt;&lt;br /&gt;It’s also possible that Twitter’s servers themselves were hacked. Similar things have happened recently, such as the famous case of Sony Playstation and Gawker servers being hacked. In this case, all the evidence of the Tweet could be whatever the hacker wanted it to be.&lt;br /&gt;&lt;br /&gt;However, it’s unlikely that a hacker who had successfully hacked his way in would be satisfied with forging a single tweet. It is more likely that the hacker would have downloaded the entire database of passwords and e-mail accounts, and used those for spam and further hacking.&lt;br /&gt;&lt;br /&gt;A similar scenario is that the hacker broke into somebody else's servers. The congressman may have used the same password for his Gawker or Playstation account (assuming he had one), which would allow the hackers who stole those passwords to get into his Twitter account.&lt;br /&gt;&lt;br /&gt;The best way to protect against this threat is, for important accounts, to never reuse passwords. The password you use for Twitter should be used for nothing other than Twitter. The password you use for your e-mail should be used for nothing other than that one e-mail account.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Conclusion&lt;/h2&gt;&lt;br /&gt;It is impossible for us to conclude that the Congressman did, or did not, send the tweets. But Twitter has the evidence. The FBI is unlikely to open a case for this, because the financial impact is less than $15,000, so they aren’t going to get the evidence out of Twitter.&lt;br /&gt;&lt;br /&gt;Assuming it was a hack, I would guess the most likely scenario is that the hacker got his password somehow. My second guess would be that the hacker hijacked his connection.&lt;br /&gt;&lt;br /&gt;The fact that the account was “verified” as belonging to Congressman Weiner has nothing to with whether it was hacked.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;h2&gt;Other evidence&lt;/h2&gt;&lt;br /&gt;There are a lot of funny things in this case. For example, the congressman has said that he can't confirm the picture is &lt;i&gt;not&lt;/i&gt; of him: maybe it is, maybe it isn't. The coed says she's never had an inappropriate conversation with the congressman. The most obvious question would be "...but has she had &lt;i&gt;any&lt;/i&gt; conversation with him" (and the answer is "yes", they exchanged tweets, but nothing salacious, just about his appearance on a TV show in that area).&lt;br /&gt;&lt;br /&gt;This sort of stuff looks bad for the congressman, but here's the thing: hackers attacks are usually &lt;i&gt;à propos&lt;/i&gt;. If a hacker broke into his computer, found pictures of him, and a conversation with a coed, the most logical prank would be to sext the picture to the coed.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;h2&gt;Law Enforcement&lt;/h2&gt;&lt;br /&gt;CNN asks (but does not answer): why hasn't Wiener gotten the FBI involved?&lt;br /&gt;&lt;br /&gt;One answer is, of course, is that if he's guilty, he can't. Lies like "it wasn't me, but a hacker" and "the photo isn't of me" would be felony obstruction of justice. He knows this, and would keep far away from the FBI.&lt;br /&gt;&lt;br /&gt;Another plausible answer is that he's guilty of something else, such as having an affair. This sort of thing would come out in an FBI investigation. This theory could explain why he refuses to deny the photo is of him -- yes, he could be hacked, but on the other hand, that photo is really of him sent to another woman, and he can't lie about it because of the obstruction of justice problem mentioned above. Remember that Scooter Libby was found guilty of obstruction of justice in the Valerie Plame affair, even though he was innocent of the crime for which he was accused.&lt;br /&gt;&lt;br /&gt;Yet another reason is that he's innocent, and understands the difference between his computer being hacked, and his personal Twitter account. He has consistently describe the incident as a "prank" and an "account hack"; he's never described it as a "computer" hack. He worked on a recent cybersecurity bill, so he might understand the difference. When a congressman's computer gets hacked, that's important enough for the FBI to look into. When a personal Twitter account gets hacked because somebody chose a guessable password, that really isn't worthwhile investigating.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;h2&gt;Is the image a hoax?&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/-brQwWM-nQM8/TecfCUxe_nI/AAAAAAAAAW4/r885yM1plLM/s1600/5m3lu.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://4.bp.blogspot.com/-brQwWM-nQM8/TecfCUxe_nI/AAAAAAAAAW4/r885yM1plLM/s200/5m3lu.jpg" width="200" /&gt;&lt;/a&gt;&lt;br /&gt;The DailyKos claims they have proof that the photograph itself, and the content on BigGovernment.com, is a &lt;a href="http://www.dailykos.com/story/2011/05/30/980495/-CNN-Spreads-Latest-Breitbart-Smear"&gt;hoax&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: 24px; font-weight: bold;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: 24px; font-weight: bold;"&gt;&lt;/span&gt;That's nonsense. Wiener admits that the event happened.&lt;br /&gt;&lt;br /&gt;Second of all, it's typical conspiracy theory that asks questions, but provides no answers, implying that the only explanation is a conspiracy. For example, it points out that while the hidden EXIF information of the photograph means it came from Wiener's Blackberry Bold mobile phone, but that the phone doesn't take pictures of the size posted to YFrog, 800x600. There's a reason for that: when you transfer a picture off a Blackberry, you are given the option to send the full size image, or a smaller size, such as 800x600. While the EXIF info doesn't match a full size photograph, it corresponds exactly to the shrunk size that people typically used to transfer from their phones. The point is: it's the sort of detail conspiracy theorists want to believe in, but not one rational people would consider.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-wkfwcrFnwHM/Tecg7nH9d4I/AAAAAAAAAW8/uR4-fnQoeRw/s1600/2211721_enhanced.jpeg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://1.bp.blogspot.com/-wkfwcrFnwHM/Tecg7nH9d4I/AAAAAAAAAW8/uR4-fnQoeRw/s200/2211721_enhanced.jpeg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;Thirdly, if you wanted to investigate the authenticity of the photo, such as whether things were photoshopped to look bigger, there are lots of good ways of doing it. Dr. Neal Krawetz has a blog, &lt;a href="http://www.hackerfactor.com/blog/"&gt;http://www.hackerfactor.com/blog/&lt;/a&gt; where he does this sort of analysis. It's fascinating. To the right, I show an example of this called "&lt;a href="http://errorlevelanalysis.com/permalink/2211721/"&gt;error level analysis&lt;/a&gt;". If this image had been photoshopped, we'd see the manipulated parts stand out from the random data. However, if this image had been resized, or resaved at a different compression level, the error level analysis would be completely destroyed, so the lack of results we see here don't prove it wasn't photoshopped. Since sites like Yfrog reprocess pictures, the fact that it's been resaved destroying error level information isn't surprising.&lt;br /&gt;&lt;br /&gt;Another useful tool is &lt;a href="http://www.impulseadventure.com/photo/jpeg-snoop.html"&gt;JPEGsnoop&lt;/a&gt;. It can possibly fingerprint which software saved the image last, such as which camera took the picture, or which Photoshop version was used to manipulate the picture. Unfortunately, it has the fingerprint of the &lt;a href="http://www.ijg.org/"&gt;IJG&lt;/a&gt; software -- the most popular JPEG compression code, used in lots of products. The iPhone uses that library, and produces that signature when saving files. Looking around on the web, so does the Blackberry (which is identified in the EXIF data). It's a good program to compare the raw JPEG information with other 800x600 sized photos taken from Blackberries.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;h2&gt;Updates&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;Update: If I had to bet money, I'd probably bet on "guilty" rather than "pranked". But I wouldn't give better odds than 50%/50%.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-7838275608279350554?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/7838275608279350554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=7838275608279350554' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7838275608279350554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7838275608279350554'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/06/u.html' title='A Weiner Schnitzel'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-3G0ImOuybTw/TeaNXi-UELI/AAAAAAAAAW0/GZkgpkSCFNk/s72-c/Anthonyweiner.jpg' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-5775566680473203725</id><published>2011-05-23T21:25:00.000-05:00</published><updated>2011-05-23T21:25:22.177-05:00</updated><title type='text'>I got a bitcoin!</title><content type='html'>&lt;i&gt;I mean to write a more comprehensive Bitcoin (a type of cyber currency) post in the future, but in the meanwhile, there's this...&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;I got my first bitcoin. It was sent to my address "1PfkVx7SfWHqvLDmQUtXPPJeFFYpyj7ZhZ".&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-FdUbqo8NZcM/TdsWN5KUzLI/AAAAAAAAAWo/_0J4YQ8X1mQ/s1600/bitcoin-first.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-FdUbqo8NZcM/TdsWN5KUzLI/AAAAAAAAAWo/_0J4YQ8X1mQ/s1600/bitcoin-first.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;I did this by running a "mining" application on my desktop.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-ggMvK9-hBbY/TdsWRqBbWxI/AAAAAAAAAWs/7Hgl4dKEd7c/s1600/bitcoin-mining.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-ggMvK9-hBbY/TdsWRqBbWxI/AAAAAAAAAWs/7Hgl4dKEd7c/s1600/bitcoin-mining.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;This idea of "mining" is one of the philosophically interesting bits. Bitcoin is a currency, with exchange rates (currently $7 per coin). Instead of giving out coins for free, it gives out coins for some meaningless crypto work. Since my hardware is more efficient at crypto than the average person's, I can make a slight (very slight) profit running mining software.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-5775566680473203725?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/5775566680473203725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=5775566680473203725' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/5775566680473203725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/5775566680473203725'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/05/i-got-bitcoin.html' title='I got a bitcoin!'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-FdUbqo8NZcM/TdsWN5KUzLI/AAAAAAAAAWo/_0J4YQ8X1mQ/s72-c/bitcoin-first.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-1644510187703384487</id><published>2011-05-23T21:16:00.001-05:00</published><updated>2011-05-24T13:11:47.684-05:00</updated><title type='text'>Amazon Cloud Music Player</title><content type='html'>The main reason I don't buy songs or many videos form iTunes is because I have to store them and back them up locally. Amazon is now offering to store such things in the "cloud" for me. Today, they have a special $0.99 offer for Lady Gaga's latest album. I can download the MP3's directly to my computer, play on any device (including the iPod) -- but if my hard drive crashes, they are still in Amazon's cloud.&lt;br /&gt;&lt;br /&gt;In this way, it's a music version of the Kindle, where all the books are stored in the cloud. Even if my Kindle is destroyed, I can still get a replacement device, and re-download all my purchased books. In much the same way, I could buy a new iPod, and download everything on my Amazon cloud account any time I want.&lt;br /&gt;&lt;br /&gt;So here is a screenshot. I'm listening to my purchase, via the web-based player, as I write this.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-XKXHyt3-_es/TdsUie0hZ-I/AAAAAAAAAWk/SJ7TqLo4ZyY/s1600/cloud-player.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="556" src="http://3.bp.blogspot.com/-XKXHyt3-_es/TdsUie0hZ-I/AAAAAAAAAWk/SJ7TqLo4ZyY/s640/cloud-player.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;I'll download these later to my iPod and see how that works.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;How much does the the Cloud Drive cost?&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;My music is placed on my Cloud Drive. I didn't know I had something called a "Cloud Drive". What the heck is that?&lt;br /&gt;&lt;br /&gt;Apparently, it's a new service by Amazon. It gives you 5-gigabytes of free storage for things you upload to it. In addition, things you buy from Amazon do not count toward that limit. I suppose everyone who has an account with Amazon now has a "Cloud Drive".&lt;br /&gt;&lt;br /&gt;I'm a bit worried that Amazon was doing the typical slimy business practice of giving you a new service without you realizing it, then charging you for it. But, apparently not. The service is free. In addition, with my Lady Gaga purchase, I got a free "one year trial" of the 20-gig version. After a year, it will automatically revert back to the 5-gig -- it will not automatically start charging me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-1644510187703384487?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/1644510187703384487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=1644510187703384487' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1644510187703384487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1644510187703384487'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/05/amazon-cloud-music-player.html' title='Amazon Cloud Music Player'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-XKXHyt3-_es/TdsUie0hZ-I/AAAAAAAAAWk/SJ7TqLo4ZyY/s72-c/cloud-player.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-9157240220848564084</id><published>2011-05-23T21:05:00.000-05:00</published><updated>2011-05-23T21:05:19.952-05:00</updated><title type='text'>The iPad revolution</title><content type='html'>At a local eatery, instead of ordering lunch at the counter, I was confronted with an iPad ordering system. What you see in this picture is an iPad behind a credit-card reader, next to a device that prints receipts, next to a bin of numbers to put on the table so they know where to deliver the food.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-Rp9-Cq5bX6A/TdsRzZWNjFI/AAAAAAAAAWg/z4jDAVeeXq4/s1600/ipad-lunch.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="480" src="http://1.bp.blogspot.com/-Rp9-Cq5bX6A/TdsRzZWNjFI/AAAAAAAAAWg/z4jDAVeeXq4/s640/ipad-lunch.jpg" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The iPad is an astonishing device. Nobody really &lt;i&gt;needs&lt;/i&gt; an iPad for anything – yet, they keep showing up. Anybody making a touchscreen device has to ask themselves now: why don't we instead just write an app for the iPad?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-9157240220848564084?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/9157240220848564084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=9157240220848564084' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/9157240220848564084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/9157240220848564084'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/05/ipad-revolution.html' title='The iPad revolution'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-Rp9-Cq5bX6A/TdsRzZWNjFI/AAAAAAAAAWg/z4jDAVeeXq4/s72-c/ipad-lunch.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-2390843167752933937</id><published>2011-04-21T18:00:00.001-05:00</published><updated>2011-05-10T15:00:04.423-05:00</updated><title type='text'>Why cybersecurity tests fail</title><content type='html'>The Christian Science Monitor, a newspaper, recently had an online quiz to test how well you know cybersecurity. This is a good demonstration of the sorts of problem all such tests (like the CISSP certification test) have.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The first question asks what term William Gibson coined in "Neuromancer”.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-fpEPnaPSkbc/TbC2xtDqTRI/AAAAAAAAAWU/FpdsA2p7TKA/s1600/fail-question1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="203" src="http://3.bp.blogspot.com/-fpEPnaPSkbc/TbC2xtDqTRI/AAAAAAAAAWU/FpdsA2p7TKA/s640/fail-question1.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;The correct answer is "none of the above”.&lt;br /&gt;&lt;br /&gt;This is a sort of trick question. While &lt;i&gt;Neuromancer&lt;/i&gt; is credited with popularizing the term &lt;i&gt;cyberspace&lt;/i&gt;, Gibson "coined” the term in an earlier work.&lt;br /&gt;&lt;br /&gt;But the answer given in the test isn’t correct, either. The term "Internet” was coined in the 1970s. By the time the "Internet Protocol” (the basis for today’s Internet) was specified in RFC791 (three years before Neuromancer), the term "Internet” was already in widespread use.&lt;br /&gt;&lt;br /&gt;The cop-out from test designers is that when given a bad set of choices, you are supposed to choose the "best” one. Clearly the "best” answer is "cyberspace”, not "Internet”. At least, it’s clear to me, since I was on the Internet before Neuromancer was published.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Question #8 is probably the most amusing, because it demonstrates a lack of knowledge of the English language rather than cybersecurity:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-YmxMy1i6wGI/TbC3A9FXpFI/AAAAAAAAAWY/lb_FS-Sq6f0/s1600/fail-question3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="243" src="http://1.bp.blogspot.com/-YmxMy1i6wGI/TbC3A9FXpFI/AAAAAAAAAWY/lb_FS-Sq6f0/s640/fail-question3.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;If you parse the English language, the question asks "Who invaded Georgia?", not "Who cyber-attacked Georgia?". We don’t know who was responsible for the cyber-attacks against Georgia, but we do know that Russia invaded Georgia with ground troops.&lt;br /&gt;&lt;br /&gt;There is also a confusion as to what "its” means: does it mean the invasion was preceded by attacks on Georgia’s computers, or on Russia’s computers?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The reason I point this out is not to beat up on the Christian Science Monitor, but to use this as an analogy. Certification tests (like the CISSP) are hardly better. They are written by generalists who know a little about everything, but aren't an expert in any one thing. They make themselves immune to criticism (the first rule of the CISSP is that you will not criticize the CISSP), so it’s hard to debate those questions openly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-2390843167752933937?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/2390843167752933937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=2390843167752933937' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/2390843167752933937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/2390843167752933937'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/04/why-cybersecurity-tests-fail.html' title='Why cybersecurity tests fail'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-fpEPnaPSkbc/TbC2xtDqTRI/AAAAAAAAAWU/FpdsA2p7TKA/s72-c/fail-question1.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-5342456571117741471</id><published>2011-04-21T14:53:00.000-05:00</published><updated>2011-04-21T14:53:41.566-05:00</updated><title type='text'>Microsoft's "Coordinated Vulnerability Disclosure"</title><content type='html'>Microsoft has been finding vulns in other people's products since forever. That's because for those of us "skilled in the art", it's impossible not to. Remember: when software crashes for you, you simply restart it. When it crashes for us, we trap it in a debugger, and use tools like &lt;a href="http://channel9.msdn.com/blogs/pdcnews/bang-exploitable-security-analyzer"&gt;!exploitable&lt;/a&gt; in order to see if it's exploitable.&lt;br /&gt;&lt;br /&gt;Until now, Microsoft's response to such bugs as been ad-hoc. I'll bet that they've simply ignored the majority of such bugs. It takes a fair amount of work to take a bug that's "probably exploitable" to prove that it's "reproducibly exploitable". Security engineers should do it to keep in practice, but it's costly.&lt;br /&gt;&lt;br /&gt;But now Microsoft has created an &lt;a href="http://blogs.technet.com/b/msrc/archive/2011/04/19/coordinated-vulnerability-disclosure-from-philosophy-to-practice.aspx"&gt;official disclosure policy&lt;/a&gt; for their engineers. Now, when they find a bug in somebody else's product, their engineers know what policy to follow.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;"Responsible"&lt;/h2&gt;&lt;br /&gt;Microsoft should be praised for not using the word "responsible" disclosure. The words "vulnerability disclosure" describe a fact, "responsible" describes an opinion. In a room of 10 cybersecurity experts, you'll get 15 opinions one what is "responsible" for disclosing a vulnerability. (And few would agree with my opinion that no disclosure is irresponsible, and that each of the different ways a bug is disclosed has a different set of tradeoffs).&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;The Golden Rule&lt;/h2&gt;&lt;br /&gt;Microsoft's policy of how they disclose bugs to others mirrors their policy of how they would like others to disclose bugs in Microsoft's products. This is the "coordinated" bit in their disclosure -- where "coordinated" gives the upper hand to the affected vendor rather than the vuln discoverer.&lt;br /&gt;&lt;br /&gt;Most controversial is the idea "under no circumstances will Microsoft release details of an unpatched vulnerability unless evidence of public attacks exists". This gives the vendor the ("irresponsible") ability to bury bugs by never patching them. Microsoft has buried bugs on occasion by doing this.&lt;br /&gt;&lt;br /&gt;In contrast, Mozilla and Chrome have policies that say if they fail to patch a bug within a certain timeframe, then it's OK for the discover to disclose it. Knowing how vendor's react, I prefer this policy.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;I'm looking a fight&lt;/h2&gt;&lt;br /&gt;Here's what I want to see: Microsoft report a bug to Mozilla or Chrome that they bury. Which policy wins? Does Microsoft follow their policy and never publicly disclose the bug? Or do they switch and follow the Chrome/Mozilla policy and report anyway?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-5342456571117741471?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/5342456571117741471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=5342456571117741471' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/5342456571117741471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/5342456571117741471'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/04/microsofts-coordinated-vulnerability.html' title='Microsoft&apos;s &quot;Coordinated Vulnerability Disclosure&quot;'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-8216804812970152271</id><published>2011-04-14T14:13:00.001-05:00</published><updated>2011-04-14T14:48:04.183-05:00</updated><title type='text'>Email disclaimers are not pointless</title><content type='html'>These articles from &lt;i&gt;&lt;a href="http://gizmodo.com/#!5791161/disclaimers-in-email-signatures-are-not-just-annoying-but-legally-meaningless"&gt;Gizmodo&lt;/a&gt;&lt;/i&gt; and &lt;i&gt;&lt;a href="http://www.economist.com/node/18529895"&gt;The Economist&lt;/a&gt;&lt;/i&gt; articles claim that the disclaimers lawyers put on the bottom of emails are pointless. The Economist says:&lt;br /&gt;&lt;blockquote&gt;Lawyers and experts on internet policy say no court case has ever turned on the presence or absence of such an automatic e-mail footer in America, the most litigious of rich countries. &lt;/blockquote&gt;&lt;br /&gt;That's not strictly true. &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Legal fights are like a chess match. In much the same way that a chess game doesn't turn on a single piece, a legal fight rarely turns on a single item. Instead, both sides struggle to get the better position. Most cases are settled out of court, and the better your position, the less you pay (or the more you receive).&lt;br /&gt;&lt;br /&gt;A lot of what lawyers do appears absurd from our point of view, but it's all about position. For example, I used to work for a company called ISS where an employee (&lt;a href="https://secure.wikimedia.org/wikipedia/en/wiki/Michael_Lynn"&gt;Mike Lynn&lt;/a&gt;) published trade secrets at a conference. These secrets were quickly picked up and mirrored on websites throughout the Internet. ISS sent out &lt;a href="http://www.infowarrior.org/users/rforno/lynn-cisco.pdf"&gt;cease-and-desist&lt;/a&gt; letters to those sites, telling them to take down the content. This was absurd -- it was like trying to take pee out of the pool -- but it served a purpose. It demonstrated that ISS was willing to go to absurd lengths to protect its trade secrets, putting it in a stronger position the &lt;i&gt;next&lt;/i&gt; time a trade secret case happens. Companies that do not protect their trade secrets are in a weak position if their employees steal the secrets.&lt;br /&gt;&lt;br /&gt;Misdirected and forwarded emails are a common problem among law firms, such as in the &lt;a href="http://www.abajournal.com/news/article/law_firm_leverages_oops_e-mail_sent_to_opponent/"&gt;Arcadis case&lt;/a&gt;. Arcadis was suing former employees who had left to start their own company. The lawyers for the employees accidentally sent secret documents to their former email addresses @arcadis.com. Apparently, this was due to the "autocomplete" feature of email programs that automatically fill in known email addresses.&lt;br /&gt;&lt;br /&gt;The consequences were horrible -- for Arcadis. Even though it was the mistake of the lawyers on the other side, it was the recipient of those misdirected emails who suffered. The misdirected emails were forwarded to the in-house counsel, who then forwarded them to the law firm prosecuting the suit. This was improper -- the court ruled that Arcadis had to dismiss their law firm from the case, remove their general counsel from further involvement, and start the law suit all over again. And pay $40,000 to the former employees.&lt;br /&gt;&lt;br /&gt;Did the case hinge on the fact that there was a notice on the bottom? Hard to say -- but it certainly put them in a stronger position.&lt;br /&gt;&lt;br /&gt;Such notices serve other purposes. For example, let's say that the opposing side serves you with a subpoena for all your emails. Those that are "attorney-client privileged" are exempt from the subpoena. Marking them as such makes them easier to find on your email system and strip out before handing the email over.&lt;br /&gt;&lt;br /&gt;I'm sure lawyers can tell me many more reasons for these notices. The point is: even though they make no sense to us, and do not impact us, it doesn't mean they aren't important to lawyers. They are &lt;b&gt;toothless but not pointless&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Conclusion&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;So, what should we do about these notices? Well, my policy is to ignore them.&lt;br /&gt;&lt;br /&gt;My position cannot get better by reading these notices -- but it can get a lot worse. I should get advice from my lawyer and not from these notices that imply all behavior "may be illegal". If I make a mistake, and go to court, they will try to claim that I should've known by reading the notice. It's better that I not have read the notice at all.&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;&lt;small&gt;&lt;i&gt;Legal notice: I am not a lawyer, therefore, this is not legal advice, and you should not follow it. On the other hand, if you misinterpreted this as advice and followed it, then you wouldn't be reading this notice anyway. My brain hurts.&lt;/i&gt;&lt;/small&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-8216804812970152271?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/8216804812970152271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=8216804812970152271' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/8216804812970152271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/8216804812970152271'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/04/email-disclaimers-are-not-pointless.html' title='Email disclaimers are not pointless'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-2026838639631408187</id><published>2011-04-12T03:18:00.005-05:00</published><updated>2011-04-12T05:46:52.239-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='groupthink'/><title type='text'>So what's wrong with optimism?</title><content type='html'>In a response to my post "Transactive Memory Systems" , Rob Graham was uncharacteristically gracious when he called my theory "optimistic." He goes on to disagree with me and describes the cybersecurity industry as full of false memes, the echo chamber, and groupthink.&lt;div&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;h2 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 51, 51); font-family: Georgia, Times, serif; line-height: 18px; "&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;Being &lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;b&gt;Optimistic&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;/span&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;So what's wrong with being optimistic? By definition these criticisms imply that the industry believes in ideas that are untrue. But not all generally agreed upon ideas are inaccurate. Most of the ideas are believed by the person first saying it, and can be backed up by their own research. I believe that the majority of the ideas discussed in the community have merit, and it's practical to be optimistic. When Rob says, &lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Georgia, Times, serif; font-size: 14px; line-height: 18px; "&gt;"The market doesn't care about cybersecurity"&lt;/span&gt; it is merely a different kind of groupthink. Remember that in groupthink there is only one correct answer, and that the self-appointed 'mind guards' are the ones who have it. If the symptoms of groupthink are protecting the group, rejecting alternatives, and silencing opposition, then optimistic belief in the likelihood of accurate ideas is the ultimate rejection of groupthink. Said differently, I believe in the abilities of the best and brightest scientists of our industry because there is a reasonable likelihood that they are correct. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;h2 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 51, 51); font-family: Georgia, Times, serif; line-height: 18px; "&gt;&lt;span class="Apple-style-span"&gt;Transactive Memory&lt;/span&gt;&lt;/h2&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To answer Rob's criticisms of the transactive memory of the security community, I didn't say that transactive memory was a good thing, just an efficient way of making decisions. It's success or failure is based upon being able to communicate the skills each person has to each other. In this I think we are very successful. It doesn't claim that the ideas of the community are True, but merely describes people's motivation for believing them. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Rob said that the three components of transactive memory were not consistent with his experience of the security community. &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Georgia, Times, serif; font-size: 14px; line-height: 18px; "&gt;&lt;b&gt;&lt;/b&gt;&lt;blockquote&gt;&lt;b&gt;"Specialization&lt;/b&gt;: People don't actually specialize. Certainly, there are people that talk a lot about something, but that doesn't make them specialists."&lt;/blockquote&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;In the first post, I make the point that for the purposes of "metamemory," the person who speaks about a single topic frequently is labeled by the community as a specialist, not the person themselves or any board of certification. This is a result of our human nature to simplify things to a level we can process. &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Georgia, Times, serif; font-size: 14px; line-height: 18px; "&gt;&lt;b&gt;&lt;/b&gt;&lt;blockquote&gt;&lt;b&gt;"Coordination&lt;/b&gt;: Marisa points to conferences as an example of "transactive memory", but the reverse is true. It is the ability to act without a lot of formal meetings that is the hallmark of this "transactive" model."&lt;/blockquote&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;The theory doesn't say that there is not a time where people get to know each other's strengths. In fact the benefits of teamwork with transactive memory depend on this period of learning about each other. &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Georgia, Times, serif; font-size: 14px; line-height: 18px; "&gt;&lt;b&gt;&lt;/b&gt;&lt;blockquote&gt;&lt;b&gt;"Credibility&lt;/b&gt; is totally misplaced. People get credibility in our industry by pimping themselves. Vendors market themselves. Market analysts (like Gartner) also market themselves. People with little ability nonetheless get "certifications". Hackers, using tools built by their betters, are able to gain notoriety despite being little more than "script kiddies". There are those with technical ability (e.g. Schneier) that really deserve respect, but they are in the minority."&lt;/blockquote&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Credibility is the crux of our debate. Who should we believe? I submit that we have to believe *someone.* As an industry, the fact is we're only as good as our "experts." People like Schneier and Rob are good representatives of people who make good experts, but lousy community members. They rarely ever believe the ideas of their fellow experts. They constantly have to double check. This is inefficient and doesn't work for the broader community. But I agree that we need a better way to sort out the experts from the marketing whizzes. Or a better understanding of the implications for being wrong about our ideas. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;h2 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 51, 51); font-family: Georgia, Times, serif; line-height: 18px; "&gt;&lt;span class="Apple-style-span"&gt;Conclusion&lt;/span&gt;&lt;/h2&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Saying the community just suffers groupthink is problematic because it necessitates that the commonly held beliefs of the security community are more often wrong than right, when in reality they are more often right than wrong. I don't have a source for this observation, but if the top scientific minds in our field can't even get their theories right more than half the time, we have bigger problems on our hands than who believes them and for what reason. Call me optimistic, but I've met a lot of smart people in my time in the community, and if they say they've got conclusions, I believe them. I believe them not because I am pressured by mind control or subliminal catch phrases, but because it is the healthy human reaction to respect the ideas of experts in a field I am not an expert in. (Because really, what choice do I have?) In the same vein of optimism, I believe it is my duty to produce excellent research in the field I may be an expert in, so that those left in a similar predicament of inexperience can trust my expertise. This arrangement is infinitely more efficient than having to learn *everything* on your own, and often is the reason we have seen such successful collaborations across organizations in the security community. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-2026838639631408187?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/2026838639631408187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=2026838639631408187' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/2026838639631408187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/2026838639631408187'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/04/so-whats-wrong-with-optimism.html' title='So what&apos;s wrong with optimism?'/><author><name>Marisa Fagan</name><uri>http://www.blogger.com/profile/01185065599379609480</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://bp0.blogger.com/_96sSF15CVnM/SCipA24vSDI/AAAAAAAAAA0/QJN0KuMNt84/S220/marisa+in+the+car+mirror.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-1016425102574749532</id><published>2011-04-12T02:16:00.003-05:00</published><updated>2011-04-12T04:24:47.739-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='groupthink'/><title type='text'>No, it really is "groupthink"</title><content type='html'>In an optimistic description of the cybersecurity industry, Marisa Fagan likens it to a "&lt;a href="http://erratasec.blogspot.com/2011/04/transactive-memory-systems-answer-to.html"&gt;transactive memory system&lt;/a&gt;".&lt;br /&gt;&lt;br /&gt;I disagree. I believe it's memetics. And an echo chamber. And worst of all, groupthink.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;Memes&lt;/h2&gt;&lt;br /&gt;Memetics describes how ideas infect people's mind, like a virus. Once the community has been infected by an idea, it because "consensus" even though it's not based on any rational fact.&lt;br /&gt;&lt;br /&gt;A good example was the Comodo hack, where the CEO claimed that the only possible explanation was that it was a state-sponsored attack (by the Iranian state). Almost every news story I read about the incident echoed that claim, and every discussion I saw by "experts" assumed that was the truth. That's because it fired up our imaginations, and neatly fit with the story that we already believed, that the Iranian government had an army of hackers, and they were intent on eavesdropping on activists by breaking SSL.&lt;br /&gt;&lt;br /&gt;Luckily, the hacker came forward with compelling evidence (i.e. the private RSA key), which has caused this meme to disappear. But had that not happened, the community consensus would still be that this was a state-sponsored attack.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Echo Chamber&lt;/h2&gt;&lt;br /&gt;Our community is out of touch with the rest of the world. We believe that "security" is something inherently important, although few in the "real" world would agree with us.&lt;br /&gt;&lt;br /&gt;An example of this is a post by Jeremiah Grossman claiming that &lt;a href="https://blog.whitehatsec.com/security-as-a-differentiator/"&gt;security is a differentiator&lt;/a&gt;, that companies should spend more money making their products secure, because customers want more security in products and will buy those products that do the best security. Except it isn't true. The market doesn't care about cybersecurity. Moreover, the market doesn't have the ability to tell which products have the best security: if you spend a lot on security, your competitors will claim to be just as good, and nobody can tell the difference.&lt;br /&gt;&lt;br /&gt;This is an example of the "echo chamber": we all tell each that security is important, we say things like "you can never have too much security", and we pat each other on the back for saying such wise things. But none of it's true.&lt;br /&gt;&lt;br /&gt;I had a conversation with somebody that was complaining that we'd have good cybersecurity regulation in this country if it weren't for all the special interests getting in the way. I pointed out "but cybersecurity is itself a special interest". The guy paused for second trying to grasp the new concept, then responded "no, it's not, we want what's best for the country". &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Groupthink&lt;/h2&gt;&lt;br /&gt;I keep meaning to post more on this, but in the meantime, read the Wikipedia article on "&lt;a href="http://en.wikipedia.org/wiki/Groupthink"&gt;groupthink&lt;/a&gt;". In particular, pay attention to the signs of groupthink:&lt;br /&gt;&lt;blockquote&gt;1. Illusions of invulnerability creating excessive optimism and encouraging risk taking.&lt;br /&gt;2. Rationalizing warnings that might challenge the group's assumptions.&lt;br /&gt;3. Unquestioned belief in the morality of the group, causing members to ignore the consequences of their actions.&lt;br /&gt;4. Stereotyping those who are opposed to the group as weak, evil, biased, spiteful, impotent, or stupid.&lt;br /&gt;5. Direct pressure to conform placed on any member who questions the group, couched in terms of "disloyalty".&lt;br /&gt;6. Self-censorship of ideas that deviate from the apparent group consensus.&lt;br /&gt;7. Illusions of unanimity among group members, silence is viewed as agreement.&lt;br /&gt;8. Mind guards -- self-appointed members who shield the group from dissenting information.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;These 8 points describe much of the debate in our community. For example, in response to criticism, I've heard groupthinky phrases "lead, follow, or get out of the way". At conferences, I've heard about the importance of "furthering the conversation" and "reaching consensus". These aren't robust thinking -- they are groupthink.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;As for a "transactive" model&lt;/h2&gt;&lt;br /&gt;This "transactive" model of Marisa's doesn't fit my experience well.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Specialization&lt;/b&gt;: People don't actually specialize. Certainly, there are people that talk a lot about something, but that doesn't make them specialists. A good example was Gartner and IPS. Gartner became the acknowledged specialist market-analysists in the field, despite knowing little about it and being demonstratively wrong.&lt;br /&gt;&lt;br /&gt;A specific Gartner analyst really hates me because he feels I ambushed him. A big customer invited Gartner and intrusion-detection experts to debate Gartner's claims that IDS was dead. Gartner claimed that no IDS could run faster than 500-mbps. I asked the customer's own engineers how fast they were running my IDS, and they said 800-mbps, thus disproving Gartner's claims.&lt;br /&gt;&lt;br /&gt;That fact that IDS is still alive and kicking is also testament to the fact that Gartner was wrong.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Coordination&lt;/b&gt;: Marisa points to conferences as an example of "transactive memory", but the reverse is true. It is the ability to act without a lot of formal meetings that is the hallmark of this "transactive" model.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Credibility&lt;/b&gt; is totally misplaced. People get credibility in our industry by pimping themselves. Vendors market themselves. Market analysts (like Gartner) also market themselves. People with little ability nonetheless get "certifications". Hackers, using tools built by their betters, are able to gain notoriety despite being little more than "script kiddies". There are those with technical ability (e.g. Schneier) that really deserve respect, but they are in the minority.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Conclusion&lt;/h2&gt;&lt;br /&gt;If you read back through this blog, you'll figure out our true mission statement: to attack groupthink, the echo chamber, and memes. If "everbody knows" something, we at Errata Security are going to try to disagree.&lt;br /&gt;&lt;br /&gt;Now Marisa has an interesting new perspective on things, and I hope she fleshes it out, but I think she'll end up being wrong: it really is memes, echo chamber, and groupthink.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-1016425102574749532?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/1016425102574749532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=1016425102574749532' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1016425102574749532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1016425102574749532'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/04/no-it-really-is-groupthink.html' title='No, it really is &quot;groupthink&quot;'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-1454456778339315592</id><published>2011-04-09T03:24:00.006-05:00</published><updated>2011-04-12T02:16:43.133-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='groupthink'/><title type='text'>Transactive Memory Systems: an answer to "groupthink"</title><content type='html'>In the Information Security community, when pervasive ideas are generally agreed upon, inevitably someone cries "groupthink"(often on this blog!) The criticism is that we have let our opinions form by the pressures of the community and not by critical thinking. For example that "strong passwords increase security" or that "SQL Injection vulnerabilities are preventable." A good sign that the community is dictating the opinions is when the topic requires a special level of expertise to grok. Topics like these breed a desire to reach consensus without the individual members of the group exposing themselves as unknowledgeable or foolish. The problem with the term groupthink is that it is a &lt;a href="https://secure.wikimedia.org/wikipedia/en/wiki/Groupthink"&gt;pejorative&lt;/a&gt; term that implies the generally agreed upon idea is wrong, regardless of how the group came to that conclusion.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;I propose a different explanation for why communities find uniform consensus across such a large group of people. It's efficient. Thanks to the web, the Information Security community shares one large body of knowledge. Using blogs, Twitter, and online journals, we read the expert opinions of security professionals on hundreds of topics a week. This body of knowledge is a &lt;a href="http://www.wjh.harvard.edu/%7Ewegner/pdfs/Wegner%20Computer%20Network%20Model%201995.pdf"&gt;Transactive Memory System&lt;/a&gt;. The basic difference between Transactive Memory and groupthink is the generally agreed upon idea is not individually analyzed critically because of the inherent credibility of the person communicating it, not because of group pressure to look smart. &lt;a href="https://secure.wikimedia.org/wikipedia/en/wiki/Transactive_memory"&gt;Transactive Memory Theory&lt;/a&gt; states that there is the knowledge of the individual in the group, as well as their "&lt;a href="https://secure.wikimedia.org/wikipedia/en/wiki/Metamemory"&gt;metamemory&lt;/a&gt;" of what topics they, and everyone else in the group, knows. The metamemory allows the group to be smarter and more efficient than the individual. (This is not to be confused with Collective Intelligence, which is better explained by a TNG episode with &lt;a href="https://secure.wikimedia.org/wikipedia/en/wiki/Borg_%28Star_Trek%29"&gt;Borg&lt;/a&gt;.)&lt;br /&gt;&lt;br /&gt;The key to successful Transactive Memory relies on &lt;a href="https://secure.wikimedia.org/wikipedia/en/wiki/Transactive_memory#cite_ref-3"&gt;three&lt;/a&gt; components: specialization, coordination, and credibility. Using the Information Security community as an example, we can see how the so-called "thought leaders" in the community fit all three categories.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Specialization&lt;/span&gt; may not be something a thought leader pursues intentionally, but there are certain people in the community who are experts in specific topics. If you speak about Cloud, or SIEM, or DNS long enough, people start to identify you as the go-to-guy on that topic.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Coordination&lt;/span&gt; is enabled in large part by the Internet. It's what allows a community of thousands to behave like a "group." Another key coordination activity is the conference circuit. Across the world, conferences bring not only the ideas we agree upon, but also the speakers we know. Coordination is the process of learning who knows what in the group, and allows for the &lt;a href="https://secure.wikimedia.org/wikipedia/en/wiki/Transactive_memory#cite_note-wegner86-2"&gt;division&lt;/a&gt; of topics based on peoples strengths. This implies that it may not actually be the intentions of the thought leader that relegate them to one topic of expertise, but rather the community that finds it easier to know them for only one thing, requiring less complex metamemory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Credibility&lt;/span&gt; is the most subjective component. Creditability is the extent to which the group actually believes the thought leader's ideas are correct. This is the critical component for efficiency. Initially the group does not believe the thought leader's credibility is very high. This produces low efficiency for the exchange of ideas because everything must be analyzed more stringently by a larger number of people. The longer the group coordinates, the higher the credibility of the member assigned the topic, and the more people who do not need to repeat the research and can take their word for it.&lt;br /&gt;&lt;br /&gt;In our industry, there will always be a higher level of skepticism than most, but in order to be efficient and make progress in the science of IT we must be able to divide the topics. I'm sure you'll find that this is human nature, and we're not all experts on everything. Some people who code are not knowledgeable in penetration testing; people who are experts in forensics may not know a thing about visualization. And yet there are many cases where we're asked to give comment on these subjects that we are not experts in. When saying "I don't know!" isn't an option, it's natural to fall back to the Transactive Memory of the community and call upon someone who does.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In conclusion, we have generally agreed upon ideas not because we suffer from groupthink but because &lt;b&gt;we're in a technical field where it is efficient to trust the specialization of others&lt;/b&gt; in the community to communicate their knowledge, while we ourselves focus on our strengths in areas not being effectively covered.&lt;br /&gt;&lt;br /&gt;[Edit: Rob Graham's response: "No really,&lt;a href="http://erratasec.blogspot.com/2011/04/no-it-really-is-groupthink.html"&gt; it's groupthink&lt;/a&gt;."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-1454456778339315592?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/1454456778339315592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=1454456778339315592' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1454456778339315592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1454456778339315592'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/04/transactive-memory-systems-answer-to.html' title='Transactive Memory Systems: an answer to &quot;groupthink&quot;'/><author><name>Marisa Fagan</name><uri>http://www.blogger.com/profile/01185065599379609480</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://bp0.blogger.com/_96sSF15CVnM/SCipA24vSDI/AAAAAAAAAA0/QJN0KuMNt84/S220/marisa+in+the+car+mirror.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-3211340706190465910</id><published>2011-04-06T17:06:00.006-05:00</published><updated>2011-04-07T00:14:15.045-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Breaking in'/><category scheme='http://www.blogger.com/atom/ns#' term='#breakingin'/><category scheme='http://www.blogger.com/atom/ns#' term='TV'/><title type='text'>A pre-review of 'breaking_in'</title><content type='html'>&lt;i&gt;UPDATE: no, a smash-n-grab is not a pentest&lt;/i&gt;&lt;br /&gt;&lt;hr/&gt;Tonight, Fox debuts a comedy called "breaking_in", about a small pen-test company. I haven't seen the show, but I'm the CEO of a small pen-test company (i.e. Christian Slater's character), so I thought I'd create a "pre review" of the show. (Also, one of our exploits, FedEx-ing a iPhone to a company was already dramatized in the show "Leverage" -- we got a nice thank-you note from the producers -- this gives me license to pre-comment.)&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-WsIxiQkq5qQ/TZzmVDiQqQI/AAAAAAAAAWQ/SiJetPFixy4/s1600/breakingin.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="125" src="http://1.bp.blogspot.com/-WsIxiQkq5qQ/TZzmVDiQqQI/AAAAAAAAAWQ/SiJetPFixy4/s320/breakingin.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;Physical vs. Cyber&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;The most important difference with reality is that pen-testing is almost always a computer thing. Companies hire us to hack into their computers. In the show, it appears they focus on physical penetration. A hacker might disable the alarm system, but the other characters rappel down ropes from the skylight during the night. That's logical: what pen-testers really do is sit at a computer all day long staring intently at the screen. And what we are really doing is writing the proposal and budget before the test, and compiling the results in a report for the customer, rather than doing the penetrating. There is no way to dramatize this for TV.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Ethics&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;I did want to discuss ethics. We pen-testers share the same abilities as hackers -- does that not imply we share the same ethics? Wouldn't exploring this ethical issue make a good story? The answer is a greater suspicion of unethical behavior leads to greater emphasis on good ethics.&amp;nbsp;We fire employees not only for ethical violations, but also any appearance of ethical violations. At my last company, we fired an employee for running an unauthorized port scan at home, not because we thought he was trying to hack somebody, but simply because some might interpret it as trying to hack somebody.&lt;br /&gt;&lt;br /&gt;Another side to ethics is the fact that pen-testers are generally highly paid. We gouge our customers (we are worth every penny). There is no temptation to screw that up by crossing a line. Sure, we frequently get our hands on hundreds of millions of dollars during pen-tests, but there is no temptation. The risks involved in actually trying to pocket that money are too high compared to the income we get anyway.&lt;br /&gt;&lt;br /&gt;According the previews of &lt;tt&gt;breaking_in&lt;/tt&gt;, the CEO of that company blackmails an underpaid hacker to work for him. I've seen others that are similarly unethical, but if such a CEO is willing to cross the line in that case, he will probably keep crossing lines and taking chances, until he either goes bankrupt or gets put in jail. A good example of this is in Kevin Poulson's book "Kingpin": several times Max Butler tried to go straight, but his ethics were so poor that he keep crossing lines, and kept getting caught.&lt;br /&gt;&lt;br /&gt;The upshot is that any established pen-testing company is likely to be far more ethical than average, not less ethical.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Weirdos&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;The characters in the show are a bit odd. That's about right -- everyone I know who does pen-tests is a little weird. Though, it tends to be the boring sort of weird, like not bathing, rather than exciting weird, like driving a HumVee. Though, there was this one bank in San Fransisco whose chief security expert wore goth clothing to work, and the occasional cross dressing (his wife helped him pick out the clothes).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Chicks&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;The show has a love interest, of course.&lt;br /&gt;&lt;br /&gt;As you might expect, females are rare in the testosterone fueled community of hacking, but they aren't non existent. There are some really talented females at the top of our profession.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;&lt;i&gt;I might be live blogging the show tonight, maybe just inanely twittering it @ErrataRob&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-3211340706190465910?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/3211340706190465910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=3211340706190465910' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/3211340706190465910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/3211340706190465910'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/04/pre-review-of-breakingin.html' title='A pre-review of &apos;breaking_in&apos;'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-WsIxiQkq5qQ/TZzmVDiQqQI/AAAAAAAAAWQ/SiJetPFixy4/s72-c/breakingin.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-2247675027517411153</id><published>2011-04-06T13:29:00.022-05:00</published><updated>2011-04-08T17:52:03.140-05:00</updated><title type='text'>Government Didn’t Create the Internet</title><content type='html'>People often say that the government created the Internet. This is not true.&lt;br /&gt;&lt;br /&gt;The Internet is a trillion dollars of &lt;a href="http://en.wikipedia.org/wiki/Fiber_optics"&gt;fiber optic&lt;/a&gt; cables laid in the ground and under our oceans. Fiber optic technology was developed by corporations, such as Corning Glasworks, not the government. The trillion dollars in capital that was used to pay for laying cable came from Wall Street, not the government.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;The one thing you might be able to credit the government with is &lt;i&gt;standards&lt;/i&gt;. The early days of computing were a hodge-podge of networking standards. Only computers from the same vendor could talk to each other -- indeed, often only the same model of computers. The situation was like the railroad network in the pre Civil-War South: each state’s rail network had different gauge tracks, different widths, different turn radiuses, different slopes. As cargo was shipped across the South, it needed to be offloaded from one rail network and loaded onto another, several times. After the Civil War, the U.S. government decreed a common railroad standard for the entire country so that it could move troops quickly to anywhere in the country to suppress insurrections.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-BhQwhVpkbws/TZywBKRQIaI/AAAAAAAAAWM/d8BkImogSmE/s1600/iso_logo.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-BhQwhVpkbws/TZywBKRQIaI/AAAAAAAAAWM/d8BkImogSmE/s1600/iso_logo.gif" /&gt;&lt;/a&gt;&lt;/div&gt;In much the same way, around 1980, governments around the world, working with &lt;a href="http://www.iso.org"&gt;international standards organizations&lt;/a&gt;, created the "&lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/Open_Systems_Interconnection"&gt;OSI&lt;/a&gt;&lt;/i&gt;" or "&lt;i&gt;Open Systems Interconnect&lt;/i&gt;" group. The purpose of OSI was to create a single standard for all networks, to create a world wide "internetwork" that all computers could be connected to. By 1990, developed countries (US, Europe, Japan) had laws called &lt;i&gt;"&lt;a href="http://en.wikipedia.org/wiki/GOSIP"&gt;GOSIP&lt;/a&gt;"&lt;/i&gt; or “Government OSI Profile” that required all computers purchased by the government must support the OSI network standard. All large corporations, such as IBM and HP, supported this standard with their computers.&lt;br /&gt;&lt;br /&gt;What’s important about the Internet is that the OSI standard failed. It’s not the standard of today’s Internet. The government backed the wrong horse, so to speak. Instead, &lt;b&gt;today’s Internet is based on TCP/IP -- a networking standard the government tried to kill off&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;Back around 1980, there were many networking standards. One early effort to interconnect computers was known as &lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/Bitnet"&gt;BITNET&lt;/a&gt;&lt;/i&gt;. Most big universities had IBM mainframes. BITNET allowed those mainframes to be interconnected, so that people could exchange data and email. Another early effort was &lt;i&gt;&lt;tt&gt;uucp&lt;/tt&gt;&lt;/i&gt;, that exchanged email over dialup lines (and other network connections, including TCP/IP and BITNET connections). DEC (Digital Equipment Corp.) was a hub for a lot of this &lt;i&gt;&lt;tt&gt;uucp&lt;/tt&gt;&lt;/i&gt; traffic. Much of this funding came from private sources, not the government. If there was a world wide network in that day, it was &lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/X.25"&gt;X.25&lt;/a&gt;&lt;/i&gt;, a networking standard supported by the telephone companies and used by big corporations.&lt;br /&gt;&lt;br /&gt;The government was also involved. It was the height of the Cold War and the era of the “Star Wars” missile defense system. The Department of Defense (DoD) was throwing money at anything that might have military application.&lt;br /&gt;&lt;br /&gt;When government agencies funded a research project, it would be a collaboration among researchers at different universities. The DoD wanted them to be able to talk to each other. Since the most popular computer system among their researchers was &lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/Berkeley_Software_Distribution"&gt;BSD Unix&lt;/a&gt;&lt;/i&gt;, the &lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/United_States_Department_of_Defense"&gt;DoD&lt;/a&gt;&lt;/i&gt; paid a consulting firm (&lt;a href="http://en.wikipedia.org/wiki/BBN_Technologies"&gt;BBN&lt;/a&gt;) to add two networking standards to BSD Unix: Xerox XNS (one of many commercial network standards) and TCP/IP (one of many research network standards).&lt;br /&gt;&lt;br /&gt;TCP/IP quickly grew to become the most popular research network standard. Unlike commercial standards (like Xerox’s XNS), no single entity controlled TCP/IP. Universities were free to redefine the standards at will. And that’s what they did.&lt;br /&gt;&lt;br /&gt;During the 1980s, this was &lt;i&gt;the&lt;/i&gt; question of TCP/IP: nobody really controlled standards. Those who might have controlled standards declared the nascent TCP/IP internetwork an "&lt;i&gt;official &lt;a href="http://www.wired.com/wired/archive/3.10/ietf.html"&gt;anarchy&lt;/a&gt;&lt;/i&gt;". Those who preferred company controlled standards (from Xerox or IBM), or government standards (like OSI), looked down upon TCP/IP, declaring it would never work. How could standards exist without somebody putting their official stamp of approval on it?&lt;br /&gt;&lt;br /&gt;But, it did work. &lt;span style="font-style: italic;"&gt;De facto&lt;/span&gt; standards developed by acclamation, not proclamation. It worked thusly: two (or more) independent groups developed a way for computers to interoperate on a task (such as exchange email), then they would document what they did so that anybody else could interoperate with them. You were free to interoperate with them, or create a different way of solving the problem. When it became obvious that most everyone was using the standard that worked the best, then and only then was it declared as something like an “official standard”. In fact, much of TCP/IP is inspired by corporations. They paid get get something working, and then documented it so that others could interoperate, which then became Internet standards.&lt;br /&gt;&lt;br /&gt;This was in sharp contrast to OSI. The way that OSI worked is that everyone would get together and spend years going to meetings, fighting for what they wanted in the official standard.&lt;br /&gt;&lt;br /&gt;Eventually something would be created that tried to satisfy everyone, and a standard would be published. At this point, people would try to implement it. I say "try" because it didn’t actually work. Such standards were so bloated with features that they could never be fully implemented, and were full of problems that you would only find while trying to implement the standard. As a consequence, different people trying to implement the OSI standards could never really get their stuff to interoperate with each other.&lt;br /&gt;&lt;br /&gt;So both sides thought the other side wouldn’t work. Those working on TCP/IP standards felt that official standards process would never produce something that worked, and the official standards bodies believed that nothing would work without an official stamp of approval. Even while Netscape was going IPO, setting off the dot-com revolution, government (and big corporations sucking from the government teat) believed that OSI was the long term, and that the TCP/IP Internet was just a temporary research project.&lt;br /&gt;&lt;br /&gt;So who gets credit for creating the Internet? Government? The military? Big corporations? Universities?&lt;br /&gt;&lt;br /&gt;The answer is "all the above". The Internet is the product of a free society, everyone working together, and sometimes working at odds with each other. It's a triumph of an "official anarchy".&lt;br /&gt;&lt;br /&gt;Government threw money at many networks, including the TCP/IP Internet. TCP/IP was influenced by many things, among them the government. But what government most gave TCP/IP was its benign neglect as it spent its guidance, vision, leadership, and energy on developing the OSI network. This history important. If you believe &lt;a href="http://en.wikipedia.org/wiki/Al_Gore_and_information_technology"&gt;those who say that it's government's unique vision that created the Internet&lt;/a&gt;, then you would naturally believe that the government should continue with their successful strategy of regulating and controlling the Internet. If you believe, as I do, that it’s the product of "official anarchy", then you would agree that government should continue keeping its hands off the Internet.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;i&gt;(You might be wondering if this is an attack on &lt;a href="http://en.wikipedia.org/wiki/Network_neutrality"&gt;NetNeutrality&lt;/a&gt; -- of course it is -- but I wrote the original draft of this 10 years ago, long before NetNeutrality was discussed. It's funny -- back in the 1980s, our chief fear was that a corporate monopoly [then: AT&amp;amp;T, today:Google] would successfully lobby the government to tell us how to route packets.)&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-2247675027517411153?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/2247675027517411153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=2247675027517411153' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/2247675027517411153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/2247675027517411153'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/04/government-didnt-create-internet.html' title='Government Didn’t Create the Internet'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-BhQwhVpkbws/TZywBKRQIaI/AAAAAAAAAWM/d8BkImogSmE/s72-c/iso_logo.gif' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-1603799995354058559</id><published>2011-04-04T16:14:00.000-05:00</published><updated>2011-04-04T16:14:28.167-05:00</updated><title type='text'>How to protect yourself from future "Epsilon" breach</title><content type='html'>Your e-mail address was only exposed (1) you gave it to the company and (2) if you selected “Please send me e-mail notfications”.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;I’ve done business with many of the companies involved (TiVo, Citibank, AmEx, BestBuy, Disney, Fred Meyer, Fry’s, Hilton Honors, Kroger, Marriot Rewards, Visa, Walgreens), but only TiVo sent me e-mail. That’s because I lie when they ask my for an e-mail address most of the time (when my e-mail address isn’t necessary) -- and when the e-mail address is necessary, I make sure I click the box saying that I don’t want marketing spam. TiVo recently started sending me marketing spam -- apparently, it decided to forget my preference.&lt;br /&gt;&lt;br /&gt;But even then, it wasn’t the correct address. I have three addresses: a public facing address that everyone knows (robert_david_graham@yahoo.com), a private address I give to friends and family, and an e-commerce address that I only give out to companies. Therefore, if I receive PayPal phishing messages, I know they are incorrect, because they are sent to my public address. (I’ve never gotten phishing e-mail on my e-commerce e-mail).&lt;br /&gt;&lt;br /&gt;You don’t have to give out private information if you don’t want to. I recently went to Japan to my brother’s wedding. I checked in at the same time as my parents. We were handed forms to fill out, with things like name, address, phone number, e-mail address, and so forth. I filled in my name and handed my form back. My parents looked at me as if that was some unforgiveable sin -- they had filled out the form completely, including e-mail. But it’s not a sin, or antisocial. THEY are the ones being antisocial, because THEY will spam you if you give them your e-mail address. They say they won’t, but of course, they will.&lt;br /&gt;&lt;br /&gt;Usually, when I hand them empty forms, they ask why I don’t fill them out. The conversation goes like this:&lt;br /&gt;Them: why didn’t you fill it out?&lt;br /&gt;Me: I don’t want spam and junk e-mail.&lt;br /&gt;Them: We would never do that.&lt;br /&gt;Me: Okay. Do you have a privacy policy that promises you won’t?&lt;br /&gt;Them: What? I’ll have to check with my manager. (some moments later). Yes, here it is.&lt;br /&gt;Me: (eyes scan down the page) It says here that you “won’t use the information, except for products and offers we or our partners think you might be interested in”. That means spam and junk mail.&lt;br /&gt;Them: We would never do that.&lt;br /&gt;Me: Do you have a privacy policy that promises you won’t?&lt;br /&gt;&lt;br /&gt;If they continue to insist, I ask “can I lie?” -- and then provide them the (incorrect) information they ask for. It’s an ethical thing: I could’ve lied to begin with, and saved us both a lot of time. But I feel better when they know I’m lying.&lt;br /&gt;&lt;br /&gt;It’s odd -- employees don’t really care. They are focused on getting the form filled in, not that it’s correct. The AT&amp;amp;T store employee knew I was lying, but sold me the phone anyway. I get a monthly SMS from AT&amp;amp;T complaining that my address is incorrect, warning me that I should call them and tell them my correct address. This has been going on for 3 years now.&lt;br /&gt;&lt;br /&gt;My solution to the Epsilon breach is simply to create a new private e-mail account for e-commerce. I’ll either change the address for the few accounts I care about (like NewEgg and Amazon), cancel the other accounts, and then monitor that account for spam resulting from the Epsilon breach. My public e-mail and private personal e-mail accounts will remain unaffected.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-1603799995354058559?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/1603799995354058559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=1603799995354058559' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1603799995354058559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1603799995354058559'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/04/how-to-protect-yourself-from-future.html' title='How to protect yourself from future &quot;Epsilon&quot; breach'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-6686992593731591511</id><published>2011-04-04T12:54:00.007-05:00</published><updated>2011-04-07T00:14:46.112-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Profile Spy'/><category scheme='http://www.blogger.com/atom/ns#' term='Twitter'/><title type='text'>Anatomy of a Twitter worm ("Profile Spy")</title><content type='html'>I woke up this morning and among the tweets I saw this:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-y1gWGgM4yvs/TZn7NYVjaMI/AAAAAAAAAWA/L9Burd-xkxA/s1600/profilespy1b.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-y1gWGgM4yvs/TZn7NYVjaMI/AAAAAAAAAWA/L9Burd-xkxA/s1600/profilespy1b.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;i&gt;(Name has been pixelated to protect the guilty)&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;This looks like a worm/scam (some news &lt;a href="http://www.huffingtonpost.com/2011/04/04/twitter-profile-spy-worm-_n_844382.html"&gt;here&lt;/a&gt;, so I thought I'd write up a technical explanation.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Like most cybersecurity researchers, I like worms. So, I switched to another browser ("Iron" version of Chrome from SRware) and my honeypot account "&lt;a href="https://twitter.com/#!/ErrataVictim"&gt;@ErrataVictim&lt;/a&gt;". I logged in, and then followed that link.&lt;br /&gt;&lt;br /&gt;Clicking on the link pops up this page from Twitter:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-ieBUPNjJg2E/TZnCGU8DAWI/AAAAAAAAAV4/Nagd4a3NmjE/s1600/profilespy2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="365" src="http://3.bp.blogspot.com/-ieBUPNjJg2E/TZnCGU8DAWI/AAAAAAAAAV4/Nagd4a3NmjE/s400/profilespy2.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;Worms usually ask for passwords, but people become suspicious giving out passwords.&amp;nbsp;This worm uses a different strategy. It pretends to be a legitimate Twitter application, and uses the same method to ask for permissions as any other application. This is the same sort of authorization you would need to give to your Twitter application on the iPhone. This is the sort of authorization you would need to give to any third party Twitter application -- like one that told you how many people checked out your profile (which actually isn't possible -- Twitter doesn't give that info to app developers, and probably doesn't track it ).&lt;br /&gt;&lt;br /&gt;It's hard to give people advice what to do in this situation. You can't simply say "Never allow applications to connect to your account", because that would prevent legitimate twitter applications from having access to your account.&lt;br /&gt;&lt;br /&gt;The best advice I could give you is that whenever you see something of the form "this is cool check it out" -- and it asks you to install something, give a password, or grant authorization, then it's probably malware. You should always verify it with the sender (or with Google) before continuing.&lt;br /&gt;&lt;br /&gt;When I allow access, I get this:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-S6w0B6wtK0I/TZm0yIgDMjI/AAAAAAAAAVg/Rw4nS40OnTA/s1600/profilespy3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="308" src="http://2.bp.blogspot.com/-S6w0B6wtK0I/TZm0yIgDMjI/AAAAAAAAAVg/Rw4nS40OnTA/s400/profilespy3.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Going back to my victim account, I saw that it had indeed gotten "hacked". This is why the hacker created this worm/scam: he will profit from all the advertising you'll see following those links.&lt;br /&gt;&lt;br /&gt;There might be further malware in those links designed to compromise your machine or accounts, like clickjacking exploits. I followed the first one, and it's a typical scam that asks you to fill out endless surveys and promises you'll win a prize at the end -- but there is no end to the popups you have to go through. At least, I've never reached the end when trying to see how deep they go.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-6NwplmFaGts/TZoENIB2w7I/AAAAAAAAAWE/euUTapdCFUY/s1600/profilespy7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="362" src="http://2.bp.blogspot.com/-6NwplmFaGts/TZoENIB2w7I/AAAAAAAAAWE/euUTapdCFUY/s400/profilespy7.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Following this link leads to the next form. Obviously, you wouldn't want to fill this out.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-2uRJ0IlYsAU/TZoEoifDBiI/AAAAAAAAAWI/Tf722iHen4A/s1600/profilespy8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/-2uRJ0IlYsAU/TZoEoifDBiI/AAAAAAAAAWI/Tf722iHen4A/s400/profilespy8.png" width="266" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;I continued following this for a while, and it continue to provide endless "surveys" on care insurance, medical, long distance phone, and so on. I didn't follow them too deep -- I assume there is no end to them.&lt;br /&gt;&lt;br /&gt;I confirmed that my account was "hacked" because immediately after this, I saw these two tweets magically appear as if I'd tweeted them:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-0Pq0z_z5How/TZm6zOWDCxI/AAAAAAAAAV0/Sln2e1qDWRc/s1600/profilespy4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/-0Pq0z_z5How/TZm6zOWDCxI/AAAAAAAAAV0/Sln2e1qDWRc/s400/profilespy4.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;It is easy to recover your account if this happens to you. Go to your "Profile", then "Edit your profile", then select "Connections", &amp;nbsp;then revoke it's access, as shown below:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-K04-vLpepZ0/TZm2r3ZZ-GI/AAAAAAAAAVo/H7SIVdsS81s/s1600/profilespy5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="258" src="http://1.bp.blogspot.com/-K04-vLpepZ0/TZm2r3ZZ-GI/AAAAAAAAAVo/H7SIVdsS81s/s400/profilespy5.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Then, in order to make sure that nobody else falls victim to this (or hide your guilt), remove the tweets the worm put there. Select &amp;nbsp;"Profile" again. This shows a timeline with just your tweets. Hover over the tweet with your mouse, and you'll see a "Delete" option. Click that, and the tweet goes away:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-7m-zuNffbDM/TZm5XWrmuCI/AAAAAAAAAVs/YQJS1T_yaIQ/s1600/profilespy6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://1.bp.blogspot.com/-7m-zuNffbDM/TZm5XWrmuCI/AAAAAAAAAVs/YQJS1T_yaIQ/s400/profilespy6.png" width="360" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;This won't completely get rid of the tweet. The default browser application, and many other applications, download and cache the tweets as they are tweeted. Thus, if somebody opens their browser and logs onto twitter, they won't see your deleted tweet. But, if somebody sees a "75 new tweets" and clicks on it, they will still see your tweet, because it's already been downloaded and cached in your browser. Therefore, even when you delete it, most of your active followers will still see it.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;hr /&gt;&lt;h2&gt;How does the scam work?&lt;/h2&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;The first step is to set up an account with advertisers that you will forward people to.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;The second step is to get a "burner" host. First, grab an anonymous credit card (aka. "gift card") from a store, then use it to create an account at a hosting site. In this case, the hacker chose &lt;a href="http://www.liquidweb.com/"&gt;liquidweb&lt;/a&gt;, which allow you to set up a cloud server in minutes.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Then write a Twitter script that will use Twitter's OAuth feature to do two things. The first is to log onto their account and send the spam message via a tweet. The second is to forward the user to the advertiser.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Third is to launch the worm by spamming the tweet. This involves creating accounts, "following" people, then sending them tweets with the link. Eventually, a popular person with a lot of followers will fall for it, and the worm will take on a life of it's own.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;The ow.ly link points to "www.twitterprofilespy.info".&amp;nbsp;I did a traceroute to that address and got this info:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;small&gt;&lt;/small&gt;&lt;br /&gt;&lt;pre&gt;&lt;small&gt;1     1 ms     2 ms     1 ms  23.23.23.1&lt;br /&gt;  2    23 ms    28 ms     9 ms  c-71-204-8-1.hsd1.ga.comcast.net [71.204.8.1]&lt;br /&gt;  3    10 ms    10 ms     9 ms  xe-10-1-0-0-sur01.n4atlanta.ga.atlanta.comcast.net [68.85.68.57]&lt;br /&gt;  4    15 ms    16 ms    18 ms  xe-6-1-3-0-ar01.D1stonemtn.ga.atlanta.comcast.net [68.85.108.250]&lt;br /&gt;  5    67 ms   136 ms    95 ms  ae-2-0-ar01.b0atlanta.ga.atlanta.comcast.net [68.85.109.241]&lt;br /&gt;  6    19 ms    15 ms    15 ms  pos-3-7-0-0-cr01.atlanta.ga.ibone.comcast.net [68.86.93.205]&lt;br /&gt;  7    17 ms    16 ms    16 ms  TenGigabitethernet4-1.ar1.ATL2.gblx.net [146.82.35.121]&lt;br /&gt;  8    48 ms    67 ms    47 ms  64.209.88.186&lt;br /&gt;  9    50 ms    54 ms    50 ms  lw-dc2-core3-te9-1.rtr.liquidweb.com [209.59.157.224]&lt;br /&gt; 10    52 ms    52 ms    67 ms  lw-core6.rtr.liquidweb.com [209.59.157.109]&lt;br /&gt; 11    54 ms    55 ms    56 ms  lw-dc3-dist10-po6.rtr.liquidweb.com [69.167.128.167]&lt;br /&gt; 12    53 ms    54 ms    52 ms  host.fookyea.com [67.227.204.5]&lt;/small&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;The whois information for "twitterprofilespy.info" and got this back:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;pre&gt;Domain Name:TWITTERPROFILESPY.INFO&lt;br /&gt;Created On:02-Apr-2011 04:34:09 UTC&lt;br /&gt;Last Updated On:03-Apr-2011 15:56:34 UTC&lt;br /&gt;Expiration Date:02-Apr-2012 04:34:09 UTC&lt;br /&gt;Sponsoring Registrar:eNom, Inc. (R126-LRMS)&lt;br /&gt;Status:CLIENT TRANSFER PROHIBITED&lt;br /&gt;Status:TRANSFER PROHIBITED&lt;br /&gt;Registrant ID:551ff52cd302f3e3&lt;br /&gt;Registrant Name:WhoisGuard  Protected&lt;br /&gt;Registrant Organization:WhoisGuard&lt;br /&gt;Registrant Street1:8939 S. Sepulveda Blvd. #110 - 732&lt;br /&gt;Registrant Street2:&lt;br /&gt;Registrant Street3:&lt;br /&gt;Registrant City:Westchester&lt;br /&gt;Registrant State/Province:CA&lt;br /&gt;Registrant Postal Code:90045&lt;br /&gt;Registrant Country:US&lt;br /&gt;Registrant Phone:+1.6613102107&lt;br /&gt;Registrant Phone Ext.:&lt;br /&gt;Registrant FAX:&lt;br /&gt;Registrant FAX Ext.:&lt;br /&gt;Registrant Email:683c9af5c7fe45bda8510a5327cc212a.protect@whoisguard.com&lt;/pre&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I suspect "fookyea.com" might also identify the hacker. The whois info from GoDaddy shows this:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;Registrant:&lt;br /&gt;Unknown Unknown&lt;br /&gt;123 Lay Ave&lt;br /&gt;New York, New York 10001&lt;br /&gt;United States&lt;br /&gt;&lt;br /&gt;Registered through: GoDaddy.com, Inc. (http://www.godaddy.com)&lt;br /&gt;Domain Name: FOOKYEA.COM&lt;br /&gt;Created on: 13-Feb-09&lt;br /&gt;Expires on: 13-Feb-12&lt;br /&gt;Last Updated on: 14-Feb-11&lt;br /&gt;&lt;br /&gt;Administrative Contact:&lt;br /&gt;Unknown, Unknown gamingcheats@gmail.com&lt;br /&gt;123 Lay Ave&lt;br /&gt;New York, New York 10001&lt;br /&gt;United States&lt;br /&gt;+1.2121234567&lt;br /&gt;...&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;It would take more effort than I'm willing to spend, and maybe warrants, to track this down any further.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;Update: Graham Cluley from Sophos also has a post almost identical to mine:&amp;nbsp;&lt;a href="http://nakedsecurity.sophos.com/2011/04/04/profile-spy-rogue-application-spreads-virally-on-twitter/"&gt;http://nakedsecurity.sophos.com/2011/04/04/profile-spy-rogue-application-spreads-virally-on-twitter/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-6686992593731591511?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/6686992593731591511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=6686992593731591511' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/6686992593731591511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/6686992593731591511'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/04/anatomy-of-twitter-worm-profile-spy.html' title='Anatomy of a Twitter worm (&quot;Profile Spy&quot;)'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-y1gWGgM4yvs/TZn7NYVjaMI/AAAAAAAAAWA/L9Burd-xkxA/s72-c/profilespy1b.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-7020477670458149942</id><published>2011-03-30T00:14:00.016-05:00</published><updated>2011-03-30T21:14:44.616-05:00</updated><title type='text'>Well, that's it for Bit.ly (SCRATCH THAT: MAYBE NOT)</title><content type='html'>&lt;h2&gt;&lt;i&gt;Bit.ly support quickly responded and fixed the issue. I've included their response&amp;nbsp;&lt;a href="http://www.blogger.com/post-edit.g?blogID=37798047&amp;amp;postID=7020477670458149942#response"&gt;below&lt;/a&gt;.&lt;/i&gt;&lt;/h2&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Bit.ly is giving people the finger rather than forwarding them to this blog. Here is an example picture when visiting&amp;nbsp;&lt;span class="Apple-style-span" style="color: #444444; font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 15px; line-height: 19px;"&gt;&lt;a class="twitter-timeline-link" data-expanded-url="http://erratasec.blogspot.com/2011/03/interview-with-comodohacker.html/" href="http://bit.ly/h7aFJc" rel="nofollow" style="color: #0084b4; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;" target="_blank" title="http://erratasec.blogspot.com/2011/03/interview-with-comodohacker.html/"&gt;http://bit.ly/h7aFJc&lt;/a&gt;&lt;/span&gt;&amp;nbsp;(click to enlarge):&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-hQx3vC0wZrw/TZK55IIjEYI/AAAAAAAAAVE/A4PCGweXOKU/s1600/bitly.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="609" src="http://3.bp.blogspot.com/-hQx3vC0wZrw/TZK55IIjEYI/AAAAAAAAAVE/A4PCGweXOKU/s640/bitly.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;The link used to work just fine. For some reason, bit.ly decided to start blocking it with this page rather than forwarding.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;I can't "fix" this as they suggest. I posted the link on Twitter, which has further been retweeted and independently tweeted (which has further been retweeted). There is no way to go back and fix those thousands of tweets.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Here is a picture from Blogger's stats. As you can see, it's doing this with several links:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-mFb8h1zdhOc/TZK7MgJN_EI/AAAAAAAAAVI/xuoqdY8OioI/s1600/bitly2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-mFb8h1zdhOc/TZK7MgJN_EI/AAAAAAAAAVI/xuoqdY8OioI/s1600/bitly2.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;I suspect the problem comes from deeper links. This post (&lt;span class="Apple-style-span" style="color: #444444; font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 15px; line-height: 19px;"&gt;&lt;a class="twitter-timeline-link" data-expanded-url="http://erratasec.blogspot.com/2011/03/interview-with-comodohacker.html/" href="http://bit.ly/h7aFJc" rel="nofollow" style="color: #0084b4; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;" target="_blank" title="http://erratasec.blogspot.com/2011/03/interview-with-comodohacker.html/"&gt;http://bit.ly/h7aFJc&lt;/a&gt;)&amp;nbsp;&lt;/span&gt;has two links to it:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://erratasec.blogspot.com/2011/03/interview-with-comodohacker.html"&gt;http://erratasec.blogspot.com/2011/03/interview-with-comodohacker.html&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;and&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://erratasec.blogspot.com/2011/03/interview-with-comodohacker.html#more"&gt;http://erratasec.blogspot.com/2011/03/interview-with-comodohacker.html#more&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Blogger allows you to show just the introductory paragraph on the home page with a link to "More..." to see the rest of the story. In the above case, someone else shortened the #more version of the page and posted to Twitter. I'm guessing this is what has made bit.ly upset.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;However, I use this feature a lot on my posts. Consequently, I can no longer use bit.ly. What should I switch to? How about "goo.gl"?&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;hr /&gt;&lt;h2&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=37798047&amp;amp;postID=7020477670458149942#response" name="response"&gt;BIT.LY RESPONDS AND FIXES THE PROBLEM&lt;/a&gt;&lt;/h2&gt;&lt;tt&gt;You were reported for spamming. Your post is totally attacking something you never reached out to us about. If you would have reached out first vs posting a rant on your blog, maybe we would have let you know directly. &lt;br /&gt;&lt;br /&gt;I have now unblocked your blog. &lt;b&gt;Next time this happens, let us know&lt;/b&gt; vs running a garbage post on your blog with no facts behind it. Oh, and you might want to consider who you share links with, someone you shared your blog post with was the one that reported you.&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;I got this as a response to my e-mail. He (RexDixon) also posted comments below in the blogpost.&lt;br /&gt;&lt;br /&gt;This is the rudest response I've gotten, but it's totally justified, since I was rude first with this post. I should probably have waited for a response to support@ before bloggging. I quite like the response.&lt;br /&gt;&lt;br /&gt;Bit.ly: Could you clarify what you mean by "share links with". I don't share links with anybody. I don't include any advertising (which you can verify by going to the site). The content is 100% my own, plus anything that Blogger puts there.&lt;br /&gt;&lt;br /&gt;I did link to pastebin files. Those files are the top "trending" files on pastebin. And the trend is due to my Tweets and blog post. But it's not spam, it's legitimate. Is it pastebin that reported those posts as spam?&lt;br /&gt;&lt;br /&gt;I link to the pastes put there by "ComodoHacker" in the graphic below from the "Trending Pastes" at&amp;nbsp;&lt;a href="http://pastebin.com/trends"&gt;http://pastebin.com/trends&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-lAUASmUMFTc/TZNUpUJ5cFI/AAAAAAAAAVQ/MfM3wfXUgc4/s1600/pastebintrends.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-lAUASmUMFTc/TZNUpUJ5cFI/AAAAAAAAAVQ/MfM3wfXUgc4/s1600/pastebintrends.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-7020477670458149942?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/7020477670458149942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=7020477670458149942' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7020477670458149942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/7020477670458149942'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/03/well-thats-it-for-bitly.html' title='Well, that&apos;s it for Bit.ly (SCRATCH THAT: MAYBE NOT)'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-hQx3vC0wZrw/TZK55IIjEYI/AAAAAAAAAVE/A4PCGweXOKU/s72-c/bitly.png' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-1649896754592876390</id><published>2011-03-29T16:28:00.002-05:00</published><updated>2011-04-06T18:45:21.301-05:00</updated><title type='text'>"Cyber" and "hacker": I’m taking them back</title><content type='html'>I use the word "&lt;i&gt;cybersecurity&lt;/i&gt;" on the Twitter partly because it annoys people for being tragically un-hip. &lt;br /&gt;&lt;br /&gt;But mostly I used it because it’s the word that most people will understand. If I go on CNN and talk about &lt;i&gt;[IT-, information-, computer-, network-, system-]&lt;/i&gt;security, the audience won’t understand me as well as "cyber".&lt;br /&gt;&lt;br /&gt;The advantage of "cyber" is precisely its impreciseness and lack of definition. My audience doesn't really want to know what the word means -- they simply want that I mean the same thing as everyone else who says "cyber" on CNN. It’s the transitive property of language. If "&lt;tt&gt;a=1&lt;/tt&gt;", and "&lt;tt&gt;a=b&lt;/tt&gt;", then "&lt;tt&gt;b=1&lt;/tt&gt;" -- you don’t need to understand "&lt;tt&gt;a&lt;/tt&gt;" or "&lt;tt&gt;b&lt;/tt&gt;" to understand the equation.&lt;br /&gt;&lt;br /&gt;Experts often use the "correct" words incorrectly anyway. They use "&lt;i&gt;information security&lt;/i&gt;" when they mean "&lt;i&gt;computer security&lt;/i&gt;". Or they "&lt;i&gt;network security&lt;/i&gt;" when they mean "&lt;i&gt;system security&lt;/i&gt;". Either these words mean something nuanced and specific, or they are no better than "&lt;i&gt;cybersecurity&lt;/i&gt;".&lt;br /&gt;&lt;br /&gt;Technical people have the hubris to believe they own language, and that words means what technical people want them to mean. That’s fine for words like "&lt;i&gt;pi&lt;/i&gt;", but it doesn’t work for higher concepts. A good example is &lt;a href="https://secure.wikimedia.org/wikipedia/en/wiki/Eric_S._Raymond"&gt;ESR&lt;/a&gt;'s definition of "&lt;a href="http://www.catb.org/jargon/html/H/hacker.html"&gt;hacker&lt;/a&gt;" in his hacker dictionary. He insists that it means some sort of computer enthusiast, technical expert, or problem solver -- and that it should not have any "&lt;i&gt;cybercriminal&lt;/i&gt;" connotation.&lt;br /&gt;&lt;br /&gt;But he’s wrong. A dictionary doesn’t tell people how they SHOULD use words. Instead, a dictionary reflects how people DO use words.&lt;br /&gt;&lt;br /&gt;Consider the American Heritage entry on "&lt;i&gt;&lt;a href="http://dictionary.reference.com/browse/nuclear"&gt;nuclear&lt;/a&gt;&lt;/i&gt;". It notes that among the many pronunciations of this word is "&lt;i&gt;nukular&lt;/i&gt;", like how George Bush (and many other Presidents) have pronounced it. It goes on to say this pronunciation "occurs with some frequency among highly educated speakers, including scientists, professors, and government officials, it is disapproved of by many". The dictionary isn’t telling you the "correct" pronunciation -- just what pronunciations are common.&lt;br /&gt;&lt;br /&gt;It’s funny watching journalists cover "&lt;i&gt;hackers&lt;/i&gt;" for the first time. After they release their first story, they get deluged with &lt;a href="http://www.blogger.com/comment.g?blogID=37798047&amp;postID=4234247731716261138"&gt;comments&lt;/a&gt; telling them they used the word wrong (and offensively), that they should use "crackers" instead, and refer them to &lt;a href="https://secure.wikimedia.org/wikipedia/en/wiki/Eric_S._Raymond"&gt;ESR&lt;/a&gt;'s "dictionary". The journalists dutifully comply, and use "crackers" for a couple stories before they realize it’s stupid, and go back to using "hackers".&lt;br /&gt;&lt;br /&gt;So, I’m using these words not necessarily how the digerati want them to be used, but how everybody else uses them. I'm taking them back. I think I have the gravitas to pull it off. I’m a cybersecurity expert -- I invented network Intrusion Prevention Systems (BlackICE Guard IPS aka. IBM Proventia IPS). I’m also a cyber-&lt;i&gt;in&lt;/i&gt;security expert: I reverse engineer binary code, write exploits, and pen-test systems. &lt;br /&gt;&lt;br /&gt;So when you see me on the inter-tubes using these un-cool terms, this is the reason why.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37798047-1649896754592876390?l=erratasec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://erratasec.blogspot.com/feeds/1649896754592876390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=37798047&amp;postID=1649896754592876390' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1649896754592876390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37798047/posts/default/1649896754592876390'/><link rel='alternate' type='text/html' href='http://erratasec.blogspot.com/2011/03/cybersecurity-and-hacker-im-taking-them.html' title='&quot;Cyber&quot; and &quot;hacker&quot;: I’m taking them back'/><author><name>Robert Graham</name><uri>http://www.blogger.com/profile/09879238874208877740</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_TJ2XNCjin0s/Sxn5QN4EbyI/AAAAAAAAAK4/MNL1by-0Mr4/S220/robertgraham.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37798047.post-2602280330293651520</id><published>2011-03-28T18:50:00.028-05:00</published><updated>2011-04-07T14:23:26.538-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='comodogate'/><category scheme='http://www.blogger.com/atom/ns#' term='comodo'/><category scheme='http://www.blogger.com/atom/ns#' term='openssl'/><category scheme='http://www.blogger.com/atom/ns#' term='certificate'/><title type='text'>Verifying the Comodo Hacker's key</title><content type='html'>In order to prove his identity, the person claiming to have hacked Comodo published the private key of his forged certificates. I've verified that they key is valid. This post describes how.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Note that even the "Certificate Authority" who signs a key does not know the &amp;nbsp;private key. When somebody requests a certificate, they only send the "hash" to the certificate authority. Therefore, nobody, not even Comodo, should know the private key. There are ways the private key may have been lost. For example, another hacker may have broken in, or it may have been given to a friend, or it may have been left behind on a system. But, beyond a reasonable doubt, this proves the identify of the hacker.&lt;br /&gt;&lt;br /&gt;Verification is simple: we just encrypt some
