<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[[SecurityRatty] tag: https]]></title>
    <link>http://securityratty.com/tag/https</link>
    <description></description>
    <pubDate>Tue, 01 Apr 2008 22:55:47 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Securing Your Gmail With Just a Click]]></title>
      <link>http://securityratty.com/article/607ed5a24c0b50b25a2cbe170ddda454</link>
      <guid>http://securityratty.com/article/607ed5a24c0b50b25a2cbe170ddda454</guid>
      <description><![CDATA[Im learning lessons on security this week, because Ive just brought a new kitten home and she is exploring every nook and cranny in my home. Chewing on my cacti, playing with the blinds, and naturally...]]></description>
      <content:encoded><![CDATA[<p>I&#8217;m learning lessons on security this week, because I&#8217;ve just brought <a rel="nofollow" target="_blank" href="http://flickr.com/photos/sylphbranching/2778845191/">a new kitten </a>home and she is exploring every nook and cranny in my home. Chewing on my cacti, playing with the blinds, and naturally clawing up the couch. I wish there was a way to press a button and kitty-proof my house!</p>
<p>Luckily there now is a way to press a button and get secure gmail with SSL, at least. Thanks to <span class="entry-author-name"><a rel="nofollow" target="_blank" href="http://feeds.feedburner.com/~r/Security-Bloggers-Network/~3/370004218/">Martin McKeay</a> for the tip </span>&#8211; the big Goog has enabled HTTPS in the Gmail options settings&#8211;</p>
<blockquote><p>Gmail has been capable of running on SSL for quite some time, but it’s not something that’s enabled by default. I always typed the https in by hand, but I don’t completely trust that method. I’ve used Better Gmail2 in the past, but that doesn’t like FireFox 3 for some reason. There are also a number of <a rel="nofollow" target="_blank" href="http://userscripts.org/scripts/show/1404">scripts</a> for <a rel="nofollow" target="_blank" href="https://addons.mozilla.org/en-US/firefox/addon/748">GreaseMonkey</a> that force Gmail to use SSL, but now Gmail has made it an <a rel="nofollow" target="_blank" href="http://googlesystem.blogspot.com/2008/07/force-gmail-to-use-secure-connection.html">option on the settings page</a>. It’s on the bottom of the page and easy to miss if you’re not looking closely.</p></blockquote>
<p>Good, now I can stop worrying about my email and get to the tough task of securing my apartment instead.</p>
<p><span class="entry-author-name">Go read the full article about this new feature <a rel="nofollow" target="_blank" href="http://feeds.feedburner.com/~r/Security-Bloggers-Network/~3/370004218/">here.</a><br />
</span></p>]]></content:encoded>
      <pubDate>Thu, 21 Aug 2008 11:51:12 +0000</pubDate>
      <category domain="http://securityratty.com/tag/gmail">gmail</category>
      <category domain="http://securityratty.com/tag/force gmail">force gmail</category>
      <category domain="http://securityratty.com/tag/secure gmail">secure gmail</category>
      <category domain="http://securityratty.com/tag/gmail options settings">gmail options settings</category>
      <category domain="http://securityratty.com/tag/page">page</category>
      <category domain="http://securityratty.com/tag/settings page">settings page</category>
      <category domain="http://securityratty.com/tag/ssl">ssl</category>
      <category domain="http://securityratty.com/tag/completely trust">completely trust</category>
      <category domain="http://securityratty.com/tag/martin mckeay">martin mckeay</category>
      <source url="http://feeds.feedburner.com/~r/itsecurity/~3/371376583/">Securing Your Gmail With Just a Click</source>
    </item>
    <item>
      <title><![CDATA[Surf Jacking: HTTPS Will Not Save You]]></title>
      <link>http://securityratty.com/article/d98c60d6adf52c2fe00a241c9733cc96</link>
      <guid>http://securityratty.com/article/d98c60d6adf52c2fe00a241c9733cc96</guid>
      <description><![CDATA[In this paper we will describe a security issue that affects major web sites and their customers. Attackers exploiting this vulnerability are able to hijack an HTTP session even when the victim and...]]></description>
      <content:encoded><![CDATA[In this paper we will describe a security issue that affects major web sites and their customers. Attackers exploiting this vulnerability are able to hijack an HTTP session even when the victim and th...]]></content:encoded>
      <pubDate>Mon, 11 Aug 2008 08:39:51 +0000</pubDate>
      <category domain="http://securityratty.com/tag/security issue">security issue</category>
      <category domain="http://securityratty.com/tag/attackers">attackers</category>
      <category domain="http://securityratty.com/tag/describe">describe</category>
      <category domain="http://securityratty.com/tag/vulnerability">vulnerability</category>
      <category domain="http://securityratty.com/tag/session">session</category>
      <category domain="http://securityratty.com/tag/customers">customers</category>
      <category domain="http://securityratty.com/tag/paper">paper</category>
      <category domain="http://securityratty.com/tag/victim">victim</category>
      <category domain="http://securityratty.com/tag/hijack">hijack</category>
      <source url="http://www.net-security.org/article.php?id=1164">Surf Jacking: HTTPS Will Not Save You</source>
    </item>
    <item>
      <title><![CDATA[An insecurity in OpenID, not many dead]]></title>
      <link>http://securityratty.com/article/36f416e51d88cd2db5ed822a7ed3835a</link>
      <guid>http://securityratty.com/article/36f416e51d88cd2db5ed822a7ed3835a</guid>
      <description><![CDATA[Back in May it was realised that , thanks to an ill-advised change to some random number generation code, for over 18 months Debian systems had been generating crypto keys chosen from a set of 32,768...]]></description>
      <content:encoded><![CDATA[<p>Back in May <a href="http://www.debian.org/security/2008/dsa-1571">it was realised that</a>, thanks to an ill-advised change to some random number generation code, for over 18 months Debian systems had been generating crypto keys chosen from a set of 32,768 possibilities, rather than from billions and billions. Initial interest centred around the weakness of SSH keys, but in practice lots of different applications were at risk (<a href="http://wiki.debian.org/SSLkeys">see long list here</a>).</p>
<p>In particular, SSL certificates (as used to identify https websites) might contain one of these weak keys &#8212; and so it would be possible for an attacker to successfully impersonate a secure website. Of course the attacker would need to persuade you to mistakenly visit their site &#8212; but it just so happens that one of the more devastating attacks on DNS has <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1447">recently been discovered</a>; so that&#8217;s not as unlikely as it must have seemed back in May.</p>
<p>Anyway, my old friend <a href="http://en.wikipedia.org/wiki/Ben_Laurie">Ben Laurie</a> (who is with Google these days) and I have been trawling the Internet to determine how many certificates there are containing these weak keys &#8212; and there&#8217;s a lot: around 1.5% of the certs we&#8217;ve examined.</p>
<p>But more of that another day! because earlier this week, Ben spotted that one of the weak certs was for Sun&#8217;s &#8220;OpenID&#8221; website, and that two more OpenID sites were weak as well (by weak we mean that a database lookup could reveal the private key!)</p>
<p>OpenID, for those who are unfamiliar with it, is a scheme for allowing you to prove your identity to site A (viz: provide your user name and password) and then use that identity on site B. There&#8217;s a queue of people offering the first bit, but rather less offering the second : because it means you rely on someone else&#8217;s due diligence in knowing who their users are &#8212; where &#8220;who&#8221; is a hard sort of thing to get your head around in an online environment.</p>
<p>The problem that Ben and I have identified (<a href="http://www.links.org/files/openid-advisory.txt">advisory here</a>), is that an attacker can poison a DNS cache so it serves up the wrong IP address for openid.sun.com. Then, even if the victim is really cautious and uses https and checks the cert, their credentials can be phished. Thereafter, anyone who trusts Sun as an identity provider could be very disappointed. There&#8217;s other attacks as well, but you&#8217;ve probably got the general idea by now.</p>
<p>In principle Sun should make a replacement certificate and that should be it (and so they have &#8212; <a href="http://blogs.sun.com/racingsnake/entry/one_factor_trust_multi_factor">read Robin Wilton&#8217;s comments here</a>). Except that they need to put the old certificate onto a Certificate Revocation List (CRL) because otherwise it will still be trusted from now until it expires (a fair while off). Sadly, many web browsers, and most of the OpenID codebases haven&#8217;t bothered with CRLs (or they don&#8217;t enable their checking by default so it&#8217;s as if it wasn&#8217;t there for most users).</p>
<p>One has to conclude that Sun (and the other two providers) should not be trusted by anyone for quite a while to come. But does that matter ? Since OpenID didn&#8217;t promise all that much anyway, does a serious flaw (which does require a certain amount of work to construct an attack) make any difference? At present this looks like the modern equivalent of a <a href="http://www.mantex.co.uk/reviews/oxf-misquot.htm">small earthquake in Chile</a>.</p>
]]></content:encoded>
      <pubDate>Fri, 08 Aug 2008 21:33:39 +0000</pubDate>
      <category domain="http://securityratty.com/tag/openid">openid</category>
      <category domain="http://securityratty.com/tag/openid codebases">openid codebases</category>
      <category domain="http://securityratty.com/tag/certs">certs</category>
      <category domain="http://securityratty.com/tag/weak certs">weak certs</category>
      <category domain="http://securityratty.com/tag/weak">weak</category>
      <category domain="http://securityratty.com/tag/openid sites">openid sites</category>
      <category domain="http://securityratty.com/tag/sun">sun</category>
      <category domain="http://securityratty.com/tag/suns openid website">suns openid website</category>
      <category domain="http://securityratty.com/tag/trusts sun">trusts sun</category>
      <source url="http://www.lightbluetouchpaper.org/2008/08/09/an-insecurity-in-openid-not-many-dead/">An insecurity in OpenID, not many dead</source>
    </item>
    <item>
      <title><![CDATA[CISA and CISSP Preparation]]></title>
      <link>http://securityratty.com/article/4990229406d5e949151cc28d8d8799b9</link>
      <guid>http://securityratty.com/article/4990229406d5e949151cc28d8d8799b9</guid>
      <description><![CDATA[Recently I have received a number of questions seeking preparation tips and insights for the CISA and CISSP certifications. I hold both of these certifications, and passed them both on the first...]]></description>
      <content:encoded><![CDATA[<p>Recently I have received a number of questions seeking preparation tips and insights for the CISA and CISSP certifications. I hold both of these certifications, and passed them both on the first attempt using very different preparation approaches. I took the CISA first, and based on a few lessons learned, I radically changed my preparation plan for the CISSP.<br />
<br />
FYI, the official preparation information, qualification requirements, exam requirements, etc. can be found at:</p>
<ul>
<li>Certified Information Systems Auditor (CISA) : <a href="http://www.isaca.org/cisa/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.isaca.org/cisa/');" target="_blank">http://www.isaca.org/cisa/</a></li>
<li>Certified Information Systems Security Professional : <a href="https://www.isc2.org/cissp" onclick="javascript:pageTracker._trackPageview('/outbound/article/https://www.isc2.org/cissp');">https://www.isc2.org/cissp</a></li>
</ul>
<p><strong>Are You Ready ?</strong><br />
A few basic questions to ask yourself to gauge how ready you are:</p>
<ul>
<li>Do I meet the spirit, and not just the letter, of the experience requirements ?</li>
<li>Has there been sufficient diversity in my experience ?</li>
</ul>
<p></p>
<div>Both of these exams cover a very broad spectrum of subjects. It is my personal belief that the experience requirements exist as an aid to whittle test takers down to candidates who have the professional experiences required to be successful, and to discourage people from taking the exams before they are ready. If you truly meet the background requirements, then you should have had some contact with many of the core topic areas for the exam.</div>
<p></p>
<div>If you are looking at the core content of the examination, and do not believe that you really have the breadth of exposure to be able to describe and discuss each domain at a high level, then you may be better served by delaying the exam in favor of working with your management to gain broader professional experience.</div>
<p><strong>Five Step Approach to CISA or CISSP Exam Preparation</strong></p>
<ol>
<li>Perform an initial benchmark and assessment of your readiness</li>
<li>Read a &#8220;survey&#8221; level preparation guide cover to cover</li>
<li>Perform a secondary benchmark, and compare your readiness</li>
<li>Review official, or &#8220;deep dive&#8221;, preparation materials on areas identified as your weaknesses</li>
<li>Re-benchmark, and repeat targeted reviews until ready</li>
</ol>
<p></p>
<div>For the first certification that I prepared for, I did not perform the first three steps outlined above. I went directly to the official source materials and began trying to review them cover to cover. I passed the exam, but I also spent a lot of time &amp; energy reviewing things that I already knew &#8220;well enough&#8221;, and was burned out when reviewing the areas which could have been richer learning opportunities. No matter what your professional background, no one knows-it-all or does-it-all, so there is always  an opportunity to learn new things while you are preparing for the certification exam. The goal of this five step approach is to focus your time where you have the greatest learning opportunities. Hopefully this focuses your time and energy in the most rewarding way.</div>
<p></p>
<div><strong>Performing the Benchmarks</strong></div>
<div>For the Benchmarks, I like to complete a timed half-length or full-length examination.</div>
<p></p>
<div>It is my feeling that a half-length exam is long enough that fatigue, maintaining focus, and pace are all stressed, as they will be on examination day. This of course requires access to a large set of test questions or sample tests, preferably with explanations of incorrect answers. In addition to commercial third-party test preparation tools, there are good (and free) test preparation quizzes available from <a href="http://www.cccure.org/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.cccure.org/');">www.cccure.org</a>.</div>
<p></p>
<div><strong>Survey Materials</strong></div>
<div>I find the &#8220;Exam Cram&#8221; series to be very useful survey literature. I purchase books from this series when I want a high-level and quick handling of an entire subject matter area. As a result, I own survey books from the series in topic areas which I have no intention of pursuing certification for. Obviously the books I recommend for these certifications are:</div>
<p><a href="http://www.amazon.com/gp/product/078973446X?ie=UTF8&amp;tag=artofinfosecu-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=078973446X" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.amazon.com/gp/product/078973446X?ie=UTF8&amp;tag=artofinfosecu-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=078973446X');"><img src="http://artofinfosec.com/wp-content/uploads/cissp_exam_cram.jpg" border="0" alt="" /></a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=artofinfosecu-20&amp;l=as2&amp;o=1&amp;a=078973446X" border="0" alt="" width="1" height="1" /> <a href="http://www.amazon.com/gp/product/0789732726?ie=UTF8&amp;tag=artofinfosecu-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0789732726" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.amazon.com/gp/product/0789732726?ie=UTF8&amp;tag=artofinfosecu-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0789732726');"><img src="http://artofinfosec.com/wp-content/uploads/cisa_exam_cram.jpg" border="0" alt="" /></a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=artofinfosecu-20&amp;l=as2&amp;o=1&amp;a=0789732726" border="0" alt="" width="1" height="1" /></p>
<div><strong>Deep Dive Materials</strong></div>
<div>There are exam preparation materials available from a variety of sources that fit the bill in this area. What we are looking for are books that contain solid coverage of the areas where benchmarking has shown the most significant need for improvement. In addition to the materials from (ISC)2 and ISACA that I list below, consult your local library - often they will have books that fit the bill. (And, of course, consider arranging a donation of good materials if they do not.)</div>
<p><a href="http://www.amazon.com/gp/product/0849382319?ie=UTF8&amp;tag=artofinfosecu-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0849382319" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.amazon.com/gp/product/0849382319?ie=UTF8&amp;tag=artofinfosecu-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0849382319');"><img src="http://artofinfosec.com/wp-content/uploads/official_cissp.jpg" border="0" alt="" /></a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=artofinfosecu-20&amp;l=as2&amp;o=1&amp;a=0849382319" border="0" alt="" width="1" height="1" /> <a href="http://www.amazon.com/gp/product/1933284935?ie=UTF8&amp;tag=artofinfosecu-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1933284935" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.amazon.com/gp/product/1933284935?ie=UTF8&amp;tag=artofinfosecu-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1933284935');"><img src="http://artofinfosec.com/wp-content/uploads/cisa_review_2008.jpg" border="0" alt="" /></a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=artofinfosecu-20&amp;l=as2&amp;o=1&amp;a=1933284935" border="0" alt="" width="1" height="1" /></p>
<div><strong>Final Thoughts</strong></div>
<div>Good luck on your journey toward Information Security or Audit certification. One word of caution: Make sure that you have realistic expectations about what actually being certified will mean. Although I do think being certified helps a person establish credibility more quickly, and is helpful when searching for new employment, often people are underwhelmed by the &#8220;Congratulations, that&#8217;s nice&#8221; from their current employer. If your expectation is that a big raise, bonus, promotion, etc. is hinging on your being certified, then I would strongly encourage you to reality-check that with peers in your organization.</div>
<p></p>
<div>Cheers, Erik</div>
<p></p>
<p><a href="http://artofinfosec.com/60/cisa-and-cissp-preparation/" >CISA and CISSP Preparation</a></p>
<img src="http://feeds.feedburner.com/~r/artofinfosec/~4/351541992" height="1" width="1"/>]]></content:encoded>
      <pubDate>Thu, 31 Jul 2008 09:14:07 +0000</pubDate>
      <category domain="http://securityratty.com/tag/exam">exam</category>
      <category domain="http://securityratty.com/tag/exam requirements">exam requirements</category>
      <category domain="http://securityratty.com/tag/cissp exam preparation">cissp exam preparation</category>
      <category domain="http://securityratty.com/tag/half-length exam">half-length exam</category>
      <category domain="http://securityratty.com/tag/exam cram series">exam cram series</category>
      <category domain="http://securityratty.com/tag/certification exam">certification exam</category>
      <category domain="http://securityratty.com/tag/exam preparation materials">exam preparation materials</category>
      <category domain="http://securityratty.com/tag/preparation materials">preparation materials</category>
      <category domain="http://securityratty.com/tag/cissp">cissp</category>
      <source url="http://feeds.feedburner.com/~r/artofinfosec/~3/351541992/">CISA and CISSP Preparation</source>
    </item>
    <item>
      <title><![CDATA[Google Adds User Enabled HTTPS Secure Connections Into GMail]]></title>
      <link>http://securityratty.com/article/cef9004d376dbe60daded42a7dce27df</link>
      <guid>http://securityratty.com/article/cef9004d376dbe60daded42a7dce27df</guid>
      <description><![CDATA[Google has added a new Browser Connection feature to GMail that allows users to force e-mail sessions to always use the more secure https (Hypertext Transfer Protocol Secure) protocol. HTTPS is a...]]></description>
      <content:encoded><![CDATA[Google has added a new &#8220;Browser Connection&#8221; feature to GMail that allows users to force e-mail sessions to always use the more secure &#8220;https&#8221; (Hypertext Transfer Protocol Secure) protocol. HTTPS is a secure protocol that provides authenticated and encrypted communication. For some reason, this option is turned off by default and the user must enable [...]]]></content:encoded>
      <pubDate>Sat, 26 Jul 2008 04:39:22 +0000</pubDate>
      <category domain="http://securityratty.com/tag/https">https</category>
      <category domain="http://securityratty.com/tag/protocol">protocol</category>
      <category domain="http://securityratty.com/tag/secure https">secure https</category>
      <category domain="http://securityratty.com/tag/secure protocol">secure protocol</category>
      <category domain="http://securityratty.com/tag/force e-mail sessions">force e-mail sessions</category>
      <category domain="http://securityratty.com/tag/browser connection feature">browser connection feature</category>
      <category domain="http://securityratty.com/tag/google">google</category>
      <category domain="http://securityratty.com/tag/user">user</category>
      <category domain="http://securityratty.com/tag/gmail">gmail</category>
      <source url="http://cyberinsecure.com/google-adds-user-enabled-https-secure-connections-into-gmail/">Google Adds User Enabled HTTPS Secure Connections Into GMail</source>
    </item>
    <item>
      <title><![CDATA[Lessons learned from the massive SQL injection attacks against legacy Microsoft ASP apps ]]></title>
      <link>http://securityratty.com/article/ae1a12c2fbda777fdffc9aeff980c0bc</link>
      <guid>http://securityratty.com/article/ae1a12c2fbda777fdffc9aeff980c0bc</guid>
      <description><![CDATA[I am sure many of you are aware of the recent massive-scale SQL injection attacks targeting Microsoft ASP applications running on IIS. The latest report has the number of attacked sites at 500,000....]]></description>
      <content:encoded><![CDATA[<p><img border="0" src="http://www.forrester.com/role_based/images/author/imported/forresterDotCom/Analyst_Photos/Silhouette/Color/Chenxi-Wang.gif" alt="Chenxi Wang" title="Chenxi Wang" style="margin: 0px 5px 5px 0px; float: left;" /></p>

<p>I am sure many of you are aware of the recent massive-scale SQL injection attacks targeting Microsoft ASP applications running on IIS. The latest report has the number of attacked sites at 500,000. The press makes it sound like there is a new vulnerability in IIS or ASP. This cannot be further from the truth. The reality is the attacks are targeting Web applications where user input validation is not done (this is one of the fundamental security programming techniques). When a Web application does not validate its form input, it is opening itself up to code injection attacks including SQL injection. Today, the security industry is doing a decent job of communicating the importance of input validation. But you'll still find many legacy Web applications that have these flaws. And this is exactly what happened here: the attackers (well, they are organized) are using Google to find old ASP pages that take user input, and are systematically going after these pages to perform SQL injection attacks. </p>

<p>If you have legacy Web applications, the best thing you can do is use HP's Scrawlr, a lightweight Web crawling and SQL injection detection tool to detect your vulnerabilities. You can download Scrawlr here: </p>

<p><span style="color: #003366;"><a href="https://download.spidynamics.com/products/scrawlr/">https://download.spidynamics.com/products/scrawlr/</a></span>. </p>

<p>We'll be back with another edition of how important application security is to business today. Stay tuned.</p>]]></content:encoded>
      <pubDate>Tue, 08 Jul 2008 10:32:33 +0000</pubDate>
      <category domain="http://securityratty.com/tag/asp">asp</category>
      <category domain="http://securityratty.com/tag/attacks">attacks</category>
      <category domain="http://securityratty.com/tag/web applications">web applications</category>
      <category domain="http://securityratty.com/tag/legacy web applications">legacy web applications</category>
      <category domain="http://securityratty.com/tag/input validation">input validation</category>
      <category domain="http://securityratty.com/tag/user input validation">user input validation</category>
      <category domain="http://securityratty.com/tag/microsoft asp applications">microsoft asp applications</category>
      <category domain="http://securityratty.com/tag/user input">user input</category>
      <category domain="http://securityratty.com/tag/code injection attacks">code injection attacks</category>
      <source url="http://blogs.forrester.com/srm/2008/07/lessons-learned.html">Lessons learned from the massive SQL injection attacks against legacy Microsoft ASP apps </source>
    </item>
    <item>
      <title><![CDATA[Storm Worm Hosting Pharmaceutical Scams]]></title>
      <link>http://securityratty.com/article/136b48ef6b52e1780fe22ec1ff8f39d6</link>
      <guid>http://securityratty.com/article/136b48ef6b52e1780fe22ec1ff8f39d6</guid>
      <description><![CDATA[With Storm's recent SQL injection and introduction of several new domains within, the very latest additions to their domain portfolio are the following domains (naturally in a fast-flux provided by...]]></description>
      <content:encoded><![CDATA[<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_wICHhTiQmrA/SEBQz-zK7dI/AAAAAAAABwQ/oOQhYkgvYgc/s1600-h/storm_pharma1.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp3.blogger.com/_wICHhTiQmrA/SEBQz-zK7dI/AAAAAAAABwQ/oOQhYkgvYgc/s200/storm_pharma1.JPG" alt="" id="BLOGGER_PHOTO_ID_5206250023201467858" border="0" /></a>With Storm's <a href="http://ddanchev.blogspot.com/2008/05/all-you-need-is-storm-worms-love.html">recent SQL injection</a> and introduction of several new domains within, the very latest additions to their domain portfolio are the following domains (naturally in a fast-flux provided by already infected hosts) hosting pharmaceutical scams :<br /><br /><span style="font-weight: bold;">producemorning.com</span> <span style="font-weight: bold;"><br />pressrose.com</span><br /><span style="font-weight: bold;">posestory.com</span><br /><span style="font-weight: bold;">picturewe</span><span style="font-weight: bold;">st.com</span> <span style="font-weight: bold;"><br />lowsmell.com</span> <span style="font-weight: bold;"><br />catsharp.com</span> <span style="font-weight: bold;"><br />printlength.com</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_wICHhTiQmrA/SEBSduzK7eI/AAAAAAAABwY/FlbHzyx9IC0/s1600-h/storm_pharma.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp2.blogger.com/_wICHhTiQmrA/SEBSduzK7eI/AAAAAAAABwY/FlbHzyx9IC0/s200/storm_pharma.png" alt="" id="BLOGGER_PHOTO_ID_5206251839972634082" border="0" /></a>All of the domain's DNS entries are set to update every 2 minutes, meaning they every 2 minutes another 20 different and infected IPs will be hosting the domains, which on the other hand logically have identical WHOIS entry records :<br /><br /><span style="font-style: italic;">Administrative Contact: </span> <span style="font-style: italic;"><br />WenFeng</span> <span style="font-style: italic;">NO.397,zhuquedadao street,xian<br />City,shanxi Province</span> <span style="font-style: italic;">xi an Shanxi 710061</span> <span style="font-style: italic;">CN</span> <span style="font-style: italic;"><br />tel:  298 5228188 </span> <span style="font-style: italic;"><br />fax:  298 5393585<br /></span> <span style="font-style: italic;">yayun22@163.com</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_wICHhTiQmrA/SEBVNezK7fI/AAAAAAAABwg/MWHZ8wcH2xc/s1600-h/storm_pharma2.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp1.blogger.com/_wICHhTiQmrA/SEBVNezK7fI/AAAAAAAABwg/MWHZ8wcH2xc/s200/storm_pharma2.JPG" alt="" id="BLOGGER_PHOTO_ID_5206254859334643186" border="0" /></a>It's also worth pointing out how they emphasize on the benefits of SSL based transactions, when none of the sites is supporting SSL, but is doing something a great number of phishers do - they've changed the favicon to a key lock looking one, since maintaining a SSL infrastructure on the infected hosts is both, unpragmatic, and a bit unnecessary if they social engineer the visitor :<br /><br />"<span style="font-style: italic;">SSL Encryption or Https is a technique used to safeguard private information which is sent via Internet. To prove the site's legitimacy, the SSL encryption uses a PKI (Public Key Infrastructure) - public/private key, to encrypt IDs, documents, or messages to securely transmit the information in the World Wide Web. In order to show that our transmission is encrypted, most browsers will display a small icon that would look like a pad "lock" or a key and the URL begins with "https" instead of "http". SSL Encryption or https from a digital certification authority will helps the secure web site with confidential information on web. </span>"<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_wICHhTiQmrA/SEBZouzK7gI/AAAAAAAABwo/MgrjqDHT-JI/s1600-h/storm_fake_favicon.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp2.blogger.com/_wICHhTiQmrA/SEBZouzK7gI/AAAAAAAABwo/MgrjqDHT-JI/s200/storm_fake_favicon.JPG" alt="" id="BLOGGER_PHOTO_ID_5206259725532589570" border="0" /></a>With pharma masters increasingly using <a href="http://ddanchev.blogspot.com/2007/10/fast-flux-spam-and-scams-increasing.html">fast-flux to increase the survivability of their domains</a> participating in affiliation based <a href="http://ddanchev.blogspot.com/2007/10/incentives-model-for-pharmaceutical.html">pharmaceutical affiliate programs</a>, Storm Worm is anything but lacking behind programs that connect scammers and <a href="http://www.trustedsource.org/TS?do=threats&amp;subdo=storm_tracker">(infected) infrastructure providers</a>.<br /><br /><span style="font-weight: bold;">Related posts:</span><br /><a href="http://ddanchev.blogspot.com/2008/05/all-you-need-is-storm-worms-love.html">All You Need is Storm Worm's Love</a><br /><a href="http://ddanchev.blogspot.com/2007/01/social-engineering-and-malware.html">Social Engineering and Malware</a><br /><a href="http://ddanchev.blogspot.com/2007/02/storm-worm-switching-propagation.html">Storm Worm Switching Propagation Vectors</a><br /><a href="http://ddanchev.blogspot.com/2007/08/storm-worms-use-of-dropped-domains.html">Storm Worm's use of Dropped Domains</a><br /><a href="http://ddanchev.blogspot.com/2007/08/offensive-storm-worm-obfuscation.html">Offensive Storm Worm Obfuscation</a><br /><a href="http://ddanchev.blogspot.com/2007/09/storm-worms-fast-flux-networks.html">Storm Worm's Fast Flux Networks</a><br /><a href="http://ddanchev.blogspot.com/2008/01/storm-worms-st-valentine-campaign.html">Storm Worm's St. Valentine Campaign</a><br /><a href="http://ddanchev.blogspot.com/2007/09/storm-worms-ddos-attitude.html">Storm Worm's DDoS Attitude</a><br /><a href="http://ddanchev.blogspot.com/2007/12/riders-on-storm-worm.html">Riders on the Storm Worm</a><br /><a href="http://ddanchev.blogspot.com/2007/08/storm-worm-malware-back-in-game.html">The Storm Worm Malware Back in the Game</a><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=2lfUEH"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=2lfUEH" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=dda2QH"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=dda2QH" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=uo4vqh"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=uo4vqh" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=SV3dRh"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=SV3dRh" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=fj5WXH"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=fj5WXH" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=w2Y3WH"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=w2Y3WH" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=N0HUOh"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=N0HUOh" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanchoDanchevOnSecurityAndNewMedia/~4/301462281" height="1" width="1"/>]]></content:encoded>
      <pubDate>Fri, 30 May 2008 10:50:06 +0000</pubDate>
      <category domain="http://securityratty.com/tag/storm worm">storm worm</category>
      <category domain="http://securityratty.com/tag/storm">storm</category>
      <category domain="http://securityratty.com/tag/storm worm malware">storm worm malware</category>
      <category domain="http://securityratty.com/tag/malware">malware</category>
      <category domain="http://securityratty.com/tag/ssl encryption">ssl encryption</category>
      <category domain="http://securityratty.com/tag/ssl">ssl</category>
      <category domain="http://securityratty.com/tag/lock">lock</category>
      <category domain="http://securityratty.com/tag/key lock">key lock</category>
      <category domain="http://securityratty.com/tag/key">key</category>
      <source url="http://feeds.feedburner.com/~r/DanchoDanchevOnSecurityAndNewMedia/~3/301462281/storm-worm-hosting-pharmaceutical-scams.html">Storm Worm Hosting Pharmaceutical Scams</source>
    </item>
    <item>
      <title><![CDATA[Confidential information sent to PinPay.net and SoftCard.biz is exposed]]></title>
      <link>http://securityratty.com/article/27cbd575cc28534b9ca368f27ad75124</link>
      <guid>http://securityratty.com/article/27cbd575cc28534b9ca368f27ad75124</guid>
      <description><![CDATA[Technorati Tag: Security Breach

Date Reported
4/29/08

Organization
ACAP Security Inc

Contractor/Consultant/Branch
PinPay
SoftCard

Victims
Merchants, Agents and customers

Number Affected
Unknown
...]]></description>
      <content:encoded><![CDATA[Technorati Tag: <a href="http://technorati.com/tag/security+breach" rel="tag">Security Breach</a><br><br>
<img src="http://breachblog.com/images/95781-88451/pinpay.jpg" align="right" height="200" width="178"><font size="2"><span style="font-weight: bold;">Date Reported: </span><br>4/29/08<br><br><span style="font-weight: bold;">Organization: </span><br><a href="http://www.acapsecurity.com">ACAP Security Inc.</a> <br><br><span style="font-weight: bold;">Contractor/Consultant/Branch:</span><br><a href="http://www.pinpay.net/index.html">PinPay</a> <br><a href="http://www.softcard.biz/indexaa.html">SoftCard</a> <br><br><span style="font-weight: bold;">Victims:</span><br>Merchants, Agents and customers<br><br><span style="font-weight: bold;">Number Affected:</span><br>Unknown<br><br><span style="font-weight: bold;">Types of Data:</span><br>Name, mailing address, phone number, email address, date of birth, city of birth, sex, and one or more of the following (chosen from drop-down):<br><br></font><ul><li><font size="2">Passport</font></li><li>Voting ID card</li><li>PAN card</li><li>Driving License card</li><li>Government issued ID card</li><li>Social Security Card</li><li>Military ID card</li><li>Consular ID card</li><li>Postal ID card</li><li>Government Employee ID Card</li><li>Credit Card</li><li>Debit Card<br></li></ul><font size="2"><br><span style="font-weight: bold;">Breach Description:</span><br>ACAP Security and affiliated sites are actively marketing a "secure payment system that allows Internet-based businesses to accept secure PIN-debit card payments and transactions at their online store."&nbsp; The PinPay and SoftCard sign-up pages and account access pages are not adequately secured with encryption, potentially exposing extremely sensitive personal information.<br><br><span style="font-weight: bold;">Reference URL:</span><br><a href="http://www.merchant911.org/blog/index.php/2008/05/05/softcard-vendor-exposing-card-numbers/">Merchant 911 Blog</a> <br><br><span style="font-weight: bold;">Report Credit:</span><br>Tom Mahoney, the Founder and Director of Merchant 911<br><br><span style="font-weight: bold;">Response:</span><br>From the online source cited above and my own cursory investigation:<br><br>Back in January, I had short email dialog with a Kip Long, who claimed to be one of the principles of a company called Softcard out of Huntington Beach, CA. They are not to be confused with SoftCard Systems in Athens, GA. As far as I know, SoftCard Systems is a legitimate company with a legitimate product.<br><br>Mr. Long was rather aggressively, but not very successfully, trying to impress me with their product - from what I can make of it, a virtual PIN based card.<br><br>The company uses PinPay - to process transactions and both companies are a part of ACAP Security, Inc.. <br><br>I reviewed their site for possible inclusion in our website’s resource pages, but promptly rejected them.<br><br>their insecure sign-up form - was requesting “Identity Card Numbers” and issue dates. <br><span style="font-style: italic;">[Evan] The sign-up forms at SoftCard.biz and PinPay.net are not secure.&nbsp; Neither are their respected login pages.</span><br><br>“Identity cards” are selectable from a drop down menu and include such ID information as Passport, Driver’s license, SSN, and Credit Card. <br><br>The form also requires a full name and DOB.<br><br>I tried using the HTTPS URL but it appears that they do not have a security certificate tied to their site.<br><br>The fact that Mr. Long used a hotmail address to pitch the company made me wonder too, given that at Merchant911 we try to instill in our members that a free email address from a customer is a fraud alert.<br><br>If a company official can’t use his company’s domain for email, I’m not going to talk to him.<br><br>I called their attention to the insecure web form in January. They still have the form up there, happily collecting this information with an insecure form.<br><span style="font-style: italic;">[Evan] I also sent emails and heard nothing in return.</span><br><br>I have to wonder how much information has already been sniffed or otherwise compromised. You probably don’t want to fill out this form.<br><span style="font-style: italic;">[Evan] My advice would be to <span style="font-weight: bold;">NOT </span>fill out the form and <span style="font-weight: bold;">NOT </span>conduct business with a company that has not demonstrated a willingness to secure your information.</span><br><br><span style="font-weight: bold;">Commentary:</span><br>Tom informed me about this vulnerability (and potentially a breach for anyone that signed-up/in) a couple of weeks ago.&nbsp; I've been a little busy lately, but was finally able to check it out.&nbsp; Let me recap what I found.<br><br>First, let's go to <a href="http://www.softcard.biz.%C2%A0">www.softcard.biz.</a> This is the site that Tom originally pointed out to me.<br><br><img src="http://images.quickblogcast.com/95781-88451/softcardhome.jpg" border="0" width="485"><br><br>The flash home page forwards visitors to a static index (indexaa.html) page.&nbsp; The first paragraph on the page informs visitors about PinPay.<br><br>"The PINPAY SoftCard is a wise way to carry and transfer money. It gives you the ability to purchase products at participating stores throughout the world (as well as at online shopping malls), with the security of a PIN that travels the internet via private encrypted tunnels. It also allows you the ability to load money to your card, pay bills, transfer money to merchants, transfer money between cards, and withdraw cash from your card at the store."<br><br><img src="http://images.quickblogcast.com/95781-88451/registerforfree.jpg" border="0" width="574"><br><br>See where the page says, "Register for your FREE card HERE!!"?&nbsp; This is a link to the sign-up page that Tom was referring to.<br><br><img src="http://images.quickblogcast.com/95781-88451/signupurl.jpg" border="0" width="304"><br><br>No "https" in the URL.&nbsp; Tom was right on that.&nbsp; The sign-up form asks for a personal information ranging from name and address to identity card information (even information for a "Second Identity Card").<br><br><img src="http://images.quickblogcast.com/95781-88451/form.jpg" border="0" width="431"><br><br>The "Select Identity Card" drop down menu displays the choices for the prospective customer, including Passport, Voting ID card, PAN card, Drivers License card, Government issued ID card, Social Security card, Military ID card, Consular ID card, Postal ID card, Government Employee ID Card, Credit Card and Debit Card<br><br><img src="http://images.quickblogcast.com/95781-88451/dropdown.jpg" border="0" width="459"><br><br>SoftCard (or PinPay or ACAP Security) are asking for some very sensitive personal information!&nbsp; First, this is quite a bit more information than they need to approve a person for a "PINPAY SoftCard".&nbsp; Second, no encryption?!&nbsp; Third, who is ACAP/SoftCard/PinPay and what will they do to secure my information once they have it supposing it wasn't intercepted on the way to them?<br><br>Let's dig a little (public) information about ACAP Security.&nbsp; According to <a href="http://www.entrepreneur.com/tradejournals/article/120829630.html">Entreprenuer.com</a>, ACAP launched "Personal Private Network" (ppn) technology, commercially available under the trade name ppnPRO, which is described as a "highly secure, and highly private" personal private network.&nbsp; ppnPRO uses "Government approved AES encryption, with strong personalized 256-bit encryption keys, and encrypting all information- network addresses, applications and ports, as well as the confidential data content".&nbsp; Sounds impressive, but it also sounds like the company should know a thing or two about securing web site transactions with encryption.&nbsp; <br><br>I want to discuss the risk of sending confidential private information over a public network such as the internet without encryption, in particular.&nbsp; This is not a new topic, but I will take some time to demonstrate the risk.<br><br>In order for my information to be compromised, someone (or something) will need to capture the traffic.&nbsp; In order for someone to capture my traffic, they will need to tap into the communication somewhere between me (my computer) and the destination (the web server).&nbsp; My information doesn't travel directly from my computer to the server.&nbsp; There are intermediaries (routers, switches, firewalls, etc.) that have to get (or forward) my information from my computer to the server.<br><br><img src="http://images.quickblogcast.com/95781-88451/trace.jpg" border="0" width="575"><br><br>As you can see depicted in the graphic above, there are at least 16 routers (or hops) between this example source and <a href="http://www.softcard.biz.%C2%A0">www.softcard.biz.&nbsp;</a> The final few hops are not reported due to filtering.&nbsp; So where could my traffic be captured?&nbsp; At the very least:<br><br></font><ul><li><font size="2">Between my computer and my router (or firewall)</font></li><li>Between my firewall and the ISP hand-off</li><li>Between all the traversed devices within my ISP's network</li><li>Between all the traversed devices through the internet</li><li>Between all the traversed devices within the destination ISP's network</li><li>Between all the traversed devices within the destination organization's network and the server itself.<br></li></ul><font size="2">Anyone in the communication path can use a simple protocol analyzer like <a href="http://www.wireshark.org">Wireshark</a> and capture the sensitive information:<br><br>txtfname=Billy&amp;txtmname=J&amp;txtlname=Madison&amp;txtaddress=123+Main+Street&amp;txtcity=Anywhere&amp;<br>txtstate=MA&amp;txtzip=87451&amp;txtcountry=United+States&amp;mob_phone=NONE&amp;txtphone=18006218200&amp;<br>txtemail=billymadison@honky.com&amp;txtdob=04%2F20%2F1988&amp;txtbirthcity=Boston&amp;<br>txtbirthcountry=United+States&amp;txtgender=M&amp;identity1=Social+Security+Card&amp;txtcardno1=123-45-6789&amp;<br>txtissuedate1=04%2F20%2F1988&amp;identity2=Driving+License+card&amp;txtcardno2=M-1234567890&amp;<br>txtissuedate2=04%2F20%2F2006&amp;submit=Accept+Card+Agreement-Submit<br><br>This is a very simplistic demonstration about why it is important to encrypt sensitive information.&nbsp; If the communication had been encrypted, none of the data would have been visible without access to the private key.<br><br>We could go deeper into the server application and SQL, but I think that this is enough.<br><br>A Quote from the ACAP Security CEO:<br></font>“The right of privacy is a fundamental
          and very important right of American society. A right our Nation’s
          founders fought the American Revolution to obtain and a right many
          brave American soldiers have fought and continue to fight and die
          to preserve. As this Nation continues to advance into cyberspace, we
          have
          expanded the right of privacy to include the right to electronic privacy.
          The elements of cyber-crime and cyber-vulnerabilities have begun to
          seriously erode and destroy this important right of electronic privacy.”<br><font size="2"><br><span style="font-weight: bold;">Past Breaches:</span><br>Unknown</font><br><br>
<script src="http://feeds.feedburner.com/%7Es/breachblog?i=http://breachblog.com/2008/05/08/pinpay.aspx" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
      <pubDate>Thu, 08 May 2008 09:26:03 +0000</pubDate>
      <category domain="http://securityratty.com/tag/information">information</category>
      <category domain="http://securityratty.com/tag/drivers license card">drivers license card</category>
      <category domain="http://securityratty.com/tag/license card">license card</category>
      <category domain="http://securityratty.com/tag/card">card</category>
      <category domain="http://securityratty.com/tag/free card">free card</category>
      <category domain="http://securityratty.com/tag/social security card">social security card</category>
      <category domain="http://securityratty.com/tag/sensitive information">sensitive information</category>
      <category domain="http://securityratty.com/tag/sensitive personal information">sensitive personal information</category>
      <category domain="http://securityratty.com/tag/encrypt sensitive information">encrypt sensitive information</category>
      <source url="http://breachblog.com/2008/05/08/pinpay.aspx">Confidential information sent to PinPay.net and SoftCard.biz is exposed</source>
    </item>
    <item>
      <title><![CDATA[Stealing Phorm Cookies]]></title>
      <link>http://securityratty.com/article/1a3be148a5c15fb2cc8bba4bd8742641</link>
      <guid>http://securityratty.com/article/1a3be148a5c15fb2cc8bba4bd8742641</guid>
      <description><![CDATA[Last week I gave a talk at the 80/20 Thinking organised town hall meeting about the Phorm targeted advertising system. You can see my slides here , and eventually there will be some video here
One of...]]></description>
      <content:encoded><![CDATA[<p></a>Last week I gave a talk at the <a href="http://www.8020thinking.com/">80/20 Thinking</a> organised &#8220;town hall meeting&#8221; about the <a href="http://www.phorm.com">Phorm</a> targeted advertising system. You can see <a href="http://www.cl.cam.ac.uk/~rnc1/talks./080415-phorm.pdf">my slides here</a>, and eventually there will be <a href="http://www.8020thinking.com/events.html">some video here</a>.</p>
<p>One of the issues I talked about was the possibility of stealing Phorm&#8217;s cookies, which I elaborate upon in this post. I have written about Phorm&#8217;s system <a href="http://www.lightbluetouchpaper.org/2008/04/04/the-phorm-webwise-system/">before</a>, and you can read <a href="http://www.cl.cam.ac.uk/~rnc1/080404phorm.pdf">a detailed technical explanation</a>, but for the present, what it is necessary to know is that through some sleight-of-hand, users whose ISPs deploy Phorm will end up with tracking cookies stored on their machine, one for every website they visit, but with each containing an identical copy of their unique Phorm tracking number.</p>
<p>The Phorm system strips out these cookies when it can, but the website can access them anyway, either by using some straightforward <a href="http://www.quirksmode.org/js/cookies.html">JavaScript to read their value</a> and POST it back, or by the simple expedient of embedding an <a href="http://www.ietf.org/rfc/rfc2818.txt">https</a> image ( <code>&lt;img = "https://....</code> ) within their page. The Phorm system will not be able to remove the cookie from an encrypted image request.</p>
<p>Once the website has obtained the Phorm cookie value, then in countries outside the European Union where such things <a href="http://www.ico.gov.uk/what_we_cover/data_protection/international/international_transfers.aspx">are allowed</a> (<a href="http://www.news.com/2100-1017-242649.html">almost expected!</a>), the unique tracking number can be combined with any other information the website holds about its visitor, and sold to the highest bidder, who can collate this data with anything else they know about the holder of the tracking number.</p>
<p>Of course, the website can do this already with any signup information that has been provided, but the only global tracking identifier it has is the visiting IP address, and most consumer ISPs give users new IP addresses every few hours or few days. In contrast, the Phorm tracking number will last until the user decides to delete all their cookies&#8230;</p>
<p>A twist on this was suggested by &#8220;Barrie&#8221; in <a href="http://www.lightbluetouchpaper.org/2008/04/04/the-phorm-webwise-system/#comment-28814">one of the comments to my earlier post</a>. If the remote website obtains an account at the visitor&#8217;s ISP (BT, Talk Talk or Virgin in the UK), then they can construct an advert request to the Phorm system, using the Phorm identifier of one of their visitors. By inspecting the advert they receive, they will learn what Phorm thinks will interest that visitor. They can then sell this information on, or serve up their own targeted advert. Essentially, they&#8217;re reverse engineering Phorm&#8217;s business model.</p>
<p>There are of course things that Phorm can do about these threats, by appropriate use of encryption and traffic analysis. Whether making an already complex system still more complex will assist in the <a href="http://news.bbc.co.uk/1/hi/technology/7303426.stm">transparency</a> they say they are seeking is, in my view, <a href="http://www.bpib.com/illustrat/whrobin.htm">problematic</a>.</p>
]]></content:encoded>
      <pubDate>Tue, 22 Apr 2008 13:49:01 +0000</pubDate>
      <category domain="http://securityratty.com/tag/phorm">phorm</category>
      <category domain="http://securityratty.com/tag/cookie">cookie</category>
      <category domain="http://securityratty.com/tag/phorm cookie">phorm cookie</category>
      <category domain="http://securityratty.com/tag/isps deploy phorm">isps deploy phorm</category>
      <category domain="http://securityratty.com/tag/phorm identifier">phorm identifier</category>
      <category domain="http://securityratty.com/tag/identifier">identifier</category>
      <category domain="http://securityratty.com/tag/unique phorm">unique phorm</category>
      <category domain="http://securityratty.com/tag/phorm system strips">phorm system strips</category>
      <category domain="http://securityratty.com/tag/system">system</category>
      <source url="http://www.lightbluetouchpaper.org/2008/04/22/stealing-phorm-cookies/">Stealing Phorm Cookies</source>
    </item>
    <item>
      <title><![CDATA[Got Entropy ?]]></title>
      <link>http://securityratty.com/article/e241bfde32ce971a3341a22fcb76c27d</link>
      <guid>http://securityratty.com/article/e241bfde32ce971a3341a22fcb76c27d</guid>
      <description><![CDATA[So I have been planning a series of podcasts on Cryptographic Controls. In the process of this planning, I fell into one of the classic traps that crypto-geeks fall into: obsessing about random number...]]></description>
      <content:encoded><![CDATA[<p>So I have been planning a series of podcasts on Cryptographic Controls. In the process of this planning, I fell into one of the classic traps that crypto-geeks fall into: obsessing about random number  generators (RNGs).</p>
<p><em>(FYI, for the impatient, <a href="http://gotentropy.artofinfosec.com/" >click here</a>.)<br />
</em></p>
<p>There are two ways to generate random numbers on computers: (1) use a software program called a Pseudorandom Number Generator (PRNG) or (2) use a hardware random number generator. A Pseudorandom Number Generator uses a seed value to generate a sequence of numbers that appear random. The problem is that the same seed generates the same random sequence. The hardware based RNG observes and samples some physical phenomenon which is random, such as cosmic rays, RF noise, etc. (aka Entropy).</p>
<p>RNGs are important in Information Security because they are used to generate encryption keys, salts, etc. Historically, attacking RNGs has proven effective, such as the defeat of <a href="http://community.webreview.com/windows/184409807" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://community.webreview.com/windows/184409807');">Netscape&#8217;s HTTPS sessions</a>.</p>
<p>Most operating systems utilize a hybrid approach, implementing a PseudoRandom Number Generator that has a seed that is regularly updated through the collection of random hardware events. This process is called Entropy Collection or Entropy Harvesting. <strong>For most applications, this approach should be completely sufficient.</strong> However, one of the key assumptions is that the operating system has been up and running long enough for the seed value itself to become hard to predict through the collection of Entropy. Also, many of the Entropy collecting events come from properties of hardware devices, such as the minor variations in hard drive rate of rotation. As such, there are a few circumstances where the OS RNG may not be good enough for strong cryptographic key generation:</p>
<ul>
<li>Live Boot CD ( The start state of the RNG may be predictable. )</li>
<li>Virtualized Hosts ( OS may be dependent on simulated events for randomness. )</li>
</ul>
<p>( Given the exploding popularity of virtualization, this is an area worthy of research. Stay tuned. )</p>
<p><strong>Design of the Got Entropy Service</strong></p>
<p>Many RNGs (such as the one included in Linux, as well as OpenSSL&#8217;s) allow the addition of entropy from outside sources. So I started looking to Entropy sources I could use to bolster the RNGs on my virtual hosts (and other uses&#8230;). While I was looking into this, it occurred to me that I had an unused TV tuner card, a PVR-350.</p>
<p>When a TV is tuned to a channel with no local station, the &#8217;snow&#8217; on the screen is RF noise (the same as the static between stations on AM radios). But, for reasons beyond our scope, you never use a direct physical observation as the RNG. You have to &#8216;de-skew and whiten&#8217; the data prior to sampling it. Here is the process that I use:</p>
<ol>
<li>Collect about 3 minutes of video ( about 130 MB data ).</li>
<li>Using a random key and IV, encrypt the data ( using openssl &amp; AES-128-CBC ).</li>
<li>Discard the first 32k of the file.</li>
<li>Use each of the following 32k blocks as samples.</li>
<li>Compress each sample with SHA-256.</li>
<li>Discard the last block.</li>
</ol>
<ul>
<li>Steps 2 and 3 remove any patterns, such as MPEG file formatting, from the data.</li>
<li>Steps 4 and 5 generate a 32-byte random value ( 1024 to 1 compression in the hash ).</li>
</ul>
<p><strong>Check it out at <a href="http://gotentropy.artofinfosec.com" >http://gotentropy.artofinfosec.com</a></strong></p>
<p><strong>Can an Attacker Broadcast a Signal to Undermine This?</strong></p>
<p>Such an attacker could not remove RF noise from the received signal. Our eyes and brains are good at filtering out the noise in the TV video, but there is a lot of it. Part of the noise comes from the atmospheric background RF, but there are also flaws (noise) in the tuner&#8217;s radio and analog-to-digital capture circuitry.</p>
<p>I think this is a pretty strong RNG, and I have provided an interface for pulling just the values.</p>
<p>Also, I have written a script ( <a href="http://gotentropy.artofinfosec.com/getEntropy.sh" >getEntropy.sh</a> ) that will pull Entropy from the service and seed it into /dev/random on Linux.</p>
<p><strong>Results from ENT</strong></p>
<p>Here are results, from a sample run of the Got Entropy, analyzed by  <a href="http://www.fourmilab.ch/random/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.fourmilab.ch/random/');">ENT</a> ( A Pseudorandom Number Sequence Test Program provided by John Walker of www.fourmilab.ch - Thanks, John! ).</p>
<ul>
<li>Entropy = 7.999987 bits per byte</li>
<li>Optimum compression would reduce the size of this 13366112 byte file by 0 percent.</li>
<li>Chi square distribution for 13366112 samples is 233.85, and randomly would exceed this value 82.48 percent of the time.</li>
<li>Arithmetic mean value of data bytes is 127.4767 (127.5 = random).</li>
<li>Monte Carlo value for Pi is 3.143054786 (error = 0.05 percent).</li>
<li>Serial correlation coefficient is -0.000078 (totally uncorrelated = 0.0).</li>
</ul>
<p><strong>Resources for the Curious&#8230;</strong></p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Pseudorandom_number_generator" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://en.wikipedia.org/wiki/Pseudorandom_number_generator');">Wikipedia - Pseudo-random Number Generator</a></li>
<li><a href="http://en.wikipedia.org/wiki/Hardware_random_number_generator" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://en.wikipedia.org/wiki/Hardware_random_number_generator');">Wikipedia - Hardware Random Number Generator</a></li>
<li><a href="http://csrc.nist.gov/groups/ST/toolkit/rng/index.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://csrc.nist.gov/groups/ST/toolkit/rng/index.html');">NIST - Random Numbers Page</a></li>
<li><a href="http://community.webreview.com/windows/184409807" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://community.webreview.com/windows/184409807');">Netscape RNG Attack</a></li>
<li><a href="http://www.vanheusden.com/ved/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.vanheusden.com/ved/');">van Heusden Video Rand</a></li>
</ul>
<p>Cheers, Erik</p>
<p><a href="http://artofinfosec.com" >Art of Information Security</a> would <a href="http://artofinfosec.com/feedback/" >love your feedback</a> !</p>
<p><a href="http://artofinfosec.com/?p=53" >Got Entropy ?</a></p>
<img src="http://feeds.feedburner.com/~r/artofinfosec/~4/262366868" height="1" width="1"/>]]></content:encoded>
      <pubDate>Tue, 01 Apr 2008 22:55:47 +0000</pubDate>
      <category domain="http://securityratty.com/tag/entropy">entropy</category>
      <category domain="http://securityratty.com/tag/random">random</category>
      <category domain="http://securityratty.com/tag/32-byte random">32-byte random</category>
      <category domain="http://securityratty.com/tag/byte">byte</category>
      <category domain="http://securityratty.com/tag/hardware random">hardware random</category>
      <category domain="http://securityratty.com/tag/entropy sources">entropy sources</category>
      <category domain="http://securityratty.com/tag/sequence">sequence</category>
      <category domain="http://securityratty.com/tag/random sequence">random sequence</category>
      <category domain="http://securityratty.com/tag/pull entropy">pull entropy</category>
      <source url="http://feeds.feedburner.com/~r/artofinfosec/~3/262366868/">Got Entropy ?</source>
    </item>
  </channel>
</rss>
